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

   ### Is your feature request related to a problem or challenge?
   
   While implementing [that projection pushdown 
rule](https://github.com/apache/arrow-datafusion/pull/8073), a case caught my 
attention. In some cases, projection and file readers (such as CsvExec) can be 
positioned sequentially, and the sole function of the Projection is to assign 
aliases. In these cases, couldn't this task be handled by the readers? They can 
perform projections internally, and if they could also define aliases, it would 
simplify such plans.
   
   ### Describe the solution you'd like
   
   While trying to eliminate projections after readers, if the projection makes 
aliasing, that new name can be used in the reader schema and other related 
outputs. The only exception is an evaluation in the projection, which cannot be 
operated during the read operation.
   
   ### 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: [email protected]

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

Reply via email to