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

[WIP][SPARK-38116] Add auto commit option to JDBC PostgreSQL driver and set the option false default #35424

Closed
wants to merge 1 commit into from

Conversation

yoda-mon
Copy link
Contributor

@yoda-mon yoda-mon commented Feb 7, 2022

What changes were proposed in this pull request?

Add autoCommit option to JDBC connector for fetch operations and set false as default.

Why are the changes needed?

By default auto commit option set to true and it consume huge resource when reading large datasets from Postgres.

Does this PR introduce any user-facing change?

Yes, users can chose autocommit to true or false when reading from Postgres

How was this patch tested?

build/sbt
project sql
testOnly *Postgres*

@github-actions github-actions bot added the SQL label Feb 7, 2022
@yoda-mon yoda-mon changed the title [WIP][SPARK-38116] Add auto commit option to JDBC PostgreSQL driver and set the option false default [SPARK-38116] Add auto commit option to JDBC PostgreSQL driver and set the option false default Feb 8, 2022
@yoda-mon yoda-mon changed the title [SPARK-38116] Add auto commit option to JDBC PostgreSQL driver and set the option false default [WIP][SPARK-38116] Add auto commit option to JDBC PostgreSQL driver and set the option false default Feb 8, 2022
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@github-actions
Copy link

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label May 20, 2022
@github-actions github-actions bot closed this May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants