velox/expression/ComplexProxyTypes.h
// Should be called by the user (VectorWriter) when writing is done to commit
// last item if needed.
Should be called by the user (VectorWriter) when writing is done to commit
last item if needed.
Should be called by the user ( VectorWriter ) when writing is done to commit last item if needed .
void finalize() {
    commitMostRecentChildItem();
    childWriter_->vector().resize(valuesOffset_ + length_);
  }
void finalize ( ) { commitMostRecentChildItem ( ) ; childWriter_ -> vector ( ) . resize ( valuesOffset_ + length_ ) ; }
Should be called by the user (VectorWriter) when writing is done to commit
last item if needed.
Should be called by the user ( VectorWriter ) when writing is done to commit last item if needed .
// Downsize to the actual size used in the underlying vector. // Some vector-writer's logic depend on the previous size to append data.