hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Camacho Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13861) Fix up nullability issue that might be created by pull up constants rules
Date Mon, 30 May 2016 14:48:12 GMT

     [ https://issues.apache.org/jira/browse/HIVE-13861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jesus Camacho Rodriguez updated HIVE-13861:
-------------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0
           Status: Resolved  (was: Patch Available)

Fails are not related. Pushed to master, branch-2.1. Thanks for reviewing [~ashutoshc]!

> 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
>             Fix For: 2.1.0
>
>         Attachments: HIVE-13861.01.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