You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "JaeHwa Jung (JIRA)" <ji...@apache.org> on 2013/12/17 08:31:07 UTC

[jira] [Updated] (TAJO-426) HCatalogStore created partitions automatically.

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

JaeHwa Jung updated TAJO-426:
-----------------------------

    Attachment: TAJO-426.patch

I modified HCatalogStore and TestHCatalogStore.
If you want to verify it, you should set hcatalog profile as follows:
{code:xml}
mvn clean install -Phcatalog-0.12.0
mvn clean install -Phcatalog-0.11.0
{code}
Please, review it. :)

> HCatalogStore created partitions automatically.
> -----------------------------------------------
>
>                 Key: TAJO-426
>                 URL: https://issues.apache.org/jira/browse/TAJO-426
>             Project: Tajo
>          Issue Type: Bug
>          Components: catalog
>    Affects Versions: 0.8-incubating
>            Reporter: JaeHwa Jung
>            Assignee: JaeHwa Jung
>             Fix For: 0.8-incubating
>
>         Attachments: TAJO-426.patch
>
>
> HCatalogStore created partitions automatically using addTable API as follows: 
> {code:xml}
> tajo> create table table1 (id int, name text, score float, type text) using csv with ('csvfile.delimiter'='|');
> OK
> tajo> \d table1;
> table name: table1
> table path: hdfs://localhost:9010/user/hive/warehouse/table1
> store type: CSV
> number of rows: 0
> volume: 0 B
> Options: 
> 	'csvfile.delimiter'='|'
> schema: 
> id	INT4
> name	TEXT
> score	FLOAT4
> type	TEXT
> Partitions: 
> type:COLUMN
> columns:
> specifier:
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)