You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 054c7b8
Browse filesBrowse the repository at this point in the historyBrowse files
## What Changed
- This change simplifies the Flight SQL JDBC request flow for
`Statement.executeQuery/executeUpdate` avoiding the `PreparedStatement`
request flow
- Preserved the current requirement that `Statement.execute(String)`
still flows through PreparedStatement
- Right now, Arrow Flight does not offer a good solution for this use
case. There is no way for the client to disambiguate between a
`CommandStatementUpdate` or `CommandStatemenQuery` without doing a
server call
- Moved prepared-statement-specific creation and execution concerns into
`ArrowFlightPreparedStatement`
- Similarly, created `ArrowFlightStatement` with specific logic to
handle `Statements`
- Removed statement/prepared-statement construction details and logic
from `ArrowFlightMetaImpl`. `ArrowFlightMetaImpl` was left it focused on
orchestration
Closes#62.
This PR was assisted by AI
---------
Co-authored-by: JB Onofré <jbonofre@apache.org>
Copy file name to clipboardExpand all lines: flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcFlightStreamResultSet.java
Copy file name to clipboardExpand all lines: flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/ArrowFlightJdbcVectorSchemaRootResultSet.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ public static ArrowFlightJdbcVectorSchemaRootResultSet fromVectorSchemaRoot(
0 commit comments