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

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

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