Repository navigation
Minor fixes to SEA handlers - #428
alexguo-db wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
What's the timeline for replacing this metadata client? Wondering if it's worth reviewing the original client if this will be replaced soon
There was a problem hiding this comment.
These session APIs are PUBLIC_UNDOCUMENTED, would there be an issue exposing them in open source?
https://src.dev.databricks.com/databricks/universe@ff798537feb07257b146b134fb1e9d473cdf62b3/-/blob/cmdexec/sql-exec-api/proto/sql_exec_api_service.proto?L123
cc @yunbodeng-db
There was a problem hiding this comment.
Why don't we need the headers for this DELETE request? Every other request seems to call this
private static Map<String, String> getHeaders() {
return Map.of(
"Accept", "application/json",
"Content-Type", "application/json");
}
e0fc4a6 to
71d0c85
Compare
71d0c85 to
ae74fbd
Compare
ae74fbd to
e51e98b
Compare
There was a problem hiding this comment.
0 is typically returned for success so it doesn't seem like a good default value here
I set to 1 but open to a better default value
There was a problem hiding this comment.
why can't this be a boolean?
There was a problem hiding this comment.
This method is only called for exceptions, it should return different failure codes based on the type of exception (e.g. 429, 503) so it can't be a boolean. I changed the default because 0 is not typically used as a failure code
There was a problem hiding this comment.
This file and DatabricksHttpClient have a lot of duplicate checking for error codes, maybe see if there's a way to share that logic
There was a problem hiding this comment.
e51e98b to
754e093
Compare
There was a problem hiding this comment.
Is there a reason this was originally StatementType.Query, or is it just a typo?
754e093 to
e4617db
Compare
|
Remade here #501 (review) |
Description
Testing
Additional Notes to the Reviewer