You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "benj (Jira)" <ji...@apache.org> on 2020/06/05 14:10:00 UTC
[jira] [Commented] (DRILL-4660) TextReader should support multibyte
field delimiters
[ https://issues.apache.org/jira/browse/DRILL-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126798#comment-17126798 ]
benj commented on DRILL-4660:
-----------------------------
Any news/progression/hope for this functionality ?
> 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
(v8.3.4#803005)