Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feature Request]: Add read() support to Java ClickHouseIO (currently write-only)

オープン
#40,048 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@nitinware がすでに取り組んでいます。

2026年9月7日 から。

評価

この issue はまだ評価されていません。

説明

io java new feature P2
What would you like to happen?

Motivation

The Java ClickHouseIO connector at sdks/java/io/clickhouse/ currently supports only writes. Reading from ClickHouse in a Beam pipeline requires falling back to JdbcIO with the ClickHouse JDBC driver, which loses ClickHouse-specific schema fidelity (LowCardinality, Array(T), Nullable(T), Nested, tuples) and native columnar transport.

Proposal

Add ClickHouseIO.read() and ClickHouseIO.readAll() PTransforms symmetric to the existing write path:

  • Native Row output using the ClickHouse client's native format
  • Query/projection via user-supplied SELECT template
  • Splittable reader for parallel reads across partitions / shards,
    modeled on JdbcIO's splitting pattern
  • Reuse the existing connection configuration builder from the writer

Benefits

  • Closes an obvious read/write asymmetry — every other major DB IO in
    Beam (JDBC, Cassandra, Mongo, HBase, Spanner, BigQuery, Snowflake)
    supports both directions
  • ClickHouse is increasingly common as an analytics source; users
    currently work around this with JdbcIO at the cost of type fidelity

Testing plan

  • Unit tests mirroring the existing writer test file
  • Integration test using the module's existing testcontainers-based
    ClickHouse setup (ClickHouseContainer is already wired in build.gradle)
  • No new dependencies required
Issue Priority

Priority: 2 (default / most feature requests should be filed as P2)

Issue Components
  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Prism Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
主要言語
Java
スター
8.7k
フォーク
4.7k
平均マージ
2日 7時間
マージ済み PR(30日)
290

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/beam のほかの issue

apache/beam の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。