devinjdangelo opened a new pull request, #9276:
URL: https://github.com/apache/arrow-datafusion/pull/9276

   ## Which issue does this PR close?
   
   NA
   
   ## Rationale for this change
   
   The current logic for removing partition_by columns assumes that the columns 
are at the end of the record batch. This is not always true when using COPY 
with the partition_by option.
   
   ## What changes are included in this PR?
   
   Removes columns from record batch based on name rather than position.
   
   ## Are these changes tested?
   
   Yes, modified copy.slt to cover
   
   ## Are there any user-facing changes?
   
   Yes, partitioned COPY statements will work correctly even if specifying 
columns that do not come at the end of the schema


-- 
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]

Reply via email to