[
https://issues.apache.org/jira/browse/DRILL-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hanifi Gunes updated DRILL-1547:
--------------------------------
Attachment: DRILL-1547.1.patch.txt
> 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
> Attachments: DRILL-1547.1.patch.txt
>
>
> 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)