Conversation
gatesn
reviewed
Mar 6, 2026
| elements.len() | ||
| ); | ||
|
|
||
| let mut bytes = [0u8; UUID_BYTE_LEN]; |
| /// Accepts any standard UUID string format (hyphenated, simple, braced, URN). Invalid strings | ||
| /// cause an error. | ||
| #[derive(Clone)] | ||
| pub struct UuidFromString; |
Contributor
There was a problem hiding this comment.
Hmm, I really do think we should just go directly to pluggable casting. CC @joseph-isaacs
Merging this PR will improve performance by 26.44%
Performance Changes
Comparing Footnotes
|
Contributor
Author
|
Ok so I'm going to remove the |
gatesn
requested changes
Mar 6, 2026
9242442 to
32ccf9f
Compare
Contributor
Just to confirm, is the reason just to keep this PR contained? |
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
Signed-off-by: Connor Tsui <connor.tsui20@gmail.com>
gatesn
approved these changes
Mar 9, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tracking Issue: #6854
Adds a UUID extension type to Vortex over a
FixedSizeList<u8, 16>. There isn't much functionality implemented on top of this, and there is no exporter to Arrow's UUID canonical extension type. All of the logic is delegated to the Rustuuidcrate.There is still a question of if we want to bring in
FixedSizeBinaryinstead of doing this.Testing
Some small basic tests. They serve mostly as example code on how to work with Uuid extension arrays in general.
Open Questions
FixedSizeBinaryinstead here? Why does this not suffice?unpack_nativeis terrible because we still do not haveScalarValue::Array(seeScalarValue::Array#6717)vortex.uuidsince we know we might change the storage type in the future?UuidFromStringshould really be implemented under theCastexpression, but we do not have a system yet for pluggable expressions so it is not entirely clear how we would do that.UuidToStringis an easy next one, what else is there?