Jaehwa Jung created TAJO-1051:
---------------------------------

             Summary: 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: operator/expression, 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)

Reply via email to