[ 
https://issues.apache.org/jira/browse/HIVE-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900734#comment-13900734
 ] 

Sushanth Sowmyan commented on HIVE-5504:
----------------------------------------

Yeah, some parameters that were depended upon in OrcFile moved to HiveConf, so 
at the very least, this patch requires regeneration.

One good thing at least is that OrcOutputFormat itself did not change, so that 
is still an easy merge.

The one weird thing is that HIVE-5728 introduces logic to override the default 
behaviour using hive-site.xml based parameters, and removes certain default 
parameters from OrcFile. We need to change this patch to respect that.


> OrcOutputFormat honors  compression  properties only from within hive
> ---------------------------------------------------------------------
>
>                 Key: HIVE-5504
>                 URL: https://issues.apache.org/jira/browse/HIVE-5504
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.11.0, 0.12.0
>            Reporter: Venkat Ranganathan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-5504.patch
>
>
> When we import data into a HCatalog table created with the following storage  
> description
> .. stored as orc tblproperties ("orc.compress"="SNAPPY") 
> the resultant orc file still uses the default zlib compression
> It looks like HCatOutputFormat is ignoring the tblproperties specified.   
> show tblproperties shows that the table indeed has the properties properly 
> saved.
> An insert/select into the table has the resulting orc file honor the tbl 
> property.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to