panbingkun commented on code in PR #43578:
URL: https://github.com/apache/spark/pull/43578#discussion_r1380960343
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/v2/V2SessionCatalogSuite.scala:
##########
@@ -825,9 +825,8 @@ class V2SessionCatalogNamespaceSuite extends
V2SessionCatalogBaseSuite {
expected: scala.collection.Map[String, String],
actual: scala.collection.Map[String, String]): Unit = {
// remove location and comment that are automatically added by HMS unless
they are expected
- val toRemove =
- CatalogV2Util.NAMESPACE_RESERVED_PROPERTIES.filter(expected.contains)
- assert(expected -- toRemove === actual)
+ val toRemove = CatalogV2Util.NAMESPACE_RESERVED_PROPERTIES.toSet
Review Comment:
Okay.
--
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]