yzeng1618 commented on code in PR #10145:
URL: https://github.com/apache/seatunnel/pull/10145#discussion_r2621603264


##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/functions/ArrayFunction.java:
##########
@@ -53,8 +53,8 @@ public static Object arrayMax(List<Object> args) {
                     .orElse(null);
         }
         throw new TransformException(
-                CommonErrorCode.UNSUPPORTED_DATA_TYPE,
-                String.format("Unsupported function max() arguments: %s", 
args));
+                CommonErrorCodeDeprecated.UNSUPPORTED_DATA_TYPE,

Review Comment:
   The previous modification was made this way because compatibility issues 
would arise in unit tests. Now I plan to uniformly revise the unit tests and 
revert the arrayfunction file.



-- 
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]

Reply via email to