Skip to content

Commit

Permalink
fix test and name of cte issue
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Jan 16, 2025
1 parent 012cdb9 commit 72b73d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@
"MinimumVersionsFixedIn": null
},
{
"ConstructTypeName": "Modifying Materialization of Common table expressions not supported",
"ConstructTypeName": "CTE with MATERIALIZE clause",
"Query": "WITH w AS NOT MATERIALIZED ( \n SELECT * FROM sales.big_table\n) \nSELECT * FROM w AS w1 JOIN w AS w2 ON w1.key = w2.ref\nWHERE w2.key = $1",
"DocsLink": "https://docs.yugabyte.com/preview/yugabyte-voyager/known-issues/postgresql/#postgresql-12-and-later-features",
"MinimumVersionsFixedIn": null
},
{
"ConstructTypeName": "Modifying Materialization of Common table expressions not supported",
"ConstructTypeName": "CTE with MATERIALIZE clause",
"Query": "WITH w AS MATERIALIZED ( \n SELECT * FROM sales.big_table\n) \nSELECT * FROM w AS w1 JOIN w AS w2 ON w1.key = w2.ref\nWHERE w2.key = $1",
"DocsLink": "https://docs.yugabyte.com/preview/yugabyte-voyager/known-issues/postgresql/#postgresql-12-and-later-features",
"MinimumVersionsFixedIn": null
Expand Down
2 changes: 1 addition & 1 deletion yb-voyager/src/query/queryissue/issues_dml.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func NewFetchWithTiesIssue(objectType string, objectName string, sqlStatement st

var cteWithMaterializedIssue = issue.Issue{
Type: CTE_WITH_MATERIALIZED_CLAUSE,
Name: "MATERIALIZE clause with CTE",
Name: "CTE with MATERIALIZE clause",
Impact: constants.IMPACT_LEVEL_2,
Description: "",
Suggestion: "No workaround available right now",
Expand Down

0 comments on commit 72b73d8

Please sign in to comment.