File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -312,11 +312,9 @@ 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.
319- pub preserve_subquery_order: bool , default = false
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.
317+ pub preserve_subquery_order: bool , default = true
320318 }
321319}
322320
You can’t perform that action at this time.
0 commit comments