hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laljo John Pullokkaran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7721) CBO: support case statement translation to optiq
Date Mon, 25 Aug 2014 18:01:02 GMT

    [ https://issues.apache.org/jira/browse/HIVE-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109405#comment-14109405
] 

Laljo John Pullokkaran commented on HIVE-7721:
----------------------------------------------

Fixed by HIVE-7841

> 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
>            Assignee: Laljo John Pullokkaran
>
> 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