ocean-zhc commented on code in PR #9299:
URL: https://github.com/apache/seatunnel/pull/9299#discussion_r2094706013
##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLType.java:
##########
@@ -518,6 +532,23 @@ private SeaTunnelDataType<?> getFunctionType(Function
function) {
}
}
+ private static List<Expression> getExpressions(Function function) {
+ ExpressionList parameters = function.getParameters();
+ if (parameters == null) {
+ throw new TransformException(
+ CommonErrorCodeDeprecated.UNSUPPORTED_OPERATION,
+ "COALESCE function requires at least one parameter");
Review Comment:
+1
--
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]