Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
novikd committed Jan 12, 2024
1 parent 322d947 commit 91f4b20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Interpreters/InterpreterSelectQuery.cpp
Expand Up @@ -2985,7 +2985,7 @@ void InterpreterSelectQuery::executeWindow(QueryPlan & query_plan)
// 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
// 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.
bool need_sort = !window.full_sort_description.empty();
if (need_sort && i != 0)
Expand Down
2 changes: 1 addition & 1 deletion src/Planner/Planner.cpp
Expand Up @@ -908,7 +908,7 @@ void addWindowSteps(QueryPlan & query_plan,
* 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
* 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.
*/

Expand Down

0 comments on commit 91f4b20

Please sign in to comment.