drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-4660) TextReader should support multibyte field delimiters
Date Tue, 10 May 2016 08:40:12 GMT

     [ https://issues.apache.org/jira/browse/DRILL-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arina Ielchiieva updated DRILL-4660:
------------------------------------
    Issue Type: Improvement  (was: Bug)
       Summary: TextReader should support multibyte field delimiters  (was: TextReader should
support multibyte field Delimiters)

> TextReader should support multibyte field delimiters
> ----------------------------------------------------
>
>                 Key: DRILL-4660
>                 URL: https://issues.apache.org/jira/browse/DRILL-4660
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Text & CSV
>    Affects Versions: 1.6.0
>            Reporter: Arina Ielchiieva
>            Priority: Minor
>             Fix For: Future
>
>
> Data file /tmp/foo.txt contents:
> {noformat}
> 0::2::3
> 0::3::1
> 0::5::2
> 0::9::4
> 0::11::1
> 0::12::2
> 0::15::1
> {noformat}
> Query:
> {code}
> select
> 	columns
> from
> 	table(dfs.`/tmp/foo.txt`(type => 'text', fieldDelimiter => '::'))
> {code}
> Results in a error message:
> {noformat}
> PARSE ERROR:
> Expected single character but was String: ::
> table /tmp/foo.txt
> parameter fieldDelimiter SQL Query null
> {noformat}
> It would be nice that fieldDelimiter accepts text of any length.



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

Mime
View raw message