Regarding Database location in dbfs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2024 06:00 AM
Hi,
I have used "SET spark.sql.warehouse.dir" which creates the directory by default.Then I have created the database by command "CREATE DATABASE IF NOT EXISTS database_name;",but when I used "DESCRIBE DATABASE database_name" I could not find the location of database created.Even I tried using "%fs ls dbfs:/",I could not find the directory of database.
Please let me know If anyone knows the solution to find the location.