abstractdog commented on PR #6835: URL: https://github.com/apache/hive/pull/6835#issuecomment-7343511366
**Follow-up idea, not for this PR:** only dictionary and PLAIN pages get the bulk path. In v2 files several common page types still go through `PerValueUpdater`, as on master: | Column type | v1 page encoding | v2 page encoding | Path | |---|---|---|---| | INT32 / INT64, after dictionary fallback | PLAIN | DELTA_BINARY_PACKED | v1 bulk, v2 per value | | strings, after dictionary fallback | PLAIN | DELTA_BYTE_ARRAY | v1 bulk, v2 per value | | BOOLEAN | PLAIN | RLE | v1 bulk, v2 per value | | FLOAT / DOUBLE | PLAIN | PLAIN | bulk | The results are correct, but these pages don't get the speed-up. Most writers, Hive and Spark included, default to v1, so this isn't urgent. If it's ever needed, changing `readValues` to take a small values-reader interface instead of `VectorizedPlainValuesReader` would let these encodings get bulk readers. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
