siddharthteotia commented on code in PR #9740: URL: https://github.com/apache/pinot/pull/9740#discussion_r1017678133
########## pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/IndexLoadingConfig.java: ########## @@ -512,7 +512,7 @@ public void setOnHeapDictionaryColumns(Set<String> onHeapDictionaryColumns) { */ @VisibleForTesting public void setForwardIndexDisabledColumns(Set<String> forwardIndexDisabledColumns) { - _forwardIndexDisabledColumns = forwardIndexDisabledColumns; + _forwardIndexDisabledColumns = forwardIndexDisabledColumns == null ? new HashSet<>() : forwardIndexDisabledColumns; Review Comment: (nit) consider using `Collections.emptySet` ? -- 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