You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shengkai Fang (Jira)" <ji...@apache.org> on 2022/04/29 06:00:00 UTC

[jira] [Closed] (FLINK-27417) Flink JDBC SQL Connector:SELECT * FROM table WHERE co > 100; mysql will execute SELECT * FROM table to scan the whole table

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

Shengkai Fang closed FLINK-27417.
---------------------------------
    Resolution: Duplicate

> Flink JDBC SQL Connector:SELECT * FROM table WHERE  co > 100; mysql will execute SELECT * FROM table to scan the whole table
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-27417
>                 URL: https://issues.apache.org/jira/browse/FLINK-27417
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / JDBC
>    Affects Versions: 1.14.0
>            Reporter: haojiawei
>            Priority: Major
>
> Use flink cli to create a mysql mapping table, and execute the query SELECT * FROM table WHERE co > 100;Mysql will execute SELECT * FROM table to scan the whole table.
>  
> show mysql execute sql:  select * from information_schema.`PROCESSLIST` where info is not null;
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)