panbingkun commented on code in PR #38259:
URL: https://github.com/apache/spark/pull/38259#discussion_r996272251
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/parser/DDLParserSuite.scala:
##########
@@ -34,6 +34,10 @@ import org.apache.spark.unsafe.types.{CalendarInterval,
UTF8String}
class DDLParserSuite extends AnalysisTest {
import CatalystSqlParser._
+ private def parseException(sqlText: String): SparkThrowable = {
+ intercept[ParseException](parsePlan(sqlText))
+ }
Review Comment:
Yes, i will move it
--
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]