Skip to content

Add parallel import support for the Exasol connector#29055

Open
kaklakariada wants to merge 3 commits intotrinodb:masterfrom
kaklakariada:parallel-import-rebased
Open

Add parallel import support for the Exasol connector#29055
kaklakariada wants to merge 3 commits intotrinodb:masterfrom
kaklakariada:parallel-import-rebased

Conversation

@kaklakariada
Copy link
Copy Markdown
Member

@kaklakariada kaklakariada commented Apr 9, 2026

Description

This change adds an Exasol-specific parallel page source that uses Exasol JDBC parallel connections to read result sets through multiple worker connections. The feature is configurable at both catalog and session level, and remains disabled by default.

Closes #29014

Additional context and related issues

  • Added Exasol connector config exasol.parallel-connections.worker-count
  • Added session property parallel_connections_worker_count
  • Wired a custom ConnectorPageSourceProvider for Exasol
  • Added ExasolParallelPageSource to coordinate parallel reads from worker connections
  • Added ExasolResultHandlePageSource to read from an Exasol result handle on each subconnection
  • Added ParallelConnectionFactory to request and open Exasol worker connections
  • Added BufferedSourcePageQueue for coordinating pages produced by parallel readers
  • Added connector docs describing configuration, session override, and operational caveats

Behavior

  • worker-count = 0 keeps the current single-connection behavior
  • worker-count >= 2 enables Exasol parallel connections for imports
  • worker-count = 1 uses the custom page source with a single worker, mainly for testing

Release notes

( ) 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.
(x) Release notes are required, with the following suggested text:

## Exasol connector
* Improved import performance by using Exasol JDBC parallel connections. ({issue}`29014`)

@cla-bot cla-bot bot added the cla-signed label Apr 9, 2026
@github-actions github-actions bot added docs exasol Exasol connector labels Apr 9, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 270bfbe317

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Bound the buffered source page queue used by Exasol parallel imports so
producer threads cannot enqueue pages without limit. Update queue tests
to cover blocking behavior with the larger buffer size.
Add a utility that extracts the host from the configured JDBC URL,
retrieves the server TLS certificate, and computes its SHA-256
fingerprint. Use that fingerprint when creating parallel worker
connections so validateservercertificate can be enabled instead of
disabled.
@kaklakariada
Copy link
Copy Markdown
Member Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ccbdcbd582

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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

Labels

Development

Successfully merging this pull request may close these issues.

Improve import speed for Exasol connector

1 participant