ClickHouse/docs/changelogs/v24.8.5.115-lts.md

15 KiB
Raw Permalink Blame History

sidebar_position sidebar_label
1 2024

2024 Changelog

ClickHouse release v24.8.5.115-lts (8c4cb00a38) FIXME as compared to v24.8.4.13-lts (53195bc189)

Improvement

  • Backported in #70046: Add new column readonly_duration to the system.replicas table. Needed to be able to distinguish actual readonly replicas from sentinel ones in alerts. #69871 (Miсhael Stetsyuk).

Bug Fix (user-visible misbehavior in an official stable release)

  • Backported in #69786: Fix attaching table when pg dbname contains "-" in MaterializedPostgreSQL. #62730 (takakawa).
  • Backported in #70318: Fixed error on generated columns in MaterializedPostgreSQL when adnum ordering is broken #63161. Fixed error on id column with nextval expression as default MaterializedPostgreSQL when there are generated columns in table. Fixed error on dropping publication with symbols except [a-z1-9-]. #67664 (Kruglov Kirill).
  • Backported in #69467: Fix expiration in RoleCache. #67748 (Vitaly Baranov).
  • Backported in #69735: Fix crash in lag/lead which is introduced in #67091. #68262 (lgbo).
  • Backported in #69444: After unexpected restart, fail to start replication of ReplicatedMergeTree due to abnormal handling of covered-by-broken part. #68584 (baolin).
  • Backported in #69810: Make ColumnsDescription::toString format each column using the same IAST::FormatState object. This results in uniform columns metadata being written to disk and ZooKeeper. #68733 (Miсhael Stetsyuk).
  • Backported in #69757: Fix incorrect results of Fix uniq and GROUP BY for JSON/Dynamic types. #69203 (Pavel Kruglov).
  • Backported in #70195: Fix insertion of incomplete type into Dynamic during deserialization. It could lead to Parameter out of bound errors. #69291 (Pavel Kruglov).
  • Backported in #69398: Mark Dynamic type as not safe primary key type to avoid issues with Fields. #69311 (Pavel Kruglov).
  • Backported in #69704: Improve restoring of access entities' dependencies. #69346 (Vitaly Baranov).
  • Backported in #69459: Fix undefined behavior when all connection attempts fail getting a connection for insertions. #69390 (Pablo Marcos).
  • Backported in #69503: Fixed a LOGICAL_ERROR with function sqidDecode (#69450). #69451 (Robert Schulze).
  • Backported in #69480: Quick fix for s3queue problem on 24.6 or create query with database replicated. #69454 (Kseniia Sumarokova).
  • Backported in #69535: Fixed case when memory consumption was too high because of the squashing in INSERT INTO ... SELECT or CREATE TABLE AS SELECT queries. #69469 (Yarik Briukhovetskyi).
  • Backported in #69696: Keep original order of conditions during move to prewhere. Previously the order could change and it could lead to failing queries when the order is important. #69560 (Pavel Kruglov).
  • Backported in #70439: Fix vrash during insertion into FixedString column in PostgreSQL engine. #69584 (Pavel Kruglov).
  • Backported in #69666: Fix Keeper multi-request preprocessing after ZNOAUTH error. #69627 (Antonio Andelic).
  • Backported in #70191: Fix crash when executing create view t as (with recursive 42 as ttt select ttt);. #69676 (Han Fei).
  • Backported in #69798: Make getHyperrectangleForRowGroup not throw an exception when the data type in parquet file is not convertable into the requested data type. Solved the user's problem when the Parquet file had Decimal64 data type and the column data type was DateTime. #69745 (Miсhael Stetsyuk).
  • Backported in #70410: Fixed maxMapState throwing 'Bad get' if value type is DateTime64. #69787 (Michael Kolupaev).
  • Backported in #70019: Fix analyzer default with old compatibility value. #69895 (Raúl Marín).
  • Backported in #69941: Don't check dependencies during CREATE OR REPLACE VIEW during DROP of old table. Previously CREATE OR REPLACE query failed when there are dependent tables of the recreated view. #69907 (Pavel Kruglov).
  • Backported in #70001: Now SQL security will work with parameterized views correctly. #69984 (pufit).
  • Backported in #70081: Closes #69752. #69985 (pufit).
  • Backported in #70068: Fixes Block structure mismatch for queries with nested views and WHERE condition. Fixes #66209. #70054 (Nikolai Kochetov).
  • Backported in #70166: Fix wrong LOGICAL_ERROR when replacing literals in ranges. #70122 (Pablo Marcos).
  • Backported in #70236: Check for Nullable(Nothing) type during ALTER TABLE MODIFY COLUMN/QUERY to prevent tables with such data type. #70123 (Pavel Kruglov).
  • Backported in #70203: Fix wrong result with skipping index. #70127 (Raúl Marín).
  • Backported in #70183: Fix data race in ColumnObject/ColumnTuple decompress method that could lead to heap use after free. #70137 (Pavel Kruglov).
  • Backported in #70251: Fix possible hung in ALTER COLUMN with Dynamic type. #70144 (Pavel Kruglov).
  • Backported in #70228: Use correct max_types parameter during Dynamic type creation for JSON subcolumn. #70147 (Pavel Kruglov).
  • Backported in #70243: Fix the password being displayed in system.query_log for users with bcrypt password authentication method. #70148 (Nikolay Degterinsky).
  • Backported in #70432: Fix possible crash in JSON column. #70172 (Pavel Kruglov).
  • Backported in #70307: Fix multiple issues with arrayMin and arrayMax. #70207 (Raúl Marín).
  • Backported in #70274: Respect setting allow_simdjson in JSON type parser. #70218 (Pavel Kruglov).
  • Backported in #70345: Don't modify global settings with startup scripts. Previously, changing a setting in a startup script would change it globally. #70310 (Antonio Andelic).
  • Backported in #70426: Fix ALTER of Dynamic type with reducing max_types parameter that could lead to server crash. #70328 (Pavel Kruglov).
  • Backported in #70371: Fix crash when using WITH FILL incorrectly. #70338 (Raúl Marín).

NO CL ENTRY

  • NO CL ENTRY: 'Revert "Backport #70146 to 24.8: Upgrade integration-runner image"'. #70324 (Max K.).

NOT FOR CHANGELOG / INSIGNIFICANT