pitrou commented on code in PR #39383:
URL: https://github.com/apache/arrow/pull/39383#discussion_r1457135254


##########
cpp/src/arrow/compute/light_array.cc:
##########
@@ -480,7 +480,7 @@ void ExecBatchBuilder::Visit(const 
std::shared_ptr<ArrayData>& column, int num_r
       const uint8_t* field_ptr =
           column->buffers[1]->data() +
           (column->offset + row_id) * 
static_cast<int64_t>(metadata.fixed_length);
-      process_value_fn(i, field_ptr, metadata.fixed_length);
+      process_value_fn(i, field_ptr, 
static_cast<int32_t>(metadata.fixed_length));

Review Comment:
   > Changing `fixed_length` of `RowTableMetadata` and `KeyColumnMetaData` to 
signed type could be a future enhancement.
   
   Cool, thank you!



-- 
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]

Reply via email to