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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
DennesTorres
Impactful Individual
Impactful Individual

Shortcut maintenance

Hi,

I noticed the following situation:

 

Considering I have a shortcut in one lakehouse and an object built using this shortcut in another lakehouse or data warehouse (a view, for example).

 

If I drop the shortcut before dropping the view, I can't drop the view anymore, not even if I create the shortcut again.

The message below shows an error after 4 minutes of execution trying to drop a view. This was not the only occurrency..

 

DennesTorres_0-1700187437419.png

 

Another common error message happens when refreshing the objects, after the drop attempt:

 

DennesTorres_0-1700187689762.png

 


Kind Regards,

 

Dennes

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @DennesTorres ,

I didnot find any challenge in dropping the view from lakehouse_D.


lakehouse_A : Main Table
lakehouse_B : Shortcut created from Main Table (present in lakehouse_A)

lakehouse_C : Shortcut created from Shortcut Table (present in lakehouse_B)
lakehouse_D : View created for Shortcut Table (present in lakehouse_C)

vgchennamsft_0-1701418863569.png


Able to preview the view and everything works proper.

Deleted Shortcut Table (present in lakehouse_b) and then drop the view (present in lakehouse_D) which got executed perfectly.

vgchennamsft_1-1701419060800.png

 

Hope it is helpful.



View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Hi @DennesTorres ,

Thanks for using Fabric Community.

Can you please help me understand how you were able to land into this scenario?
I would like to know how you were accessing shortcut in one lakehouse from another lakehouse/warehouse.
Could you please share detail steps so that I can reproduce the issue at my end and can check with the team.

Hi,

 

Sorry for the late reply.

 

I repeated the scenario at this exact moment to explain a step by step:

 

Lakehouse A has a table product

Lakehouse B creates a shortcut to table product on lakehouse A

Lakehouse C creates a shortcut to the shortcut of table product in Lakehouse B

 

Once everything is created, goes to Lakehouse B and drop the shortcut. This leaves the object on lakehouse A "orphan".


The result I received at the moment is the following image:

DennesTorres_0-1701306397656.png

 

There is no "Delete" option:

DennesTorres_1-1701306574688.png


Trying the option "move to files" doesn't work as well:

DennesTorres_2-1701306629184.png

 


This happened with data warehouses as well. If I have a data warehouse on the same workspace as lakehouse C, I can create a view in the data warehouse using the shortcut table in lakehouse C. When the shortcut on B is dropped, everything becomes "orphan" and "stuck".

 

Kind Regards,

 

Dennes

 





Kind Regards,

Anonymous
Not applicable

Hi @DennesTorres ,

You can delete the shortcut from child folder, see the screenshot for your reference.

vgchennamsft_0-1701345098163.png


After deleting:

vgchennamsft_1-1701345159110.png

 



Hope it is helpful. Please let me know incase of any queries.

Hi,

Correct. My bad, this one was easy.

But let's consider a warehouse D on the scenario. 

A view is created on the warehouse D using a table on the lakehouse C. This table is a shortcut to the lakehouse B which is a shortcut to the lakehouse A.

If the shortcuts are broken, things get very strange. This happened to me. Until today (tested exactly now), if I get into the warehouse and make a refresh on the views folder, the following error happens:

DennesTorres_0-1701385061536.png

 

It's the same described on the first message. Once it happened, the error continues there on every refresh on the views folder.

 

Kind Regards,

 

Dennes

Anonymous
Not applicable

Hi @DennesTorres ,

I didnot find any challenge in dropping the view from lakehouse_D.


lakehouse_A : Main Table
lakehouse_B : Shortcut created from Main Table (present in lakehouse_A)

lakehouse_C : Shortcut created from Shortcut Table (present in lakehouse_B)
lakehouse_D : View created for Shortcut Table (present in lakehouse_C)

vgchennamsft_0-1701418863569.png


Able to preview the view and everything works proper.

Deleted Shortcut Table (present in lakehouse_b) and then drop the view (present in lakehouse_D) which got executed perfectly.

vgchennamsft_1-1701419060800.png

 

Hope it is helpful.



Hi,

 

Well, my guess is the problem got solved at some update, while my DW on which I tried to drop a view before the solution got "stuck" on something.

I will investigate a bit more and discover if I need to open a support ticket.

 

Kind Regards,

 

Dennes

Anonymous
Not applicable

HI @DennesTorres ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.

Anonymous
Not applicable

Hi @DennesTorres ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.