kou commented on issue #44478:
URL: https://github.com/apache/arrow/issues/44478#issuecomment-2424896157
Ah, we need to prevent `Arrow::ExtensionType.new`:
```diff
diff --git a/c_glib/arrow-glib/basic-data-type.cpp
b/c_glib/arrow-glib/basic-data-type.cpp
index d1c0600006..dff9725150 100644
--- a/c_glib/arrow-glib/basic-data-type.cpp
+++ b/c_glib/arrow-glib/basic-data-type.cpp
@@ -1660,9 +1660,9 @@ enum {
PROP_STORAGE_DATA_TYPE = 1
};
-G_DEFINE_TYPE_WITH_PRIVATE(GArrowExtensionDataType,
- garrow_extension_data_type,
- GARROW_TYPE_DATA_TYPE)
+G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE(GArrowExtensionDataType,
+ garrow_extension_data_type,
+ GARROW_TYPE_DATA_TYPE)
#define GARROW_EXTENSION_DATA_TYPE_GET_PRIVATE(obj)
\
static_cast<GArrowExtensionDataTypePrivate *>(
\
```
--
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]