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

build(deps): bump com.clickhouse:clickhouse-jdbc from 0.6.5 to 0.7.0 #2319

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2024

Bumps com.clickhouse:clickhouse-jdbc from 0.6.5 to 0.7.0.

Release notes

Sourced from com.clickhouse:clickhouse-jdbc's releases.

Release v0.7.0

Deprecations

  • Following deprecated components are removed:
    • clickhouse-cli-client
    • clickhouse-grpc-client

Important Changes

  • [client-v2] New transport layer implementation is used by default. It is still possible to switch back using old implementation by setting com.clickhouse.client.api.Client.Builder#useNewImplementation to false. (ClickHouse/clickhouse-java#1847)

New Features

  • [client-v2] Now there is an easy way to set custom HTTP headers globally for client and per operation. See com.clickhouse.client.api.Client.Builder.httpHeader(java.lang.String, java.lang.String) for details. (ClickHouse/clickhouse-java#1782)
  • [client-v2] Now there is a way to set any server settings globally for client and per operation. See com.clickhouse.client.api.Client.Builder.serverSetting(java.lang.String, java.lang.String) for details. (ClickHouse/clickhouse-java#1782)
  • [client-v2] Added support for writing AggregateFunction values (bitmap serialization). !! Reading is not supported but will be added in the next release. (ClickHouse/clickhouse-java#1814)
  • [r2dbc] Defer connection creation. This allows pool to create a new instance on every subscription, instead of always returning the same one. (ClickHouse/clickhouse-java#1810)

Performance Improvements

  • [client-v2] Improved reading fixed length data like numbers. It is possible to configure readers to use pre-allocated buffers to avoid memory allocation for each data row/block. Significantly reduces GC pressure. See com.clickhouse.client.api.Client.Builder.allowBinaryReaderToReuseBuffers for details. (ClickHouse/clickhouse-java#1816)
  • [client-v2] New API method introduced to read data directly to a POJO. Deserializers for POJO classes are compiled into bytecode (with help of https://asm.ow2.io/ library) and optimized for each schema. It is great performance boost because data is read without copying it into temporary structures. Code can be optimized by JVM while runtime as SerDe code is implemented without reflection using JVM bytecode. Using bytecode makes handling primitive types without values boxing. (ClickHouse/clickhouse-java#1794, ClickHouse/clickhouse-java#1826)
  • [client-v2] Optimized reading columns - internally data is read into map of column-values. It is done to allow reading same column more than once. Previously map was cleared each row what caused a lot internal objects creation. Now values are overridden because schema doesn't change between rows. (ClickHouse/clickhouse-java#1795)

Documentation

Bug Fixes

Changelog

Sourced from com.clickhouse:clickhouse-jdbc's changelog.

0.7.0

Deprecations

  • Following deprecated components are removed:
    • clickhouse-cli-client
    • clickhouse-grpc-client

Important Changes

  • [client-v2] New transport layer implementation is used by default. It is still possible to switch back using old implementation by setting com.clickhouse.client.api.Client.Builder#useNewImplementation to false. (ClickHouse/clickhouse-java#1847)

New Features

  • [client-v2] Now there is an easy way to set custom HTTP headers globally for client and per operation. See com.clickhouse.client.api.Client.Builder.httpHeader(java.lang.String, java.lang.String) for details. (ClickHouse/clickhouse-java#1782)
  • [client-v2] Now there is a way to set any server settings globally for client and per operation. See com.clickhouse.client.api.Client.Builder.serverSetting(java.lang.String, java.lang.String) for details. (ClickHouse/clickhouse-java#1782)
  • [client-v2] Added support for writing AggregateFunction values (bitmap serialization). !! Reading is not supported but will be added in the next release. (ClickHouse/clickhouse-java#1814)
  • [r2dbc] Defer connection creation. This allows pool to create a new instance on every subscription, instead of always returning the same one. (ClickHouse/clickhouse-java#1810)

Performance Improvements

  • [client-v2] Improved reading fixed length data like numbers. It is possible to configure readers to use pre-allocated buffers to avoid memory allocation for each data row/block. Significantly reduces GC pressure. See com.clickhouse.client.api.Client.Builder.allowBinaryReaderToReuseBuffers for details. (ClickHouse/clickhouse-java#1816)
  • [client-v2] New API method introduced to read data directly to a POJO. Deserializers for POJO classes are compiled into bytecode (with help of https://asm.ow2.io/ library) and optimized for each schema. It is great performance boost because data is read without copying it into temporary structures. Code can be optimized by JVM while runtime as SerDe code is implemented without reflection using JVM bytecode. Using bytecode makes handling primitive types without values boxing. (ClickHouse/clickhouse-java#1794, ClickHouse/clickhouse-java#1826)
  • [client-v2] Optimized reading columns - internally data is read into map of column-values. It is done to allow reading same column more than once. Previously map was cleared each row what caused a lot internal objects creation. Now values are overridden because schema doesn't change between rows. (ClickHouse/clickhouse-java#1795)

Documentation

Bug Fixes

Commits
  • a499238 Merge pull request #1849 from ClickHouse/fix_info_log
  • 7e3c531 remove info log for end of stream
  • e48deeb Update pom.xml
  • 616ddb8 Merge pull request #1848 from ClickHouse/pre_0.7.0
  • de62ebe fixed a few minor things
  • 23d5b76 small update
  • 21417e4 Updated version and changelog
  • 18a6550 Merge pull request #1826 from ClickHouse/clientv2_primitive_reader
  • 27e2613 Merge pull request #1841 from ClickHouse/clientv2_custom_headers
  • 8baa9d8 Merge pull request #1847 from ClickHouse/clientv2_make_newimpl_default
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Oct 7, 2024
@github-actions github-actions bot enabled auto-merge October 7, 2024 06:37
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from cf94034 to dcfcc0d Compare October 7, 2024 06:41
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from dcfcc0d to be39d9d Compare October 7, 2024 06:47
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from be39d9d to c129191 Compare October 7, 2024 06:53
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from c129191 to 5e82293 Compare October 7, 2024 06:59
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 5e82293 to 914bf1c Compare October 7, 2024 07:05
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 914bf1c to b02e2aa Compare October 7, 2024 07:11
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from b02e2aa to a50d57a Compare October 14, 2024 06:53
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from a50d57a to eb5f693 Compare October 14, 2024 06:58
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from eb5f693 to 1dd2a94 Compare October 14, 2024 07:04
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 1dd2a94 to 4a643a8 Compare October 14, 2024 07:09
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 4a643a8 to 912d00b Compare October 14, 2024 07:15
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 912d00b to 90fc3cd Compare October 14, 2024 07:21
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 90fc3cd to 9122479 Compare October 14, 2024 07:27
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 87b09d0 to 9425cb9 Compare October 22, 2024 13:41
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 9425cb9 to 1909ba4 Compare October 22, 2024 13:48
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 1909ba4 to c178f6d Compare October 22, 2024 13:54
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from c178f6d to 8d88e5e Compare October 22, 2024 14:00
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 8d88e5e to 520f7a4 Compare October 28, 2024 06:27
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 520f7a4 to c5f1e48 Compare October 28, 2024 06:33
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from c5f1e48 to 58977ea Compare October 28, 2024 06:39
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 58977ea to 961619a Compare October 28, 2024 06:45
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 961619a to 675948e Compare October 28, 2024 06:51
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 675948e to bbd2d67 Compare October 28, 2024 06:56
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from bbd2d67 to 6c4a1d2 Compare October 28, 2024 07:02
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

Bumps [com.clickhouse:clickhouse-jdbc](https://github.com/ClickHouse/clickhouse-java) from 0.6.5 to 0.7.0.
- [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.6.5...v0.7.0)

---
updated-dependencies:
- dependency-name: com.clickhouse:clickhouse-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch from 6c4a1d2 to 60c0aa8 Compare October 28, 2024 07:08
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

I'm approving this pull request because it includes a patch or minor update

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 4, 2024

Superseded by #2375.

@dependabot dependabot bot closed this Nov 4, 2024
auto-merge was automatically disabled November 4, 2024 06:22

Pull request was closed

@dependabot dependabot bot deleted the dependabot/maven/com.clickhouse-clickhouse-jdbc-0.7.0 branch November 4, 2024 06:22
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants