yaooqinn commented on a change in pull request #32931:
URL: https://github.com/apache/spark/pull/32931#discussion_r659630698
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourceV2SQLSuite.scala
##########
@@ -2835,6 +2924,16 @@ class DataSourceV2SQLSuite
}.getMessage
assert(errMsg.contains(expectedError))
}
+
+ private def getShowCreateDDL(showCreateTableSql: String): Array[String] = {
+ sql(showCreateTableSql).head().getString(0).split("\n").map(_.trim)
+ }
+ sql(showCreateTableSql)
Review comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]