Yin Huai created HIVE-6083:
------------------------------
Summary: User provided table properties are not assigned to the
TableDesc of the FileSinkDesc in a CTAS
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
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)