You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "cedric (JIRA)" <ji...@apache.org> on 2019/02/23 12:12:00 UTC

[jira] [Created] (ORC-471) C++ library needs some doc regarding NULLs

cedric created ORC-471:
--------------------------

             Summary: C++ library needs some doc regarding NULLs
                 Key: ORC-471
                 URL: https://issues.apache.org/jira/browse/ORC-471
             Project: ORC
          Issue Type: Wish
          Components: C++, site
            Reporter: cedric


I'm trying to use the C++ library to write ORC files and handling of NULLs in StructVectorColumn is not clear from the doc.

When a row is NULL, the code of StructColumnWriter::add seems to expect the children columns to be defined (and, I guess, NULL), as it uses the passed numValues both to add the isNulls and to add each subfields.

But on another hand, the decoder seems to expect the subfields to be missing when the struct row is NIULL.

Can you shed some light here, or better in the doc ?

A line about what to do for NULL values for each possible type in the doc would be great.

If I knew what the APi is supposed to be then I would know where to look for the bug.

 

Thank you!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)