Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.4.0
-
None
Description
I am trying to load the data which is of the following format
{ "test": "ABC", "test2": [1,2,3], "a": "drill" } { "test": "abc", "test2": [1,2,3,4], "a": "apache" }
and executing SELECT query on the above data. While doing that I am getting the following exception
java.lang.ClassCastException: org.apache.drill.exec.vector.NullableVarCharVector cannot be cast to org.apache.drill.exec.vector.RepeatedVarCharVector at org.apache.drill.exec.store.easy.json.JSONRecordReader$ReadType.addValueToVector(JSONRecordReader.java:459) at org.apache.drill.exec.store.easy.json.JSONRecordReader$ReadType.recordData(JSONRecordReader.java:389) at org.apache.drill.exec.store.easy.json.JSONRecordReader$ReadType.readRecord(JSONRecordReader.java:295) at org.apache.drill.exec.store.easy.json.JSONRecordReader.next(JSONRecordReader.java:134)