dawidwys commented on code in PR #23811: URL: https://github.com/apache/flink/pull/23811#discussion_r1413860447
########## flink-table/flink-table-common/src/main/java/org/apache/flink/table/functions/BuiltInFunctionDefinitions.java: ########## @@ -406,6 +414,13 @@ ANY, and(logical(LogicalTypeRoot.BOOLEAN), LITERAL) public static final BuiltInFunctionDefinition IF = BuiltInFunctionDefinition.newBuilder() .name("ifThenElse") + .callSyntax( + (sqlName, operands) -> + String.format( + "IF %s THEN %s ELSE %s", Review Comment: > what happens during nesting multiple ifs? That should work just fine. Added an IT test. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org