cloud-fan commented on a change in pull request #27249: [SPARK-30019][SQL] Add 
the owner property to v2 table
URL: https://github.com/apache/spark/pull/27249#discussion_r368557680
 
 

 ##########
 File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLSuite.scala
 ##########
 @@ -1403,11 +1406,12 @@ abstract class DDLSuite extends QueryTest with 
SQLTestUtils {
     createDatabase(catalog, "dbx")
     createTable(catalog, tableIdent, isDatasourceTable)
     def getProps: Map[String, String] = {
-      if (isUsingHiveMetastore) {
+      val props = if (isUsingHiveMetastore) {
         normalizeCatalogTable(catalog.getTableMetadata(tableIdent)).properties
       } else {
         catalog.getTableMetadata(tableIdent).properties
       }
+      props -- TableCatalog.RESERVED_PROPERTIES.asScala
 
 Review comment:
   do we need this change?

----------------------------------------------------------------
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]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to