Skip to content

Bump clickhouse-jdbc from 0.2.4 to 0.3.1 in /modules/clickhouse#458

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/modules/clickhouse/ru.yandex.clickhouse-clickhouse-jdbc-0.3.1
Closed

Bump clickhouse-jdbc from 0.2.4 to 0.3.1 in /modules/clickhouse#458
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/gradle/modules/clickhouse/ru.yandex.clickhouse-clickhouse-jdbc-0.3.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github May 3, 2021

Bumps clickhouse-jdbc from 0.2.4 to 0.3.1.

Release notes

Sourced from clickhouse-jdbc's releases.

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));
          ...
          // the actual SQL in 0.3.0 will be something like, which is also why batch insertion does not work...
          // insert into my_bitmap_table values(..., bitmapBuild([toUInt32(1),toUInt32(3),toUInt32(3),...]) ...)
          s.execute();
      }
      // use extended API - recommended in 0.3.0

... (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

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 3, 2021
@dependabot @github
Copy link
Copy Markdown
Author

dependabot bot commented on behalf of github Jun 7, 2021

Superseded by #521.

@dependabot dependabot bot closed this Jun 7, 2021
@dependabot dependabot bot deleted the dependabot/gradle/modules/clickhouse/ru.yandex.clickhouse-clickhouse-jdbc-0.3.1 branch June 7, 2021 05:14
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.

0 participants