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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
amaaiia
Responsive Resident
Responsive Resident

Write data into a shortcut to ADLSg2

Is it possible to write data into a table stored in ADLSg2 referenced by shortcut? Or is it just for read-only operations?

1 ACCEPTED SOLUTION
AndyDDC
Most Valuable Professional
Most Valuable Professional

Hi @amaaiia you are able to write to Delta tables stored in ADLSGen2 using a shortcut in a Fabric Lakehouse.  In the attached image, I have a shortcut to an ADLSGen2 account with a Delta table.  I can then read and write data to it.

 

AndyDDC_0-1712755060449.png

 

You can also write Files too.

 

View solution in original post

7 REPLIES 7
AndyDDC
Most Valuable Professional
Most Valuable Professional

Hi @amaaiia you are able to write to Delta tables stored in ADLSGen2 using a shortcut in a Fabric Lakehouse.  In the attached image, I have a shortcut to an ADLSGen2 account with a Delta table.  I can then read and write data to it.

 

AndyDDC_0-1712755060449.png

 

You can also write Files too.

 

amaaiia
Responsive Resident
Responsive Resident

Omg, that's what I tried before and it didn't work. now I've tried it again and it works...fantastic!

AndyDDC
Most Valuable Professional
Most Valuable Professional

Glad to hear!

v-nikhilan-msft
Community Support
Community Support

Hi @amaaiia 

No, shortcuts in Microsoft Fabric for ADLS Gen2 are for read-only operations. You cannot directly write data into a table referenced by a shortcut.

Here's why:

  • Shortcuts are pointers to existing data locations. They don't create copies of the data.
  • Fabric uses the shortcut to access the original data in ADLS Gen2.

Hope this helps. Please let me know if you have any further questions.

AndyDDC
Most Valuable Professional
Most Valuable Professional

@v-nikhilan-msft shortcuts are not read only.  Shortcuts also enable you to write back to the shortcut location.  S3 and Google are not supported for write operations via Shortcuts, but ADLSGen2 is supported for write operations.

Thanks for clarifying @AndyDDC . 

Sure, I know it's not a copy, I was thinking in the possibility of using shortcut to write directly into ADLSg2.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

November Update

Fabric Monthly Update - November 2024

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

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! Early Bird pricing ends December 9th.