You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "davidhcoe (via GitHub)" <gi...@apache.org> on 2024/01/11 15:41:25 UTC

[I] csharp/src/Apache.Arrow/Types/ArrowType: There are different type IDs for Decimal128 than for Python [arrow]

davidhcoe opened a new issue, #39568:
URL: https://github.com/apache/arrow/issues/39568

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   In Python, there is an `INTERVAL_MONTHS` and an `INTERVAL_DAY_TIME` type, but C# only has the `Interval` type defined. This means that types declared after these (ie, `Decimal128`, `Decimal256`) have different type IDs in different languages. 
   
   ### Component(s)
   
   C#


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] csharp/src/Apache.Arrow/Types/ArrowType: There are different type IDs for values after 21, including Decimal128 and Decimal256, than for Python [arrow]

Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher closed issue #39568: csharp/src/Apache.Arrow/Types/ArrowType: There are different type IDs for values after 21, including Decimal128 and Decimal256, than for Python
URL: https://github.com/apache/arrow/issues/39568


-- 
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: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] csharp/src/Apache.Arrow/Types/ArrowType: There are different type IDs for values after 21, including Decimal128 and Decimal256, than for Python [arrow]

Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher commented on issue #39568:
URL: https://github.com/apache/arrow/issues/39568#issuecomment-1887576375

   As I understand it, the type ids are purely a convenience for each implementation. What actually matters is what's serialized via FlatBuffers (which does not include the language-specific type id) or what's passed via the C API (in which the types are represented as strings).
   
   Is there a specific consequence you've noticed that you attribute to the difference in ids?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] csharp/src/Apache.Arrow/Types/ArrowType: There are different type IDs for values after 21, including Decimal128 and Decimal256, than for Python [arrow]

Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher commented on issue #39568:
URL: https://github.com/apache/arrow/issues/39568#issuecomment-3549509097

   There isn't a cross-language standardized numeric type id for Arrow types.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org