ZhangHuiGui commented on code in PR #41194:
URL: https://github.com/apache/arrow/pull/41194#discussion_r1565921624
##########
cpp/src/arrow/compute/row/encode_internal.cc:
##########
@@ -23,9 +23,10 @@ namespace compute {
void RowTableEncoder::Init(const std::vector<KeyColumnMetadata>& cols, int
row_alignment,
int string_alignment) {
- row_metadata_.FromColumnMetadataVector(cols, row_alignment,
string_alignment);
- uint32_t num_cols = row_metadata_.num_cols();
- uint32_t num_varbinary_cols = row_metadata_.num_varbinary_cols();
+ row_metadata_ = std::make_shared<RowTableMetadata>();
Review Comment:
Mainly modified here , initializes a row_metadata_'s pointer and passes it
to RowTableImpl
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]