Partner teams run Spark outside Databricks and read Parquet files directly from s3://partner-share/orders/, a path covered by a Unity Catalog external location. Databricks analysts must now query the same data as a table, with access controlled by table grants. The files must stay where they are. What should the data engineer create?
Choose one.
External tables govern data files that live at a path you control, including files other engines read directly.
Two requirements decide: the files stay in place for engines outside Databricks, and analysts need a table governed by table grants. An external table with LOCATION on that path meets both. Copying into a managed table or managed volume moves the data, and an external volume governs files rather than a table.
- Note that the files must stay where outside engines read them.
- Note that analysts need a table with table grants.
- An external table over the existing path satisfies both.
- Reject options that copy the data or govern only files.
Exam tip: Data that outside engines read in place belongs in an external table.
Unity Catalog Managed vs External Tables, GRANT, REVOKE and DENY (Databricks Data Engineer Associate) — the lesson that teaches this.