Skip to content

Commit 6017f2e

Browse files
committed
update comment
1 parent f3b0b98 commit 6017f2e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

datafusion/common/src/config.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,8 @@ config_namespace! {
312312
pub default_null_ordering: String, default = "nulls_max".to_string()
313313

314314
/// When set to true, ORDER BY clauses in subqueries and CTEs will be preserved
315-
/// rather than being optimized away. By default this is false for SQL standard
316-
/// compliance, as ORDER BY in subqueries has no guaranteed effect on the final
317-
/// result ordering. Enable this if you need deterministic ordering within
318-
/// subquery results, such as for streaming output or specific application requirements.
315+
/// rather than being optimized away. By default this is false which
316+
/// allows more optimizations and is SQL compliant but may cause unexpected results.
319317
pub preserve_subquery_order: bool, default = false
320318
}
321319
}

0 commit comments

Comments
 (0)