MaxGekk commented on a change in pull request #31326:
URL: https://github.com/apache/spark/pull/31326#discussion_r563950041
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
##########
@@ -1734,9 +1735,8 @@ abstract class DDLSuite extends QueryTest with
SQLTestUtils {
// null partition values
createTablePartition(catalog, Map("a" -> null, "b" -> null), tableIdent)
- val nullPartValue = if (isUsingHiveMetastore) "__HIVE_DEFAULT_PARTITION__"
else null
assert(catalog.listPartitions(tableIdent).map(_.spec).toSet ==
- Set(Map("a" -> nullPartValue, "b" -> nullPartValue)))
+ Set(Map("a" -> "__HIVE_DEFAULT_PARTITION__", "b" ->
"__HIVE_DEFAULT_PARTITION__")))
Review comment:
Now, the `In-Memory` catalog behaves similarly to Hive external catalog,
so, we don't need to distinguish them in tests.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]