You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2022/10/31 06:35:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Jark Wu closed FLINK-29458.
---------------------------
Fix Version/s: 1.17.0
Resolution: Fixed
Fixed in master: 97fbb701314205fd1d51d7edb1f6ef7a27f880c7
> 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
> Fix For: 1.17.0
>
> 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)