Skip to content

Conversation

vanja-vujovic-db
Copy link
Contributor

What changes were proposed in this pull request?

JDBC connectors open more connections to remote engines than needed. After logging the results, from 2-4 connections open up while doing a sql(...) command. The 2 connections always invoked both come from JDBCTableCatalog, so connection sharing between those 2 is created.

Why are the changes needed?

To reduce query time.

Does this PR introduce any user-facing change?

How was this patch tested?

Locally.

Was this patch authored or co-authored using generative AI tooling?

@github-actions github-actions bot added the SQL label Aug 12, 2025
@HyukjinKwon
Copy link
Member

Let's file a JIRA and add it to the PR title.

@vanja-vujovic-db vanja-vujovic-db changed the title Reducing number of JDBC overhead connections creation [SPARK-53260]Reducing number of JDBC overhead connections creation Aug 13, 2025
@cloud-fan cloud-fan changed the title [SPARK-53260]Reducing number of JDBC overhead connections creation [SPARK-53260][SQL] Reducing number of JDBC overhead connections creation Aug 20, 2025
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@cloud-fan cloud-fan closed this in ee619d3 Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants