You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jinho Kim (JIRA)" <ji...@apache.org> on 2013/09/24 07:01:02 UTC

[jira] [Updated] (TAJO-191) INSERT OVERWRITE INTO statement should follow the table meta in catalog

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

Jinho Kim updated TAJO-191:
---------------------------

    Attachment: TAJO-191.patch

I've attached the patch

{noformat}
The examples are as follows:

create table tablename (col1 int8, col2 int4, col3 float4) USING csv WITH ('csvfile.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec');
insert overwrite into tablename select  l_orderkey, l_partkey, l_quantity from lineitem where l_orderkey = 3;
insert overwrite into location '/tajo-data/output' USING csv WITH ('csvfile.delimiter'='|','compression.codec'='org.apache.hadoop.io.compress.DeflateCodec') select * from lineitem where l_orderkey = 3;
{noformat}
                
> INSERT OVERWRITE INTO statement should follow the table meta in catalog
> -----------------------------------------------------------------------
>
>                 Key: TAJO-191
>                 URL: https://issues.apache.org/jira/browse/TAJO-191
>             Project: Tajo
>          Issue Type: Bug
>          Components: planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Jinho Kim
>             Fix For: 0.2-incubating
>
>         Attachments: TAJO-191.patch
>
>
> After a table is created with compression options, INSERT OVERWRITE INTO without any compression options also should follow the created table's meta description. But, the current implementation does not refer to the created table's meta description.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira