drill-dev mailing list archives

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

Mime
View raw message