We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7497742 commit 14f4959Copy full SHA for 14f4959
sql/core/src/test/scala/org/apache/spark/sql/SQLQueryTestSuite.scala
@@ -121,7 +121,6 @@ class SQLQueryTestSuite extends QueryTest with SharedSQLContext {
121
122
// List of SQL queries to run
123
val queries: Seq[String] = {
124
- // val cleaned = input.split("\n").filterNot(_.matches("--.*(?<=[^\\\\]);")).mkString("\n")
125
val cleaned = input.split("\n").filterNot(_.startsWith("--")).mkString("\n")
126
// note: this is not a robust way to split queries using semicolon, but works for now.
127
cleaned.split("(?<=[^\\\\]);").map(_.trim).filter(_ != "").toSeq
0 commit comments