Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-471

C++ library needs some doc regarding NULLs

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • C++, site

    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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            rixed cedric
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m