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] [Created] (DRILL-4660) TextReader should support multibyte field Delimiters

Arina Ielchiieva created DRILL-4660:
---------------------------------------

             Summary: TextReader should support multibyte field Delimiters
                 Key: DRILL-4660
                 URL: https://issues.apache.org/jira/browse/DRILL-4660
             Project: Apache Drill
          Issue Type: Bug
          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)