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

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

haojiawei created FLINK-27417:
---------------------------------

             Summary: 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


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)