Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-27417

Flink JDBC SQL Connector:SELECT * FROM table WHERE co > 100; mysql will execute SELECT * FROM table to scan the whole table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.14.0
    • None
    • Connectors / JDBC
    • None

    Description

      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;

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              haojiawei haojiawei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: