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
From reviewing the codebase, I noticed there's already a comment in odbc_handle.h (L56-57) that mentions exception handling issues on macOS where DriverException doesn't properly catch subclass exceptions. The main areas I plan to investigate:
Exception Handling: Fix the try-catch blocks in ODBCHandle::Execute() to properly catch subclass exceptions on macOS (AuthenticationException, NullWithoutIndicatorException)
Test Environment Setup: Review test fixture initialization in odbc_test_suite.cc - particularly the ODBCMockTestBase::SetUp() and remote test base classes to ensure proper connection/teardown on macOS
Platform-Specific Handling: Check if there are any Linux/Windows-specific assumptions in the test code that break on macOS (e.g., buffer size calculations, string encoding differences)
CMake Configuration: Verify ODBC library linking in CMakeLists.txt works correctly for macOS
Would you be able to assign this issue to me? Also, does this implementation approach sound right, or is there something specific about the MacOS failures I should focus on first? Any guidance on which tests are currently failing would be helpful.
Activity
vanshaj2023 commentedon Feb 15, 2026
Hi! I'd like to work on this issue.
Implementation Approach:
From reviewing the codebase, I noticed there's already a comment in
odbc_handle.h(L56-57) that mentions exception handling issues on macOS whereDriverExceptiondoesn't properly catch subclass exceptions. The main areas I plan to investigate:Exception Handling: Fix the try-catch blocks in
ODBCHandle::Execute()to properly catch subclass exceptions on macOS (AuthenticationException, NullWithoutIndicatorException)Test Environment Setup: Review test fixture initialization in
odbc_test_suite.cc- particularly theODBCMockTestBase::SetUp()and remote test base classes to ensure proper connection/teardown on macOSPlatform-Specific Handling: Check if there are any Linux/Windows-specific assumptions in the test code that break on macOS (e.g., buffer size calculations, string encoding differences)
CMake Configuration: Verify ODBC library linking in
CMakeLists.txtworks correctly for macOSWould you be able to assign this issue to me? Also, does this implementation approach sound right, or is there something specific about the MacOS failures I should focus on first? Any guidance on which tests are currently failing would be helpful.
Thanks!
GH-49268: [C++][FlightRPC] Fix ODBC tests for MacOS (#49267)
kou commentedon Mar 13, 2026
Issue resolved by pull request 49267
#49267
apacheGH-49268: [C++][FlightRPC] Fix ODBC tests for MacOS (apache#49267)
apacheGH-49268: [C++][FlightRPC] Fix ODBC tests for MacOS (apache#49267)