关注 spark技术分享,
撸spark源码 玩spark最佳实践

SpecificParquetRecordReaderBase

SpecificParquetRecordReaderBase — Hadoop RecordReader

SpecificParquetRecordReaderBase is the base Hadoop RecordReader for parquet format readers that directly materialize to T.

Note
RecordReader reads <key, value> pairs from an Hadoop InputSplit.
Note
VectorizedParquetRecordReader is the one and only SpecificParquetRecordReaderBase that directly materialize to Java Objects.
Table 1. SpecificParquetRecordReaderBase’s Internal Properties (e.g. Registries, Counters and Flags)
Name Description

sparkSchema

Spark schema

Initialized when SpecificParquetRecordReaderBase is requested to initialize (from the value of org.apache.spark.sql.parquet.row.requested_schema configuration as set when ParquetFileFormat is requested to build a data reader with partition column values appended)

initialize Method

Note
initialize is part of RecordReader Contract to initialize a RecordReader.

initialize…​FIXME

赞(0) 打赏
未经允许不得转载:spark技术分享 » SpecificParquetRecordReaderBase
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏