Skip to main content

data_flow_debug_session

Creates, updates, deletes, gets or lists a data_flow_debug_session resource.

Overview

Namedata_flow_debug_session
TypeResource
Idazure.synapse_artifacts.data_flow_debug_session

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
objectUnmatched properties from the message are deserialized to this collection.
computeTypestringCompute type of the cluster.
coreCountintegerCore count of the cluster.
dataFlowNamestringThe name of the data flow.
integrationRuntimeNamestringAttached integration runtime name of data flow debug session.
lastActivityTimestringLast activity time of data flow debug session.
nodeCountintegerNode count of the cluster. (deprecated property).
sessionIdstringThe ID of data flow debug session.
startTimestringStart time of data flow debug session.
timeToLiveInMinutesintegerCompute type of the cluster.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
query_data_flow_debug_sessions_by_workspaceselectendpointQuery all active data flow debug sessions.
create_data_flow_debug_sessioninsertendpointCreates a data flow debug session.
delete_data_flow_debug_sessiondeleteendpointDeletes a data flow debug session.
add_data_flowexecendpointAdd a data flow into debug session.
execute_commandexecendpointExecute a data flow debug command.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme). (default: )

SELECT examples

Query all active data flow debug sessions.

SELECT
,
computeType,
coreCount,
dataFlowName,
integrationRuntimeName,
lastActivityTime,
nodeCount,
sessionId,
startTime,
timeToLiveInMinutes
FROM azure.synapse_artifacts.data_flow_debug_session
WHERE endpoint = '{{ endpoint }}' -- required
;

INSERT examples

Creates a data flow debug session.

INSERT INTO azure.synapse_artifacts.data_flow_debug_session (
computeType,
coreCount,
timeToLive,
integrationRuntime,
endpoint
)
SELECT
'{{ computeType }}',
{{ coreCount }},
{{ timeToLive }},
'{{ integrationRuntime }}',
'{{ endpoint }}'
RETURNING
sessionId
;

DELETE examples

Deletes a data flow debug session.

DELETE FROM azure.synapse_artifacts.data_flow_debug_session
WHERE endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Add a data flow into debug session.

EXEC azure.synapse_artifacts.data_flow_debug_session.add_data_flow 
@endpoint='{{ endpoint }}' --required
@@json=
'{
"": "{{ }}",
"sessionId": "{{ sessionId }}",
"dataFlow": "{{ dataFlow }}",
"dataFlows": "{{ dataFlows }}",
"datasets": "{{ datasets }}",
"linkedServices": "{{ linkedServices }}",
"staging": "{{ staging }}",
"debugSettings": "{{ debugSettings }}"
}'
;