-
Notifications
You must be signed in to change notification settings - Fork 75
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
Add uuid_from_friendly_id function #803
Conversation
There was a problem hiding this 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:
- Could you add a changelog entry? See https://github.com/vectordotdev/vrl/blob/main/changelog.d/README.md
- Can you add a benchmark? See https://github.com/vectordotdev/vrl/blob/main/benches/stdlib.rs
- After this is merged could you open a follow-up PR on https://github.com/vectordotdev/vector to document the new function? See feat(vrl): add
uuid_v7
function vector#20048 for an example
Co-authored-by: Jesse Szwedko <jesse@szwedko.me>
Co-authored-by: Jesse Szwedko <jesse@szwedko.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @andrewthad !
Head branch was pushed to by a user without write access
f70fc30
to
d57bcd8
Compare
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>
@andrewthad I pushed a few more tiny fixes. I figured that was faster than pointing them out to you. |
Thanks! Looks good to me. |
@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 |
I've opened a PR for that at vectordotdev/vector#20357 |
Resolves #799
I've never written any Rust code before, so I recommend reviewing this carefully. It includes a passing test.