You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vineet Garg (JIRA)" <ji...@apache.org> on 2018/07/19 23:22:01 UTC

[jira] [Created] (HIVE-20215) Hive unable to plan/compile query

Vineet Garg created HIVE-20215:
----------------------------------

             Summary: Hive unable to plan/compile query
                 Key: HIVE-20215
                 URL: https://issues.apache.org/jira/browse/HIVE-20215
             Project: Hive
          Issue Type: Bug
          Components: Query Planning
            Reporter: Vineet Garg
            Assignee: Vineet Garg


*Reproducer*
======================
{code:sql}
>create table t1(c1 int)
>explain select count(*) from (select c1, c1 from t1) subq
{code}

{noformat}
FAILED: SemanticException [Error 10007]: Ambiguous column reference c1 in subq
{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)