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/08/25 15:47:33 UTC
[GitHub] [arrow-datafusion] yjshen opened a new issue #944: Table Scan Enhancement Plan
yjshen opened a new issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944
To make DataFusion scan tables more flexibly and more efficiently, we can take several further steps. (I linked several issues I am aware of)
### Capability:
- [ ] Enable listing/reading remote storage systems in an async way #616
- [ ] Enable file block granularity processing (row groups or offset range processing instead of currently per-file bases).
- [ ] Enable reading partitioned table. i.e., partition columns value encoded in the file path #133
- [ ] Support table schema evolution. Or in other words, relax the requirement that all files in a table are completely consistent in the schema
### Performance:
- [ ] Parallel table file listing #896
- [ ] Scan parquet metadata lazily #871
--
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] alamb commented on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
alamb commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-907614394
Thanks @yjshen I plan to review this carefully tomorrow
--
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] yjshen commented on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
yjshen commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-906658616
@rdettai I listed some of the ideas we talked about in #811 or I was aware of. Please help to enhance the list as well if you have time :). 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] yjshen edited a comment on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
yjshen edited a comment on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-905641087
Also, from my own perspective, I have some extensions to make:
- [x] Datafusion-hdfs connector
- [ ] Datafusion-hive metastore connector
--
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] rdettai commented on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
rdettai commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-907030775
thanks a lot for this list!
- how do you plan to implement the hive metastore connector? as an `ObjectStore` implementation?
- as commented in #950 I would also add "Filter pushdown to the listing of files". It is kind of complementary to "Enable reading partitioned table". You will also need it to implement hive metastore connector functionalities such as [`listPartitionsByFilter`](https://hive.apache.org/javadocs/r1.2.2/api/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.html#listPartitionsByFilter(java.lang.String,%20java.lang.String,%20java.lang.String,%20short))
--
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] yjshen commented on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
yjshen commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-905641087
Also, from my own perspective, I have some extensions to make:
- [ ] Datafusion-hdfs connector
- [ ] Datafusion-hive metastore connector
--
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] yjshen commented on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
yjshen commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-907614249
Thanks @houqp for the detailed explanation. After checking delta-rs code as well as what we are doing currently in DataFusion. I have several thoughts:
- It's more natural to have the TableProvider for dealing with filters since it's the abstraction over a table, therefore also a suitable entity for table partition (inferred or user-provided). we could enhance TableProvider with per partition laziness for partition file listing and file metadata extraction.
- `max_partition` shouldn't be related to a Table. It's more reasonable to be deduced or set manually through the planning phase and passed to `ParquetExec` where it actually takes effect.
--
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 #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
houqp commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-907571328
Here is my understanding based on @yjshen 's PRs so far:
* CatalogProvider is a mapping from schema name to SchemaProvider (schema here refers to a collection of tables, not table schema)
* SchemaProvider is a mapping from table name to TableProvider
* TableProvider provides table partitions, field schemas and a scan method to perform table scan using ObjectStore to drive the IO.
* TableProvider::scan takes push down filter expressions as argument, then issue corresponding ObjectStore list and read calls to perform minimal IO needed to fetch the data from object store
I am guessing a hive metastore connector will need to touch both SchemaProvider and TableProvider? I do think that ObjectStore is too low level to implement hive metastore.
--
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] yjshen commented on issue #944: Table Scan Enhancement Plan
Posted by GitBox <gi...@apache.org>.
yjshen commented on issue #944:
URL: https://github.com/apache/arrow-datafusion/issues/944#issuecomment-907284096
> how do you plan to implement the hive metastore connector? as an ObjectStore implementation?
As a CatalogProvider implementation, I suppose.
--
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