You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Paul Lin (Jira)" <ji...@apache.org> on 2021/10/25 07:44:00 UTC

[jira] [Created] (FLINK-24628) Invalid JDBC query template when no fields are selected

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)