[
https://issues.apache.org/jira/browse/HIVE-8159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan resolved HIVE-8159.
------------------------------------
Resolution: Fixed
Patch checked-in to trunk.
yeah.. we need to revisit this later.
> CBO: bail from Optiq planning if a Select list contains multiple references
> to the same name
> --------------------------------------------------------------------------------------------
>
> Key: HIVE-8159
> URL: https://issues.apache.org/jira/browse/HIVE-8159
> Project: Hive
> Issue Type: Sub-task
> Components: CBO
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Fix For: 0.14.0
>
> Attachments: HIVE-8159.cbo.patch
>
>
> Optiq explicitly disallows this:
> {code}
> select x, x from t1
> {code}
> This is allowed in Hive (and also in mysql). Will check in Postgres. For now
> bailing from Optiq planning if we see this. Will file an Optiq issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)