Skip to content

GH-50828: [C++][FlightRPC][ODBC] Add SQLGetInfo remote tests - #50838

Open
erichanwang wants to merge 1 commit into
apache:mainfrom
erichanwang:fix/odbc-sqlgetinfo-tests-50828
Open

GH-50828: [C++][FlightRPC][ODBC] Add SQLGetInfo remote tests#50838
erichanwang wants to merge 1 commit into
apache:mainfrom
erichanwang:fix/odbc-sqlgetinfo-tests-50828

Conversation

@erichanwang

Copy link
Copy Markdown
Contributor

Rationale for this change

The SQLGetInfo tests for SQL_CREATE_SCHEMA and SQL_CREATE_TABLE only covered the mock server. The remote fixture can report different DDL capabilities, so the missing remote coverage allowed regressions to go unnoticed.

What changes are included in this PR?

  • Add a named remote connection-info fixture.
  • Add remote tests for SQL_CREATE_SCHEMA and SQL_CREATE_TABLE.
  • Keep the mock expectations (1) and assert the remote fixture's unsupported DDL values (0) separately.

Fixes#50828.

Are these changes tested?

The changed C++ test source passes git diff --check and was reviewed for fixture-specific expectations. A local runtime ODBC test could not be run because this checkout has no compiled ODBC test binary or configured remote server.

Are there any user-facing changes?

No.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #50828has been automatically assigned in GitHub to PR creator.

@erichanwang
erichanwangforce-pushed the fix/odbc-sqlgetinfo-tests-50828 branch from 3c9b74b to f4bda93CompareAugust 10, 2026 00:13
@lidavidmlidavidm added the CI: Extra: C++ Run extra C++ CI label Aug 21, 2026

@lidavidmlidavidm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable.

@github-actionsgithub-actionsBot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Aug 21, 2026
@lidavidm

Copy link
Copy Markdown
Member

It may be worth rebasing

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[C++][FlightRPC][ODBC] Add SQLGetInfo missing tests

2 participants

@erichanwang@lidavidm