Skip to content

[C++][FlightRPC] Fix ODBC tests for MacOS #49268

Closed

Description

@justing-bq

Describe the bug, including details regarding any error messages, version, and platform.

ODBC tests do not yet pass on MacOS.

Fix all remaining ODBC tests for MacOS.

Component(s)

C++, FlightRPC

Activity

  1. vanshaj2023 commented on Feb 15, 2026

    @vanshaj2023
    Contributor

    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 where DriverException doesn't properly catch subclass exceptions. The main areas I plan to investigate:

    1. Exception Handling: Fix the try-catch blocks in ODBCHandle::Execute() to properly catch subclass exceptions on macOS (AuthenticationException, NullWithoutIndicatorException)

    2. 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

    3. 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)

    4. 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.

    Thanks!

  2. added a commit that references this issue on Mar 13, 2026
  3. added this to the 24.0.0 milestone on Mar 13, 2026
  4. kou commented on Mar 13, 2026

    @kou
    Member

    Issue resolved by pull request 49267
    #49267

  5. added a commit that references this issue on Apr 6, 2026
  6. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions