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

Bump clickhouse-jdbc from 0.3.2-patch11 to 0.6.0-patch5 #1719

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2023

Update

Going a step further, from the suggested dependeabot 0.4.6 to the latest 0.6.0-patch5.
Adds LZ4 lib for compression.
Upgrades the container to the latest 24.5.1

Original description

Bumps clickhouse-jdbc from 0.3.2-patch11 to 0.4.6.

Release notes

Sourced from clickhouse-jdbc's releases.

Release v0.4.6

This is a patch release mainly for bug fixes. It's highly recommended to upgrade, especially when you're using nested arrays, or client certificate authentication with password protection.

  • 🐛 Bug Fix

    • Too many socket fds generated by Apache HttpClient - by @​JackyWoo
    • NoClassDefFoundError with clickhouse-apache-http-client-jdbc - #1319 by @​JackyWoo
    • Nested array in tuple array is incorrectly deserialized - #1324
    • Client certificate password exposure in exception - #1331
  • ✨ New Feature

    • ClickHouseStatement.setMirroredOutput() for dumping ResultSet
    • ClickHouseResponse.records(Class) for object mapping
    • Two new options(use_compilation & max_mapper_cache) reserved for future usage

Release v0.4.5

Another tiny release trying to unblock some of the work relying on Java client. You don't have to upgrade if you use JDBC or R2DBC driver.

  • 💥 BREAKING CHANGES

    • Refactored data processors and response classes to ensure input stream remain intact before first read - performance penalty is ~3%
      • move ClickHouseSimpleRecord to com.clickhouse.data
      • stop reading input stream when instantiating ClickHouseDataProcessor
      • remove createRecord() method in ClickHouseDataProcessor along with some duplicated code
  • 🐛 Bug Fix

    • Slow when using Apache Http Client - #1320 by @​JackyWoo
    • ClickHouseResponse.getInputStream may return closed input stream
    • ConcurrentModificationException may occur during deserialization - #1327 by @​pan3793
    • ClickHouseSslContextProvider is not customizable - #1329
  • ✨ New Feature

    • Disabled SQL rewrite for DELETE statement in ClickHouse 23.3+
  • 🎨 Misc

Release v0.4.4

Same as v0.4.3 except updated POM for the following changes:

  • bump dependencies
  • roll back Maven flatten plugin from 1.4.1 to 1.2.7

Release v0.4.3

Warning Please upgrade to v0.4.4 to resolve dependency issue.

This is a tiny release for bug fixing. Please upgrade if your work rely on text-based data format and/or R2DBC driver.

  • 🐛 Bug Fix
    • unable to convert empty string to default value when using text-based data format
    • r2dbc driver does not support most client options - #1299
    • incorrect content from Lz4InputStream when using text-based data format - ClickHouse/ClickHouse#48446

... (truncated)

Changelog

Sourced from clickhouse-jdbc's changelog.

0.4.6, 2023-05-02

New Features

  • ClickHouseStatement.setMirroredOutput() for dumping ResultSet.
  • ClickHouseResponse.records(Class) for object mapping.
  • Two new options(use_compilation & max_mapper_cache) reserved for future usage.

Bug Fixes

  • Too many socket fds generated by Apache HttpClient.
  • NoClassDefFoundError with clickhouse-apache-http-client-jdbc. #1319
  • Nested array in tuple array is incorrectly deserialized. #1324
  • client certificate password exposure in exception. #1331

0.4.5, 2023-04-25

Breaking Changes

  • refactor data processors and response classes to ensure input stream remain intact before first read:
    • move ClickHouseSimpleRecord to com.clickhouse.data
    • stop reading input stream when instantiating ClickHouseDataProcessor
    • remove createRecord() method in ClickHouseDataProcessor along with some duplicated code

New Features

  • disable SQL rewrite for DELETE statement in ClickHouse 23.3+

Bug Fixes

  • Slow when using Apache Http Client. #1320
  • ClickHouseResponse.getInputStream may return closed input stream.
  • ConcurrentModificationException may occure during deserialization. #1327
  • ClickHouseSslContextProvider is not customizable. #1329

0.4.4, 2023-04-17

Bug Fixes

  • flatten plugin 1.4.1 generated non-sense dependencies.

0.4.3, 2023-04-17

New Features

  • replace JavaCC21 with CongoCC

Bug Fixes

  • unable to convert empty string to default value when using text-based data format.
  • r2dbc driver does not support most client options. #1299
  • incorrect content from Lz4InputStream when using text-based data format #48446

0.4.2, 2023-03-21

Breaking Changes

  • ClickHouseSqlStatement and *ParserHandler in JDBC driver were refactored to support compression and infile in insert statement.

New Features

  • centralized configuration for JDBC driver using custom server setting custom_jdbc_config.
  • support BEGIN TRANSACTION, COMMIT, and ROLLBACK in JDBC driver. #975
  • new options for JDBC driver
    • databaseTerm(catalog or schema, defaults to schema) #1273

... (truncated)

Commits
  • dd91e17 Merge pull request #1346 from zhicwu/main
  • 230f199 Fix issues reported by SonarCloud
  • d2969f1 Log one more bug fix
  • b9a3f8f update description
  • 0db2a5c update readme
  • a068fc7 Merge pull request #1345 from zhicwu/main
  • e3d7847 Add tests to cover insert AggregateFunction and column with default value
  • e9b9197 Merge pull request #1344 from zhicwu/main
  • bf68187 Remove false optimization to fix deserialization issue of nested array in oth...
  • 7c5ccbe Merge pull request #1343 from zhicwu/main
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [clickhouse-jdbc](https://github.com/ClickHouse/clickhouse-java) from 0.3.2-patch11 to 0.4.6.
- [Release notes](https://github.com/ClickHouse/clickhouse-java/releases)
- [Changelog](https://github.com/ClickHouse/clickhouse-java/blob/main/CHANGELOG.md)
- [Commits](ClickHouse/clickhouse-java@v0.3.2-patch11...v0.4.6)

---
updated-dependencies:
- dependency-name: com.clickhouse:clickhouse-jdbc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the ⬆️ Dependencies Pull requests that update a dependency file label May 12, 2023
@sabieber
Copy link
Member

sabieber commented Oct 9, 2023

Most probably the same error source as in: scireum/sirius-db#569

idlira added 4 commits June 3, 2024 16:44
lz4 is the default compression now used by Clickhouse.

Fixes: SIRI-888
@idlira idlira changed the title Bump clickhouse-jdbc from 0.3.2-patch11 to 0.4.6 Bump clickhouse-jdbc from 0.3.2-patch11 to 0.6.0-patch5 Jun 3, 2024
Fixes: SIRI-888
@idlira idlira merged commit 5b30ff5 into develop Jun 4, 2024
3 checks passed
@idlira idlira deleted the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.4.6 branch June 4, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⬆️ Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants