Xiaomeng Huang created HIVE-15836:
-------------------------------------

             Summary: CATS failed when the table is stored as orc and select 
cause has null
                 Key: HIVE-15836
                 URL: https://issues.apache.org/jira/browse/HIVE-15836
             Project: Hive
          Issue Type: Bug
    Affects Versions: 1.2.1
            Reporter: Xiaomeng Huang


Based on the stable version 1.2.1, I patched 
https://issues.apache.org/jira/browse/HIVE-11217, but I still got error.

CASE:
{quote}
CREATE TABLE empty (x int);
CREATE TABLE orc_table_with_null 
STORED AS ORC 
AS 
SELECT 
x,
null
FROM empty;
{quote}

ERROR:
{quote}
FAILED: SemanticException [Error 10305]: CREATE-TABLE-AS-SELECT creates a VOID 
type, please use CAST to specify the type, near field:  _c1
{quote}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to