hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13861) Fix up nullability issue that might be created by pull up constants rules
Date Fri, 27 May 2016 00:01:23 GMT

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

Ashutosh Chauhan commented on HIVE-13861:
-----------------------------------------

+1 pending tests

> Fix up nullability issue that might be created by pull up constants rules
> -------------------------------------------------------------------------
>
>                 Key: HIVE-13861
>                 URL: https://issues.apache.org/jira/browse/HIVE-13861
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13861.patch
>
>
> When we pull up constants through Union or Sort operators, we might end up rewriting
the original expression into an expression whose schema has different nullability properties
for some of its columns.
> This results in AssertionError of the following kind:
> {noformat}
> ...
> org.apache.hive.service.cli.HiveSQLException: Error running query: java.lang.AssertionError:
Internal error: Cannot add expression of different type to set:
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message