mustafasrepo opened a new issue, #8297:
URL: https://github.com/apache/arrow-datafusion/issues/8297

   ### Is your feature request related to a problem or challenge?
   
   Current source executors(`CsvExec, etc.`) contains `outpout_ordering` inside 
display. For the following table
   ```sql
   CREATE EXTERNAL TABLE multiple_ordered_table (
     a0 INTEGER,
     a INTEGER,
     b INTEGER,
     c INTEGER,
     d INTEGER
   )
   STORED AS CSV
   WITH HEADER ROW
   WITH ORDER (a ASC, b ASC)
   WITH ORDER (c ASC)
   LOCATION '../core/tests/data/window_2.csv';
   ```
   display would be 
   
   ```sql
   ----CsvExec: file_groups={1 group: [[path]]}, projection=[a, b], 
output_ordering=[a@0 ASC NULLS LAST, b@1 ASC NULLS LAST], has_header=true
   ```
   
   It would be nice, if output ordering would contain all of the valid 
orderings at the source such as following
   
   ```sql
   ----CsvExec: file_groups={1 group: [[path]]}, projection=[a, b], 
output_orderings=[[a@0 ASC NULLS LAST, b@1 ASC NULLS LAST], [c@2 ASC NULLS 
LAST]], has_header=true
   ```
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to