Synapse SQL CI/CD release pipeline - creating external data source without adding TYPE = HADOOP

BGO 46 Reputation points
2023-08-17T21:24:42.0533333+00:00

Hello,

I just created Synapse SQL CI/CD release pipeline. It should recreate everything from the DEV dedicated sql pool in the UAT dedicated sql pool.

I'm using external tables based on the parquet files. I created External Data Source without the "TYPE = HADOOP" as adding the "TYPE = HADOOP" is not working/supported and also not recommended by Microsoft. This works fine.

CREATE EXTERNAL DATA SOURCE [dsname] WITH 
(	LOCATION = N'abfss://********.dfs.core.windows.net',
	CREDENTIAL = [*****]
);

The problem is when I'm running the release pipeline it creates the External Data Source and adds the "TYPE = HADOOP" automatically even though it doesn't exist in my initial script.

CREATE EXTERNAL DATA SOURCE [dsname] WITH 
(	TYPE = HADOOP,
	LOCATION = N'abfss://********.dfs.core.windows.net',
	CREDENTIAL = [*****]
);

It causes the pipeline to fail as after creating the external data source it's trying to create the external tables and fails because the "TYPE = HADOOP" is not supported.

Is there any way I can force the pipeline to avoid adding the "TYPE = HADOOP"?

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,295 questions
{count} votes

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.