izveigor opened a new issue, #35052: URL: https://github.com/apache/arrow/issues/35052
### Describe the bug, including details regarding any error messages, version, and platform. Primitive types differ depending on the programming language. | Language | Return types of function "is_primitive" | Source | | ----------- | ----------------------------------------- | -------- | | Rust | UInt8, UInt16, UInt32, UInt64, Int8, Int16, Int32, Int64, Float16, Float32, Float64, Decimal128, Decimal256, Date32, Date64, Timestamp, Time32, Time64, Duration, Interval | [link](https://github.com/apache/arrow-rs/blob/master/arrow-schema/src/datatype.rs#L316-L356) | Go | BOOL, UINT8, INT8, UINT16, INT16, UINT32, INT32, UINT64, INT64, FLOAT16, FLOAT32, FLOAT64, DATE32, DATE64, TIME32, TIME64, TIMESTAMP, DURATION, INTERVAL_MONTHS, INTERVAL_DAY_TIME, INTERVAL_MONTH_DAY_NANO|[link](https://github.com/apache/arrow/blob/main/go/arrow/datatype.go#L301-L309)| | Python | _Type_NA, _Type_BOOL, _Type_UINT8, _Type_INT8, _Type_UINT16, _Type_INT16, _Type_UINT32, _Type_INT32, _Type_UINT64, _Type_INT64, _Type_TIMESTAMP, _Type_DATE32, _Type_TIME32, _Type_TIME64, _Type_DATE64, _Type_HALF_FLOAT, _Type_FLOAT, _Type_DOUBLE| [link](https://github.com/apache/arrow/blob/main/python/pyarrow/types.pxi#L3185-L3196)| I think, there must be some rule that determines whether a type belongs to primitive types. ### Component(s) Go, Python -- 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]
