hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-20406) Nested Coalesce giving incorrect results
Date Thu, 16 Aug 2018 19:15:00 GMT

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

Gopal V commented on HIVE-20406:
--------------------------------

[~ashutoshc]: this looks like a Calcite/CBO issue.

> Nested Coalesce giving incorrect results
> ----------------------------------------
>
>                 Key: HIVE-20406
>                 URL: https://issues.apache.org/jira/browse/HIVE-20406
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 3.0.0
>            Reporter: Riju Trivedi
>            Priority: Critical
>
> Below query is returning NULL instead of 'TEST' 
> select coalesce(coalesce(null), 'TEST');
> {noformat}
> INFO  : OK
> +-------+
> |  _c0  |
> +-------+
> | NULL  |
> +-------+
> {noformat}



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

Mime
View raw message