You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Xiaomeng Huang (JIRA)" <ji...@apache.org> on 2017/02/07 09:11:41 UTC

[jira] [Updated] (HIVE-15836) CATS failed when the table is stored as orc and select clause has null

     [ 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)