Skip to content

Commit

Permalink
Synapse change sessionId type from int to string (#25210)
Browse files Browse the repository at this point in the history
* change sessionId type from int to string

* modify related code
  • Loading branch information
kevinzz6 authored Aug 8, 2023
1 parent 340a810 commit a5e7ff5
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"result": {
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
"runStatus": "Cancelled",
"sessionId": -1,
"sessionId": "-1",
"sparkPool": "exampleSparkpool",
"lastCheckedOn": "0001-01-01T00:00:00"
}
Expand All @@ -37,7 +37,7 @@
"result": {
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
"runStatus": "SnapshotTaken",
"sessionId": -1,
"sessionId": "-1",
"sparkPool": "exampleSparkpool"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"result": {
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
"runStatus": "Starting",
"sessionId": -1,
"sessionId": "-1",
"sparkPool": "exampleSparkpool",
"lastCheckedOn": "0001-01-01T00:00:00"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
},
"runId": "e4221395-55ae-4c6d-9756-fae966d84350",
"runStatus": "Succeeded",
"sessionId": 1,
"sessionId": "1",
"sparkPool": "exampleSparkpool",
"lastCheckedOn": "0001-01-01T00:00:00"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"exitValue": null,
"runId": "4b200abf-c90c-43cf-98ae-b9f2bcf90373",
"runStatus": "Starting",
"sessionId": 2,
"sessionId": "2",
"sparkPool": "exampleSparkpool",
"lastCheckedOn": "2021-09-06T11:23:58.3733333"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@
},
"sessionId": {
"description": "Livy session id.",
"type": "integer",
"format": "int64"
"type": "string"
},
"sparkPool": {
"description": "SparkPool name.",
Expand Down Expand Up @@ -331,8 +330,7 @@
},
"sessionId": {
"description": "Livy session id.",
"type": "integer",
"format": "int64"
"type": "string"
},
"sparkPool": {
"description": "SparkPool name.",
Expand Down Expand Up @@ -378,8 +376,7 @@
},
"sessionId": {
"description": "Livy session id.",
"type": "integer",
"format": "int64"
"type": "string"
},
"sparkPool": {
"description": "SparkPool name.",
Expand Down

0 comments on commit a5e7ff5

Please sign in to comment.