deniskuzZ opened a new pull request, #7010:
URL: https://github.com/apache/hive/pull/7010

   ### What changes were proposed in this pull request?
   - VectorizedParquetRecordReader.readSplitFooter builds the footer's read 
options from the job configuration (HadoopReadOptions.builder(conf, path)) 
instead of ParquetReadOptions.builder(), which creates a new Hadoop 
Configuration that parses the XML resources again.
   - ProjectionPusher looks the split's directory up in the plan's own 
pathToPartitionInfo (HiveFileFormatUtils.getFromPathRecursively, with and 
without scheme and authority) instead of copying the map with every path 
stripped, per split.
   
   ### 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?
   - TestProjectionPusher (5; without the fallback to the stripped paths 
testOtherScheme fails) and the Parquet unit tests (51 with 
TestMapredParquetInputFormat, TestParquetRowGroupFilter, 
TestVectorized*ColumnReader).
   - TestMiniLlapLocalCliDriver: parquet_partitioned, vectorized_parquet_types, 
parquet_vectorization_pushdown, parquet_ppd_partition, 
vectorization_parquet_projection; TestMiniLlapCliDriver: 
parquet_types_vectorization.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

  • [PR] HIVE-30296: Parquet: the ... deniskuzZ (via GitHub) via gitbox

Reply via email to