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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
amaaiia
Contributor III

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
Valued Contributor

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

8 REPLIES 8
Anonymous
Not applicable

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.

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

AndyDDC
Valued Contributor

@Anonymous 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.

Anonymous
Not applicable

Thanks for clarifying @AndyDDC . 

Hi @AndyDDC are databricks unity catalog tables supported for write operations via shortcuts?

AndyDDC
Valued Contributor

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.

 

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

AndyDDC
Valued Contributor

Glad to hear!

Helpful resources

Announcements
Users online (25)