Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get certified as a Fabric Data Engineer: Check your eligibility for a 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700. Get started

Reply
mpolonskiy5637
Frequent Visitor

Shortcut Managed Table

Hello,

 

I am trying to understand what a Shortcut Managed Table even is?

According to Spark Definition a Managed Table is a table which is stored in the Fabric Tables section and data as well as metadata are managed by spark. Moreover it is claimed that when dropping such a table, all data is physically removed. However, shortcuts on the other hand are supposed to be pointers to a different location, explicitly designed for not having to copy data to the lakehouse.

And deleting a shortcut table definetely does not affect the original source, nor does the lakehouse decrease in size (I checked with 

Get-AzDataLakeGen2ChildItem). Thus such a thing as a Shortcut Managed Table seems to be contradicting in itself. Shouldnt it either be Unamanged or External Tables always when refering to a shortcut?

 

Greetings

 

Michael

1 ACCEPTED SOLUTION
AndyDDC
Super User
Super User

The Tables section of a Lakehouse is for both managed and unmanaged tables. So you can create a managed table and as you say data will be deleted along with the table if you delete it. You can also create an unmanaged table in the Tables section eg over data in the Files area of a Lakehouse, and yes data won't be deleted.

 

Shortcuts are just a quick way of referencing external data without having to manage a table definition.

 

However with shortcuts you need to be careful as you can delete the source files if you select a folder or file under the shortcut and delete. Deleting the shortcut definition itself won't delete the source data.

View solution in original post

1 REPLY 1
AndyDDC
Super User
Super User

The Tables section of a Lakehouse is for both managed and unmanaged tables. So you can create a managed table and as you say data will be deleted along with the table if you delete it. You can also create an unmanaged table in the Tables section eg over data in the Files area of a Lakehouse, and yes data won't be deleted.

 

Shortcuts are just a quick way of referencing external data without having to manage a table definition.

 

However with shortcuts you need to be careful as you can delete the source files if you select a folder or file under the shortcut and delete. Deleting the shortcut definition itself won't delete the source data.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!