Hi @RC, Based on the provided information, you cannot dynamically switch between Glue Catalog and a Hive metastore in the same warehouse.
As per the limitations mentioned in the AWS Glue metastore documentation, you must restart the cluster for new Spark configurations to take effect.
Here is the relevant excerpt from the source:
- "You cannot dynamically switch between Glue Catalog and a Hive metastore. You must restart the cluster for new Spark configurations to take effect."
So, if you want to connect to Glue Catalog and Hive metastore, you would have to restart your cluster whenever you want to switch between the two.
Sources:
- [Docs: aws-glue-metastore](https://docs.databricks.com/archive/external-metastores/aws-glue-metastore.html)