You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2016/05/30 01:37:12 UTC
[jira] [Resolved] (TAJO-1051) Support DDL parameter for inserting
specified directory.
[ https://issues.apache.org/jira/browse/TAJO-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jihoon Son resolved TAJO-1051.
------------------------------
Resolution: Not A Problem
> Support DDL parameter for inserting specified directory.
> ----------------------------------------------------------
>
> Key: TAJO-1051
> URL: https://issues.apache.org/jira/browse/TAJO-1051
> Project: Tajo
> Issue Type: Improvement
> Components: Expression, SQL Parser
> Reporter: Jaehwa Jung
>
> Currently, users just can write csv file with specified directory as follows:
> {code:xml}
> INSERT OVERWRITE INTO LOCATION '/dir/subdir' SELECT l_orderkey, l_quantity FROM lineitem;
> {code}
> In above case, the output file has made by default csv file parameters. So, users can't use another field delimiter and compression options.
> Thus, we need to support that users can choice their table parameters as follows:
> {code:xml}
> INSERT OVERWRITE INTO LOCATION '/dir/subdir'
> USING csv WITH ('csvfile.delimiter'='\u001','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec')
> SELECT l_orderkey, l_quantity FROM lineitem;
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)