From 75487bd9dc1fdb4571f387519fb45cc53e6236b1 Mon Sep 17 00:00:00 2001 From: Devin Smith Date: Thu, 15 Aug 2024 14:10:31 -0700 Subject: [PATCH] GH-43717: [Java][FlightSQL] Add all ActionTypes to FlightSqlUtils.FLIGHT_SQL_ACTIONS Fixes #43717 --- .../org/apache/arrow/flight/sql/FlightSqlUtils.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/FlightSqlUtils.java b/java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/FlightSqlUtils.java index 9bb95047691ae..9e13e57d66c65 100644 --- a/java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/FlightSqlUtils.java +++ b/java/flight/flight-sql/src/main/java/org/apache/arrow/flight/sql/FlightSqlUtils.java @@ -82,7 +82,15 @@ public final class FlightSqlUtils { + "Response Message: N/A"); public static final List FLIGHT_SQL_ACTIONS = - ImmutableList.of(FLIGHT_SQL_CREATE_PREPARED_STATEMENT, FLIGHT_SQL_CLOSE_PREPARED_STATEMENT); + ImmutableList.of( + FLIGHT_SQL_BEGIN_SAVEPOINT, + FLIGHT_SQL_BEGIN_TRANSACTION, + FLIGHT_SQL_CREATE_PREPARED_STATEMENT, + FLIGHT_SQL_CLOSE_PREPARED_STATEMENT, + FLIGHT_SQL_CREATE_PREPARED_SUBSTRAIT_PLAN, + FLIGHT_SQL_CANCEL_QUERY, + FLIGHT_SQL_END_SAVEPOINT, + FLIGHT_SQL_END_TRANSACTION); /** * Helper to parse {@link com.google.protobuf.Any} objects to the specific protobuf object.