hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HIVE-2341) SemanticAnalyzer.genJoinReduceSinkChild fails with NPE unless you specify an un-necessary table alias
Date Wed, 26 Oct 2011 05:19:32 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ashutosh Chauhan resolved HIVE-2341.
------------------------------------

    Resolution: Cannot Reproduce

This is not reproducible on trunk.
                
> SemanticAnalyzer.genJoinReduceSinkChild fails with NPE unless you specify an un-necessary
table alias
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2341
>                 URL: https://issues.apache.org/jira/browse/HIVE-2341
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.1
>            Reporter: Ido Hadanny
>
> Following query:
>         select * from
>         V_EMF_LEARNING_ACTUAL_CHURN
>         join
>         (select count(*) as total from standard_connections) b
> fails with the NPE listed below. It doesn't if you add an alias to the table like so:
>         select * from
>         V_EMF_LEARNING_ACTUAL_CHURN a
>         join
>         (select count(*) as total from standard_connections) b
> The exception I'm getting:
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genJoinReduceSinkChild(SemanticAnalyzer.java:4440)
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genJoinOperator(SemanticAnalyzer.java:4545)
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genJoinPlan(SemanticAnalyzer.java:4704)
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.genPlan(SemanticAnalyzer.java:6011)
>         at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:6603)
>         at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)
>         at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message