Init MapVector before write. If not, export VectorSchemaRoot to c-struct when meet a empty Map will cause an error while deserializing in c++: arrow/cpp/src/arrow/result.cc:28: ValueOrDie called on an error: Invalid: ArrowArrayStruct contains null data pointer for a buffer with non-zero computed size
Purpose
Init MapVector before write. If not, export VectorSchemaRoot to c-struct when meet a empty Map will cause an error while deserializing in c++: arrow/cpp/src/arrow/result.cc:28: ValueOrDie called on an error: Invalid: ArrowArrayStruct contains null data pointer for a buffer with non-zero computed size
Tests
API and Format
Documentation