[
https://issues.apache.org/jira/browse/DRILL-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jinfeng Ni reassigned DRILL-1258:
---------------------------------
Assignee: Jinfeng Ni (was: Jason Altekruse)
> Drill hit compile error in generated code when it evaluates an expression
> returning a repeated list.
> -----------------------------------------------------------------------------------------------------
>
> Key: DRILL-1258
> URL: https://issues.apache.org/jira/browse/DRILL-1258
> Project: Apache Drill
> Issue Type: Bug
> Reporter: Jinfeng Ni
> Assignee: Jinfeng Ni
> Fix For: 0.5.0
>
>
> If I have the following JSON input:
> { "a" : [ { "x": [[1], [2], [3]], "y": "abc"}, { "x": [[5], [6], [7]], "y":
> "ABC"}] }
> { "a" : [ { "x": [[10], [20], [30]], "y": "abc2"}, { "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)",
--
This message was sent by Atlassian JIRA
(v6.2#6252)