From c4c5e26fc9af284cc969e1f86086568749d082bd Mon Sep 17 00:00:00 2001 From: Vikrant Puppala Date: Tue, 20 Oct 2026 08:05:06 +0000 Subject: [PATCH] GH-54645: [C++][FlightRPC][ODBC] Fix descriptor test query 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 --- cpp/src/arrow/flight/sql/odbc/tests/statement_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/flight/sql/odbc/tests/statement_test.cc b/cpp/src/arrow/flight/sql/odbc/tests/statement_test.cc index 6ae2cdbbbc3..ae9e37239fb 100644 --- a/cpp/src/arrow/flight/sql/odbc/tests/statement_test.cc +++ b/cpp/src/arrow/flight/sql/odbc/tests/statement_test.cc @@ -1789,7 +1789,7 @@ TYPED_TEST(StatementTest, TestChangingAppRowDescriptorRebindsColumns) { ASSIGN_SQLWCHAR_ARR_AND_LEN(wsql, LR"( - SELECT 1 AS value + SELECT 1 AS val UNION ALL SELECT 2 UNION ALL SELECT 3; )");