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

[SQL] Support UUID datatype #1695

Closed
jeroiraz opened this issue Jun 9, 2023 · 0 comments
Closed

[SQL] Support UUID datatype #1695

jeroiraz opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@jeroiraz
Copy link
Contributor

jeroiraz commented Jun 9, 2023

What would you like to be added or enhanced

Add built-in support for Universally Unique Identifiers (UUID) data type

e.g.

  CREATE TABLE myEventsTable(id UUID, time TIMESTAMP, description VARCHAR, PRIMARY KEY id)

Note: SQL engine already support BLOB and VARCHAR datatypes.

SQL parser can be generated from the grammar as follows:
go run golang.org/x/tools/cmd/goyacc -l -o sql_parser.go sql_grammar.y

Why is this needed

Decentralized generation of unique identifiers is possible with UUID datatype

Additional context

@jeroiraz jeroiraz added the enhancement New feature or request label Jun 9, 2023
@jeroiraz jeroiraz closed this as completed Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant