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 2020/05/06 18:09:08 UTC

[GitHub] [incubator-pinot] npawar commented on a change in pull request #5338: [SegmentGeneratorConfig Cleanup] Refactor CreateSegmentCommand and remove the clone constructor in SegmentGeneratorConfig

npawar commented on a change in pull request #5338:
URL: https://github.com/apache/incubator-pinot/pull/5338#discussion_r420991192



##########
File path: pinot-plugins/pinot-batch-ingestion/v0_deprecated/pinot-hadoop/src/main/java/org/apache/pinot/hadoop/io/PinotOutputFormat.java
##########
@@ -171,12 +160,10 @@ private void initSegmentConfig(JobContext context)
       throws IOException {
     _segmentConfig.setFormat(FileFormat.JSON);

Review comment:
       I was wondering why you removed ReaderConfig, then saw that file format is hardcoded to JSON.
   Not related to your PR, but shouldn't  `_segmentConfig.setFormat(FileFormat.JSON);` be done in the JSONPinotOutputFormat implementation?




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