MyGit

v2.4.0

ClickHouse/clickhouse-go

版本发布时间: 2022-11-21 17:40:48

ClickHouse/clickhouse-go最新发布版本:v2.29.0(2024-09-24 20:36:15)

New Features

  1. Support for Nullables in Tuples - https://github.com/ClickHouse/clickhouse-go/pull/821 https://github.com/ClickHouse/clickhouse-go/pull/817
  2. Use headers for auth and not url if SSL https://github.com/ClickHouse/clickhouse-go/pull/811
  3. Support additional headers - https://github.com/ClickHouse/clickhouse-go/pull/811
  4. Support int64 for DateTime https://github.com/ClickHouse/clickhouse-go/pull/807
  5. Support inserting Enums as int8/int16/int https://github.com/ClickHouse/clickhouse-go/pull/802
  6. Print error if unsupported server https://github.com/ClickHouse/clickhouse-go/pull/792
  7. Allow block buffer size to tuned for performance - see BlockBufferSize - https://github.com/ClickHouse/clickhouse-go/pull/776
  8. Support custom datetime in Scan - https://github.com/ClickHouse/clickhouse-go/pull/767
  9. Support insertion of an orderedmap - https://github.com/ClickHouse/clickhouse-go/pull/763

Bug Fixes

  1. Decompress errors over HTTP - https://github.com/ClickHouse/clickhouse-go/pull/792
  2. Use timezone vs timeZone so we work on older versions - https://github.com/ClickHouse/clickhouse-go/pull/781
  3. Ensure only columns specified in INSERT are required in batch - https://github.com/ClickHouse/clickhouse-go/pull/79
  4. Respect order of columns in insert for batch - https://github.com/ClickHouse/clickhouse-go/pull/790
  5. Handle double pointers for Nullable columns when batch inserting - https://github.com/ClickHouse/clickhouse-go/pull/77
  6. Use nil for LowCardinality(Nullable(X)) - https://github.com/ClickHouse/clickhouse-go/pull/768

Breaking Changes

  1. Align timezone handling with spec - https://github.com/ClickHouse/clickhouse-go/pull/766, specifically:
    1. if parsing strings for datetime, datetime64 or dates we assume the locale is Local (i.e. the client) if not specified in the string.
    2. The server (or column tz) is used for datetime and datetime64 rendering. For date/date32, these have no tz info in the server. For now, they will be rendered as UTC - consistent with the clickhouse-client
    3. Addresses bind when no location is set

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-11-21发行的版本