duckdb / duckdb/duckdb-inet

Support using INET as primary key

Open
#2 1 comment 4 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13
Forks
26
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.