You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a549393
Browse filesBrowse the repository at this point in the historyBrowse files
fix(kernel): validate revocation flags and gate them on kernel support
Require the _tls_check_certificate_revocation and _tls_accept_undetermined_revocation options to be real bools on both the Thrift/SEA and kernel paths, before any connection is made. A truthy non-bool such as "false" previously enabled accept-undetermined.
When revocation is requested on the kernel path, check that the installed databricks_sql_kernel.Session declares the tls revocation kwargs and raise NotSupportedError with an upgrade hint otherwise. The default path is unchanged and does not run the check.
Adds regression tests for the bool validation on both paths, the kernel-wheel capability error, and the connect() -> kernel ssl_options threading.
Co-authored-by: Isaac <no-reply@databricks.com>
Signed-off-by: Cathleen Yan <58714163+cathleeny@users.noreply.github.com>
0 commit comments