Paul Rogers created DRILL-7435:
----------------------------------

             Summary: JSON reader incorrectly adds a LATE type to union vector
                 Key: DRILL-7435
                 URL: https://issues.apache.org/jira/browse/DRILL-7435
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Paul Rogers


Run Drill with a fix for DRILL-7434. Now, another test fails: 
{{TestJsonReader.testTypeCase()}} fails when it tries to set the value count. 
Evidently the JSON reader has added the {{LATE}} type to the Union vector. 
However, there is no vector type associated with the {{LATE}} type. An attempt 
to get the member or this type throws an exception.

The simple work around is to special-case this type when setting the value 
count. The longer-term fix is to not add the {{LATE}} type to a union vector.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to