snleee opened a new issue, #10727:
URL: https://github.com/apache/pinot/issues/10727

   `SegmentGenerationAndTaskExecutor` doesn't correctly wire 
`recordReader.prop.<keys>`. Due to this, record reader config (e.g. delimiter 
for csv file) cannot be configured in `SegmentGenerationAndTaskExecutor`.
   
   ```
   SegmentGenerationAndPushTaskExecutor: L286
         RecordReaderSpec recordReaderSpec = new RecordReaderSpec();
         
recordReaderSpec.setDataFormat(taskConfigs.get(BatchConfigProperties.INPUT_FORMAT));
         
recordReaderSpec.setClassName(taskConfigs.get(BatchConfigProperties.RECORD_READER_CLASS));
         
recordReaderSpec.setConfigClassName(taskConfigs.get(BatchConfigProperties.RECORD_READER_CONFIG_CLASS));
         ...
         
         --> We need to add the following line:
         
recordReaderSpec.setConfigs(IngestionConfigUtils.getRecordReaderProps(taskConfigs));
   ```
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to