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 2019/05/28 17:49:40 UTC

[GitHub] [incubator-pinot] sunithabeeram opened a new pull request #4244: Add support for custom record-readers in the create-segment tool

sunithabeeram opened a new pull request #4244: Add support for custom record-readers in the create-segment tool
URL: https://github.com/apache/incubator-pinot/pull/4244
 
 
   Currently,  via pinot-admin, we can only work with builtin record-readers. This change adds support to work with either the format option or recordReaderPath option in the generationConfigFile.
   
   For users to successfully use this for custom record readers, the pom file will need to updated to bundle the appropriate jars. I've included commented out examples for using ORC.
   
   Testing done:
   Tested generating pinot segment from ORC file with the following options:
   cat ~/config:
   {
   "recordReaderPath": "org.apache.pinot.orc.data.readers.ORCRecordReader"
   }
   
   Command used to generate segments:
   bin/pinot-admin.sh CreateSegment -dataDir ~/segments -schemaFile ~/schema -tableName testTable -outDir ~/segments_out -generatorConfigFile ~/config -segmentName testTable

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org