In this article, I would be talking about how can we write data from ADLS to Azure Synapse dedicated pool using AAD . We will be looking at direct sample code that can help us achieve that.
1. First step would be to import the libraries for Synapse connector. This is an optional statement.
2. Next step is to initialize variable to create/read data frames
Note : Above step can also be written in below format :
3. Next step would be to use the write api in below format :
Execute the cell and you will be able to see the new table with data popped up:
Observation in Driver log with this exercise:
We find external data source, file format and external table created as well as dropped during this automated process.
More information about other options for dedicated pool and server less related read/write API's in SPARK can be found out on this page.
Right now, same activity using SQL server Authentication may fail. This is known issue and being worked upon by us.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.