Study FAQ
Why can Spark read my OneLake shortcut while the lakehouse SQL endpoint cannot?
Also asked as 2
- Should a lakehouse shortcut go under Tables or Files for SQL querying?
- Why does a visible shortcut folder fail to appear as a lakehouse SQL table?
Answer
Spark can read supported files directly, while the lakehouse SQL analytics endpoint queries recognized Delta tables. A shortcut under Files, or a shortcut to ordinary CSV or Parquet files, does not automatically become a SQL table.
Use Files for general file access. For relational querying, create an appropriate shortcut in Tables that targets a supported table representation, such as a complete Delta table with its transaction log. Schema shortcuts require a schema-enabled lakehouse. A visible folder alone does not establish table metadata or SQL compatibility.
Check the shortcut placement, target format, permissions, supported names, and data-type mappings. Then verify that the table appears in the lakehouse table list and query it through the SQL analytics endpoint using the intended identity. Allow for metadata propagation rather than treating instant Spark access as proof that every engine is ready.
If the source representation is incompatible, use a supported conversion or transformation path to publish Delta data. Adding another reference to the same incompatible files will not fix the mismatch.
Shortcut placement and engine access. Lakehouse SQL and Delta tables.
Full explanation
DP-600: OneLake Shortcuts and Integration Patterns for Fabric Analytics
Study guide · DP-600
Read the full explanation