siddharthteotia commented on code in PR #9333: URL: https://github.com/apache/pinot/pull/9333#discussion_r988808846
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/defaultcolumn/BaseDefaultColumnHandler.java: ########## @@ -363,6 +379,12 @@ protected boolean createColumnV1Indices(String column) argument); return false; } + // TODO: Support creation of derived columns from forward index disabled columns + if (!_segmentWriter.hasIndexFor(argument, ColumnIndexType.FORWARD_INDEX)) { + LOGGER.warn("Skip creating derived column: {} because argument: {} does not have a forward index", column, Review Comment: Throwing error is better to force the user to not create a derived column from noForwardIndex column until reload code path supports everything (including derived column handling possibly) ? -- 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