You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2016/05/10 08:40:12 UTC
[jira] [Updated] (DRILL-4660) TextReader should support multibyte
field delimiters
[ 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)