You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the schema has a table with a DOUBLE UNSIGNED or FLOAT UNSIGNED column, those are not converted by Voyager to YB relevant syntax and thus get errored out during import. These datatypes are deprecated as of MySQL 8.0.17
Workaround: Manually change the exported schema to the closest YB supported syntax.
Example:
MySQL source:
create table test(
id int,
n double unsigned,
f float unsigned
);
Exported Schema:
CREATE TABLE test (
id bigint,
n DOUBLE UNSIGNED,
f FLOAT UNSIGNED
);
Suggested Changes:
Change to YB compatible syntax closest to the respective datatypes.
CREATE TABLE test (
id bigint,
n DOUBLE PRECISION CHECK (n >= 0),
f REAL CHECK (f >= 0)
);
The text was updated successfully, but these errors were encountered:
If the schema has a table with a DOUBLE UNSIGNED or FLOAT UNSIGNED column, those are not converted by Voyager to YB relevant syntax and thus get errored out during import. These datatypes are deprecated as of MySQL 8.0.17
Workaround: Manually change the exported schema to the closest YB supported syntax.
Example:
MySQL source:
Exported Schema:
Suggested Changes:
Change to YB compatible syntax closest to the respective datatypes.
The text was updated successfully, but these errors were encountered: