Repository navigation
Complete server-marked Volume transfers in the native kernel #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
11f321e
e88a8ca
6ed382c
3537355
f7ce55b
6102a56
e4d9a45
0c802d7
2df06d1
a4f1242
53a1e79
f64d706
c0a7759
6bb5277
74175d0
3c39d7c
c374119
6504514
840c64d
2407fab
14bdf00
62a33ed
66db001
3bffd02
cb2fdc8
13cf305
f1304f3
8b75753
28ee8c1
bb06153
f226785
43a98ae
45abece
b2651b5
1ddfe1d
409ef86
7064f54
28bd650
dec7b72
7fe16a3
1b5aa8b
f6a9f00
fec11ff
694e6e4
dd837e4
358fb78
1e62337
33674cc
9325216
b7c9f3a
bdeba7a
f500e27
58519b5
0309946
64f16cd
1d86266
88bb0ad
af8ba16
885fb33
0ff5161
0c7d35e
bfaff27
617e4c5
a5beb83
479a5a9
d9e8ab4
435169e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -386,7 +386,11 @@ impl DatabaseConfig { | |
| "adbc.databricks.http_request_timeout" => { | ||
| self.http.request_timeout = duration_seconds(value, key)? | ||
| } | ||
| "SocketTimeout" => self.http.request_timeout = duration(value, key, false)?, | ||
| "SocketTimeout" => { | ||
|
aakash-saravanan-db marked this conversation as resolved.
Resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔵 Low — Only (Anchored to the nearest changed line — see the description for the exact location.) 🔀 Found by Claude Opus 5.5 · confirmed by the judge
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PR is closed and the ADBC change now lives in #513, where |
||
| let timeout = duration(value, key, false)?; | ||
| self.http.request_timeout = timeout; | ||
| self.http.storage_read_timeout = Some(timeout); | ||
| } | ||
| _ if key.starts_with(HTTP_PREFIX) => self.set_http(key, value)?, | ||
| _ if key.starts_with(PROXY_PREFIX) => self.set_proxy(key, value)?, | ||
| _ if key.starts_with(TLS_PREFIX) => self.set_tls(key, value)?, | ||
|
|
@@ -1695,6 +1699,7 @@ mod tests { | |
| #[test] | ||
| fn http_pool_and_custom_headers_reach_kernel_config() { | ||
| let mut config = DatabaseConfig::default(); | ||
| set(&mut config, "SocketTimeout", 4500_i64); | ||
| set(&mut config, HOST, "https://example.databricks.com"); | ||
| set(&mut config, HTTP_PATH, "/sql/1.0/warehouses/warehouse-id"); | ||
| set(&mut config, ACCESS_TOKEN, "sentinel-token"); | ||
|
|
@@ -1712,6 +1717,10 @@ mod tests { | |
|
|
||
| let resolved = config.resolve().unwrap(); | ||
| assert_eq!(resolved.http.pool_max_idle_per_host, 37); | ||
| assert_eq!( | ||
| resolved.http.storage_read_timeout, | ||
| Some(Duration::from_millis(4500)) | ||
| ); | ||
| assert_eq!( | ||
| resolved.user_agent_entry.as_deref(), | ||
| Some("partner+product") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.