You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/03/25 11:42:04 UTC

[GitHub] [iceberg] szehon-ho commented on issue #2374: SparkSessionCatalog Drop Issues

szehon-ho commented on issue #2374:
URL: https://github.com/apache/iceberg/issues/2374#issuecomment-806582742


   Just a note if anyone hits this on Spark 3.0.x, for the cache issue (2 above) a workaround is:
   
   `spark.sessionState.catalogManager.catalog(catalogName).asInstanceOf[SparkSessionCatalog].dropTable(db, table)`
   
   Otherwise you are stuck, there are no way to 'refresh table' as Spark does a tableExists check.
   
   It doesn't fix the other issues though.


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org