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

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

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

    https://github.com/apache/tajo/pull/53#discussion_r14581009
  
    --- Diff: 
tajo-client/src/main/java/org/apache/tajo/cli/DescTableCommand.java ---
    @@ -84,8 +86,13 @@ protected String toFormattedString(TableDesc desc) {
         }
         sb.append("Options: \n");
         for(Map.Entry<String, String> entry : 
desc.getMeta().toMap().entrySet()){
    +      String value = entry.getValue();
    +      String unescaped = StringEscapeUtils.unescapeJava(value);
    +      if(unescaped.length() == 1 && 
CharUtils.isAsciiPrintable(unescaped.charAt(0))){
    --- End diff --
    
    Could you add some comment about the purpose of this condition?


> Unicode delimiter does not work correctly
> -----------------------------------------
>
>                 Key: TAJO-902
>                 URL: https://issues.apache.org/jira/browse/TAJO-902
>             Project: Tajo
>          Issue Type: Bug
>          Components: catalog
>    Affects Versions: 0.8.0, 0.9.0
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>
> When table create with a unicode delimiter, it store wrong unicode as follows:
> {noformat}
> create table delim_test (col1 text, col2 text) using csv with 
> ('csvfile.delimiter'='\u0036');
> Actual : 'csvfile.delimiter'='\u0006'
> {noformat}



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

Reply via email to