You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Hyunsik Choi (JIRA)" <ji...@apache.org> on 2014/07/26 14:06:38 UTC

[jira] [Resolved] (TAJO-977) INSERT into a partitioned table as SELECT statement uses a wrong schema.

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

Hyunsik Choi resolved TAJO-977.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.0

committed it to master branch.

> INSERT into a partitioned table as SELECT statement uses a wrong schema.
> ------------------------------------------------------------------------
>
>                 Key: TAJO-977
>                 URL: https://issues.apache.org/jira/browse/TAJO-977
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Hyoungjun Kim
>            Assignee: Hyoungjun Kim
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> Currently Tajo uses a output schema for INSERT into partitioned table statement. In most cases, this should not be a problem. But, Parquet file occurs a error because Parquet file format has schema meta data itself.
> The result file of the following query has wrong column meta. 
> {code}
> create table parquet_test (col1 text, col2 text) using parquet;
> insert into select substr(col1, 1, 3) from table1;
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)