Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1243

Drill's error message not clear when it fails reading json files containing arrays of hetrogeneous types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.16.0
    • Storage - JSON
    • None

    Description

      git.commit.id.abbrev=98b208e

      Below is a simple json record which contains arrays holding different types of values

      {"coordinates": [168.01,5]}
      

      Query :

      select * from `repeated_hetrogeneous_types.json`;
      
      Query failed: Screen received stop request sent. Needed to be in state INIT or IN_BIGINT but in mode IN_FLOAT8
      

      When I tried adding a string to the above json array, the error message from sqlline was even wierder.

      Manually debugging this is challenging as we have to nail it down to the specific record which is failing

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rkins Rahul Kumar Challapalli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: