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

Initial changes to support Mariadb backend. #614

Merged
merged 2 commits into from
Dec 11, 2024

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.

None yet

2 participants