Skip to content

GH-54645: [C++][FlightRPC][ODBC] Fix descriptor test query - #54695

Merged
kou merged 1 commit into
apache:mainfrom
vikrantpuppala:fix-54645-odbc-remote-descriptor-test
Oct 21, 2026
Merged

kou merged 1 commit into
apache:mainfrom
vikrantpuppala:fix-54645-odbc-remote-descriptor-test

Conversation

@vikrantpuppala

@vikrantpuppala vikrantpuppala commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Rationale for this change

The Dremio-backed ODBC test suite fails in StatementTest/1.TestChangingAppRowDescriptorRebindsColumns because Dremio treats VALUE as a reserved keyword. The same query succeeds against the SQLite mock, so the failure was only exposed by the remote suite.

What changes are included in this PR?

Rename the test query alias from value to val, which is accepted by both SQLite and Dremio.

Are these changes tested?

Yes. Ran the Ubuntu 24.04 CI-equivalent ODBC job locally:

UBUNTU=24.04 docker compose run --rm ubuntu-cpp-odbc

All 61 C++ test executables passed, including the Dremio-backed arrow-flight-sql-odbc-test.

Maintainer note: please apply the CI: Extra: C++ label so the ODBC CI job runs.

Are there any user-facing changes?

No. This is a test-only compatibility fix.

Was AI used for this PR?

In accordance to the AI generation guidelines, AI was used to investigate the failure, prepare the one-line test fix, run validation, and draft this description.

PR code and description written by:

  • Human
  • AI

Reviewed before submission by:

  • Human
  • AI
  • Not reviewed

Closes #54645.

Dremio treats VALUE as a reserved keyword, which makes the remote descriptor lifecycle test fail during query execution. Use an alias accepted by both the SQLite mock and Dremio.

Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
@github-actions

Copy link
Copy Markdown

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

@alinaliBQ alinaliBQ left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The change LGTM, I added the CI: Extra: C++ label to invoke the ODBC tests

@github-actions github-actions Bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Oct 20, 2026

@alinaliBQ alinaliBQ left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1

ODBC Linux CI passed. The ARM64 macOS ODBC failures are a separate issue - #54638

@vikrantpuppala

Copy link
Copy Markdown
Contributor Author

@lidavidm could we merge this please?

@kou kou 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.

+1

@kou
kou merged commit a4b74e5 into apache:main Oct 21, 2026
100 of 102 checks passed
@kou kou removed the awaiting committer review Awaiting committer review label Oct 21, 2026
@github-actions github-actions Bot added the awaiting merge Awaiting merge label Oct 21, 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] StatementTest/1.TestChangingAppRowDescriptorRebindsColumns fails on CI

3 participants