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 2022/08/12 13:14:59 UTC
[GitHub] [arrow-rs] tustvold opened a new issue, #2430: Support Reading PageIndex with ParquetRecordBatchStream
tustvold opened a new issue, #2430:
URL: https://github.com/apache/arrow-rs/issues/2430
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
<!--
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*)
-->
`ParquetRecordBatchStream` does not contain the necessary logic to read the offset index
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
Add support for reading the column index to `ParquetRecordBatchStream`
**Describe alternatives you've considered**
<!--
A clear and concise description of any alternative solutions or features you've considered.
-->
**Additional context**
<!--
Add any other context or screenshots about the feature request here.
-->
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold closed issue #2430: Support Reading PageIndex with ParquetRecordBatchStream
Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2430: Support Reading PageIndex with ParquetRecordBatchStream
URL: https://github.com/apache/arrow-rs/issues/2430
--
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-rs] thinkharderdev commented on issue #2430: Support Reading PageIndex with ParquetRecordBatchStream
Posted by GitBox <gi...@apache.org>.
thinkharderdev commented on issue #2430:
URL: https://github.com/apache/arrow-rs/issues/2430#issuecomment-1219895080
Was tinkering around with this and we can go one of two ways:
1. Fetch all the index metadata when constructing the stream.
2. Fetch the index on demand as needed.
The latter approach, we could add something to `AsyncFileReader` like
```
fn get_page_locations(&mut self, metadata: &ParquetMetadata, mask: &ProjectionMask) -> BoxFuture<'_, Result<Vec<Vec<PageLocation>>>
```
to only fetch what we need for a given projection. But that may be overkill given the amount of data....
--
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-rs] tustvold commented on issue #2430: Support Reading PageIndex with ParquetRecordBatchStream
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2430:
URL: https://github.com/apache/arrow-rs/issues/2430#issuecomment-1219873937
I think this will involve reading the necessary data in `ParquetRecordBatchStreamBuilder::new` if the metadata returned by `AsyncFileReader::get_metadata` doesn't already have it loaded. I think it is important to handle the case where the `AsyncFileReader` is able to provide this information, e.g. if there is some metadata caching, the data is stored in a catalog, etc...
--
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-rs] tustvold commented on issue #2430: Support Reading PageIndex with ParquetRecordBatchStream
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2430:
URL: https://github.com/apache/arrow-rs/issues/2430#issuecomment-1219911391
I think do the first option for now, the data should be small and relatively cheap to decode. We can always revisit if this simple approach proves insufficient
--
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-rs] thinkharderdev commented on issue #2430: Support Reading PageIndex with ParquetRecordBatchStream
Posted by GitBox <gi...@apache.org>.
thinkharderdev commented on issue #2430:
URL: https://github.com/apache/arrow-rs/issues/2430#issuecomment-1219870638
I can take this one
--
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