We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi everyone, I attach an sqlite in-memory database
I create two tables, the second one references the first one
I get this error
Binder Error: Failed to create foreign key: incompatible types between column "id" ("BIGINT") and column "t1_id" ("INTEGER")
INSTALL sqlite; LOAD sqlite; ATTACH ':memory:' AS db2 (TYPE SQLITE);
use db2;
create table t1 ( id integer primary key, name varchar );
create table t2( id integer primary key, t1_id integer references t1(id) );
macos
3.46.0
v0.10.3
cli
no affiliation
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happens?
Hi everyone,
I attach an sqlite in-memory database
I create two tables, the second one references the first one
I get this error
Binder Error: Failed to create foreign key: incompatible types between column "id" ("BIGINT") and column "t1_id" ("INTEGER")
To Reproduce
INSTALL sqlite;
LOAD sqlite;
ATTACH ':memory:' AS db2 (TYPE SQLITE);
use db2;
create table t1 (
id integer primary key,
name varchar
);
create table t2(
id integer primary key,
t1_id integer references t1(id)
);
OS:
macos
SQLite Version:
3.46.0
DuckDB Version:
v0.10.3
DuckDB Client:
cli
Affiliation:
no affiliation
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: