aokolnychyi commented on a change in pull request #3400:
URL: https://github.com/apache/iceberg/pull/3400#discussion_r741244027
##########
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:
Switching back to empty props for now.
--
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]