salahdjb commented on issue #10524:
URL: https://github.com/apache/iceberg/issues/10524#issuecomment-2174018221

   @amogh-jahagirdar thanks for your reply, I switched to SparkSessionCatalog 
as you suggested, 
   I'm getting the following error:
   
   `Caused by: java.lang.NullPointerException: Delegated SessionCatalog is 
missing. Please make sure your are replacing Spark's default catalog, named 
'spark_catalog'.
   `
   
   
   Looking at the 
[documentation](https://iceberg.apache.org/docs/nightly/spark-configuration/#replacing-the-session-catalog),
 I also tried to add this conf to my initial configuration:
   
   
`spark.sql.catalog.spark_catalog=org.apache.iceberg.spark.SparkSessionCatalog` 
   
    but I get _TABLE_OR_VIEW_NOT_FOUND_ error.
   
   Do I need to define 2 catalogs? (Since I only have one glue catalog with 
iceberg and other formats tables.)


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

Reply via email to