HeartSaVioR commented on a change in pull request #1276:
URL: https://github.com/apache/iceberg/pull/1276#discussion_r463896412



##########
File path: 
spark3/src/main/java/org/apache/iceberg/spark/SparkSessionCatalog.java
##########
@@ -280,4 +282,10 @@ private boolean useIceberg(String provider) {
 
     return false;
   }
+
+  private T getSessionCatalog() {
+    Preconditions.checkNotNull(sessionCatalog, "Delegated SessionCatalog is 
not provided by Spark. " +
+        "Please make sure you are replacing Spark's default catalog.");

Review comment:
       Ah right. I agree that's not something Spark is doing wrong and the 
sentence may leads misunderstanding. Thanks for the suggestion!




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



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

Reply via email to