Skip to content

Commit a5e7ff5

Browse files
authored
Synapse change sessionId type from int to string (#25210)
* change sessionId type from int to string * modify related code
1 parent 340a810 commit a5e7ff5

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

specification/synapse/data-plane/Microsoft.Synapse/preview/2022-03-01-preview/examples/RunNotebook_Cancel.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"result": {
1919
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
2020
"runStatus": "Cancelled",
21-
"sessionId": -1,
21+
"sessionId": "-1",
2222
"sparkPool": "exampleSparkpool",
2323
"lastCheckedOn": "0001-01-01T00:00:00"
2424
}
@@ -37,7 +37,7 @@
3737
"result": {
3838
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
3939
"runStatus": "SnapshotTaken",
40-
"sessionId": -1,
40+
"sessionId": "-1",
4141
"sparkPool": "exampleSparkpool"
4242
}
4343
}

specification/synapse/data-plane/Microsoft.Synapse/preview/2022-03-01-preview/examples/RunNotebook_Create.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"result": {
4040
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
4141
"runStatus": "Starting",
42-
"sessionId": -1,
42+
"sessionId": "-1",
4343
"sparkPool": "exampleSparkpool",
4444
"lastCheckedOn": "0001-01-01T00:00:00"
4545
}

specification/synapse/data-plane/Microsoft.Synapse/preview/2022-03-01-preview/examples/RunNotebook_GetSnapshot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@
232232
},
233233
"runId": "e4221395-55ae-4c6d-9756-fae966d84350",
234234
"runStatus": "Succeeded",
235-
"sessionId": 1,
235+
"sessionId": "1",
236236
"sparkPool": "exampleSparkpool",
237237
"lastCheckedOn": "0001-01-01T00:00:00"
238238
}

specification/synapse/data-plane/Microsoft.Synapse/preview/2022-03-01-preview/examples/RunNotebook_GetStatus.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"exitValue": null,
8383
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
8484
"runStatus": "Starting",
85-
"sessionId": 2,
85+
"sessionId": "2",
8686
"sparkPool": "exampleSparkpool",
8787
"lastCheckedOn": "2021-09-06T11:23:58.3733333"
8888
}

specification/synapse/data-plane/Microsoft.Synapse/preview/2022-03-01-preview/runNotebook.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@
242242
},
243243
"sessionId": {
244244
"description": "Livy session id.",
245-
"type": "integer",
246-
"format": "int64"
245+
"type": "string"
247246
},
248247
"sparkPool": {
249248
"description": "SparkPool name.",
@@ -331,8 +330,7 @@
331330
},
332331
"sessionId": {
333332
"description": "Livy session id.",
334-
"type": "integer",
335-
"format": "int64"
333+
"type": "string"
336334
},
337335
"sparkPool": {
338336
"description": "SparkPool name.",
@@ -378,8 +376,7 @@
378376
},
379377
"sessionId": {
380378
"description": "Livy session id.",
381-
"type": "integer",
382-
"format": "int64"
379+
"type": "string"
383380
},
384381
"sparkPool": {
385382
"description": "SparkPool name.",

0 commit comments

Comments
 (0)