snleee commented on a change in pull request #7346: URL: https://github.com/apache/pinot/pull/7346#discussion_r693267519
########## File path: pinot-core/src/main/java/org/apache/pinot/core/segment/processing/framework/SegmentProcessorFramework.java ########## @@ -110,11 +113,20 @@ public SegmentProcessorFramework(List<RecordReader> recordReaders, SegmentProces // Segment creation phase LOGGER.info("Beginning segment creation phase on partitions: {}", partitionToFileManagerMap.keySet()); List<File> outputSegmentDirs = new ArrayList<>(); - SegmentGeneratorConfig generatorConfig = - new SegmentGeneratorConfig(_segmentProcessorConfig.getTableConfig(), _segmentProcessorConfig.getSchema()); + TableConfig tableConfig = _segmentProcessorConfig.getTableConfig(); + Schema schema = _segmentProcessorConfig.getSchema(); + String segmentNamePrefix = _segmentProcessorConfig.getSegmentConfig().getSegmentNamePrefix(); + SegmentGeneratorConfig generatorConfig = new SegmentGeneratorConfig(tableConfig, schema); generatorConfig.setOutDir(_segmentsOutputDir.getPath()); - // TODO: Use NormalizedDateSegmentNameGenerator - generatorConfig.setSegmentNamePrefix(_segmentProcessorConfig.getSegmentConfig().getSegmentNamePrefix()); + + if (tableConfig.getIndexingConfig() != null Review comment: removed -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org