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

Nested array column trimmed on 64k characters when queried via ODBC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Client - ODBC
    • None

    Description

      When querying JSON documents via the ODBC driver on Windows, the contents of columns which contain a JSON array is always trimmed to 64K characters.

      Example entry in the JSON document:
      {
      "id": 1,
      "items": [

      {"type": "item"}

      ,
      // thousands of similar entries
      ]}

      On querying, the column items returns the array as a JSON string that never exceeds 64K characters, even if the amount should be in the range of a few megabytes for the data in question.

      Attachments

        Activity

          People

            Unassigned Unassigned
            djurcau Daniel Jurcau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: