TechWizard9999 opened a new pull request, #27721:
URL: https://github.com/apache/datafusion/pull/27721

   ## Which issue does this PR close?
   
   - Closes #27704.
   
   ## Rationale for this change
   
   Order by could return unsorted rows when a struct column comes before the 
sort key in a parquet file.
   
   ## What changes are included in this PR?
   
   Write the parquet leaf column index for the sort order. a struct sort key 
now writes no sort order.
   
   ## What is the testing strategy for this PR?
   
   Added slt tests and a unit test.
   
   ## Are there any user-facing changes?
   
   Yes, these files now record the right sort order, so order by returns sorted 
rows.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to