200 questions
0
votes
0
answers
9
views
Azure Synapse message to Service Bus with local auth disabled in Service Bus
Can you send a message from Azure Synapse Notebook to Service Bus topic, with local auth disabled in service bus?
Is Managed Identity available to do that? Or can connection string also be used in a ...
0
votes
0
answers
61
views
Cannot create Azure Blob Storage linked service for Synapse using SDK
I am attempting to use the Python SDK to create a linked service to an Azure Blob Storage account in my Synapse Workspace.
I have some code which creates a dictionary whose structure matches exactly ...
0
votes
0
answers
55
views
Solution to get storage SAS key in synapse
I'm trying to retrieve a SAS token for a storage account from code running in an Azure Synapse workspace. Normally, one would obtain this via a linked service. However, in my case, the storage account ...
0
votes
0
answers
72
views
How to write a Synapse Spark dataframe to an Azure Event Hub using managed identity to connect
My company demands that I connect from Synapse Spark (pyspark notebooks) to Azure Event Hubs using managed identity only (preferably the system assigned managed identity).
I have this kind of code in ...
0
votes
0
answers
37
views
Azure Synapse spark pool throwing hostname not trusted error
I'm trying to read from Azure kusto source using below code in Azure synapse notebook.
df = spark.read \
.format("com.microsoft.kusto.spark.synapse.datasource") \
.option("kustoCluster&...
0
votes
1
answer
67
views
Data transformation in PowerBI for a column where data source is Azure Synapse Analytics SQL
I got my data in PowerBI by connecting to Azure Synapse, where I need to transform a column in PowerBI where the column (text) contains list of numeric values eg. [0,1.0,0.05] in a single row needs to ...
0
votes
2
answers
138
views
Bicep How to reference an existing Spark Configuration from Synapse Workspace?
I have a Spark Pool template working, and I would like to select/reference an existing Spark Configuration that was created in a given Synapse Workspace as below:
Select in here:
But if I run the ...
0
votes
0
answers
33
views
Can't access external REST API using pyspark with Azure Synapse
I am not able to connect to external REST API with azure synapse. Sample code is as below from the notebook which is throwing a Failed to establish a new connection: [Errno 101] Network is unreachable ...
0
votes
1
answer
173
views
Does Azure Synapse Dedicated SQL Pools support group-based authentication?
Requirement:
Grant read-only (or specific) access to all tables in an Azure Synapse Dedicated SQL Pool for a set of users by assigning them to a group in Azure Entra ID.
Execution:
For example, say I'...
0
votes
1
answer
101
views
Azure Synapse External Table no accessible from PowerBI
I have a delta table in a directory in a storage account and I am creating an external table in azure synapse using this query
IF NOT EXISTS (SELECT * FROM sys.external_file_formats WHERE name = '...
0
votes
1
answer
114
views
Spark giving error when writing a limited length Column of type Varbinary for Synapse database
I am writing output to a Azure Synapse table where the table contains a varbinary(8000) column. When writing using spark it gives error that UNSUPORTED_DATATYPE as I am trying to limit length from ...
0
votes
1
answer
168
views
Dataflow in Synapse pipeline is not reading CSV file correctly
I have a CSV file and it looks like below: (Column Delimiter : +| and row delimiter : &|\n)
This file has two problems :
1st - Both row and column delimiter is 2 characters, and this does not ...
0
votes
0
answers
135
views
Copy Data from Azure Synapse Workspace to Azure SQL DB using ADF
I am trying to copy data from Synapse workspace to Azure SQL db using ADF. I am using User assigned managed identity for authentication. Linked service connection is getting succeed, but while ...
1
vote
1
answer
108
views
azure Synapse anayltics Row level security
In synapse serverless SQL pool OR dedicated SQL pool, can row level security(RLS) be implemented based on table column value and logged in identity (azure AD group or AD user)
say, I have table rows ...
0
votes
1
answer
284
views
Access External table on Synapse to access Delta table on Datalake
I'm trying to create an external table on Synapse serverless pool to access a delta table on ADLS gen 2.
I first created an external source as shown here.
--Create a database scoped credential using ...
0
votes
0
answers
107
views
Selective deployment o pipelines in azure synapse analytics using azure devops CI/CD
I had a requirement of implementing a Selective deployment of azure synapse analytics pipelines from one env.to other (DEV to QA) using azure devops CI/CD, git.I have tried to implement it using arm ...
0
votes
1
answer
178
views
Azure Data Flow flatten and parse key/value column for complex JSON
I'm trying to transform a key/value data into column using Azure synapse Data Flow. Basically this:
"scoreIndeces": {
"66": 0.2,
"67": 0.3,
"68": 0.4,
"70&...
0
votes
1
answer
200
views
How to iterate over query result set in Azure Synapse Serverless SQL Pool stored procured? The procedure works on SQL dedicated
I am migrating stored procedure from SQL Dedicated to Synapse Serverless SQL Pool.
The procedure queries a table and stores the results into a temporary table.
Then it iterates over the temporary ...
0
votes
1
answer
113
views
Use EF Core code-first approach with Azure Synapse
I am trying to add a table in Azure Synapse using EF Core 9.0, but I am getting an error:
Parse error at line 2, column 1: Incorrect syntax near EXEC.
ActionItemStatus Class:
public class ...
0
votes
1
answer
172
views
Synapse how to copy pipelines between branches?
We have 3 synapse workspaces (dev, test, maint) connects to it's own branch in the same Azure DevOPs repository. We also have feature branches based off the dev branch. All our development is done ...
0
votes
1
answer
203
views
Azure Synapse pipeline with dataflows failing randomly
I am having issues with a series of pipelines that build our data platform Spark databases hosted in Azure Synapse.
The pipelines host dataflows which have 'recreate table' enabled. The dataflows ...
0
votes
1
answer
139
views
Azure Synapse Workspace error to many cores requested
I am new to Azure Workspace and I am trying to start a basic spark app.
from pyspark.sql import SparkSession
from pyspark.sql.functions import col, expr
# Initialize Spark session
spark = ...
0
votes
3
answers
514
views
Can data transformations be done using python/SQL in Lakehouse/warehouse and vice versa?
I'm new the Azure Lakehouse and warehouse. I'm trying to grasp the concept in Microsoft Fabric workspace so that I can choose either lakehouse or warehouse to be my destination.
I understand that ...
0
votes
1
answer
196
views
REST API call from synapse notebook to any other services outside azure not working ( power bi , Google)
REST API call from synapse notebook to any other services outside azure not working ( power bi , Google)
ex:
test_url = "https://www.google.com"
response = requests.get(test_url)
print("...
-1
votes
1
answer
104
views
How to parse an XML embedded in a nvarchar column?
I have a problem which i'm currently working on and i can't wrap my head around it after reading the official documentation and seeing topics online, i'll try ot be as clear as possible:
I'm using ...
-1
votes
1
answer
159
views
load JSON files from blob storage which have folders like structure (YYYY-MM-DD/HH) in the Azure Synapse pipeline
I have a blob storage container where i have folder and subfolder like structure example:
Container: XYZ
Folder: yyyy-MM-dd
subFoller: HH
There is one folder created for every day and in that hourly ...
0
votes
1
answer
536
views
How to incrementally load data from the bronze to silver layer?
In current on Prem etl we stage incremental data (based on date modified, held in a control table), and UPSERT, that is - update existing records in the final table and insert new records into the ...
-1
votes
1
answer
100
views
Does serverless SQL pool approach of the Azure synapse analytics provide a SQL db on the endpoint?
I have data in azure data lake gen2 parquet files.
Using Azure synapse analytics I have created SQL pool. Then, via linked service I'm connecting to parquet file. Then, I have created multiple views ...
0
votes
0
answers
72
views
Aquire Access token while in Private Network in Azure
I have an azure function which need to talk to Azure Synapse instance, all of them are not allowed to talk to internet. I am trying to use Managed Identity (with DefaultAzureCredential) in Azure Func ...
0
votes
1
answer
309
views
SQL Query to calculate size of each schemas in Azure data warehouse and to find last access time?
Is there any SQL query that could help me get the size of each schemas present in our Azure Data Warehouse service and also to find when was it last accessed?
I checked and found one query below which ...
1
vote
1
answer
289
views
Azure DevOps and Azure Synapse Analytics SQL Script in Synapse REST API sycronize issue
I have a PL_Fetch pipeline with copy data activity for fetching my sql scripts in my azure synapse analytics.
first of all, I made a REST API linked service with the Azure Synapse Workspace I am ...
0
votes
1
answer
489
views
Azure DevOps yaml file to run pipeline in Azure Synapse Analytics
I am working on Azure DevOps and Azure Synapse Analytics. Right now, I have the issue to integration Azure DevOps with Azure Synpase Analytics together. How could I use the yaml file and azure ...
0
votes
1
answer
196
views
Azure Synapse Sparkr Notebook: How to load a .yaml file holding credentials from ADLS Gen2 directory
Is it possible to load a .yaml file into a Azure Synapse Sparkr Notebook? How do I load a .yaml file holding credentials from ADLS Gen2 directory?
0
votes
1
answer
267
views
How to set Azure Synapse Pipeline Dataflow Rest Source Relative URL dynamic variable?
How do I set this locationid value dynamically in the relative URL of my DF Rest Source:
My design pattern is:
I need to pass the locationid from a query lookup to the ForEach. This should loop ...
0
votes
1
answer
74
views
when I use LookupActivity and call deleteRecordSp it somehow rollsback the deleted record?
I encountered an issue while using Azure Synapse's Lookup Activity to call a stored procedure that deletes records from a table. Despite the activity completing almost instantaneously, no records were ...
1
vote
1
answer
363
views
Is there a way to include partition paths of the file path as a column in Azure Synapse SQL?
I have written parquet files in a path like this on the blob storage container: https://<my_blob_storage_accnt>.dfs.core.windows.net/current-snapshot/businesspartner=P1, https://<...
0
votes
1
answer
82
views
Split a json string row or flatten transformation in data flow (ADF)
Using synapse data flow I want to transform the json format bellow into a tabular format with one column as date and the other as Total
{
"2023-12-11T00:00:00+01:00": 1272,
"2023-12-...
0
votes
1
answer
69
views
Webactity in AzureSynapse doesnot send the records in sync when I make the batchcount in foreach loop as 15 to start parallel thread?
My requirement is I have 3000 records in my DB for each 'custID' I wanted to call webcatity and the response I parse and update in the table by using lookup city there is also a case where I am ...
0
votes
1
answer
74
views
Webactity in synapse fails if the restapi returns 400 response or any other HTTPS Error?
AzureSynpase I am calling webActity in for loop, as I am required to call webActity for each record in a table which had 'custid', Now I see some 'custid' is not present in server DB it returns a 400 ...
1
vote
1
answer
281
views
How to access Synapse Lake Database externally
How can we query Azure Synapse Lake database within Azure SQL database? Is there a way to add Synapse lake database as an external data source in Azure SQL database
I have few tables present in Azure ...
1
vote
1
answer
393
views
Synapse Notebook to Azure SQL Database connection issue
created Linked service to Azure SQL database in Synapse Analytics that uses Authentication type "
System Assigned Managed Identity". Than referencing it in PySpark Notebook. Method ...
0
votes
1
answer
112
views
how to add 'OR' condition in Wildcard file path in Synapse
I am trying to filter files containing str or containing stn.
if i type -str in the wildcard file path it returns me files containing str
and if type -stn, it returns me files containing stn
how can I ...
0
votes
1
answer
615
views
How to Assign Roles in Synapse to Restrict Data Access?
I'm working on a project in Synapse and need to assign roles to users such that certain people can see specific data while others cannot. Here's what I've tried so far:
Creating a role using the ...
0
votes
1
answer
146
views
Azure Synapse Analytics - output not displayed
Following Scala code in Azure Synapse should print: Hello, World!. But instead, it prints: defined object Geeks.
Question: What could be the issue and how can we fix it?
object Geeks {
// Main ...
1
vote
1
answer
266
views
Is there any way to parameterize the linked service name in a dataset in Azure Synapse Analytics?
I'm new to Azure Synapse Analytics and working with CI/CD pipelines. Currently, I'm exploring how to parameterize pipeline parameters. My current code does not have a template-parameters-definition....
0
votes
1
answer
188
views
Azure Synapse Dataflow - Unable to use a parameter in Pre SQL scripts
In my Sink I'm running a Pre SQL Script to delete data after a certain date but I'm having trouble using parameters in the script.
Here is my date parameter variable inside dataflow and below is my ...
1
vote
1
answer
282
views
Access pipeline activities (SQL Script) in ASA (Azure Synapse Analytics) using python
I am trying to access the sql script node in my pipeline activities using python. The idea is to export sql-script to this node in ASA (Azure Synapse Analytics) using python.
The connection with ...
0
votes
1
answer
673
views
Third party rest API call using oAuth 2.0 from Azure synapse web activity
I have a task where I need to connect to external URL from Azure synapse and get few data. We were doing that using synapse web activity and using basic authentication. Now the provider has asked us ...
0
votes
1
answer
188
views
Unable to Drop a View in Serverless SQL Pool from Synapse Notebook
I am trying to drop a view from my synpase Notebook using a connection to a Serverless SQL Pool. I followed the instructions from this post: Access our built-in serverless SQL pool from our notebook ...
1
vote
1
answer
860
views
Access our built-in serverless SQL pool from our notebook
We are currently trying to access our built-in serverless SQL pool from our notebook. Our goal is to be able to drop views from the notebook, which is something we need to put into our pipeline as per ...