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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17528188#comment-17528188 ] 

Martijn Visser commented on FLINK-27417:
----------------------------------------

I'm guessing this is due to FLINK-16024

> 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)