xiangfu0 commented on code in PR #12118: URL: https://github.com/apache/pinot/pull/12118#discussion_r1431972919
########## pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/CastTransformFunction.java: ########## @@ -56,6 +56,10 @@ public void init(List<TransformFunction> arguments, Map<String, ColumnContext> c TransformFunction castFormatTransformFunction = arguments.get(1); if (castFormatTransformFunction instanceof LiteralTransformFunction) { String targetType = ((LiteralTransformFunction) castFormatTransformFunction).getStringLiteral().toUpperCase(); + if ("OBJECT".equals(targetType)) { Review Comment: This happens when scalar function is not explicitly registered for the return type. -- 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