[
https://issues.apache.org/jira/browse/FLINK-24628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17433601#comment-17433601
]
Paul Lin commented on FLINK-24628:
----------------------------------
I'm working on the fix. Please assign this to me.
> 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
> Priority: Minor
>
> 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)