zhilinli123 commented on code in PR #6123:
URL: https://github.com/apache/seatunnel/pull/6123#discussion_r1452089472


##########
seatunnel-transforms-v2/src/main/java/org/apache/seatunnel/transform/sql/zeta/ZetaSQLFunction.java:
##########
@@ -221,6 +227,15 @@ public Object computeForValue(Expression expression, 
Object[] inputFields) {
             Parenthesis parenthesis = (Parenthesis) expression;
             return computeForValue(parenthesis.getExpression(), inputFields);
         }
+        if (zetaSQLFilter.isConditionExpr(expression)) {
+            return zetaSQLFilter.executeFilter(expression, inputFields);
+        }

Review Comment:
   `case when id = 1 then 0 else 1`
   circulation Iterate to the syntax id=1 filter,I have optimized the code 
writing
   



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