hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harish Butani (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7721) CBO: support case statement translation to optiq
Date Wed, 13 Aug 2014 23:18:13 GMT
Harish Butani created HIVE-7721:
-----------------------------------

             Summary: CBO: support case statement translation to optiq
                 Key: HIVE-7721
                 URL: https://issues.apache.org/jira/browse/HIVE-7721
             Project: Hive
          Issue Type: Sub-task
            Reporter: Harish Butani


Following query:
{code}
explain select case when key > '104' then null else key end as key from src
{code}

fails with:
{quote}
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Unsupported
Expression
	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer$OptiqBasedPlanner.getOptimizedAST(SemanticAnalyzer.java:11808)
....
aused by: java.lang.RuntimeException: Unsupported Expression
	at org.apache.hadoop.hive.ql.optimizer.optiq.translator.RexNodeConverter.convert(RexNodeConverter.java:91)
	at org.apache.hadoop.hive.ql.optimizer.optiq.translator.RexNodeConverter.convert(RexNodeConverter.java:124)

{quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message