We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7c0994 commit 35cbf9dCopy full SHA for 35cbf9d
1 file changed
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
@@ -274,7 +274,7 @@ class DDLSuite extends QueryTest with SharedSQLContext with BeforeAndAfterEach {
274
""".stripMargin
275
if (userSpecifiedSchema.isEmpty && userSpecifiedPartitionCols.nonEmpty) {
276
val e = intercept[AnalysisException](sql(sqlCreateTable)).getMessage
277
- assert(e.contains("Cannot specify partition columns"))
+ assert(e.contains("Cannot specify partition information"))
278
} else {
279
sql(sqlCreateTable)
280
val tableMetadata = spark.sessionState.catalog.getTableMetadata(TableIdentifier(tabName))
0 commit comments