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

Szehon Ho commented on HIVE-11912:
----------------------------------

Hey [~Ferd] I guess table properties can still be used to configure compression 
type, this change would not change that.

I actually think something like parquet.compression should be in 
SerdeProperties, as its a special property unique to the serde.  For example 
avro's serdeProperties include the location of the schema.url, which is unique 
to Avro.

I've actually been confused for awhile why you can configure serde properties 
as table properties (so they seem interchange-able).  But in any case, the 
MetaStoreUtils.getSchema appends all the Serde properties to the Table 
properties, such that its passed in to the code you pointed out 
(ParquetHiveSerde.initialize())

> Make snappy compression default for parquet tables
> --------------------------------------------------
>
>                 Key: HIVE-11912
>                 URL: https://issues.apache.org/jira/browse/HIVE-11912
>             Project: Hive
>          Issue Type: Improvement
>          Components: File Formats
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-11912.patch
>
>
> Snappy is a popular compression codec for Parquet, and is the default in many 
> Parquet applications, increasing the performance.  
> This change would make it the default for new Hive Parquet tables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to