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

C++ Client cannot identify schema changes spanning multiple record batch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • Client - C++
    • None

    Description

      When querying a large enough json file (attached `metadata-evolution.json`) containing mutant. C++ client can not identify the schema changes. See sqlline.log for the metadata information.

      There is a "mutant" in the end of the file

      ...
      {
      "name":"EEEEE",
      "isDirectory":false,
      "isFile":true,
      "isSymlink":false,
      "length":"3456",
      "ownerName":"root",
      "groupName":"root",
      "modificationTime":"2011-11-11T14:31:58.000-0700",
      "accessTime":"2012-11-11T14:31:58.000-0700",
      "permission":"-rw-r--r--."
      }
      {
      "name":"Wolverine",
      "mutant":true,
      "age":"100",
      "firstName":"Logan",
      "powers":"Healing, Adamantium claws"
      }
      {
      "name":"AAAAA",
      "isDirectory":true,
      "isFile":false,
      "isSymlink":false,
      "length":"100",
      "ownerName":"root",
      "groupName":"root",
      "modificationTime":"2013-10-11T14:31:58.000-0700",
      "accessTime":"2013-10-11T14:31:58.000-0700",
      "permission":"-rw-r--r--."
      }
      ...
      

      Attachments

        1. metadata-evolution-test5.json
          668 kB
          George Chow
        2. sqlline.log
          19 kB
          Xiaomeng Huang
        3. metadata-evolution.json
          668 kB
          Xiaomeng Huang

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xiaom Xiaomeng Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: