Skip to content

Commit

Permalink
use constan
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Jan 16, 2025
1 parent 72b73d8 commit fc1b227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yb-voyager/src/query/queryissue/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const (
FOREIGN_KEY_REFERENCES_PARTITIONED_TABLE_NAME = "Foreign key constraint references partitioned table"

CTE_WITH_MATERIALIZED_CLAUSE = "CTE_WITH_MATERIALIZED_CLAUSE"
CTE_WITH_MATERIALIZED_CLAUSE_NAME = "Modifying Materialization of Common table expressions not supported"
CTE_WITH_MATERIALIZED_CLAUSE_NAME = "CTE with MATERIALIZE clause"

SQL_BODY_IN_FUNCTION = "SQL_BODY_IN_FUNCTION"
SQL_BODY_IN_FUNCTION_NAME = "SQL Body in function"
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: "CTE with MATERIALIZE clause",
Name: CTE_WITH_MATERIALIZED_CLAUSE_NAME,
Impact: constants.IMPACT_LEVEL_2,
Description: "",
Suggestion: "No workaround available right now",
Expand Down

0 comments on commit fc1b227

Please sign in to comment.