snleee commented on code in PR #10869: URL: https://github.com/apache/pinot/pull/10869#discussion_r1222291763
########## pinot-core/src/main/java/org/apache/pinot/core/minion/SegmentPurger.java: ########## @@ -79,7 +82,7 @@ public File purgeSegment() return null; } - SegmentGeneratorConfig config = new SegmentGeneratorConfig(_tableConfig, segmentMetadata.getSchema()); + SegmentGeneratorConfig config = new SegmentGeneratorConfig(_tableConfig, _schema); Review Comment: If `_schema = null`, probably it's safer to fall back to `segmentMetadata.getSchema()`? -- 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