Skip to content

ClickHouse JDBC driver 0 5+ support#149

Merged
rsim merged 8 commits into
masterfrom
improvement/clickhouse_jdbc_driver_0_9
Jan 25, 2026
Merged

ClickHouse JDBC driver 0 5+ support#149
rsim merged 8 commits into
masterfrom
improvement/clickhouse_jdbc_driver_0_9

Conversation

@rsim
Copy link
Copy Markdown
Owner

@rsim rsim commented Jan 24, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds support for ClickHouse JDBC driver version 0.5+ while maintaining backward compatibility with version 0.4.x. The driver API changed significantly between these versions, requiring updates to how dependencies are loaded and how data is imported.

Changes:

  • Updated ClickHouse JDBC driver loading to include SLF4J dependencies required by version 0.5+
  • Added compatibility layer for data import that detects driver version and uses appropriate API
  • Simplified jar file ignore patterns and updated documentation

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
spec/support/jars/.gitignore Simplified ignore patterns to match all jar files
spec/spec_helper.rb Added SLF4J jar loading, updated create_table signatures, added global JDBC adapter patches
spec/rake_tasks.rb Added version detection and compatibility layer for ClickHouse data import API
RUNNING_TESTS.rdoc Updated documentation to reference clickhouse-jdbc-*-all.jar instead of *-shaded.jar
AGENTS.md Added mise tool configuration guidelines (unrelated to PR purpose)
.rubocop.yml Renamed Lint/EndAlignment to Layout/EndAlignment (unrelated to PR purpose)

Comment thread AGENTS.md
Comment thread .rubocop.yml
Comment thread spec/spec_helper.rb
Comment thread spec/rake_tasks.rb
@rsim rsim merged commit 22c2add into master Jan 25, 2026
6 checks passed
@rsim rsim deleted the improvement/clickhouse_jdbc_driver_0_9 branch January 25, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants