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

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: None
    • Component/s: Client - ODBC
    • Labels:
      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

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

              Dates

              • Created:
                Updated: