You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2015/04/29 02:16:06 UTC
[jira] [Reopened] (DRILL-2754) Allocation bug in splitAndTransfer
method causing some flatten queries to fail
[ https://issues.apache.org/jira/browse/DRILL-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rahul Challapalli reopened DRILL-2754:
--------------------------------------
Though we have a unit test for this, I am getting the below ouput from sqlline. There could be some issue with JDBC
0: jdbc:drill:schema=dfs_eea> select flatten(config) from `json_kvgenflatten/DRILL-2754.json`;
+------------+
| EXPR$0 |
+------------+
| [] |
| null |
+------------+
> Allocation bug in splitAndTransfer method causing some flatten queries to fail
> ------------------------------------------------------------------------------
>
> Key: DRILL-2754
> URL: https://issues.apache.org/jira/browse/DRILL-2754
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Data Types, Execution - Relational Operators
> Reporter: Jason Altekruse
> Assignee: Jason Altekruse
> Priority: Critical
> Fix For: 1.0.0
>
> Attachments: DRILL-2754.patch
>
>
> Data for reproduction:
> {code}
> {
> "config": [
> [],
> [ "a string" ]
> ]
> }
> {code}
> {code}
> select flatten(config) as flat from cp.`/store/json/null_list.json`
> {code}
> This was carved out of a larger use case that was failing, so in the course of coming up with a minimal reproduction I fixed the bug. I will be posting a patch shortly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)