You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2017/12/19 08:11:01 UTC

[jira] [Created] (DRILL-6043) Nullable vector, but not List vector, adds its internal vectors to child list

Paul Rogers created DRILL-6043:
----------------------------------

             Summary: Nullable vector, but not List vector, adds its internal vectors to child list
                 Key: DRILL-6043
                 URL: https://issues.apache.org/jira/browse/DRILL-6043
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.10.0
            Reporter: Paul Rogers
            Priority: Minor


Each Drill vector has associated metadata in the form of a {{MaterializeField}} instance. The {{MaterializeField}} contains a list of children. For a Map vector, the list of children lists the vectors that make up the map.

Nullable vectors use the list of children to identify the hidden vectors that make up the nullable vectors: {{$bits$}} and {{$values$}}.

However, repeated vectors (including lists) also have hidden internal vectors: offsets and values. However, the metadata for repeated types and lists do not include these in the vector metadata.

We should decide if we need metadata for the implied internal vectors. (Having it does cause problems since a newly-created schema for a nullable vector is not equal to the actual schema created by the vector itself.)

If we don't need the internal vector metadata, remove it from the nullable vectors.

But, if we do need it, add it to the repeated vectors and to lists.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)