mikecdavis-dd opened a new issue #6856:
URL: https://github.com/apache/incubator-pinot/issues/6856
Parquet input format has two supported implementations with
`ParquetAvroRecordReader` (default) and `ParquetNativeRecordReader`. In order
to use the `ParquetNativeRecordReader` you must supply a configuration with
"useParquetAvroRecordReader" set to `false`.
example readerConfig.json
```json
{
"useParquetAvroRecordReader": false
}
```
However, when trying to provide this config via the `CreateSegmentCommand`
(e.g. `bin/pinot-admin.sh CreateSegment`), there is a NPE due to a missing
mapping of the `FileFormat.PARQUET` to the `ParquetRecordReaderConfig` within
the `RecordReaderFactory`.
Adding this mapping resolves the NPE and allows the
`ParquetNativeRecordReader` to be loaded.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]