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

Daniel Barclay (Drill) updated DRILL-3401:
------------------------------------------
    Component/s:     (was: Functions - Drill)
                 Storage - Parquet

> How to use Snappy compression on Parquet table?
> -----------------------------------------------
>
>                 Key: DRILL-3401
>                 URL: https://issues.apache.org/jira/browse/DRILL-3401
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Parquet
>    Affects Versions: 1.0.0
>         Environment: Cloudera 5.4.2 AWS cluster
>            Reporter: Kathy Qiu
>            Assignee: Daniel Barclay (Drill)
>              Labels: easyfix, features
>
> To use Snappy compression on a Parquet table I created, these are the 
> commands I used:
> alter session set `store.format`='parquet';
> alter session set `store.parquet.compression`='snappy';
> create table <table_name> as (select 
> cast (columns[0] as DECIMAL(10,0)) <column1_name>
> etc...
> from dfs.`<path to dataset>`);
> Does this suffice? Or do I need to specify Snappy compression in the CTAS 
> command as well?



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

Reply via email to