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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to