Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanshGahlot committed Mar 4, 2025
1 parent 60cf5bf commit 1921abc
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions migtests/tests/analyze-schema/expected_issues.json
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl, constraint: (combined_tbl_j_key)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'json' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with json data type are not yet supported in YugabyteDB.",
"SqlStatement": "create table combined_tbl (\n\tid int,\n\tc cidr,\n\tci circle,\n\tb box,\n\tj json UNIQUE,\n\tl line,\n\tls lseg,\n\tmaddr macaddr,\n\tmaddr8 macaddr8,\n\tp point,\n\tlsn pg_lsn,\n\tp1 path,\n\tp2 polygon,\n\tid1 txid_snapshot,\n\tbitt bit (13),\n\tbittv bit varying(15),\n\tCONSTRAINT pk PRIMARY KEY (id, maddr8)\n);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -693,7 +693,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl, constraint: (pk)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'macaddr8' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with macaddr8 data type are not yet supported in YugabyteDB.",
"SqlStatement": "create table combined_tbl (\n\tid int,\n\tc cidr,\n\tci circle,\n\tb box,\n\tj json UNIQUE,\n\tl line,\n\tls lseg,\n\tmaddr macaddr,\n\tmaddr8 macaddr8,\n\tp point,\n\tlsn pg_lsn,\n\tp1 path,\n\tp2 polygon,\n\tid1 txid_snapshot,\n\tbitt bit (13),\n\tbittv bit varying(15),\n\tCONSTRAINT pk PRIMARY KEY (id, maddr8)\n);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -704,7 +704,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl, constraint: (combined_tbl_unique)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'bit' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with bit data type are not yet supported in YugabyteDB.",
"SqlStatement": "ALTER TABLE combined_tbl\n\t\tADD CONSTRAINT combined_tbl_unique UNIQUE(id, bitt);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -715,7 +715,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl1, constraint: (combined_tbl1_i4_key)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'int4range' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with int4range data type are not yet supported in YugabyteDB.",
"SqlStatement": "CREATE TABLE combined_tbl1(\n\tid int,\n\tt tsrange,\n\td daterange,\n\ttz tstzrange,\n\tn numrange,\n\ti4 int4range UNIQUE,\n\ti8 int8range,\n\tinym INTERVAL YEAR TO MONTH,\n\tinds INTERVAL DAY TO SECOND(9),\n\tPRIMARY KEY(id, t, n)\n);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -726,7 +726,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl1, constraint: (combined_tbl1_id_t_n_pkey)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'tsrange' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with tsrange data type are not yet supported in YugabyteDB.",
"SqlStatement": "CREATE TABLE combined_tbl1(\n\tid int,\n\tt tsrange,\n\td daterange,\n\ttz tstzrange,\n\tn numrange,\n\ti4 int4range UNIQUE,\n\ti8 int8range,\n\tinym INTERVAL YEAR TO MONTH,\n\tinds INTERVAL DAY TO SECOND(9),\n\tPRIMARY KEY(id, t, n)\n);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -737,7 +737,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl1, constraint: (combined_tbl1_id_t_n_pkey)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'numrange' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with numrange data type are not yet supported in YugabyteDB.",
"SqlStatement": "CREATE TABLE combined_tbl1(\n\tid int,\n\tt tsrange,\n\td daterange,\n\ttz tstzrange,\n\tn numrange,\n\ti4 int4range UNIQUE,\n\ti8 int8range,\n\tinym INTERVAL YEAR TO MONTH,\n\tinds INTERVAL DAY TO SECOND(9),\n\tPRIMARY KEY(id, t, n)\n);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -748,7 +748,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "combined_tbl1, constraint: (combined_tbl1_unique)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'daterange' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with daterange data type are not yet supported in YugabyteDB.",
"SqlStatement": "ALTER TABLE combined_tbl1\n\t\tADD CONSTRAINT combined_tbl1_unique UNIQUE(id, d);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand All @@ -759,7 +759,7 @@
"IssueType": "unsupported_features",
"ObjectType": "TABLE",
"ObjectName": "test_interval, constraint: (test_interval_frequency_pkey)",
"Reason": "Primary key and Unique constraints on columns with complex data types like 'interval' are not yet supported in YugabyteDB.",
"Reason": "Primary key and Unique constraints on columns with interval data type are not yet supported in YugabyteDB.",
"SqlStatement": "create table test_interval(\n frequency interval primary key,\n\tcol1 int\n);",
"Suggestion": "Refer to the docs link for the workaround",
"GH": "https://github.com/yugabyte/yugabyte-db/issues/25003",
Expand Down

0 comments on commit 1921abc

Please sign in to comment.