You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ido Hadanny (JIRA)" <ji...@apache.org> on 2011/08/03 14:48:27 UTC
[jira] [Created] (HIVE-2341)
SemanticAnalyzer.genJoinReduceSinkChild fails with NPE unless you specify
an un-necessary table alias
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
Priority: Minor
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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HIVE-2341)
SemanticAnalyzer.genJoinReduceSinkChild fails with NPE unless you specify
an un-necessary table alias
Posted by "Ido Hadanny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HIVE-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ido Hadanny updated HIVE-2341:
------------------------------
Priority: Major (was: Minor)
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HIVE-2341)
SemanticAnalyzer.genJoinReduceSinkChild fails with NPE unless you specify
an un-necessary table alias
Posted by "Ashutosh Chauhan (Resolved) (JIRA)" <ji...@apache.org>.
[ 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