Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2021 12:05 AM
I am using Databricks community edition for learning purposes.
I created some Hive-managed tables through spark sql as well as with df.saveAsTable options.
But when I connect to a new cluser,"Show databases"
only returns the default database.
The database and tables I created with the previous cluster are not shown.However when I run
spark.conf.get("spark.sql.warehouse.dir")
it returns
'/user/hive/warehouse'
and When I check the dbfs directory
%fs ls dbfs:/user/hive/warehouse
I see the databases and tables I created in other sessions. Am I missing anything or sparkSQL doesn't read the hive managed tables created in other clusters in commnunity edition?
Labels:
- Labels:
-
Spark sql