Skip to content

Commit

Permalink
remove ORDER BY * from the window function
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeriann committed Jul 23, 2024
1 parent a396f51 commit 920b908
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/statement_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -981,11 +981,7 @@ unique_ptr<ParsedExpression> StatementGenerator::GenerateWindowFunction(optional
result->partitions.push_back(GenerateExpression());
}
if (RandomPercentage(30)) {
if (verification_enabled) {
result->orders = std::move(GenerateOrderByAll()->orders);
} else {
result->orders = std::move(GenerateOrderBy()->orders);
}
result->orders = std::move(GenerateOrderBy()->orders);
}
if (function) {
result->filter_expr = RandomExpression(30);
Expand Down

0 comments on commit 920b908

Please sign in to comment.