Skip to content

Conversation

@scruz-denodo
Copy link

@scruz-denodo scruz-denodo commented Jul 17, 2024

Rationale for this change

Changes for solving issue apache/arrow-java#66. See that issue for details of the problem.

What changes are included in this PR?

Do not close the clientHandler twice at org.apache.arrow.driver.jdbc.ArrowFlightConnection#close. Second call should be removed because it clientHandler is already closed and the executor is shutdown.

Also, I changed the condition for calling to org.apache.arrow.flight.sql.FlightSqlClient#closeSession method. I do not see a reason why it has to be done only with the catalog was set.

Are these changes tested?

Still TODO. PR marked as draft for this reason.

Are there any user-facing changes?

Users can start to receive a SQLException when calling org.apache.arrow.driver.jdbc.ArrowFlightConnection#close.

… SQLException when using catalog as parameter #43305
@github-actions
Copy link

⚠️ GitHub issue apache/arrow-java#66 has been automatically assigned in GitHub to PR creator.

@github-actions
Copy link

⚠️ GitHub issue #43305 has no components, please add labels for components.

@HackPoint
Copy link
Contributor

@CurtHagenlocher this PR is waiting too. Can we somehow help with anything to make the progress be faster? I

@jeremyosterhoudt can you please help the team review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants