fabric-lakehouse
它能做什么
Fabric Lakehouse 是用来存放数据的地方,例如表格和文件。它结合了数据湖的灵活性和数据仓库的规范性,让你可以存储各种类型的数据,并安全地访问它们。
适用场景
- ✓想了解 Lakehouse 是什么以及它包含哪些组成部分时。
- ✓规划如何把数据组织成表格和文件时。
- ✓想了解安全机制,以及如何控制数据访问权限时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/fabric-lakehouse/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请解释什么是 “Delta Tables”,以及它们如何帮助在 Lakehouse 中组织数据。”
每周 5 个新技能,1 分钟读完。
工作原理
它会把你的数据集中存放在一个名为 OneLake 的统一位置。它使用 Delta Lake 等格式来保证数据的可靠性,还允许你创建快捷方式(Shortcuts),无需复制数据即可访问其他位置的数据。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
When to Use This Skill
Use this skill when you need to:
- Generate a document or explanation that includes definition and context about Fabric Lakehouse and its capabilities.
- Design, build, and optimize Lakehouse solutions using best practices.
- Understand the core concepts and components of a Lakehouse in Microsoft Fabric.
- Learn how to manage tabular and non-tabular data within a Lakehouse.
Fabric Lakehouse
Core Concepts
What is a Lakehouse?
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:
- Unified storage in OneLake for structured and unstructured data
- Delta Lake format for ACID transactions, versioning, and time travel
- SQL analytics endpoint for T-SQL queries
- Semantic model for Power BI integration
- Support for other table formats like CSV, Parquet
- Support for any file formats
- Tools for table optimization and data management
Key Components
- Delta Tables: Managed tables with ACID compliance and schema enforcement
- Files: Unstructured/semi-structured data in the Files section
- SQL Endpoint: Auto-generated read-only SQL interface for querying
- Shortcuts: Virtual links to external/internal data without copying
- Fabric Materialized Views: Pre-computed tables for fast query performance
Tabular data in a Lakehouse
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).
Schemas for tables in a Lakehouse
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 in a Lakehouse
Files are stored under "Files" folder. Users can create folders and subfolders to organize their files. Any file format can be stored in Lakehouse.
Fabric Materialized Views
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.
Spark Views
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.
Security
Item access or control plane security
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.
Data access or OneLake Security
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.
Lakehouse Shortcuts
Shortcuts create virtual links to data without copying:
Types of Shortcuts
- Internal: Link to other Fabric Lakehouses/tables, cross-workspace data sharing
- ADLS Gen2: Link to ADLS Gen2 containers in Azure
- Amazon S3: AWS S3 buckets, cross-cloud data access
- Dataverse: Microsoft Dataverse, business application data
…
常见问题
什么是 “Delta Tables”?
这是一类特殊的表,能保证数据操作的可靠性(ACID),并支持版本管理和旧数据恢复。
什么是“快捷方式”(Shortcuts)?
它们就像指向其他位置数据的链接,无论数据位于 Fabric 内部还是外部,都无需复制,从而节省空间和时间。
安全性是如何实现的?
安全性分两个层级:项目访问控制(谁可以查看和修改 Lakehouse),以及数据访问控制(谁可以看到表格中的特定列或行)。
详情
作者的原始描述
Use this skill to get context about Fabric Lakehouse and its features for software systems and AI-powered functions. It offers descriptions of Lakehouse data components, organization with schemas and shortcuts, access control, and code examples. This skill supports users in designing, building, and optimizing Lakehouse solutions using best practices.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7195
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。