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

Jim Scott commented on DRILL-3149:
----------------------------------

Yeah. When I set
      "lineDelimiter": "\r\n",

I get every other row in the results as []
| 
["01001","203","0.85","16","0.074","1","","","","","","","","","","","11/1976",""]
    |
| []                                                                            
        |
| 
["01001","204","81.11","580","0.065","1","","","","","","","","","","","11/1976",""]
  |
| [] 

When I leave the default as \n I get
| 
["01001","203","0.85","16","0.074","1","","","","","","","","","","","11/1976","\r"]
    |
| 
["01001","204","81.11","580","0.065","1","","","","","","","","","","","11/1976","\r"]
  |

Which has a \r in the last field.

> TextReader should support multibyte line delimiters
> ---------------------------------------------------
>
>                 Key: DRILL-3149
>                 URL: https://issues.apache.org/jira/browse/DRILL-3149
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Text & CSV
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Jim Scott
>            Assignee: Jacques Nadeau
>            Priority: Minor
>
> lineDelimiter in the TextFormatConfig doesn't support \r\n for record 
> delimiters.



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

Reply via email to