Repository navigation
HIVE-30296: Parquet: the vectorized reader re-parses Hadoop configuration files and rebuilds the partition path map for every split - #7010
Open
deniskuzZ wants to merge 1 commit into
Conversation
…tion files and rebuilds the partition path map for every split - With hive.llap.io.parquet.native.enabled off, VectorizedParquetRecordReader repeated two pieces of setup per split: readSplitFooter built ParquetReadOptions with a new Hadoop Configuration, whose first lookup parsed the Hadoop XML resources again; ProjectionPusher.updateMrWork copied pathToPartitionInfo with every path stripped of scheme and authority. TPC-DS 10 TB external Parquet, q16 profiled: 29.6 % and 21.0 % of LLAP CPU samples - The footer's options come from the job configuration (HadoopReadOptions.builder(conf, path)); the split's directory is looked up in the plan's own paths (HiveFileFormatUtils.getFromPathRecursively), stripping only when none matches - 12 LLAP daemons, native reader off, mirrored: 99 queries 3,482.8 -> 3,165.5 s (-9.1 %), LLAP CPU -12.1 %, results identical; q16 36.9 -> 25.9 s - TestProjectionPusher, the Parquet unit tests, Parquet qtests
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What changes were proposed in this pull request?
Why are the changes needed?
With hive.llap.io.parquet.native.enabled off, both ran per split: TPC-DS 10 TB external Parquet, q16 profiled: 29.6 % and 21.0 % of LLAP CPU samples. 12 LLAP daemons, native reader off, mirrored: 99 queries 3,482.8 -> 3,165.5 s (-9.1 %), LLAP CPU -12.1 %, results identical; q16 36.9 -> 25.9 s.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
🤖 Generated with Claude Code