drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4006) As json reader reads a field with empty lists, IOOB could happen
Date Wed, 04 Nov 2015 23:39:27 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990725#comment-14990725
] 

ASF GitHub Bot commented on DRILL-4006:
---------------------------------------

GitHub user hsuanyi opened a pull request:

    https://github.com/apache/drill/pull/242

    DRILL-4006: Ensure the position of MapWriters is set

    This can help eliminate potential IOOB exception

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hsuanyi/incubator-drill DRILL-4006

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/242.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #242
    
----
commit cab94ca905f323378443ba477929dff7ffcae92b
Author: Hsuan-Yi Chu <hsuanyi@usc.edu>
Date:   2015-11-01T00:14:34Z

    DRILL-4006: Ensure the position of MapWriters is set
    
    This can help eliminate potential IOOB exception

----


> 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
>         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)

Mime
View raw message