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

UUID function is no longer based off current time #1019

Merged
merged 3 commits into from
May 18, 2022
Merged

UUID function is no longer based off current time #1019

merged 3 commits into from
May 18, 2022

Conversation

jycor
Copy link
Contributor

@jycor jycor commented May 18, 2022

@jycor jycor requested a review from zachmu May 18, 2022 17:00
Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

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

LG, just a comment about the test

@@ -2006,6 +2006,20 @@ var ScriptTests = []ScriptTest{
},
},
},
{
Name: "createing UUID quickly is still random",
Copy link
Member

Choose a reason for hiding this comment

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

Rather than making this a script test, just do a normal query test

select uuid() = uuid() should be false

@jycor jycor merged commit d635025 into main May 18, 2022
@Hydrocharged Hydrocharged deleted the james/uuid branch October 13, 2022 12:51
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.

2 participants