Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyuhang0 committed Mar 21, 2024
1 parent 77b0e96 commit 806184c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ class IssueTestSuite extends BaseTiSparkTest {
test("test like escape") {
val dbTable = "tispark_test.like_escape"
tidbStmt.execute(s"drop table if exists $dbTable")
tidbStmt.execute(
s"CREATE TABLE $dbTable (`name` varchar(64) NOT NULL)")
tidbStmt.execute(s"CREATE TABLE $dbTable (`name` varchar(64) NOT NULL)")
tidbStmt.execute(s"insert into $dbTable values('ab%H')")
val df = spark.sql("select count(*) from test.t where name like '%\\%H%'")
assert(df.collect().head.get(0) == 1)
Expand Down

0 comments on commit 806184c

Please sign in to comment.