yashmayya commented on code in PR #17113:
URL: https://github.com/apache/pinot/pull/17113#discussion_r2496867436
##########
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/segment/index/loader/defaultcolumn/BaseDefaultColumnHandler.java:
##########
@@ -1166,8 +1189,12 @@ private void
createDerivedColumnForwardIndexWithoutDictionary(String column, Fie
case BYTES:
forwardIndexCreator.putBytes((byte[]) outputValue);
break;
+ case MAP:
+ forwardIndexCreator.add(outputValue, -1);
+ break;
default:
- throw new IllegalStateException();
+ throw new IllegalStateException(
+ "Unsupported data type: " + fieldSpec.getDataType() + ", for
value: " + outputValue);
Review Comment:
nit: The value is probably not relevant here
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]