aokolnychyi commented on a change in pull request #3400:
URL: https://github.com/apache/iceberg/pull/3400#discussion_r739480347
##########
File path:
spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/SparkConfParser.java
##########
@@ -34,7 +35,8 @@
private final Map<String, String> options;
SparkConfParser(SparkSession spark, Table table, Map<String, String>
options) {
- this.properties = table.properties();
+ // use table ops as metadata tables have empty properties
+ this.properties = ((HasTableOperations)
table).operations().current().properties();
Review comment:
It looked like a deliberate choice to report empty props In
`BaseMetadataTable`. Do we want to reconsider that?
--
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]