Skip to content

Conversation

@mfang90739
Copy link
Contributor

Running relational_db_testing on top of these changes, the following error is seen:

sqlalchemy.exc.OperationalError: (pymysql.err.OperationalError) (1005, 'Can't create table sdo.test3_object_prop_name (errno: 150 "Foreign key constraint is incorrectly formed")')
[SQL:
CREATE TABLE sdo.test3_object_prop_name (
id VARCHAR(255),
name TEXT NOT NULL,
integer_value INTEGER,
float_value FLOAT,
string_value TEXT,
UNIQUE (id, name),
FOREIGN KEY(id) REFERENCES sdo.test3_object (id) ON DELETE CASCADE
)

@mfang90739 mfang90739 changed the base branch from master to relational-data-sink December 9, 2024 22:30
@mfang90739
Copy link
Contributor Author

Just updated MariaDB and SQLite backends to use the revised sql-type methods and new reg-ex constraints. The development for both backends is still work-in-progress, see attached log files for the immediate problems seen with each backend:
mariadb.log
sqlite.log

@rpiazza rpiazza merged commit 19c2c53 into oasis-open:relational-data-sink Dec 11, 2024
1 of 6 checks passed
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