hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaomeng Huang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15836) CATS failed when the table is stored as orc and select clause has null
Date Tue, 07 Feb 2017 09:11:41 GMT

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

Xiaomeng Huang updated HIVE-15836:
----------------------------------
    Summary: CATS failed when the table is stored as orc and select clause has null  (was:
CATS failed when the table is stored as orc and select cause has null)

> CATS failed when the table is stored as orc and select clause 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)

Mime
View raw message