You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/04/28 00:56:37 UTC
[GitHub] [incubator-pinot] mikecdavis-dd opened a new issue #6856: Add missing support for ParquetRecordReaderConfig.
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org
[GitHub] [incubator-pinot] Jackie-Jiang closed issue #6856: Add missing support for ParquetRecordReaderConfig.
Posted by GitBox <gi...@apache.org>.
Jackie-Jiang closed issue #6856:
URL: https://github.com/apache/incubator-pinot/issues/6856
--
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:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org