forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-41389: [Python] Expose byte_width and bit_width of Extension…
…Type in terms of the storage type (apache#41413) ### Rationale for this change This update aligns the Python API with Arrow C++ by exposing the actual byte and bit widths of extension types from their storage type. ### What changes are included in this PR? - Expose byte_width and bit_width properties for ExtensionType in Python, reflecting the underlying storage type. - Add unit tests to verify these properties ### Are these changes tested? Yes ### Are there any user-facing changes? Yes * GitHub Issue: apache#41389 Lead-authored-by: Hyunseok Seo <hsseo0501@gmail.com> Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
- Loading branch information
1 parent
1f07404
commit e254c43
Showing
3 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters