hiroyuki-sato commented on PR #46381:
URL: https://github.com/apache/arrow/pull/46381#issuecomment-2868370437

   Changed like this 
   
   ```diff
   diff --git a/c_glib/arrow-glib/basic-data-type.cpp 
b/c_glib/arrow-glib/basic-data-type.cpp
   index 113c2f103..c572c15f8 100644
   --- a/c_glib/arrow-glib/basic-data-type.cpp
   +++ b/c_glib/arrow-glib/basic-data-type.cpp
   @@ -2361,10 +2361,9 @@ 
garrow_fixed_shape_tensor_data_type_get_shape(GArrowFixedShapeTensorDataType *ob
      const auto priv = GARROW_DATA_TYPE_GET_PRIVATE(object);
      auto arrow_data_type =
        
std::static_pointer_cast<arrow::extension::FixedShapeTensorType>(priv->data_type);
   -  auto arrow_shape = arrow_data_type->shape();
   
   -  *length = arrow_shape.size();
   -  return arrow_shape.data();
   +  *length = arrow_data_type->shape().size();
   +  return arrow_data_type->shape().data();
    }
   
    G_END_DECLS
   ``


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