You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2022/11/24 10:36: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=17638242#comment-17638242 ]
Martijn Visser commented on FLINK-29458:
----------------------------------------
Fixed in release-1.16: ac17b3a81add99f80fe414a58001404af879ca71
> 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.16.0
> Reporter: ZuoYan
> Assignee: ZuoYan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.17.0, 1.16.1
>
> 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)