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

Add uuid_from_friendly_id function #803

Merged
merged 10 commits into from
Apr 19, 2024

Conversation

andrewthad
Copy link
Contributor

Resolves #799

I've never written any Rust code before, so I recommend reviewing this carefully. It includes a passing test.

Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

Nice work @andrewthad ! I'm impressed that you jumped into Rust to implement it.

A left some notes, but a couple of other requests:

src/stdlib/uuid_from_friendly_id.rs Outdated Show resolved Hide resolved
src/stdlib/uuid_from_friendly_id.rs Outdated Show resolved Hide resolved
@jszwedko jszwedko enabled auto-merge April 19, 2024 20:07
Copy link
Member

@jszwedko jszwedko left a comment

Choose a reason for hiding this comment

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

Great, thanks @andrewthad !

auto-merge was automatically disabled April 19, 2024 20:25

Head branch was pushed to by a user without write access

@andrewthad andrewthad force-pushed the uuid_from_friendly_id branch from f70fc30 to d57bcd8 Compare April 19, 2024 20:25
@jszwedko jszwedko enabled auto-merge April 19, 2024 20:28
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
@jszwedko
Copy link
Member

@andrewthad I pushed a few more tiny fixes. I figured that was faster than pointing them out to you.

@jszwedko jszwedko added this pull request to the merge queue Apr 19, 2024
@andrewthad
Copy link
Contributor Author

Thanks! Looks good to me.

Merged via the queue into vectordotdev:main with commit cbc9691 Apr 19, 2024
11 checks passed
@jszwedko
Copy link
Member

@andrewthad merged! Do you think you'd be able to open a follow-up PR on https://github.com/vectordotdev/vector to document the new function? See vectordotdev/vector#20048 for an example

@andrewthad
Copy link
Contributor Author

I've opened a PR for that at vectordotdev/vector#20357

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.

VRL is unable to transform base62 encoded 128-bit identifiers to UUIDs
2 participants