azure synapse - your file cannot be opened because it does not exist or it is used by another process.
When creating Azure Synapse I created data lake manually. Then I found that there's some issues trying to run SQL query against external csv file.
I checked I have given it Storage Blob Data Contributor access to the data lake and it matches the identity.
And provided the required permission from storage perspective.
I also noticed that i can preview the data - but unable to execute query using SELECT OPENROWSET.
The solution, I didn't have my user account assigned the proper permission. I need to have Storage Blob Data Contributor for my user as well. You have have noticed this when you're trying to create a pool - sql or spark pool.
And then, I was able to run query:
Comments