Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If I have the following JSON input:
{ "a" : [
{ "x": [[1], [2], [3]], "y": "abc"},
{ "x": [[5], [6], [7]], "y": "ABC"}] }
{ "a" : [
,
{ "x": [[50], [60], [70]], "y": "ABC2"}] }
For this query:
select t.a[1].x from dfs.`/Users/jni/work/data/json/input.json` t;
Drill will complain with compile error in run-time generated code:
Line 49, Column 34: No applicable constructor/method found for actual parameters "org.apache.drill.exec.vector.complex.writer.BaseWriter$ListWriter"; candidates are: "public abstract void org.apache.drill.exec.vector.complex.reader.TinyIntReader.copyAsValue(org.apache.drill.exec.vector.complex.writer.TinyIntWriter)",