·
Last changedVersion:
No hardening report available.
Use this skill when you need to:
Lakehouse in Microsoft Fabric is an item that gives users a place to store their tabular data (like tables) and non-tabular data (like files). It combines the flexibility of a data lake with the management capabilities of a data warehouse. It provides:
Tabular data in a form of tables are stored under "Tables" folder. Main format for tables in Lakehouse is Delta. Lakehouse can store tabular data in other formats like CSV or Parquet, these formats are only available for Spark querying. Tables can be internal, when data is stored under "Tables" folder, or external, when only reference to a table is stored under "Tables" folder but the data itself is stored in a referenced location. Tables are referenced through Shortcuts, which can be internal (pointing to another location in Fabric) or external (pointing to data stored outside of Fabric).
When creating a lakehouse, users can choose to enable schemas. Schemas are used to organize Lakehouse tables. Schemas are implemented as folders under the "Tables" folder and store tables inside of those folders. The default schema is "dbo" and it can't be deleted or renamed. All other schemas are optional and can be created, renamed, or deleted. Users can reference a schema located in another lakehouse using a Schema Shortcut, thereby referencing all tables in the destination schema with a single shortcut.
Files are stored under "Files" folder. Users can create folders and subfolders to organize their files. Any file format can be stored in Lakehouse.
Set of pre-computed tables that are automatically updated based on a schedule. They provide fast query performance for complex aggregations and joins. Materialized views are defined using PySpark or Spark SQL and stored in an associated Notebook.
Logical tables defined by a SQL query. They do not store data but provide a virtual layer for querying. Views are defined using Spark SQL and stored in Lakehouse next to Tables.
Users can have workspace roles (Admin, Member, Contributor, Viewer) that provide different levels of access to Lakehouse and its contents. Users can also get access permission using sharing capabilities of Lakehouse.
For data access use OneLake security model, which is based on Microsoft Entra ID (formerly Azure Active Directory) and role-based access control (RBAC). Lakehouse data is stored in OneLake, so access to data is controlled through OneLake permissions. In addition to object-level permissions, Lakehouse also supports column-level and row-level security for tables, allowing fine-grained control over who can see specific columns or rows in a table.
Shortcuts create virtual links to data without copying:
For faster data read with semantic model enable V-Order optimization on Delta tables. This presorts data in a way that improves query performance for common access patterns.
Tables can also be optimized using the OPTIMIZE command, which compacts small files into larger ones and can also apply Z-ordering to improve query performance on specific columns. Regular optimization helps maintain performance as data is ingested and updated over time. The Vacuum command can be used to clean up old files and free up storage space, especially after updates and deletes.
The Lakehouse item supports lineage, which allows users to track the origin and transformations of data. Lineage information is automatically captured for tables and files in Lakehouse, showing how data flows from source to destination. This helps with debugging, auditing, and understanding data dependencies.
The following examples demonstrate common PySpark operations in a Fabric Lakehouse environment.
The following describes supported methods for ingesting data into a Fabric Lakehouse.
Small files can be uploaded directly through the Fabric portal. Navigate to the Lakehouse item, open the Files section, and use the Upload option to add individual files or folders.
Use a Fabric Data Factory pipeline with the Copy Data activity to move data from supported sources (Azure SQL Database, Azure Blob Storage, ADLS Gen2, Amazon S3, REST APIs, and many others) into the Lakehouse Files or Tables section. The pipeline can be scheduled or triggered on demand.
Dataflow Gen2 provides a low-code/no-code Power Query-based experience. Connect to a source, apply transformations, and set the destination to a Lakehouse table. Dataflows support incremental refresh and can be scheduled.
Create a Shortcut in the Lakehouse to reference data stored in ADLS Gen2, Amazon S3, Google Cloud Storage, or another Fabric Lakehouse without copying it. Shortcuts make the external data queryable in place via Spark or the SQL endpoint.
Write data into a Lakehouse table or file path directly from a Spark notebook:
From the SQL analytics endpoint, use COPY INTO to load files from Azure storage into a Delta table:
Use Fabric Eventstream to capture, transform, and route real-time events from sources such as Azure Event Hubs or IoT Hub into a Lakehouse table for low-latency streaming ingestion.
Stream data into a Lakehouse table using PySpark Structured Streaming:
Need this version hardened?
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
—
—
MIT
HARDENING.md
LICENSE
SKILL.md
references/getdata.md
references/pyspark.md