Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java][Flight] Try multiple locations in JDBC when using getStream #38573

Closed
jduo opened this issue Nov 3, 2023 · 0 comments · Fixed by #40104
Closed

[Java][Flight] Try multiple locations in JDBC when using getStream #38573

jduo opened this issue Nov 3, 2023 · 0 comments · Fixed by #40104

Comments

@jduo
Copy link
Member

jduo commented Nov 3, 2023

Describe the enhancement requested

Currently the JDBC driver will only try the first Location when calling getStream() on endpoints returned by getFlightInfo(). If there's an error connecting or getting data. at the first location, the driver treats this as fatal instead of trying another Location in the list.

Component(s)

FlightRPC, Java

@lidavidm lidavidm self-assigned this Feb 16, 2024
lidavidm added a commit that referenced this issue Feb 21, 2024
### Rationale for this change

This brings the JDBC driver up to par with other Flight SQL clients.

### What changes are included in this PR?

Try multiple locations for the Flight SQL driver.

### Are these changes tested?

Yes

### Are there any user-facing changes?

No

* Closes: #38573

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
@lidavidm lidavidm added this to the 16.0.0 milestone Feb 21, 2024
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this issue Feb 28, 2024
…pache#40104)

### Rationale for this change

This brings the JDBC driver up to par with other Flight SQL clients.

### What changes are included in this PR?

Try multiple locations for the Flight SQL driver.

### Are these changes tested?

Yes

### Are there any user-facing changes?

No

* Closes: apache#38573

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
thisisnic pushed a commit to thisisnic/arrow that referenced this issue Mar 8, 2024
…pache#40104)

### Rationale for this change

This brings the JDBC driver up to par with other Flight SQL clients.

### What changes are included in this PR?

Try multiple locations for the Flight SQL driver.

### Are these changes tested?

Yes

### Are there any user-facing changes?

No

* Closes: apache#38573

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants