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

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

Github user jihoonson commented on a diff in the pull request:

    https://github.com/apache/tajo/pull/1037#discussion_r71061686
  
    --- Diff: 
tajo-core/src/main/java/org/apache/tajo/parser/sql/SQLAnalyzer.java ---
    @@ -1325,6 +1325,9 @@ public Expr 
visitCreate_table_statement(Create_table_statementContext ctx) {
     
           if (checkIfExist(ctx.USING())) {
             String fileType = ctx.storage_type.getText();
    +        if (fileType.equals("csv")) {
    +          throw new TajoRuntimeException(new SQLSyntaxError("Creating csv 
storage type table is disallowed from 0.12."));
    --- End diff --
    
    It would be better to let users know that they use ```text``` instead of 
```csv```. In addition, I think it would be better if a specific version name 
is not included in the error message for maintenance issue.


> Disallow csv file format in DDL Languages
> -----------------------------------------
>
>                 Key: TAJO-2166
>                 URL: https://issues.apache.org/jira/browse/TAJO-2166
>             Project: Tajo
>          Issue Type: Improvement
>            Reporter: Lee Dongjin
>            Assignee: Lee Dongjin
>            Priority: Minor
>
> csv file type is disallowed from ver 0.11.0. We have to remove it from DDL 
> also.



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

Reply via email to