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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.