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

Support using INET as primary key #2

Open
digizeph opened this issue Oct 31, 2024 · 0 comments
Open

Support using INET as primary key #2

digizeph opened this issue Oct 31, 2024 · 0 comments

Comments

@digizeph
Copy link

Currently, we cannot create a table with INET field as primary key or unique constraint, and thus preventing us from doing things like upsert based on IP addresses in a table.

D create table if not exists test ( ip INET, PRIMARY KEY (ip));
Invalid type Error: Invalid Type [INET]: Invalid type for index key.

Would love to have this feature added in the future. Thanks!

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

No branches or pull requests

1 participant