You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Matt Keranen (JIRA)" <ji...@apache.org> on 2016/08/13 01:07:20 UTC

[jira] [Created] (DRILL-4845) Malformed CSV throws IllegalArgumentException

Matt Keranen created DRILL-4845:
-----------------------------------

             Summary: Malformed CSV throws IllegalArgumentException
                 Key: DRILL-4845
                 URL: https://issues.apache.org/jira/browse/DRILL-4845
             Project: Apache Drill
          Issue Type: Bug
          Components: Storage - Text & CSV
    Affects Versions: 1.6.0, 1.7.0
         Environment: CentOS 7
            Reporter: Matt Keranen


When reading CSV data, if lines are malformed, often an error such as the following is reported:

    Error: SYSTEM ERROR: IllegalArgumentException: length: -15150 (expected: >= 0)

Neither the error message reported to the client (with verbose errors on), nor on the drillbit describe what or where the problem is.

Perhaps the CSV parser can throw exceptions that would help in locating what in the source data is not parsing?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)