Skip to content

Commit

Permalink
test: update similar-to-escape e2e test with disabled escape
Browse files Browse the repository at this point in the history
  • Loading branch information
jetjinser committed Jan 5, 2024
1 parent 1487811 commit 5dcfd30
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions e2e_test/batch/functions/similar_to_escape.slt.part
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,22 @@ select 'foobar' similar to '%#"o_b#"%' escape '\';
----
f

# fallback to default escape string
# disable escape
query B
select 'foobar' similar to '%#"o_b#"%' escape '';
select 'foo\bar' similar to 'foo\%bar' escape '';
----
t

query B
select 'foo\bar' similar to 'foo\%bar' escape '\';
----
f

query B
select 'foo%bar' similar to 'foo\%bar' escape '\';
----
t

query B
select 'foobar' similar to '%#"o_b#"%' escape '#';
----
Expand Down

0 comments on commit 5dcfd30

Please sign in to comment.