cloud-fan commented on a change in pull request #35131:
URL: https://github.com/apache/spark/pull/35131#discussion_r780287813



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/connector/catalog/V1Table.scala
##########
@@ -55,7 +56,8 @@ private[sql] case class V1Table(v1Table: CatalogTable) 
extends Table {
     }
   }
 
-  override lazy val properties: util.Map[String, String] = 
v1Table.properties.asJava
+  override lazy val properties: util.Map[String, String] =
+    V1Table.filterTableProperties(v1Table).asJava

Review comment:
       I think we should generate these v2 table properties here, instead of 
when creating the table. It's a breaking change to generate v2 properties when 
creating tables, as it changes what to store in the metastore, which may have 
unknown consequences.




-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to