You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Harish Butani (JIRA)" <ji...@apache.org> on 2014/09/16 23:39:34 UTC

[jira] [Created] (OPTIQ-411) Relax ProjectRelbase restriction on duplicate names

Harish Butani created OPTIQ-411:
-----------------------------------

             Summary: Relax ProjectRelbase restriction on duplicate names
                 Key: OPTIQ-411
                 URL: https://issues.apache.org/jira/browse/OPTIQ-411
             Project: Optiq
          Issue Type: Bug
            Reporter: Harish Butani
            Assignee: Julian Hyde


ProjectRelBase:180
{code}
!Util.isDistinct(rowType.getFieldNames()
{code}

disallows duplicate fieldNames. 

But this the following is allowed in mysql, postgres and hive
{code}
create table t1(x int, y int);
select x,x from t1;
{code}

Can optiq relax this check?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)