Skip to content

Parse and format UUIDs as text - #11688

Draft
connortsui20 wants to merge 1 commit into
developfrom
ct/uuid-text-conversions
Draft

connortsui20 wants to merge 1 commit into
developfrom
ct/uuid-text-conversions

Conversation

@connortsui20

@connortsui20 connortsui20 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Vortex has no way to turn UUID text into a Uuid or back. A conversion that changes what a value means belongs to the type and not to the generic cast (#11599), so the UUID crate registers parse_uuid and format_uuid as named functions.

Both directions check the version that the dtype declares. Formatting checks it too, because arrays don't check extension values when they are built yet (#11601), so a stored value that breaks the constraint returns an error instead of text.

Like other functions that can fail, both can fail on a RunEnd run that no row references, because RunEnd pushes a function into all of its values. #11690 fixes this for every function.

Prepared with AI assistance.

@connortsui20 connortsui20 added the changelog/feature A new feature label Nov 20, 2026
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
@connortsui20
connortsui20 force-pushed the ct/uuid-text-conversions branch from e635db7 to 5b47dd0 Compare November 20, 2026 17:02

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant