Skip to content

Commit 6ac7b89

Browse files
authored
Preserve ORDER BY in Unparser for projection -> order by pattern (#19483)
Because of #15886 a parse -> unparse -> parse loop changed the query so that it would give incorrect results.
1 parent 8246631 commit 6ac7b89

File tree

5 files changed

+469
-17
lines changed

5 files changed

+469
-17
lines changed

datafusion/core/tests/sql/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ mod path_partition;
7070
mod runtime_config;
7171
pub mod select;
7272
mod sql_api;
73+
mod unparser;
7374

7475
async fn register_aggregate_csv_by_sql(ctx: &SessionContext) {
7576
let testdata = test_util::arrow_test_data();

0 commit comments

Comments
 (0)