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

   Changed to `garrow_data_type_get_raw(GARROW_DATA_TYPE(data_type))` instead 
of `garrow_data_type_get_raw(data_type)` for avoiding the following error.
   
   ```
   ../c_glib/arrow-glib/basic-data-type.cpp:2362:5: error: no matching function 
for call to 'garrow_data_type_get_raw'
    2362 |     garrow_data_type_get_raw(data_type));
         |     ^~~~~~~~~~~~~~~~~~~~~~~~
   ../c_glib/arrow-glib/basic-data-type.hpp:29:1: note: candidate function not 
viable: no known conversion from 'GArrowFixedShapeTensorDataType *' (aka 
'_GArrowFixedShapeTensorDataType *') to 'GArrowDataType *' (aka 
'_GArrowDataType *') for 1st argument
      29 | garrow_data_type_get_raw(GArrowDataType *data_type);
         | ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.
   ```


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