Jesus Camacho Rodriguez created HIVE-13861:
----------------------------------------------

             Summary: 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


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)

Reply via email to