aokolnychyi commented on code in PR #7553:
URL: https://github.com/apache/iceberg/pull/7553#discussion_r1199503815
##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/SparkCatalog.java:
##########
@@ -569,6 +566,15 @@ public final void initialize(String name,
CaseInsensitiveStringMap options) {
}
}
+ if (sparkSession
Review Comment:
What about adding a helper method in the utility to validate this? Then we
can avoid complicating this class and can reuse that method here and in the
read config object.
```
SparkUtil.validateNoLegacyTimestampWithoutZoneConfigs(sparkSession);
```
The name above is random.
--
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]