flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "godfrey he (Jira)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-11310) Convert predicates to IN or NOT_IN for Project
Date Thu, 20 May 2021 07:52:00 GMT

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

godfrey he closed FLINK-11310.
------------------------------
    Resolution: Won't Fix

Currently, the or expressions will be converted to Sarg, and will be put into a HashSet when
code gen. So this issue is invalid now, I will close it.

> Convert predicates to IN or NOT_IN for Project
> ----------------------------------------------
>
>                 Key: FLINK-11310
>                 URL: https://issues.apache.org/jira/browse/FLINK-11310
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / Planner
>            Reporter: Hequn Cheng
>            Priority: Major
>              Labels: auto-unassigned, pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In FLINK-10474, we force translate IN into a predicate to avoid translating to a JOIN.
In addition, we add a Rule to convert the predicates back to IN so that we can generate code
using a HashSet for the IN.
> However, FLINK-10474 only takes Filter into consideration. It would be great to also
convert predicates in Project to IN. It not only will improve the performance for the Project,
but also will avoid the problem raised in FLINK-11308, as all predicates will be converted
into one IN expression.



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

Mime
View raw message