pradeepgv42 commented on a change in pull request #6120: URL: https://github.com/apache/incubator-pinot/pull/6120#discussion_r524448770
########## File path: pinot-core/src/main/java/org/apache/pinot/core/segment/creator/impl/SegmentColumnarIndexCreator.java ########## @@ -129,6 +132,13 @@ public void init(SegmentGeneratorConfig segmentCreationSpec, SegmentIndexCreatio _textIndexColumns.add(columnName); } + for (String columnName : config.getFSTIndexCreationColumns()) { + Preconditions.checkState( + schema.hasColumn(columnName), + "Cannot create text index for column: %s because it is not in schema", columnName); Review comment: ah sorry for the messup on text/fst, should be fixed now ---------------------------------------------------------------- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org