HuangXingBo commented on pull request #16154: URL: https://github.com/apache/flink/pull/16154#issuecomment-861274984
> I was thinking about more high-level test. Like running `SELECT python_udf(CASE WHEN x THEN y ELSE z END)` You may not understand what I mean. What kind of case is not important. You can think that the case you wrote in 1.12 is supported. But in 1.13, we introduced a new rule to support the case of `table.map`. The reason for this error has nothing to do with your judgment statement as a parameter. The reason for the error is because we called the wrong tool method when judging whether to use python udf. `PythonUtil.isNonPythonCall` and `!PythonUtil.isPythonCall` are not mutually exclusive conditions -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org