You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ZuoYan (Jira)" <ji...@apache.org> on 2022/10/15 14:46:00 UTC

[jira] [Commented] (FLINK-29458) When two tables have the same field, do not specify the table name,Exception will be thrown:SqlValidatorException :Column 'currency' is ambiguous

    [ https://issues.apache.org/jira/browse/FLINK-29458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618116#comment-17618116 ] 

ZuoYan commented on FLINK-29458:
--------------------------------

[~jark]

It has been modified. Please refer to [GitHub Pull Request #20983|https://github.com/apache/flink/pull/20983]

> When two tables have the same field, do not specify the table name,Exception will be thrown:SqlValidatorException :Column 'currency' is ambiguous
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-29458
>                 URL: https://issues.apache.org/jira/browse/FLINK-29458
>             Project: Flink
>          Issue Type: Improvement
>          Components: Documentation, Table SQL / API
>    Affects Versions: 1.14.4
>            Reporter: ZuoYan
>            Assignee: ZuoYan
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: image-2022-09-28-21-00-01-302.png, image-2022-09-28-21-00-09-054.png, image-2022-09-28-21-00-22-733.png
>
>
> When two tables are join, the two tables have the same field. When querying select, an exception will be thrown if the table name is not specified
> exception content
> Column 'currency' is ambiguous。
> !image-2022-09-28-21-00-22-733.png!
>  
> !image-2022-09-28-21-00-01-302.png!
> !image-2022-09-28-21-00-09-054.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)