Apache Drill
  1. Apache Drill
  2. DRILL-458

Implement sqlaccessor for Repeated types

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Below is the query I issued
      jdbc:drill:> select * from dfs.`/home/mapr/apache-drill-1.0.0-m2-incubating-SNAPSHOT/sample-data/fb.json`;

      Exception is below.
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "e281aa33-a140-4451-924f-73a2c7afee84"
      error_type: 0
      message: "Failure while running fragment. < ClassCastException:[ org.apache.drill.exec.vector.NullableVarCharVector cannot be cast to org.apache.drill.exec.vector.RepeatedVarCharVector ]"
      ]

      fb.json is below. The JSON is a valid document by itself.
      { "data" : { "actions" : [ "Comment",
      "Like"
      ],
      "created_time" : "2010-08-02T21:27:44+0000",
      "from" :

      { "id" : "X12", "name" : "Tom Brady" }

      ,
      "id" : "X999_Y999",
      "message" : "Looking forward to 2010!",
      "type" : "status",
      "updated_time" : "2010-08-02T21:27:44+0000"
      } }

      1. DRILL-458.patch
        3 kB
        Steven Phillips

        Activity

          People

          • Assignee:
            Steven Phillips
            Reporter:
            Neeraja
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development