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

Sudheesh Katkam commented on DRILL-949:
---------------------------------------

The escape sequence for ctrl-A is \001. This format is not supported by json 
(http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf ). 
Please use \u0001 for ctrl-A; this is valid java and json.

> support of reading ctrl-A delimited text file in storage-plugins.json
> ---------------------------------------------------------------------
>
>                 Key: DRILL-949
>                 URL: https://issues.apache.org/jira/browse/DRILL-949
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Vivian Summers
>            Assignee: Sudheesh Katkam
>
> Currently Drill doesn't support ctrl-A ('\001') type of delimiter in 
> storage-plugins.json file:
> I have this in the format:
>        "ctrlA" : {
>           type: "text",
>           extensions: [ "txt" ],
>           delimiter: "\\001"
>         },
> and getting error while Drillbit starts:
> Exception in thread "51a92118-3fab-4b4e-bdf9-2a7057ee52e4:frag:0:0" 
> java.lang.IllegalArgumentException: Only single character delimiter supported



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

Reply via email to