Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PARQUET-1125: Add UUID logical type. #71

Closed

Conversation

rdblue
Copy link
Contributor

@rdblue rdblue commented Oct 7, 2017

UUIDs are commonly used as unique identifiers. A binary representation will reduce memory when writing or building bloom filters and will reduce cycles needed to compare values.

This commit is based on PARQUET-906 / PR #51.

@rdblue
Copy link
Contributor Author

rdblue commented Oct 7, 2017

@julienledem, can you review? I'm interested in getting this into 2.3.2 as well. Thanks!

Copy link
Member

@julienledem julienledem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, assuming it depends on the Logical types PR

LogicalTypes.md Outdated
bytes `00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff`
(This example is from [wikipedia's UUID page][wiki-uuid]).

The sort order used for `ENUM` values is unsigned byte-wise comparison.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong type name?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Fixed.

@rdblue rdblue force-pushed the PARQUET-1125-add-uuid-logical-type branch from 00a80bf to 6d618bd Compare October 10, 2017 18:16
@rdblue
Copy link
Contributor Author

rdblue commented Oct 10, 2017

Thanks for the review. I updated the typo you caught and will merge when tests pass, unless anyone objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants