Study FAQ
How do I query a OneLake shortcut inside a Fabric KQL database?
Also asked as 2
- Which KQL function reads data exposed by a OneLake shortcut?
- How can a KQL database query lakehouse data without first ingesting it?
Answer
Create a supported OneLake shortcut in the KQL database, then query it with external_table(). The shortcut is an external-table access path, so it does not turn the source into natively ingested KQL data.
With the required Fabric capacity and KQL database editing permissions, open the database and select New, then OneLake shortcut. Choose a supported internal or external source, supply the connection details, and select the table or folder to expose. Confirm access to both the shortcut and its source.
For a shortcut named SalesShortcut, this read-only query returns up to 100 rows:
external_table('SalesShortcut')
| take 100
Check the returned schema and representative values before adding filters or aggregations. Delta-to-KQL type mappings can change how columns are represented. Use a shortcut when in-place access meets your source-availability and performance needs; choose managed ingestion when independent storage or different operational behavior is required.
Full explanation
DP-600: OneLake Shortcuts and Integration Patterns for Fabric Analytics
Study guide · DP-600
Read the full explanation