Skip to content

Commit 1b895c6

Browse files
docs: describe HTTP/1.1 behavior with proxies
Signed-off-by: Aakash Saravanan <aakash.saravanan@databricks.com>
1 parent faa36ab commit 1b895c6

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Release History
22

33
# Unreleased
4-
- Add kernel-only `enable_http2`: HTTPS negotiates HTTP/2 with HTTP/1.1 fallback; set `enable_http2=False` to force HTTP/1.1 for all kernel-owned HTTPS traffic.
4+
- Add kernel-only `enable_http2`: HTTPS negotiates HTTP/2 with HTTP/1.1 fallback; set `enable_http2=False` to force HTTP/1.1 for all kernel-owned HTTPS traffic. Configured proxies force HTTP/1.1.
55
- Honor `max_download_threads` on kernel connections, with a default download window of 16 and explicit chunk-setting overrides. Invalid values raise `ValueError` when connecting with `use_kernel=True`.
66
- Fix the kernel backend ignoring `use_cloud_fetch=False`, so complete results can be fetched without cloud-storage downloads.
77
- Fix inline parameters (`use_inline_params=True`) so a sequence directly after `IN` renders as a list again: `x IN %(ids)s` renders as `x IN (1,2,3)` instead of `x IN ARRAY(1,2,3)`, which Spark rejects. Inside the list, tuples render as rows for a multi-column `IN`, and a `set` or `frozenset` is accepted again. Sequences anywhere else still render as `ARRAY(...)` ([#629](https://github.com/databricks/databricks-sql-python/issues/629))

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Install using `pip install databricks-sql-connector[pyarrow]`
3939
The kernel negotiates HTTP/2 for HTTPS requests, with HTTP/1.1 fallback when the
4040
peer does not support HTTP/2. Pass `enable_http2=False` with `use_kernel=True` to
4141
force HTTP/1.1 for authentication, SQL requests, result downloads, and telemetry.
42+
Configured proxies force HTTP/1.1 for the entire kernel client.
4243

4344
Install using `pip install databricks-sql-connector[kernel]`
4445

‎src/databricks/sql/client.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,8 @@ def __init__(
197197
Kernel backend only. Negotiate HTTP/2 for HTTPS requests, with
198198
HTTP/1.1 fallback when the peer does not support HTTP/2. Set
199199
``False`` to force HTTP/1.1 for authentication, SQL requests,
200-
result downloads, and telemetry.
200+
result downloads, and telemetry. Configured proxies force
201+
HTTP/1.1 for the entire kernel client.
201202
:param enable_geospatial_support: `bool`, optional (default is False)
202203
Kernel backend only. Controls the public representation of
203204
``GEOMETRY`` and ``GEOGRAPHY`` result values. ``True`` returns

0 commit comments

Comments
 (0)