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

Improve JDBC performance + spooling polishing #23954

Merged
merged 15 commits into from
Oct 29, 2024
Merged

Conversation

wendigo
Copy link
Contributor

@wendigo wendigo commented Oct 29, 2024

cc @mdesmet

Description

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Oct 29, 2024
@wendigo wendigo requested a review from losipiuk October 29, 2024 11:45
@github-actions github-actions bot added the jdbc Relates to Trino JDBC driver label Oct 29, 2024
@wendigo wendigo changed the title Serafin/jdbc improvements Improve JDBC performance Oct 29, 2024
@wendigo wendigo force-pushed the serafin/jdbc-improvements branch from cc111a0 to 06b52bb Compare October 29, 2024 13:40
@wendigo wendigo force-pushed the serafin/jdbc-improvements branch 2 times, most recently from 3354653 to 56111a7 Compare October 29, 2024 16:08
@wendigo wendigo changed the title Improve JDBC performance Improve JDBC performance + spooling polishing Oct 29, 2024
@ConfigDescription("256 bit, base64-encoded secret key used to secure segment identifiers")
@Config("protocol.spooling.shared-secret-key")
@ConfigSecuritySensitive
public SpoolingConfig setSharedEncryptionKey(String sharedEncryptionKey)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: make getter and config name in line

@wendigo wendigo force-pushed the serafin/jdbc-improvements branch 2 times, most recently from d951b59 to 91ecb9c Compare October 29, 2024 18:50
This avoids a round-trip Slice -> String -> UTF-8 byte[] written by Jackson
@wendigo wendigo force-pushed the serafin/jdbc-improvements branch from 91ecb9c to b875959 Compare October 29, 2024 18:54
@wendigo wendigo merged commit b69d220 into master Oct 29, 2024
116 checks passed
@wendigo wendigo deleted the serafin/jdbc-improvements branch October 29, 2024 19:51
@github-actions github-actions bot added this to the 464 milestone Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed jdbc Relates to Trino JDBC driver
Development

Successfully merging this pull request may close these issues.

2 participants