walterddr commented on code in PR #11268:
URL: https://github.com/apache/pinot/pull/11268#discussion_r1285114006
##########
pinot-core/src/main/java/org/apache/pinot/core/operator/transform/function/TransformFunctionFactory.java:
##########
@@ -281,6 +282,13 @@ public static TransformFunction get(ExpressionContext
expression, Map<String, Co
List<ExpressionContext> arguments = function.getArguments();
int numArguments = arguments.size();
+ // Check if the function is ArrayLiteraltransform function
+ if
(functionName.equalsIgnoreCase(ArrayLiteralTransformFunction.FUNCTION_NAME)) {
+ return
queryContext.getOrComputeSharedValue(ArrayLiteralTransformFunction.class,
+ expression.getFunction().getArguments(),
Review Comment:
Check if the arguments are all list of literal contexts either here or
inside the constructor
--
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]