Uh oh!
There was an error while loading. Please reload this page.
WIP: [Docs] Update extension type examples to not use UUID - #43849
WIP: [Docs] Update extension type examples to not use UUID#43849khwilson wants to merge 130 commits into
Conversation
In a previous version of the docs, a UuidType was discussed as an extension type. However, this type has been promoted to a canonical type, and so no longer is a good example of an extension type a user may wish to create. We replace UuidType in the docs with a RationalType
ianmcook
commented
Aug 27, 2024
@github-actions crossbow submit preview-docs |
Revision: fde3215 Submitted crossbow builds: ursacomputing/crossbow @ actions-d5e0428a8b
|
ianmcook
commented
Aug 27, 2024
@khwilson I found one more docs page where there are a couple of mentions of UUID as an example of a user-defined extension type: arrow/docs/source/format/Columnar.rst Lines 1600 to 1604 in 75ca5b3 arrow/docs/source/format/Columnar.rst Line 1610 in 75ca5b3 Could you replace these with your rational example? Thanks |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ianmcook
commented
Aug 27, 2024
@khwilson thank you; this looks pretty good! I left a bunch of comments. They should be mostly be easy to address (except the bit about what "parameterized" means which might require some thinking about how best to explain it). |
Co-authored-by: Ian Cook <ianmcook@gmail.com>
Co-authored-by: Ian Cook <ianmcook@gmail.com>
khwilson
commented
Sep 14, 2024
Hi all. My deepest apologies. I got myself into a bit of trouble syncing with master and accidentally rebased instead of merging. I will close this issue for now to avoid spamming everyone as there is no way I know to unsubscribe you automatically. |
ianmcook
commented
Sep 14, 2024
No worries, it happens :) Tag me in the new PR and I will review |
### Rationale for this change UUID extension types were made canonical in #41299 and are getting native support in C++ and Python in #37298. As such, it makes sense to provide an alternative user-defined extension type as an example that is unlikely to become a canonical extension type anytime soon. After discussion in #43809, we determined a `RationalType` would make sense. Please note that this is a redo of #43849 as I made a blunder and accidentally pushed a branch that was in a wonky state. ### What changes are included in this PR? A change in several doc locations which reference a `UuidType` extension type have been changed to a `RationalType`. For consistency, this PR also changes single quotes (`''`) to double quotes (`""`) throughout the Python examples that it modifies. Also, seemingly unrelated to this change, some doctests began failing as numpy changed the `repr` of `float16`'s between 1.x and 2.x. We have updated the failing doctest so that it supports both styles. ### Are these changes tested? These are documentation changes and `archery docker run conda-python-docs` succeeds locally. ### Are there any user-facing changes? No. cc @ianmcook@rok * GitHub Issue: #43809 --------- Co-authored-by: Ian Cook <ianmcook@gmail.com>
Superseded by #44120