fix: preserve Parquet sort pushdown across proto roundtrips - #24930
Conversation
|
Thank you for opening this pull request! Reviewer note: cargo-semver-checks reported the current version number is not SemVer-compatible with the changes in this pull request (compared against the base branch). Details |
|
@jayshrivastava fyi ci is red |
|
Taking a look |
|
let's look at coverage and make sure these lines are covered by the query (since it's quite indirect, although I do like / prefer testing it from SQL) |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #24930 +/- ##
==========================================
- Coverage 81.64% 81.63% -0.01%
==========================================
Files 1123 1123
Lines 410248 410298 +50
Branches 410248 410298 +50
==========================================
+ Hits 334940 334958 +18
- Misses 55617 55646 +29
- Partials 19691 19694 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
87.5% codecov seems good. I assume we can ignore the files in |
|
Thanks! |
Which issue does this PR close?
Rationale for this change
reverse_row_groupsandsort_order_for_reorderare not preserved across proto round trips, so those optimizations are lost.What changes are included in this PR?
In
try_to_protoandtry_from_protoinParquetSource, serialize those fields.What is the testing strategy for this PR?
New unit test
roundtrip_parquet_exec_with_sort_pushdown