QuestionQ73

VerifiedManaging Data

A database was created in Databricks SQL with the following statement:

CREATE SCHEMA accounting LOCATION ’dbfs:/accounting/data’;  

Where is the data for this database stored?

Explanation

For a schema registered in the Hive metastore, LOCATION specifies the filesystem path in which that schema is created. With an explicit location of dbfs:/accounting/data, that exact path is the database location; no accounting.db or .db suffix is added.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!