Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BDX-645 POC for progressive
PollFlightInfoconsumption in Arrow Java JDBC without changing the JDBC API.ResultSetwhen the first endpoint is published.ResultSet.next()exhausts current endpoints.ResultSet.next()boundary; no fallback or re-execution.UNIMPLEMENTEDfallback/cache, connection opt-out, one operation deadline, and best-effort cancellation on cancel or incomplete close.Progressive request flow
sequenceDiagram participant App as JDBC application participant Driver as JDBC driver participant Server as Flight SQL server App->>Driver: executeQuery Driver->>Server: PollFlightInfo original Server-->>Driver: Endpoint 1 and continuation Driver-->>App: Existing ResultSet App->>Driver: next Driver->>Server: DoGet endpoint 1 Server-->>Driver: Row 1 Driver-->>App: Row 1 App->>Driver: next Driver->>Server: PollFlightInfo continuation Server-->>Driver: Endpoint 1 plus endpoint 2 Driver->>Server: DoGet endpoint 2 Server-->>Driver: Row 2 Driver-->>App: Row 2Validation
Poll, DoGet, Poll, DoGet, Poll, DoGet.Feasibility: yes, with documented Java helper/API-boundary limitations.
Jira: BDX-645
Fixture: dremio-employees/helder.gregorio#7