Updated on 2026-11-06 GMT+08:00

Overview

Standard Spark SQL and LakeFormation natively support the management of table structures (database, table, view), but lack a secure, native abstraction for raw file directories. Standard Spark cannot apply SQL-based access control lists (ACLs) to raw directory paths, which forces users to manage complex, cloud-specific IAM roles for different user groups.

A dataset supported by LakeFormation is an entity that can be used to manage raw file directories.

Datasets support a three-level namespace in the format catalog.schema.dataset.

DDL commands are supported for datasets (CREATE DATASET, DESCRIBE DATASET, DROP DATASET, ALTER DATASET, SHOW DATASETS, and COMMENT ON DATASET).

Files within a dataset location can be queried.

DCL commands are supported for datasets, including GRANT, REVOKE, and SHOW GRANTS.