sgilmore10 opened a new issue, #36599: URL: https://github.com/apache/arrow/issues/36599
### Describe the enhancement requested We recently added a class representation of a Proxy ID named `libmexclass.proxy.Identifier`. This class has one property named `ID` which is either set to `NaN` or to a scalar `uint64` value. When `ID=NaN`, the Identifier is considered missing, i.e. it's not associated with a managed proxy object. When `ID` is set to a `uint64` value, it's not considered missing and is associated with a managed proxy object. We updated `libmexclass.proxy.Proxy` to store an instance of `libmexclass.proxy.Identifier` instead of a raw `uint64` value as the proxy ID. Representing proxy IDs with a class will make it easier to create objects (e.g. `arrow.array.UInt64Array`) from existing ids. For example, we can check if the first input argument to `arrow.array.UInt64Array` is either a `libmexclass.proxy.Identifier` or a `uint64` array. If it's the former, we are creating an array object from an existing proxy. Otherwise, we must create a new proxy object. ### Component(s) MATLAB -- 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]
