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

Rui Li updated FLINK-18445:
---------------------------
    Description: 
Consider the following query:
{code}
select *
from probe
left join
build for system_time as of probe.ts
on probe.key=build.key and probe.col is not null
{code}
In current implementation, we lookup each probe.key in build to decide whether 
a match is found. A possible optimization is to skip the lookup for rows whose 
{{col}} is null.

> Short circuit join condition for lookup join
> --------------------------------------------
>
>                 Key: FLINK-18445
>                 URL: https://issues.apache.org/jira/browse/FLINK-18445
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Rui Li
>            Priority: Major
>
> Consider the following query:
> {code}
> select *
> from probe
> left join
> build for system_time as of probe.ts
> on probe.key=build.key and probe.col is not null
> {code}
> In current implementation, we lookup each probe.key in build to decide 
> whether a match is found. A possible optimization is to skip the lookup for 
> rows whose {{col}} is null.



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

Reply via email to