Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

[GDGT-2940] Upgrade libthrift to 0.24.0 (#79148)

YB1c4ea2115bb5
diff --git a/modules/drivers/databricks/deps.edn b/modules/drivers/databricks/deps.edn
index b65cafa6af7..b14eb529ea2 100644
--- a/modules/drivers/databricks/deps.edn
+++ b/modules/drivers/databricks/deps.edn
@@ -15,4 +15,6 @@
com.fasterxml.jackson.core/jackson-databind {:mvn/version "2.21.5"}
org.apache.httpcomponents.core5/httpcore5-h2 {:mvn/version "5.4.3"}
;; pinned: databricks-jdbc-thin 3.3.1 pulls commons-configuration2 2.11.0 (CVE-2026-45205)
- org.apache.commons/commons-configuration2 {:mvn/version "2.15.1"}}}
+ org.apache.commons/commons-configuration2 {:mvn/version "2.15.1"}
+ ;; pin newer version than the one bundled with databricks-jdbc-thin
+ org.apache.thrift/libthrift {:mvn/version "0.24.0"}}}
diff --git a/modules/drivers/hive-like/deps.edn b/modules/drivers/hive-like/deps.edn
index a83c555f7a6..627728e2e51 100644
--- a/modules/drivers/hive-like/deps.edn
+++ b/modules/drivers/hive-like/deps.edn
@@ -222,8 +222,14 @@
org.apache.hadoop.thirdparty/hadoop-shaded-guava]}
;; Third-party deps required by hive-jdbc at runtime, pinned at safe versions.
- org.apache.thrift/libthrift {:mvn/version "0.16.0"
- :exclusions [org.apache.commons/commons-lang3]}
+ ;; libthrift 0.24.0 declares runtime deps (httpclient5, httpcore5, jakarta.servlet-api)
+ ;; that only serve its THttpClient/TServlet classes; hive-jdbc is built against
+ ;; httpclient 4.x and cannot use them, so exclude them to keep the jar lean.
+ org.apache.thrift/libthrift {:mvn/version "0.24.0"
+ :exclusions [jakarta.servlet/jakarta.servlet-api
+ org.apache.commons/commons-lang3
+ org.apache.httpcomponents.client5/httpclient5
+ org.apache.httpcomponents.core5/httpcore5]}
org.apache.httpcomponents/httpclient {:mvn/version "4.5.14"
:exclusions [org.apache.commons/commons-lang3]}
org.apache.httpcomponents/httpcore {:mvn/version "4.4.16"}
diff --git a/modules/drivers/sparksql/resources/metabase/sparksql/metabase-plugin.yaml b/modules/drivers/sparksql/resources/metabase/sparksql/metabase-plugin.yaml
index 66eed3e1e88..8ee6cb67f09 100644
--- a/modules/drivers/sparksql/resources/metabase/sparksql/metabase-plugin.yaml
+++ b/modules/drivers/sparksql/resources/metabase/sparksql/metabase-plugin.yaml
@@ -33,7 +33,7 @@ driver:
- merge:
- additional-options
- name: jdbc-flags
- placeholder: ';transportMode=http'
+ placeholder: ';transportMode=binary'
- default-advanced-options
init:
- step: load-namespace