diff --git a/core/src/test/scala/org/apache/spark/sql/IssueTestSuite.scala b/core/src/test/scala/org/apache/spark/sql/IssueTestSuite.scala index e2d8fe86c..f442ca442 100644 --- a/core/src/test/scala/org/apache/spark/sql/IssueTestSuite.scala +++ b/core/src/test/scala/org/apache/spark/sql/IssueTestSuite.scala @@ -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)