tajo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAJO-1690) Create table using text file fails in HiveCatalogStore.
Date Mon, 20 Jul 2015 03:29:07 GMT

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

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

Github user blrunner commented on the pull request:

    https://github.com/apache/tajo/pull/635#issuecomment-122746746
  
    Thanks @hyunsik and @jinossy 
    
    I've recovered existing test cases and add just a test case for this issue.


> 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)

Mime
View raw message