diff --git a/cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_driver.cc b/cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_driver.cc index 8b24762bfc3..c6a813cfd48 100644 --- a/cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_driver.cc +++ b/cpp/src/arrow/flight/sql/odbc/odbc_impl/flight_sql_driver.cc @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +#include + #include "arrow/flight/sql/odbc/odbc_impl/flight_sql_driver.h" #include "arrow/compute/api.h" @@ -37,6 +39,8 @@ FlightSqlDriver::FlightSqlDriver() RegisterComputeKernels(); // Register log after compute kernels check to avoid segfaults RegisterLog(); + // GH-48637: Disable Absl Deadlock detection from upstream projects + absl::SetMutexDeadlockDetectionMode(absl::OnDeadlockCycle::kIgnore); } FlightSqlDriver::~FlightSqlDriver() {