Skip to content

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

Merged
lidavidm merged 1 commit into
apache:mainfrom
erichanwang:fix/odbc-sqlgetinfo-tests-50828
Oct 15, 2026
Merged

lidavidm merged 1 commit into
apache:mainfrom
erichanwang:fix/odbc-sqlgetinfo-tests-50828

Conversation

@erichanwang

@erichanwang erichanwang commented Aug 10, 2026 •

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?

Yes

Are there any user-facing changes?

No.

@erichanwang
erichanwang requested a review from lidavidm as a code owner August 10, 2026 00:10
@github-actions

Copy link
Copy Markdown

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

@lidavidm lidavidm 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-actions github-actions Bot 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

Copilot AI balanced review requested due to automatic review settings October 14, 2026 21:10
@erichanwang
erichanwang force-pushed the fix/odbc-sqlgetinfo-tests-50828 branch from f4bda93 to 6ef3bbd Compare October 14, 2026 21:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@lidavidm
lidavidm requested a balanced review from Copilot October 15, 2026 01:56
@github-actions

Copy link
Copy Markdown

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The focused test additions match the requested capability expectations, with no unresolved findings.

0 open findings

🧠 Review effort: Balanced

@lidavidm
lidavidm merged commit ca5564e into apache:main Oct 15, 2026
67 of 70 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label Oct 15, 2026
Sign up for free to 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

3 participants