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

James Turton closed DRILL-3401.
-------------------------------
    Fix Version/s:     (was: Future)
       Resolution: Information Provided

That suffices as can be verified by inspecting the written Parquet files.

> 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
>            Priority: Major
>              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
(v8.20.10#820010)

Reply via email to