JonatanMartens opened a new pull request, #48289:
URL: https://github.com/apache/arrow/pull/48289

   ### Rationale for this change
   
   See https://github.com/apache/arrow/issues/36593
   In particular this change is convenient when the column names stored in a 
file are different from the logical names associated with the columns (see 
deltalake column mapping feature as an example).
   
   ### What changes are included in this PR?
   
   Adds the `rename_columns` method to datasets in pyarrow. 
   This mehod allows a user to rename columns in the data returned from a scan 
before actually creating a scanner object.
   
   ### Are these changes tested?
   This PR also add a test for the new `rename_columns` method using an 
InMemoryDataset. 
   
   ### Are there any user-facing changes?
   
   Adds the `rename_columns` method to pyarrow datasets.


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