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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Expanding the Synapse Forums

New forum boards available in Synapse

Ask questions in Data Engineering, Data Science, Data Warehouse and General Discussion.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayFBCUpdateCarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

Top Solution Authors