You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Khurram Faraaz (JIRA)" <ji...@apache.org> on 2016/01/07 12:36:39 UTC
[jira] [Commented] (DRILL-4006) As json reader reads a field with
empty lists, IOOB could happen
[ https://issues.apache.org/jira/browse/DRILL-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087241#comment-15087241 ]
Khurram Faraaz commented on DRILL-4006:
---------------------------------------
Verified Fix on Drill 1.4 git commit ID: 32b85160, using data attached in this JIRA. IOB Exception was not seen instead query returned correct results.
> As json reader reads a field with empty lists, IOOB could happen
> ----------------------------------------------------------------
>
> Key: DRILL-4006
> URL: https://issues.apache.org/jira/browse/DRILL-4006
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - JSON
> Reporter: Sean Hsuan-Yi Chu
> Assignee: Sean Hsuan-Yi Chu
> Fix For: 1.3.0
>
> Attachments: a.json, b.json, c.json
>
>
> If a field in a json file has many empty lists before a non-empty list, there could be an IOOB exception.
> Running the following query on the folder with files in the attachment can reproduce the observation:
> {code}
> select a from`folder`
> {code}
> Exception:
> org.apache.drill.common.exceptions.UserRemoteException: DATA_READ ERROR: index: 4448, length: 4
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)