Skip to content

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

Open
vikrantpuppala wants to merge 1 commit into
apache:mainfrom
vikrantpuppala:fix-54645-odbc-remote-descriptor-test
Open

vikrantpuppala wants to merge 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.

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

1 participant