somandal commented on code in PR #9333: URL: https://github.com/apache/pinot/pull/9333#discussion_r974725087
########## pinot-tools/src/main/java/org/apache/pinot/tools/segment/converter/DictionaryToRawIndexConverter.java: ########## @@ -296,6 +297,10 @@ private void convertOneColumn(IndexSegment segment, String column, File newSegme throws IOException { DataSource dataSource = segment.getDataSource(column); ForwardIndexReader reader = dataSource.getForwardIndex(); + if (reader == null) { Review Comment: done ########## pinot-core/src/main/java/org/apache/pinot/core/minion/RawIndexConverter.java: ########## @@ -204,6 +204,11 @@ private void convertColumn(FieldSpec fieldSpec) // Create the raw index DataSource dataSource = _originalImmutableSegment.getDataSource(columnName); ForwardIndexReader reader = dataSource.getForwardIndex(); + if (reader == null) { Review Comment: done -- 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