Hanifi Gunes created DRILL-1547:
-----------------------------------

             Summary: 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


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 not to check value capacity if vector is not allocated. This 
is an issue that affects sparse JSON files.



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

Reply via email to