You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/17 19:05:07 UTC

[jira] [Commented] (TAJO-1690) Create table using text file fails in HiveCatalogStore.

    [ https://issues.apache.org/jira/browse/TAJO-1690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14631589#comment-14631589 ] 

ASF GitHub Bot commented on TAJO-1690:
--------------------------------------

GitHub user blrunner opened a pull request:

    https://github.com/apache/tajo/pull/635

    TAJO-1690: Create table using text file fails in HiveCatalogStore.

    I added text file format to HiveCatalogStore. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/blrunner/tajo TAJO-1690

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/635.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #635
    
----
commit 33da561c0dbd06dcfbe7772f113c62921e47e0d3
Author: JaeHwa Jung <bl...@apache.org>
Date:   2015-07-17T17:00:09Z

    TAJO-1690: Create table using text file fails in HiveCatalogStore.

----


> Create table using text file fails in HiveCatalogStore.
> -------------------------------------------------------
>
>                 Key: TAJO-1690
>                 URL: https://issues.apache.org/jira/browse/TAJO-1690
>             Project: Tajo
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Jaehwa Jung
>            Assignee: Jaehwa Jung
>
> Create table using text file fails in HiveCatalogStore as follows.
> * TSQL
> {code:xml}
> default> create external table supplier (S_SUPPKEY bigint, S_NAME text, S_ADDRESS text, S_NATIONKEY bigint, S_PHONE text, S_ACCTBAL double, S_COMMENT text) using text with ('textfile.delimiter'='|') location 'hdfs://localhost:9010/tpch/supplier';
> ERROR: Cannot create table "default.supplier".
> {code}
> * TajoMaster log
> {code:xml}
> 2015-07-18 01:40:12,055 ERROR org.apache.tajo.catalog.CatalogServer: org.apache.tajo.common.exception.NotImplementedException: text
> org.apache.tajo.catalog.exception.CatalogException: org.apache.tajo.common.exception.NotImplementedException: text
> 	at org.apache.tajo.catalog.store.HiveCatalogStore.createTable(HiveCatalogStore.java:553)
> 	at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.createTable(CatalogServer.java:602)
> 	at org.apache.tajo.catalog.AbstractCatalogClient.createTable(AbstractCatalogClient.java:406)
> 	at org.apache.tajo.master.exec.DDLExecutor.createTable(DDLExecutor.java:275)
> 	at org.apache.tajo.master.exec.DDLExecutor.createTable(DDLExecutor.java:211)
> 	at org.apache.tajo.master.exec.DDLExecutor.execute(DDLExecutor.java:91)
> 	at org.apache.tajo.master.exec.QueryExecutor.execute(QueryExecutor.java:107)
> {code}
> It seems that HiveCatalogStore just support csv file format. We need to support text file format in HiveCatalogStore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)