orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cedric (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-471) C++ library needs some doc regarding NULLs
Date Sat, 23 Feb 2019 12:12:00 GMT
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

View raw message