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

Drill cannot handle empty array/list types in JSON documents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Future
    • Execution - Data Types
    • None

    Description

      To reproduce
      JSON sample data:
      {
      "a":[]
      }

      Problem: Empty array

      Exception:
      java.lang.IllegalStateException: Incoming batch has an empty schema. This is not allowed

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vsowrirajan Venkata krishnan Sowrirajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: