Skip to content

Commit 7020f47

Browse files
aakash-saravanan-dbIsaac
andcommitted
fix(telemetry): keep reporting enable_sea_hybrid_results
The first commit dropped enable_sea_hybrid_results from DriverConnectionParameters. Every telemetry event a Thrift connection exports embeds those parameters, so the field disappeared from all of them. Restore the previous value so connection telemetry is unchanged for Thrift and kernel connections. Signed-off-by: Aakash Saravanan <aakash.saravanan@databricks.com> Co-authored-by: Isaac <no-reply@databricks.com>
1 parent 62055be commit 7020f47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/databricks/sql/client.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ def read(self) -> Optional[OAuthToken]:
532532
use_system_trust_store=True, # Python uses system SSL by default
533533
enable_arrow=pyarrow is not None,
534534
enable_direct_results=True, # Always enabled in Python
535+
enable_sea_hybrid_results=kwargs.get("use_hybrid_disposition", False),
535536
http_connection_pool_size=kwargs.get("pool_maxsize", None),
536537
rows_fetched_per_block=DEFAULT_ARRAY_SIZE,
537538
async_poll_interval_millis=2000, # Default polling interval

0 commit comments

Comments
 (0)