You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/09/07 12:58:24 UTC
[GitHub] [arrow-datafusion] ethe opened a new issue #979: Is it able to pushdown selections into TableProvider?
ethe opened a new issue #979:
URL: https://github.com/apache/arrow-datafusion/issues/979
`TableProvider` always return all columns in scanning, is it able to pushdown selections into `TableProvider` and return the schema after selections? I think it may be useful to reduce the memory usage in querying. Sorry I am not good at database querying, hope for your reply, thanks.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] houqp commented on issue #979: Is it able to pushdown selections into TableProvider?
Posted by GitBox <gi...@apache.org>.
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] ethe commented on issue #979: Is it able to pushdown selections into TableProvider?
Posted by GitBox <gi...@apache.org>.
ethe commented on issue #979:
URL: https://github.com/apache/arrow-datafusion/issues/979#issuecomment-914973019
Thank you, it is not clear about arguments of `scan`, so I missed it.
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] ethe closed issue #979: Is it able to pushdown selections into TableProvider?
Posted by GitBox <gi...@apache.org>.
ethe closed issue #979:
URL: https://github.com/apache/arrow-datafusion/issues/979
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org