[ 
https://issues.apache.org/jira/browse/FLINK-22983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maciej Bryński updated FLINK-22983:
-----------------------------------
    Description: 
Edited:

Lazy evaluation of Python UDF in logical condition is not working. 

Description in second comment.

  was:
Currently when there is logical condition in Flink SQL we're calculating all 
arguments.

Example:
{code:java}
SELECT n > 0 AND n > 100 {code}
This will trigger both checks even when n > 0.

Same for AND
{code:java}
SELECT n > 0 AND n > 100 {code}
will trigger n > 100 check for n <= 0

 

I think we should support lazy condition evaluation.


> Support lazy evaluation of Python UDF in Flink SQL
> --------------------------------------------------
>
>                 Key: FLINK-22983
>                 URL: https://issues.apache.org/jira/browse/FLINK-22983
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Runtime
>    Affects Versions: 1.13.1
>            Reporter: Maciej Bryński
>            Priority: Major
>
> Edited:
> Lazy evaluation of Python UDF in logical condition is not working. 
> Description in second comment.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to