drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Girish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1547) Selecting records with multiple null fields fails with AssertionError
Date Tue, 21 Oct 2014 00:40:34 GMT

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

Abhishek Girish commented on DRILL-1547:
----------------------------------------

Hitting an issue while applying the current patch. Mis-matched heads? I'm using the latest
Apache master branch. 

> Selecting records with multiple null fields fails with AssertionError
> ---------------------------------------------------------------------
>
>                 Key: DRILL-1547
>                 URL: https://issues.apache.org/jira/browse/DRILL-1547
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Hanifi Gunes
>            Assignee: Hanifi Gunes
>
> If reader hits a records with multiple `null` valued fields whose vectors are not yet
allocated, running capacity check twice throws AssertionError. 
> Take
> {panel:title=a.json}
> \{"some":null, "field": null\}
> {panel}
> Running
> {code:sql}
> select * from dfs.`a.json`
> {code}
> fails with AssertionError.
> The work around is to check value capacity only if vector is allocated. This is an issue
that affects sparse JSON files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message