Azure Synapse Serverless SQL Pool - CI/CD

Graeme Cash 76 Reputation points
2021-12-04T23:07:29.677+00:00

Hello

I have been exploring building a Data Lakehouse using a SQL serverless pool starting with data from Dataverse. I have created various views and even used CETAS statements to store some parquet files. I have set up separate environments and use Azure DevOps to promote the changes up from Dev. Although the SQL scripts move to the different environments I can't think of a way of automating the the creation of the SQL objects.

Is there any way of doing this? I know it is possible with a dedicated pool using a dacpac file.

Thanks

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2021-12-07T10:11:02.883+00:00

    Hi @Graeme Cash ,

    Thank you for posting query in Microsoft Q&A Platform.

    CI/CD process in Synapse will deploy script files to different environments. But If I understands your query better, you are looking for running those scripts on serverless SQL Pool.

    There is a activity called "SQL Pool stored procedure", this will only support dedicated SQL pool at this moment.

    So, below is one possible way for deploying SQL scripts on serverless SQL Pool.

    Below steps we can implement in Synapse Pipeline and run same to deploy SQL scripts.

    1. Make a REST API call using web activity to get SQL script connect. Click here to know about REST API for same.
    2. Take SQL Script from step1 Response and use Lookup activity to run script.

    Hope this will help. Please let us know how it goes and any further queries.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.