Paul Lin created FLINK-24628:
--------------------------------

             Summary: Invalid JDBC query template when no fields are selected
                 Key: FLINK-24628
                 URL: https://issues.apache.org/jira/browse/FLINK-24628
             Project: Flink
          Issue Type: Bug
          Components: Connectors / JDBC
    Affects Versions: 1.12.3
            Reporter: Paul Lin


A query like `select uuid() from mysql_table` will result in an invalid query 
template like `select from mysql_table` in JdbcDynamicTableSource. 

We should avoid making a TableScan when there're no relevant fields are 
actually used.



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

Reply via email to