hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6083) User provided table properties are not assigned to the TableDesc of the FileSinkDesc in a CTAS query
Date Fri, 20 Dec 2013 18:52:10 GMT

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

Yin Huai updated HIVE-6083:
---------------------------

    Summary: User provided table properties are not assigned to the TableDesc of the FileSinkDesc
in a CTAS query  (was: User provided table properties are not assigned to the TableDesc of
the FileSinkDesc in a CTAS)

> User provided table properties are not assigned to the TableDesc of the FileSinkDesc
in a CTAS query
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-6083
>                 URL: https://issues.apache.org/jira/browse/HIVE-6083
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0, 0.13.0
>            Reporter: Yin Huai
>            Assignee: Yin Huai
>         Attachments: HIVE-6083.1.patch.txt
>
>
> I was trying to use a CTAS query to create a table stored with ORC and orc.compress was
set to SNAPPY. However, the table was still compressed as ZLIB (although the result of DESCRIBE
still shows that this table is compressed by SNAPPY). For a CTAS query, SemanticAnalyzer.genFileSinkPlan
uses CreateTableDesc to generate the TableDesc for the FileSinkDesc by calling PlanUtils.getTableDesc.
However, in PlanUtils.getTableDesc, I do not see user provided table properties are assigned
to the returned TableDesc (CreateTableDesc.getTblProps was not called in this method ).  
> btw, I only checked the code of 0.12 and trunk.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message