You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Sudheesh Katkam (JIRA)" <ji...@apache.org> on 2016/01/20 01:42:39 UTC
[jira] [Resolved] (DRILL-3428) Errors during text filereading
should provide the file name in the error messge
[ https://issues.apache.org/jira/browse/DRILL-3428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sudheesh Katkam resolved DRILL-3428.
------------------------------------
Resolution: Fixed
With 1.4 build, for this file:
{code}
> cat data/3428.csv
1,"line1"
2,"line2
"
3,"line3"
{code}
I get:
{code}
> select * from my_dfs.`/root/data/3428.csv`;
Error: DATA_READ ERROR: Error processing input: Cannot use newline character within quoted string, line=3, char=22. Content parsed: [ ]
Failure while reading file file:///root/data/3428.csv. Happened at or shortly before byte position 22.
Fragment 0:0
[Error Id: 49a05427-e763-4cca-9f97-e4b4308ecb75 on perfnode206.perf.lab:31010] (state=,code=0)
{code}
> Errors during text filereading should provide the file name in the error messge
> -------------------------------------------------------------------------------
>
> Key: DRILL-3428
> URL: https://issues.apache.org/jira/browse/DRILL-3428
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - Text & CSV
> Affects Versions: 1.0.0
> Reporter: Parth Chandra
> Assignee: Sudheesh Katkam
> Fix For: 1.3.0
>
>
> If there is an exception during reading of a text file, the error message prints a message like :
> ...TextParsingException: Error processing input: Cannot use newline
> character within quoted string, line=37, char=8855. Content parsed: [ ]
> which does not have the name of the file. If there are thousands of files being read, printing the filename would help identify the problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)