Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshi-yb committed Jan 8, 2025
1 parent 06108b6 commit 3c0fee2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion yb-voyager/src/query/queryissue/issues_ddl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func testSQLBodyInFunctionIssue(t *testing.T) {
`CREATE OR REPLACE FUNCTION asterisks(n int)
RETURNS text
LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE
RETURN repeat('*', n);`: `syntax error at or near "RETURN"`
RETURN repeat('*', n);`: `syntax error at or near "RETURN"`,
`CREATE OR REPLACE FUNCTION asterisks(n int)
RETURNS SETOF text
LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE
Expand Down
2 changes: 1 addition & 1 deletion yb-voyager/src/query/queryissue/issues_dml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func testCTEWithMaterializedIssue(t *testing.T) {
SELECT * FROM big_table
)
SELECT * FROM w AS w1 JOIN w AS w2 ON w1.key = w2.ref
WHERE w2.key = 123;`: `syntax error at or near "NOT"`
WHERE w2.key = 123;`: `syntax error at or near "NOT"`,
`WITH moved_rows AS MATERIALIZED (
DELETE FROM products
WHERE
Expand Down
4 changes: 0 additions & 4 deletions yb-voyager/src/query/queryparser/traversal_plpgsql.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ import (
log "github.com/sirupsen/logrus"
)

const (

)

/*
*
This function is not concrete yet because of following limitation from parser -
Expand Down

0 comments on commit 3c0fee2

Please sign in to comment.