houqp commented on issue #979: URL: https://github.com/apache/arrow-datafusion/issues/979#issuecomment-914905259
This is already supported in datafusion today. We have a projection push down optimization rule (https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/optimizer/projection_push_down.rs) that generates projected column indexes based on selection plans. Then the vector gets passed in to the scan method at https://github.com/apache/arrow-datafusion/blob/bb616bf94bd952da8cc0c18b20cf33c55c30459e/datafusion/src/datasource/parquet.rs#L135. -- 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]
