testcontainers / testcontainers/testcontainers-java

Clickhouse via MySQL protocol

Open
#3,827 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted modules/clickhouse
Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

I would like to contribute an improevemnt for the clickhouse module but I am unsure how to package it.

Clickhouse supports 3 ways of connecting:

  • JDBC (basically only a wrapper around HTTP)
  • Native protocol (CLI only)
  • HTTP
  • MySQL protocol
  • PostgreSQL protocol

The current module supports:

  • JDBC (basically only a wrapper around HTTP)

I'd like to provide a PR supporting MySQL (already got it working) and maybe even PostgreSQL but I am unsure how to package this.
The JdbcDatabaseContainer is tied to a specific driver (the one from yandex).
Would you rather have individual containers for each one?
have a highly configurable container covering all areas?
Any example fdrom an existing module that comes to mind?

Cheers,
Jochen

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing ClickHouse module and JdbcDatabaseContainer, since the issue does not name specific files or tests. Compare how other modules package alternate database drivers and protocols. Done requires an agreed packaging approach and support for the requested ClickHouse MySQL protocol, with PostgreSQL remaining optional.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, docker, java
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.