Details
-
Wish
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
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!