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.2.4 to 0.3.1-patch in /modules/clickhouse #4190

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2021

Bumps clickhouse-jdbc from 0.2.4 to 0.3.1-patch.

Release notes

Sourced from clickhouse-jdbc's releases.

Release v0.3.1-patch

This is a patch release for fixing below critical issues introduced in previous release.

  • incorrect database was used in DDL - see issue #648
  • batch insert without any parameter didn't work - see PR #655
  • negative decimal128/256 was not handled correctly - see issue #665

Release v0.3.1

This is a feature release with breaking changes and known issues(expected to be fixed in 0.3.2). It's NOT recommended to upgrade if you feel comfortable with 0.2.x. If your work relies on non-JDBC APIs, you may want to wait until we're done with the refactoring in 0.4.0.

  • KNOWN ISSUES
    • Incorrect DateTime is sent to ClickHouse when server/column timezone is not UTC - #623 Note: a workaround is to use unix timestamp for mutation.
    • Lost millisecond precision when inserting DateTime64 - #608
  • BREAKING CHANGES
    • move query from url to request body
    • always parse SQL(use extended API to skip that)
    • remove keepAliveTimeout and useNewParser from ClickHouseProperties
    • exclude RoaringBitmap from shaded jar
  • NEW FEATURES
    • add new connection setting useSharedCookieStore to achieve "read your writes" consistency
    • add new query parameters: allow_experimental_bigint_types, allow_experimental_map_type, and join_algorithm
    • add new format: CustomSeparated and RowBinaryWithNamesAndTypes
    • support batch processing with arbitrary query - update and delete are not recommended so there are warnings
    • support multi-statement sql - session will be used automatically and only the last result will be returned
  • BUG FIXES
    • fix 400 bad request error when dealing with large query
    • fix parser issue when DESC statement contains alias

Release v0.3.0

This is a feature release with enhancements and breaking changes. It's NOT recommended to upgrade if you feel comfortable with 0.2.x. If your work relies on non-JDBC APIs, you may want to wait until we're done with the refactoring in 0.4.0.

  • BREAKING CHANGES
    • dropped JDK 7 support
    • removed Guava dependency - please use long/BigInteger to deal with UInt64 instead of UnsignedLong
  • NEW FEATURES
    • JDBC 4.2 support

    • add connection setting client_name for load-balancing and troubleshooting

    • add writeBytes & writeUUIDArray and remove UnsignedLong related methods in ClickHouseRowBinaryStream

    • support more data types: IPv4, IPv6, Int128, UInt128, Int256, UInt256, Decimal256, DateTime*, and Map

    • support ORC/Parquet streaming

    • support read/write Bitmap from/into AggregateFunction(groupBitmap, UInt[8-64]) column

      // use JDBC interface - NOT recommended before 0.3.1
      try (PreparedStatement statement = connection.prepareStatement("insert into my_bitmap_table values(..., ?, ...)")) {
          ...
          // RoaringBitmap bitmap = RoaringBitmap.bitmapOf(1,2,3,...);
          s.setObject(index++, ClickHouseBitmap.wrap(bitmap, ClickHouseDataType.UInt32));
          ...

... (truncated)

Changelog

Sourced from clickhouse-jdbc's changelog.

0.3.1

  • BREAKING CHANGE - move query from url to request body
  • BREAKING CHANGE - always parse SQL(use extended API to skip that)
  • BREAKING CHANGE - remove keepAliveTimeout and useNewParser from ClickHouseProperties
  • BREAKING CHANGE - exclude RoaringBitmap from shaded jar
  • add new connection setting useSharedCookieStore for load balancing
  • add new query parameters: allow_experimental_bigint_types, allow_experimental_map_type, and join_algorithm
  • add new format: CustomSeparated and RowBinaryWithNamesAndTypes
  • fix 400 bad request error when dealing with large query
  • fix parser issue when DESC statement contains alias
  • support batch processing with arbitrary query - update and delete are not recommended so there'll be warnings
  • support multi-statement sql - session will be used automatically and only the last result will be returned 0.3.0
  • BREAKING CHANGE - dropped JDK 7 support
  • BREAKING CHANGE - removed Guava dependency(and so is UnsignedLong)
  • JDBC 4.2 support
  • add connection setting client_name for load-balancing and troubleshooting
  • add writeBytes & writeUUIDArray and remove UnsignedLong related methods in ClickHouseRowBinaryStream
  • support more data types: IPv4, IPv6, Int128, UInt128, Int256, UInt256, Decimal256, DateTime*, and Map
  • support ORC/Parquet streaming
  • support read/write Bitmap from/into AggregateFunction(groupBitmap, UInt[8-64]) column
  • throw SQLException instead of RuntimeException when instantiating ClickHouseConnectionImpl
  • fix error when using ClickHouseCompression.none against 19.16
  • fix NegativeArraySizeException when dealing with large array
  • fix datetime/date display issue caused by timezone differences(between client and column/server) 0.2.6
  • add new feature for sending compressed files/streams
  • introduce an experimental SQL parser to fix parsing related issues - set connection setting use_new_parser to false to disable
  • restore String[] getColumnNames() method for backward compatibility
  • retry idempotent operation up to 3 times when server closed connection - set connection setting maxRetries to zero to disable
  • return inserted rows(not accurate) when query parameter send_progress_in_http_headers is set to true
  • set socket timeout in ClickHouseConnectionImpl.isValid()
  • upgrade to lz4-java and improve performance of LZ4 stream
  • use HTTP Basic Auth for credentials instead of query parameters
  • use static version instead of property-based revision in pom.xml 0.2.5
  • bump dependencies and include lz4 in shaded jar
  • new API: ClickHouseRowBinaryStream.writeUInt64Array(UnsignedLong[])
  • support column comments
  • support explain queries
  • fix keep-alive timeout issue by reusing validated connection
  • fix ResultSet.findColumn(String) issue
  • fix the issue of not being able to use NULL constant in PreparedStatement
  • fix toLowerCase issue for Turkish
Commits
  • 537d7ec Merge pull request #667 from zhicwu/update-test-case
  • 7e3ccd0 Fix build failure caused by new version of ClickHouse
  • 14384ae Merge pull request #666 from zhicwu/negative-decimal
  • 4e67c9c Fix the issue of handling negative big decimals
  • d0af95b Fix table format issue
  • 5a5fb7d Merge pull request #659 from findepi/findepi/return-proper-error-when-user-tr...
  • d813994 fixup! Return proper error when user tries to enable transactions
  • 6320772 Merge pull request #658 from findepi/findepi/return-correct-value-from-getaut...
  • 259682e Return proper error when user tries to enable transactions
  • 5ca9485 Return correct value from getAutoCommit
  • 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 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)

Bumps [clickhouse-jdbc](https://github.com/ClickHouse/clickhouse-jdbc) from 0.2.4 to 0.3.1-patch.
- [Release notes](https://github.com/ClickHouse/clickhouse-jdbc/releases)
- [Changelog](https://github.com/ClickHouse/clickhouse-jdbc/blob/master/CHANGELOG)
- [Commits](ClickHouse/clickhouse-java@release_0.2.4...v0.3.1-patch)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java labels Jun 9, 2021
@rnorth rnorth mentioned this pull request Jun 10, 2021
@rnorth rnorth merged commit d1cf0c5 into master Jun 10, 2021
@delete-merged-branch delete-merged-branch bot deleted the dependabot/gradle/modules/clickhouse/ru.yandex.clickhouse-clickhouse-jdbc-0.3.1-patch branch June 10, 2021 08:18
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.

None yet

1 participant