You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jun Zhang (Jira)" <ji...@apache.org> on 2020/12/30 02:34:00 UTC

[jira] [Created] (FLINK-20809) the limit push down invalid when use filter

Jun Zhang created FLINK-20809:
---------------------------------

             Summary: the limit push down invalid when use filter 
                 Key: FLINK-20809
                 URL: https://issues.apache.org/jira/browse/FLINK-20809
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
    Affects Versions: 1.12.0
            Reporter: Jun Zhang
             Fix For: 1.13.0


when I use flink sql to query hive table , like this 
{code:java}
// select * from hive_table where id = 1 limit 1
{code}
 
when the sql contain query conditions in where clause, I found that the limit push down is invalid.

I look up the comment on source code , I think it is should be push down , is it a bug ?

[the comment |https://github.com/apache/flink/blob/master/flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/planner/plan/rules/logical/PushLimitIntoTableSourceScanRule.java#L64]




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