From 171a1b08878ab853bd86392e528c45603bc9fee7 Mon Sep 17 00:00:00 2001 From: jikma Date: Fri, 20 Aug 2021 13:48:19 -0700 Subject: [PATCH 1/6] add debug creation info --- .../preview/2019-06-01-preview/artifacts.json | 40 ++++++++++--------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json index c79b02126869..4b8abd62fb69 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json @@ -2888,32 +2888,36 @@ "description": "Request body structure for creating data flow debug session.", "type": "object", "properties": { - "dataFlowName": { - "description": "The name of the data flow.", - "type": "string" - }, - "existingClusterId": { - "description": "The ID of existing Databricks cluster.", + "computeType": { + "description": "Compute type of the cluster. The value will be overwritten by the same setting in integration runtime if provided.", "type": "string" }, - "clusterTimeout": { - "description": "Timeout setting for Databricks cluster.", + "coreCount": { + "description": "Core count of the cluster. The value will be overwritten by the same setting in integration runtime if provided.", "type": "integer" }, - "newClusterName": { - "description": "The name of new Databricks cluster.", - "type": "string" - }, - "newClusterNodeType": { - "description": "The type of new Databricks cluster.", - "type": "string" + "timeToLive": { + "description": "Time to live setting of the cluster in minutes.", + "type": "integer" }, - "dataBricksLinkedService": { - "description": "Data bricks linked service.", - "$ref": "#/definitions/LinkedServiceResource" + "integrationRuntime": { + "description": "Set to use integration runtime setting for data flow debug session.", + "$ref": "#/definitions/IntegrationRuntimeDebugResource" } } }, + "IntegrationRuntimeDebugResource": { + "description": "Integration runtime debug resource.", + "properties": { + "properties": { + "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntime", + "description": "Integration runtime properties." + } + }, + "required": [ + "properties" + ] + }, "CreateDataFlowDebugSessionResponse": { "description": "Response body structure for creating data flow debug session.", "type": "object", From 82376a9054b801b6872ad9c6a367bbb7d51cd2e8 Mon Sep 17 00:00:00 2001 From: jikma Date: Fri, 20 Aug 2021 13:54:56 -0700 Subject: [PATCH 2/6] add debug creation info --- .../preview/2019-06-01-preview/artifacts.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json index 4b8abd62fb69..bb7855aa4753 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json @@ -2908,9 +2908,14 @@ }, "IntegrationRuntimeDebugResource": { "description": "Integration runtime debug resource.", + "allOf": [ + { + "$ref": "#/definitions/SubResourceDebugResource" + } + ], "properties": { "properties": { - "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/IntegrationRuntime", + "$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/integrationRuntime.json#/definitions/IntegrationRuntime", "description": "Integration runtime properties." } }, From bee85ff24413a55bd1ca1eb3a8bbf9952ff870df Mon Sep 17 00:00:00 2001 From: jikma Date: Tue, 24 Aug 2021 16:30:05 -0700 Subject: [PATCH 3/6] push more fixs for other gaps --- .../preview/2019-06-01-preview/artifacts.json | 55 ++++++++++++++----- .../examples/DataFlowDebugSession_Create.json | 24 ++++---- .../DataFlowDebugSession_ExecuteCommand.json | 1 - .../examples/DataFlowDebugSession_Create.json | 24 ++++---- .../DataFlowDebugSession_ExecuteCommand.json | 1 - 5 files changed, 64 insertions(+), 41 deletions(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json index bb7855aa4753..2aaacc2f4590 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/artifacts.json @@ -2990,10 +2990,6 @@ "sessionId": { "description": "The ID of data flow debug session.", "type": "string" - }, - "dataFlowName": { - "description": "The data flow which contains the debug session.", - "type": "string" } } }, @@ -3071,29 +3067,58 @@ } }, "DataFlowDebugCommandRequest": { - "description": "Request body structure for data flow expression preview.", + "description": "Request body structure for data flow debug command.", "type": "object", "properties": { "sessionId": { "description": "The ID of data flow debug session.", "type": "string" }, - "dataFlowName": { - "description": "The data flow which contains the debug session.", - "type": "string" - }, - "commandName": { - "description": "The command name.", - "type": "string" + "command": { + "description": "The command type.", + "type": "string", + "enum": [ + "executePreviewQuery", + "executeStatisticsQuery", + "executeExpressionQuery" + ], + "x-ms-enum": { + "name": "DataFlowDebugCommandType", + "modelAsString": true + } }, "commandPayload": { "description": "The command payload object.", - "type": "object" + "$ref": "#/definitions/DataFlowDebugCommandPayload" + } + } + }, + "DataFlowDebugCommandPayload": { + "description": "Structure of command payload.", + "type": "object", + "properties": { + "streamName": { + "description": "The stream name which is used for preview.", + "type": "string" + }, + "rowLimits": { + "description": "Row limits for preview response.", + "type": "integer" + }, + "columns": { + "description": "Array of column names.", + "type": "array", + "items": { + "type": "string" + } + }, + "expression": { + "description": "The expression which is used for preview.", + "type": "string" } }, "required": [ - "sessionId", - "commandPayload" + "streamName" ] }, "DataFlowDebugQueryResponse": { diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_Create.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_Create.json index b1644c6737c5..20d28c3cafba 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_Create.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_Create.json @@ -2,21 +2,21 @@ "parameters": { "endpoint": "exampleWorkspace.dev.azuresynapse.net", "request": { - "dataFlowName": "dataflow", - "existingClusterId": "1221221", - "clusterTimeout": 50, - "newClusterName": "newClusterName", - "newClusterNodeType": "newClusterNodeType", - "dataBricksLinkedService": { + "timeToLive": 60, + "integrationRuntime": { + "name": "ir1", "properties": { - "type": "AzureStorage", + "type": "Managed", "typeProperties": { - "connectionString": { - "type": "SecureString", - "value": "DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=" + "computeProperties": { + "location": "AutoResolve", + "dataFlowProperties": { + "computeType": "General", + "coreCount": 48, + "timeToLive": 10 + } } - }, - "description": "Example description" + } } } }, diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json index 9c88adb10bde..1661a73714d8 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json @@ -2,7 +2,6 @@ "parameters": { "endpoint": "exampleWorkspace.dev.azuresynapse.net", "request": { - "dataFlowName": "dataFlowName", "commandPayload": { "streamName": "source1", "rowLimits": 100 diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_Create.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_Create.json index 357f7f941d7a..cb80c7752465 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_Create.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_Create.json @@ -2,21 +2,21 @@ "parameters": { "endpoint": "exampleWorkspace.dev.azuresynapse.net", "request": { - "dataFlowName": "dataflow", - "existingClusterId": "1221221", - "clusterTimeout": 50, - "newClusterName": "newClusterName", - "newClusterNodeType": "newClusterNodeType", - "dataBricksLinkedService": { + "timeToLive": 60, + "integrationRuntime": { + "name": "ir1", "properties": { - "type": "AzureStorage", + "type": "Managed", "typeProperties": { - "connectionString": { - "type": "SecureString", - "value": "DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=" + "computeProperties": { + "location": "AutoResolve", + "dataFlowProperties": { + "computeType": "General", + "coreCount": 48, + "timeToLive": 10 + } } - }, - "description": "Example description" + } } } }, diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json index d5ce58ed0bb0..28d82c2e6009 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json @@ -2,7 +2,6 @@ "parameters": { "endpoint": "exampleWorkspace.dev.azuresynapse.net", "request": { - "dataFlowName": "dataFlowName", "commandPayload": { "streamName": "source1", "rowLimits": 100 From 644de70b5dde4132336db3f7e2171e6fb502b005 Mon Sep 17 00:00:00 2001 From: jikma Date: Thu, 26 Aug 2021 20:42:45 -0700 Subject: [PATCH 4/6] update stable version as well --- .../examples/DataFlowDebugSession_Create.json | 24 +++++++++---------- .../DataFlowDebugSession_ExecuteCommand.json | 1 - 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_Create.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_Create.json index 8945f99f3520..7b2b93851a47 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_Create.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_Create.json @@ -2,21 +2,21 @@ "parameters": { "endpoint": "exampleWorkspace.dev.azuresynapse.net", "request": { - "dataFlowName": "dataflow", - "existingClusterId": "1221221", - "clusterTimeout": 50, - "newClusterName": "newClusterName", - "newClusterNodeType": "newClusterNodeType", - "dataBricksLinkedService": { + "timeToLive": 60, + "integrationRuntime": { + "name": "ir1", "properties": { - "type": "AzureStorage", + "type": "Managed", "typeProperties": { - "connectionString": { - "type": "SecureString", - "value": "DefaultEndpointsProtocol=https;AccountName=examplestorageaccount;AccountKey=" + "computeProperties": { + "location": "AutoResolve", + "dataFlowProperties": { + "computeType": "General", + "coreCount": 48, + "timeToLive": 10 + } } - }, - "description": "Example description" + } } } }, diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json index 870e2fecca8f..550c6d4e818a 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json @@ -2,7 +2,6 @@ "parameters": { "endpoint": "exampleWorkspace.dev.azuresynapse.net", "request": { - "dataFlowName": "dataFlowName", "commandPayload": { "streamName": "source1", "rowLimits": 100 From ecd2c50eb5df18add817864d5be5b2e9b7110e7b Mon Sep 17 00:00:00 2001 From: jikma Date: Mon, 6 Sep 2021 22:28:58 -0700 Subject: [PATCH 5/6] fix examples --- .../examples/DataFlowDebugSession_ExecuteCommand.json | 2 +- .../examples/DataFlowDebugSession_ExecuteCommand.json | 2 +- .../examples/DataFlowDebugSession_ExecuteCommand.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json index 1661a73714d8..dcd9fefdfbca 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2019-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json @@ -6,7 +6,7 @@ "streamName": "source1", "rowLimits": 100 }, - "commandName": "executePreviewQuery", + "command": "executePreviewQuery", "sessionId": "f06ed247-9d07-49b2-b05e-2cb4a2fc871e" }, "api-version": "2019-06-01-preview" diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json index 28d82c2e6009..c251d90ee689 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/examples/DataFlowDebugSession_ExecuteCommand.json @@ -6,7 +6,7 @@ "streamName": "source1", "rowLimits": 100 }, - "commandName": "executePreviewQuery", + "command": "executePreviewQuery", "sessionId": "f06ed247-9d07-49b2-b05e-2cb4a2fc871e" }, "api-version": "2021-06-01-preview" diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json index 550c6d4e818a..ba36e72fce4f 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/examples/DataFlowDebugSession_ExecuteCommand.json @@ -6,7 +6,7 @@ "streamName": "source1", "rowLimits": 100 }, - "commandName": "executePreviewQuery", + "command": "executePreviewQuery", "sessionId": "f06ed247-9d07-49b2-b05e-2cb4a2fc871e" }, "api-version": "2020-12-01" From 11763acfbbc395ed6ceae5fdd86d5f140cb30ee5 Mon Sep 17 00:00:00 2001 From: Dongwei Wang Date: Tue, 14 Sep 2021 00:00:47 -0700 Subject: [PATCH 6/6] Resolve conflicts --- .../preview/2021-06-01-preview/dataflows.json | 96 +++++++++++++------ .../stable/2020-12-01/dataflows.json | 94 ++++++++++++------ 2 files changed, 133 insertions(+), 57 deletions(-) diff --git a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/dataflows.json b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/dataflows.json index e04b77149c12..8ef780903d4b 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/dataflows.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/preview/2021-06-01-preview/dataflows.json @@ -511,32 +511,41 @@ "description": "Request body structure for creating data flow debug session.", "type": "object", "properties": { - "dataFlowName": { - "description": "The name of the data flow.", - "type": "string" - }, - "existingClusterId": { - "description": "The ID of existing Databricks cluster.", + "computeType": { + "description": "Compute type of the cluster. The value will be overwritten by the same setting in integration runtime if provided.", "type": "string" }, - "clusterTimeout": { - "description": "Timeout setting for Databricks cluster.", + "coreCount": { + "description": "Core count of the cluster. The value will be overwritten by the same setting in integration runtime if provided.", "type": "integer" }, - "newClusterName": { - "description": "The name of new Databricks cluster.", - "type": "string" - }, - "newClusterNodeType": { - "description": "The type of new Databricks cluster.", - "type": "string" + "timeToLive": { + "description": "Time to live setting of the cluster in minutes.", + "type": "integer" }, - "dataBricksLinkedService": { - "description": "Data bricks linked service.", - "$ref": "linkedServices.json#/definitions/LinkedServiceResource" + "integrationRuntime": { + "description": "Set to use integration runtime setting for data flow debug session.", + "$ref": "#/definitions/IntegrationRuntimeDebugResource" } } }, + "IntegrationRuntimeDebugResource": { + "description": "Integration runtime debug resource.", + "allOf": [ + { + "$ref": "artifacts.json#/definitions/SubResourceDebugResource" + } + ], + "properties": { + "properties": { + "$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/integrationRuntime.json#/definitions/IntegrationRuntime", + "description": "Integration runtime properties." + } + }, + "required": [ + "properties" + ] + }, "CreateDataFlowDebugSessionResponse": { "description": "Response body structure for creating data flow debug session.", "type": "object", @@ -862,29 +871,58 @@ } }, "DataFlowDebugCommandRequest": { - "description": "Request body structure for data flow expression preview.", + "description": "Request body structure for data flow debug command.", "type": "object", "properties": { "sessionId": { "description": "The ID of data flow debug session.", "type": "string" }, - "dataFlowName": { - "description": "The data flow which contains the debug session.", - "type": "string" - }, - "commandName": { - "description": "The command name.", - "type": "string" + "command": { + "description": "The command type.", + "type": "string", + "enum": [ + "executePreviewQuery", + "executeStatisticsQuery", + "executeExpressionQuery" + ], + "x-ms-enum": { + "name": "DataFlowDebugCommandType", + "modelAsString": true + } }, "commandPayload": { "description": "The command payload object.", - "type": "object" + "$ref": "#/definitions/DataFlowDebugCommandPayload" + } + } + }, + "DataFlowDebugCommandPayload": { + "description": "Structure of command payload.", + "type": "object", + "properties": { + "streamName": { + "description": "The stream name which is used for preview.", + "type": "string" + }, + "rowLimits": { + "description": "Row limits for preview response.", + "type": "integer" + }, + "columns": { + "description": "Array of column names.", + "type": "array", + "items": { + "type": "string" + } + }, + "expression": { + "description": "The expression which is used for preview.", + "type": "string" } }, "required": [ - "sessionId", - "commandPayload" + "streamName" ] }, "DataFlowDebugQueryResponse": { diff --git a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/dataflows.json b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/dataflows.json index e1d5356beb0d..1e02efac302c 100644 --- a/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/dataflows.json +++ b/specification/synapse/data-plane/Microsoft.Synapse/stable/2020-12-01/dataflows.json @@ -511,32 +511,41 @@ "description": "Request body structure for creating data flow debug session.", "type": "object", "properties": { - "dataFlowName": { - "description": "The name of the data flow.", - "type": "string" - }, - "existingClusterId": { - "description": "The ID of existing Databricks cluster.", + "computeType": { + "description": "Compute type of the cluster. The value will be overwritten by the same setting in integration runtime if provided.", "type": "string" }, - "clusterTimeout": { - "description": "Timeout setting for Databricks cluster.", + "coreCount": { + "description": "Core count of the cluster. The value will be overwritten by the same setting in integration runtime if provided.", "type": "integer" }, - "newClusterName": { - "description": "The name of new Databricks cluster.", - "type": "string" - }, - "newClusterNodeType": { - "description": "The type of new Databricks cluster.", - "type": "string" + "timeToLive": { + "description": "Time to live setting of the cluster in minutes.", + "type": "integer" }, - "dataBricksLinkedService": { - "description": "Data bricks linked service.", - "$ref": "linkedServices.json#/definitions/LinkedServiceResource" + "integrationRuntime": { + "description": "Set to use integration runtime setting for data flow debug session.", + "$ref": "#/definitions/IntegrationRuntimeDebugResource" } } }, + "IntegrationRuntimeDebugResource": { + "description": "Integration runtime debug resource.", + "allOf": [ + { + "$ref": "artifacts.json#/definitions/SubResourceDebugResource" + } + ], + "properties": { + "properties": { + "$ref": "../../../../resource-manager/Microsoft.Synapse/preview/2019-06-01-preview/integrationRuntime.json#/definitions/IntegrationRuntime", + "description": "Integration runtime properties." + } + }, + "required": [ + "properties" + ] + }, "CreateDataFlowDebugSessionResponse": { "description": "Response body structure for creating data flow debug session.", "type": "object", @@ -869,22 +878,51 @@ "description": "The ID of data flow debug session.", "type": "string" }, - "dataFlowName": { - "description": "The data flow which contains the debug session.", - "type": "string" - }, - "commandName": { - "description": "The command name.", - "type": "string" + "command": { + "description": "The command type.", + "type": "string", + "enum": [ + "executePreviewQuery", + "executeStatisticsQuery", + "executeExpressionQuery" + ], + "x-ms-enum": { + "name": "DataFlowDebugCommandType", + "modelAsString": true + } }, "commandPayload": { "description": "The command payload object.", - "type": "object" + "$ref": "#/definitions/DataFlowDebugCommandPayload" + } + } + }, + "DataFlowDebugCommandPayload": { + "description": "Structure of command payload.", + "type": "object", + "properties": { + "streamName": { + "description": "The stream name which is used for preview.", + "type": "string" + }, + "rowLimits": { + "description": "Row limits for preview response.", + "type": "integer" + }, + "columns": { + "description": "Array of column names.", + "type": "array", + "items": { + "type": "string" + } + }, + "expression": { + "description": "The expression which is used for preview.", + "type": "string" } }, "required": [ - "sessionId", - "commandPayload" + "streamName" ] }, "DataFlowDebugQueryResponse": {