mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix comments
This commit is contained in:
parent
322d9478b0
commit
91f4b20e02
@ -2985,7 +2985,7 @@ void InterpreterSelectQuery::executeWindow(QueryPlan & query_plan)
|
|||||||
// has suitable sorting. Also don't create sort steps when there are no
|
// has suitable sorting. Also don't create sort steps when there are no
|
||||||
// columns to sort by, because the sort nodes are confused by this. It
|
// columns to sort by, because the sort nodes are confused by this. It
|
||||||
// happens in case of `over ()`.
|
// happens in case of `over ()`.
|
||||||
// Even if full_sort_description of both windows match, we in case of different
|
// Even if full_sort_description of both windows match, in case of different
|
||||||
// partitioning we need to add a SortingStep to reshuffle data in the streams.
|
// partitioning we need to add a SortingStep to reshuffle data in the streams.
|
||||||
bool need_sort = !window.full_sort_description.empty();
|
bool need_sort = !window.full_sort_description.empty();
|
||||||
if (need_sort && i != 0)
|
if (need_sort && i != 0)
|
||||||
|
@ -908,7 +908,7 @@ void addWindowSteps(QueryPlan & query_plan,
|
|||||||
* has suitable sorting. Also don't create sort steps when there are no
|
* has suitable sorting. Also don't create sort steps when there are no
|
||||||
* columns to sort by, because the sort nodes are confused by this. It
|
* columns to sort by, because the sort nodes are confused by this. It
|
||||||
* happens in case of `over ()`.
|
* happens in case of `over ()`.
|
||||||
* Even if full_sort_description of both windows match, we in case of different
|
* Even if full_sort_description of both windows match, in case of different
|
||||||
* partitioning we need to add a SortingStep to reshuffle data in the streams.
|
* partitioning we need to add a SortingStep to reshuffle data in the streams.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user