id
stringlengths
36
36
document
stringlengths
3
3k
metadata
stringlengths
23
69
embeddings
listlengths
384
384
b2a58a3a-3c01-459d-8663-7615e8f12366
Fix the Not found column error for queries with arrayJoin under WHERE condition and IndexSet . #82113 ( Nikolai Kochetov ). Fix TOO_DEEP_SUBQUERIES exception when CTE definition references another table expression with the same name. #83413 ( Dmitry Novik ). Fix incorrect result of queries with WHERE ... IN (<subquery>) clause and enabled query condition cache (setting use_query_condition_cache ). #83445 ( LB7666 ). INSERT SELECT with UNION ALL could lead to a null pointer dereference in a corner case. This closes #83618 . #83643 ( Alexey Milovidov ). Fix LOGICAL_ERROR during row policy expression analysis for correlated columns. #82618 ( Dmitry Novik ). Fixed wrong results when the query condition cache is used in conjunction with recursive CTEs (issue #81506 ). #84026 ( zhongyuankai ). Fix infinite recursive analysis of invalid WINDOW definitions. Fixes #83131 . #84242 ( Dmitry Novik ). Fix Not-ready Set for IN (subquery) inside additional_table_filters expression setting. #85210 ( Nikolai Kochetov ). Fix logical error with duplicate subqueries when optimize_syntax_fuse_functions is enabled, close #75511 . #83300 ( Vladimir Cherkasov ). Iceberg and DataLake fixes {#iceberg-and-datalake-fixes} Fix the metadata resolution when querying iceberg tables through rest catalog. ... #80562 ( Saurabh Kumar Ojha ). Fix data races in Iceberg. #82088 ( Azat Khuzhin ). Fix "Context has expired" for Iceberg. #82146 ( Azat Khuzhin ). Now ClickHouse can read iceberg tables from Glue catalog after schema evolution. Fixes #81272 . #82301 ( alesapin ). Fix data races in Iceberg. #82841 ( Azat Khuzhin ). Disable bounds-based file pruning for iceberg array element and iceberg map values, including all their nested subfields. #83520 ( Daniil Ivanik ). Fix iceberg writes for complex types. #85330 ( scanhex12 ). Writing lower and upper bounds are not supported for complex types. #85332 ( scanhex12 ). Fix nullability of fields in iceberg. #85977 ( scanhex12 ). No longer create empty iceberg delete file. #86061 ( scanhex12 ). Update metadata timestamp in iceberg writes. #85711 ( scanhex12 ). Spark can't read position delete files. #85762 ( scanhex12 ). Stops taking schema from manifest files but stores relevant schemas for each snapshot independently. Infer relevant schema for each data file from its corresponding snapshot. Previous behaviour violated Iceberg specification for manifest files entries with existing status. #84588 ( Daniil Ivanik ). Now Iceberg doesn't try to cache relevant snapshot version between select queries and always try to resolve snapshot honestly. Earlier attempt to cache iceberg snapshot led to problems with usage of Iceberg table with time travel. #85038 ( Daniil Ivanik ). Fix the metadata resolution when querying iceberg tables through rest catalog. ... #85531 ( Saurabh Kumar Ojha ).
{"source_file": "25_08.md"}
[ -0.048873987048864365, -0.008373093791306019, 0.023924412205815315, 0.00310784881003201, -0.07610410451889038, -0.054355937987565994, 0.006970393005758524, -0.02087872289121151, -0.07231492549180984, 0.02689073048532009, 0.0039019102696329355, -0.08025665581226349, 0.008177238516509533, -0...
dea1fa88-9393-4c22-b785-a1cbf10ddf13
Fix the metadata resolution when querying iceberg tables through rest catalog. ... #85531 ( Saurabh Kumar Ojha ). Fix secrets masking in icebergS3Cluster and icebergAzureCluster table functions. #85658 ( MikhailBurdukov ). DeltaLake fixes {#deltalake-fixes} Fix column pruning with delta-kernel in storage DeltaLake . Closes #84543 . #84745 ( Kseniia Sumarokova ). Refresh credentials in delta-kernel in storage DeltaLake. #84751 ( Kseniia Sumarokova ). Fix segfault in delta-kernel implementation. #85160 ( Kseniia Sumarokova ). Fix race in DeltaLake engine delta-kernel implementation. #85221 ( Kseniia Sumarokova ). Fix reading partitioned data with disabled delta-kernel in DeltaLake engine. It was broken in 25.7 (https://github.com/ClickHouse/ClickHouse/pull/81136). #85223 ( Kseniia Sumarokova ). Change pre-25.5 value of allow_experimental_delta_kernel_rs to false for compatibility. #84587 ( Kseniia Sumarokova ). Fix reading count from cache for delta lake. #85704 ( Kseniia Sumarokova ). TTL and MergeTree fixes {#ttl-and-mergetree-fixes} Recalculate the min-max index when TTL reduces rows to ensure the correctness of algorithms relying on it, such as minmax_count_projection . This resolves #77091 . #77166 ( Amos Bird ). Fix incorrent TTL recalculation in TTL GROUP BY when updating TTL. #81222 ( Evgeniy Ulasik ). Fix "Context has expired" during merges when dict used in TTL expression. #81690 ( Azat Khuzhin ). Fix LOGICAL_ERROR and following crash when using the same column in the TTL for GROUP BY and SET. #82054 ( Pablo Marcos ). MergeTree now does nothing related to TTL if all TTL are removed from the table. #84441 ( alesapin ). Fix ALTER MODIFY ORDER BY not validating TTL columns in sorting keys. TTL columns are now properly rejected when used in ORDER BY clauses during ALTER operations, preventing potential table corruption. #84536 ( xiaohuanlin ). Projection fixes {#projection-fixes} Fix logical error during materialize projection when column type was changed to Nullable. #80741 ( Pavel Kruglov ). Fix incorrect usage of parent metadata in mergeTreeProjection table function when enable_shared_storage_snapshot_in_query = 1 . This is for #82634 . #82638 ( Amos Bird ). Fix rare clickhouse crash when table has projection, lightweight_mutation_projection_mode = 'rebuild' and user execute lighweight delete which deletes ALL rows from any block in table. #84158 ( alesapin ). Fix backup of parts with broken projections. #85362 ( Antonio Andelic ). Forbid using _part_offset column in projection in releases until it is stabilized. #85372 ( Sema Checherinda ). Parallel replicas fixes {#parallel-replicas-fixes}
{"source_file": "25_08.md"}
[ -0.04895031079649925, -0.00847544614225626, -0.001551931374706328, -0.008339428342878819, -0.025880489498376846, -0.06292200088500977, -0.10069335997104645, 0.06084312126040459, -0.10825623571872711, -0.009069016203284264, 0.025426002219319344, -0.0076225753873586655, -0.04263598844408989, ...
07ff9c4f-d6fe-434d-98a8-a0fb8979a679
Forbid using _part_offset column in projection in releases until it is stabilized. #85372 ( Sema Checherinda ). Parallel replicas fixes {#parallel-replicas-fixes} For some queries executed with parallel replicas, reading in order optimization(s) could be applied on an initiator but not on remote nodes. THis led to different reading modes used by parallel replicas coordinator (on initiator) and on remoted nodes, which is a logical error. #80652 ( Igor Nikonov ). Disable parallel replicas when a subquery contains FINAL #81401 by . #83455 ( zoomxi ). Fix LOGICAL_ERROR for queries with parallel replicas and multiple INNER joins followed by RIGHT join. Do not use parallel replicas for such queries. #84299 ( Vladimir Cherkasov ). Queries with parallel replicas which uses reading reverse in order optimization can produce incorrect result. #85406 ( Igor Nikonov ). Authentication and security {#authentication-and-security} Fix hiding named collection values in logs/query_log. Closes #82405 . #82510 ( Kseniia Sumarokova ). Set salt for auth data when parsing from AST with type SCRAM_SHA256_PASSWORD. #82888 ( Tuan Pham Anh ). Mask Avro schema registry authentication details to be not visible to user or in logs. #83713 ( János Benjamin Antal ). Fix incorrect behavior when executing REVOKE S3 ON system.* revokes S3 permissions for *.* . This fixes #83417 . #83420 ( pufit ). Fix server crash when a user created with no_password attempts to login after the server setting allow_no_password was changed to 0. #84426 ( Shankar Iyer ). Improve error message on attempt to create user identified with JWT. #85072 ( Konstantin Bogdanov ). Mask credentials for deltaLakeAzure , deltaLakeCluster , icebergS3Cluster and icebergAzureCluster . #85889 ( Julian Maicher ). Fix a bug introduced in #79963 . When inserting into a materialized view with a definer, the permission check should use the definer's grants. Fixes #79951 . #83502 ( pufit ). Backup and restore fixes {#backup-and-restore-fixes} Fix backup of an empty Memory table, causing the backup restore to fail with with BACKUP_ENTRY_NOT_FOUND error. #82791 ( Julia Kartseva ). Fix misleading error message when restoring a backup on a read-only disk. #83051 ( Julia Kartseva ). Fix starting superfluous internal backups after connection problems. #84755 ( Vitaly Baranov ). Window and aggregate functions {#window-and-aggregate-functions} Fix possible crash in Aggregator in case of exception during merge. #81450 ( Nikita Taranov ). Fix possible crash in Aggregator in case of exception during merge. #82022 ( Nikita Taranov ). Fixing copy-paste error in arraySimilarity, disallowing the use of UInt32 and Int32 weights. Update tests and docs. #82103 ( Mikhail f. Shiryaev ).
{"source_file": "25_08.md"}
[ -0.04702797159552574, 0.03950677067041397, -0.011617770418524742, -0.018637213855981827, -0.04454963281750679, -0.09719689935445786, -0.014630542136728764, -0.0032889435533434153, 0.005934536457061768, 0.06998244673013687, 0.012926620431244373, -0.010438529774546623, 0.1059998869895935, -0...
1cfc6ea1-f46f-4af4-8a76-30a98d02d9fe
Fixing copy-paste error in arraySimilarity, disallowing the use of UInt32 and Int32 weights. Update tests and docs. #82103 ( Mikhail f. Shiryaev ). Fix overflow in numericIndexedVectorPointwiseAdd , numericIndexedVectorPointwiseSubtract , numericIndexedVectorPointwiseMultiply , numericIndexedVectorPointwiseDivide functions that happened when we applied them to large numbers. #82165 ( Raufs Dunamalijevs ). Parquet and file format fixes {#parquet-and-file-format-fixes} Fix Parquet bloom filter incorrectly applying condition like WHERE function(key) IN (...) as if it were WHERE key IN (...) . #81255 ( Michael Kolupaev ). Fix parquet writer outputting incorrect statistics (min/max) for Decimal types. #83754 ( Michael Kolupaev ). Fix deserialization of groupArraySample / groupArrayLast in case of empty elements (deserialization could skip part of the binary if the input was empty, this can lead to corruption during data read and UNKNOWN_PACKET_FROM_SERVER in TCP protocol). This does not affect numbers and date time types. #82763 ( Pedro Ferreira ). Fix writing JSON paths with NULL values in RowBinary format. #83923 ( Pavel Kruglov ). Join fixes {#join-fixes} Fix filter modification for queries with a JOIN expression with a table with storage Merge . Fixes #82092 . #82950 ( Dmitry Novik ). Fix the crash if key-value storage is joined with a type-casted key. #82497 ( Pervakov Grigorii ). Fix logical error when resolving matcher in query with multiple JOINs, close #81969 . #82421 ( Vladimir Cherkasov ). Fix filter merging into JOIN condition in cases when equality operands have different types or they reference constants. Fixes #83432 . #84145 ( Dmitry Novik ). Fix the logical error Expected single dictionary argument for function while doing JOIN on an inequality condition when one of the columns is LowCardinality and the other is a constant. Closes #81779 . #84019 ( Alexey Milovidov ). Replicated database fixes {#replicated-database-fixes} Fix markReplicasActive in DDLWorker and DatabaseReplicatedDDLWorker. #81395 ( Tuan Pham Anh ). Fix DatabaseReplicated::getClusterImpl . If the first element (or elements) of hosts has id == DROPPED_MARK and there are no other elements for the same shard, the first element of shards will be an empty vector, leading to std::out_of_range . #82093 ( Miсhael Stetsyuk ). Keep track of the number of async tables loading jobs. If there are some running jobs, do not update tail_ptr in TransactionLog::removeOldEntries . #82824 ( Tuan Pham Anh ). Fix the issue where, if a MergeTree table is created with add_minmax_index_for_numeric_columns=1 or add_minmax_index_for_string_columns=1 , the index is later materialized during an ALTER operation, and it prevents the Replicated database from initializing correctly on a new replica. #83751 ( Nikolay Degterinsky ).
{"source_file": "25_08.md"}
[ -0.024133676663041115, 0.028287677094340324, -0.023647211492061615, -0.08374189585447311, -0.045184794813394547, -0.06623753160238266, -0.0211106576025486, -0.0064781345427036285, -0.055523090064525604, -0.004187343642115593, -0.031594838947057724, -0.02111208811402321, -0.027213530614972115...
ad848951-bec7-4cf6-8f5c-a63f4eaf236e
Fix the creation of RMV on a new replica of the Replicated database if DEFINER is dropped. #85327 ( Nikolay Degterinsky ). Fix recovering replicated databases when moving the metadata file takes a long time. #85177 ( Tuan Pham Anh ). Recover the Replicated Database forcefully after restoring the database metadata in Keeper. #85960 ( Tuan Pham Anh ). Fix a bug in Replicated database recovery: if a table name contains the % symbol, it could re-create the table with a different name during recovery. #85987 ( Alexander Tokmakov ). Now DDL worker cleanup outdated hosts from replicas set. It will reduce amount of stored metadata in ZooKeeper. #88154 ( alesapin ). Lightweight updates fixes {#lightweight-updates-fixes} Fix lightweight updates for tables with ReplacingMergeTree and CollapsingMergeTree engines. #84851 ( Anton Popov ). Fix a logical error in lightweight updates that update all columns in the table. #84380 ( Anton Popov ). Fix lightweight updates for tables with ReplicatedMergeTree engine created on servers with a version lower than 25.7. #84933 ( Anton Popov ). Fix lightweight updates for tables with non-replicated MergeTree engine after running a ALTER TABLE ... REPLACE PARTITION query. #84941 ( Anton Popov ). Fix cleanup of patch parts in ReplicatedMergeTree . Previously, the result of a lightweight update may temporarily not be visible on the replica until the merged or mutated part that materializes the patch parts is downloaded from another replica. #85121 ( Anton Popov ). S3 and object storage fixes {#s3-and-object-storage-fixes} Fix S3 table function argument validation in secret masking, preventing possible LOGICAL_ERROR , close #80620 . #82056 ( Vladimir Cherkasov ). Fix possible deadlock for remote queries when server is under memory pressure. #82160 ( Kirill ). Add expiration to AWS ECS token so it can be reloaded. #82422 ( Konstantin Bogdanov ). Fix disabling boundary alignment for cached buffer in external table engines. It was broken in https://github.com/ClickHouse/ClickHouse/pull/81868. #82493 ( Kseniia Sumarokova ). Fix no_sign_request for S3 client. It can be used to explicitly avoid signing S3 requests. It can also be defined for specific endpoints using endpoint-based settings. #83379 ( Antonio Andelic ). Skip unavailable nodes during INSERT SELECT from s3Cluster() into replicated MergeTree. #83676 ( Igor Nikonov ). Fix early return condition for S3 request rate slowdown: require either s3_slow_all_threads_after_network_error or backup_slow_all_threads_after_retryable_s3_error to be true to enable slowdown behavior when all threads are paused due to a retryable error, instead of requiring both. #85505 ( Julia Kartseva ). Fix logical error while reading from object storage functions through Distributed table or remote table function. Fixes: #84658 , Fixes #85173 , Fixes #52022 . #85359 ( alesapin ).
{"source_file": "25_08.md"}
[ -0.05509889870882034, -0.009453436359763145, 0.03483390435576439, -0.023748712614178658, 0.0470474548637867, -0.12489663064479828, -0.0441378690302372, -0.0399552658200264, -0.026857594028115273, 0.07062296569347382, 0.0342053659260273, 0.003680098569020629, 0.042224299162626266, 0.0100961...
0d247191-224d-4301-ad6d-1f60d28fe241
Fix logical error while reading from object storage functions through Distributed table or remote table function. Fixes: #84658 , Fixes #85173 , Fixes #52022 . #85359 ( alesapin ). Fix logical error from S3Queue "Table is already registered". Closes #84433 . Broken after https://github.com/ClickHouse/ClickHouse/pull/83530. #84677 ( Kseniia Sumarokova ). Fix large setting values breaking S3Queue tables and replica restart. #86074 ( Nikolay Degterinsky ). DynamicAndVariantTypeFixes {#dynamicandvarianttypefixes} Fix rollback of Dynamic column on parsing failure. #82169 ( Pavel Kruglov ). Fix possible crash in Variant type in UNION. #83295 ( Pavel Kruglov ). Fix reading Variant column with lazy materialization. #84400 ( Pavel Kruglov ). Don't validate experimental/suspicious types in default/materialize expression execution during reading from existing table. #81618 ( Pavel Kruglov ). Keeper fixes {#keeper-fixes} Keeper fix: update total watch count correctly when ephemeral nodes are deleted on session close. #83583 ( Antonio Andelic ). Fix out-of-order writes to Keeper changelog. Previously, we could have in-flight writes to changelog, but rollback could cause concurrent change of the destination file. This would lead to inconsistent logs, and possible data loss. #84434 ( Antonio Andelic ). Fix leaks for keeper with rocksdb storage (iterators was not destroyed). #84523 ( Azat Khuzhin ). Fix issue where Keeper setting rotate_log_storage_interval = 0 would cause ClickHouse to crash. (issue #83975 ). #84637 ( George Larionov ). Fix total watches count returned by Keeper. #84890 ( Antonio Andelic ). Lock 'mutex' when getting zookeeper from 'view' in RefreshTask. #84699 ( Tuan Pham Anh ). Indexing fixes {#indexing-fixes} Fix excessive granule skipping for filtering over token/ngram indexes with regexp which contains alternation and non-literal first alternative. #79373 ( Eduard Karacharov ). Setting use_skip_indexes_if_final_exact_mode implementation (introduced in 25.6) could fail to select a relevant candidate range depending upon MergeTree engine settings / data distribution. That has been resolved now. #82667 ( Shankar Iyer ). Setting use_skip_indexes_if_final_exact_mode optimization (introduced in 25.6) could fail to select a relevant candidate range depending upon MergeTree engine settings / data distribution. That has been resolved now. #82879 ( Shankar Iyer ). Previously, set indexes didn't consider Nullable columns while checking if granules passed the filter (issue #75485 ). #84305 ( Elmi Ahmadov ). The comparison against nan value was not using the correct ranges during MinMax index evaluation. #84386 ( Elmi Ahmadov ). The ngram and no_op tokenizers no longer crash the (experimental) text index for empty input tokens. #84849 ( Robert Schulze ). Materialized view fixes {#materialized-view-fixes}
{"source_file": "25_08.md"}
[ 0.007154329214245081, -0.08167567104101181, -0.02585764415562153, 0.05030776187777519, -0.021385755389928818, 0.011053187772631645, -0.01154296938329935, 0.031144527718424797, -0.056834932416677475, 0.10267022997140884, -0.013196427375078201, -0.018733274191617966, 0.014888574369251728, 0....
3ecb02a6-5ea7-4538-b2cb-316c4ec207f3
The ngram and no_op tokenizers no longer crash the (experimental) text index for empty input tokens. #84849 ( Robert Schulze ). Materialized view fixes {#materialized-view-fixes} Fix a bug in table dependencies causing Materialized Views to miss INSERT queries. #82222 ( Nikolay Degterinsky ). After https://github.com/ClickHouse/ClickHouse/pull/79963 the usage of subcolumns in Materialized Views got broken and user might have received an error Not found column X in block . This behaviour is fixed. This fixes: #82784 . #83221 ( Nikita Mikhaylov ). Fixing illegal_type_of_argument in mv when types are different. #85135 ( Sema Checherinda ). Azure and cloud storage fixes {#azure-and-cloud-storage-fixes} In AzureBlobStorage, for native copy we compare authentication methods, during which if we get an exception, updated the code to fallback to read and copy (i.e. non native copy). #82693 ( Smita Kulkarni ). Fix double-free in AzureIteratorAsync . #85064 ( Nikita Taranov ). Crash and stability fixes {#crash-and-stability-fixes} Fix a possible crash in logging while terminating a session as the user_id might sometimes be empty. #82513 ( Bharat Nallan ). Fix crash in client due to connection left in disconnected state after bad INSERT . #83253 ( Azat Khuzhin ). Fix crash when calculating the size of a block with empty columns. #83271 ( Raúl Marín ). Fix a crash that may happen for a query with a setting 'max_threads=1' when executed under load with CPU scheduling enabled. #83387 ( Fan Ziqi ). Make zoutofmemory hardware error, otherwise it will throw logical error. see https://github.com/clickhouse/clickhouse-core-incidents/issues/877. #84420 ( Han Fei ). Fix possible abort (due to joining threads from the task) and hopefully hangs (in unit tests) during BackgroundSchedulePool shutdown. #83769 ( Azat Khuzhin ). Fix deadlock caused by background cancellation checker thread. #84203 ( Antonio Andelic ). Fix deadlock on shutdown due to recursive context locking during library bridge cleanup. #83824 ( Azat Khuzhin ). Fix crash in client due to connection left in disconnected state after bad INSERT . #83842 ( Azat Khuzhin ). Fix possible UB (crashes) in case of MEMORY_LIMIT_EXCEEDED during String deserialization. #85440 ( Azat Khuzhin ). Fix rare crash in asynchronous inserts that change settings log_comment or insert_deduplication_token . #85540 ( Anton Popov ). Glue and catalog fixes {#glue-and-catalog-fixes} Fix bug in glue catalog integration. Now clickhouse can read tables with nested data types where some of subcolumns contain decimals, for example: map<string, decimal(9, 2)> . Fixes #81301 . #82114 ( alesapin ). ClickHouse now reads tables from Glue Catalog where table type specified in lower case. #84316 ( alesapin ).
{"source_file": "25_08.md"}
[ -0.015169101767241955, -0.0243335273116827, -0.007635337766259909, 0.08175190538167953, -0.026772089302539825, -0.004714744631201029, -0.02855932153761387, -0.003227835986763239, 0.07073396444320679, 0.0960993692278862, 0.033977098762989044, -0.016682041808962822, 0.056753769516944885, -0....
7566d5b8-023f-458a-9c45-f1c55f32679d
ClickHouse now reads tables from Glue Catalog where table type specified in lower case. #84316 ( alesapin ). Unity catalog now ignores schemas with weird data types in case of non-delta tables. Fixes #85699 . #85950 ( alesapin ). Function fixes {#function-fixes} Functions trim{Left,Right,Both} now support input strings of type "FixedString(N)". For example, SELECT trimBoth(toFixedString('abc', 3), 'ac') now works. #82691 ( Robert Schulze ). If function trim called with all-constant inputs now produces a constant output string. (Bug #78796 ). #82900 ( Robert Schulze ). Fix incorrect output of function formatDateTime when formatter %f is used together with variable-size formatters (e.g. %M ). #83020 ( Robert Schulze ). Fix a bug for NULL arguments in CASE function. #82436 ( Yarik Briukhovetskyi ). Do not use unrelated parts of a shared dictionary in the lowCardinalityKeys function. #83118 ( Alexey Milovidov ). Fix colorSRGBToOKLCH/colorOKLCHToSRGB for mix of const and non-const args. #83906 ( Azat Khuzhin ). Fix incorrect construction of empty tuples in the array() function. This fixes #84202 . #84297 ( Amos Bird ). Fix a bug that was causing incorrect Bech32 Encoding and Decoding. The bug wasn't caught originally due to an online implementation of the algorithm used for testing having the same issue. #84257 ( George Larionov ). Distributed query fixes {#distributed-query-fixes} Parallel distributed INSERT SELECT with LIMIT was allowed which is not correct, it leads to data duplication in target table. #84477 ( Igor Nikonov ). Do not try to substitute table functions to its cluster alternative in presence of a JOIN or subquery. #84335 ( Konstantin Bogdanov ). Add a check if a correlated subquery is used in a distributed context to avoid a crash. Fixes #82205 . #85030 ( Dmitry Novik ). Using distributed_depth as an indicator of *Cluster function was incorrect and may lead to data duplication; use client_info.collaborate_with_initiator instead. #85734 ( Konstantin Bogdanov ). Support global constants from WITH statement for the parallel distributed INSERT SELECT with the Distributed destination table. Before, the query could throw an Unknown expression identifier error. #85811 ( Nikolai Kochetov ). Fix logical error on attempt to CREATE ... AS (SELECT * FROM s3Cluster(...)) with DatabaseReplicated . #85904 ( Konstantin Bogdanov ). Add checks for sharding_key during ALTER of the Distributed table. Previously incorrect ALTER would break the table definition and server restart. #86015 ( Nikolay Degterinsky ). Metrics and monitoring fixes {#metrics-and-monitoring-fixes} Fix the validation of async metrics settings asynchronous_metrics_update_period_s and asynchronous_heavy_metrics_update_period_s . #82310 ( Bharat Nallan ).
{"source_file": "25_08.md"}
[ 0.08225223422050476, -0.011540433391928673, 0.012692015618085861, 0.04499395936727524, -0.09190072119235992, 0.034536588937044144, 0.01631714217364788, 0.012436539866030216, -0.07863348722457886, -0.028231181204319, 0.0435856357216835, -0.002575711812824011, -0.0391780361533165, -0.0471021...
4c84a9b4-13af-490f-a75c-91feb2c3dc52
Fix the validation of async metrics settings asynchronous_metrics_update_period_s and asynchronous_heavy_metrics_update_period_s . #82310 ( Bharat Nallan ). Fix IndexUncompressedCacheBytes / IndexUncompressedCacheCells / IndexMarkCacheBytes / IndexMarkCacheFiles metrics (previously they were included into metric w/o Cache prefix). #83730 ( Azat Khuzhin ). Fix LOGICAL_ERROR in QueryMetricLog: Mutex cannot be NULL . #82979 ( Pablo Marcos ). Fix incorrect metrics KafkaAssignedPartitions and KafkaConsumersWithAssignment. #85494 ( Ilya Golshtein ). Fix processed bytes stat being underestimated when PREWHERE (explicit or automatic) is used. #85495 ( Michael Kolupaev ). Fix memory tracking drift from background schedule pool and executor. #84946 ( Azat Khuzhin ). Data type and conversion fixes {#data-type-and-conversion-fixes} Fix cases where parsing of Time could cause msan issues. This fixes: #82477 . #82514 ( Yarik Briukhovetskyi ). Fix sort of NaN values in LowCardinality(Float32|Float64|BFloat16) type. #83786 ( Pervakov Grigorii ). Overflow large values (>2106-02-07) when casting from Date to DateTime64 is fixed. #83982 ( Yarik Briukhovetskyi ). Fix issue with implicit reading of negative Time values into the table and make the docs not confusing. #83091 ( Yarik Briukhovetskyi ). Codec DoubleDelta codec can now only be applied to columns of numeric type. In particular FixedString columns can no longer be compressed using DoubleDelta . (fixes #80220 ). #84383 ( Jimmy Aguilar Mena ). Fix precision loss in JSONExtract when converting JSON numbers to Decimal types. Now numeric JSON values preserve their exact decimal representation, avoiding floating-point rounding errors. #85665 ( ssive7b ). Memory and resource management {#memory-and-resource-management} Fix incorrect memory around max_untracked_memory . #83607 ( Azat Khuzhin ). Do not share async_read_counters between queries. #83423 ( Azat Khuzhin ). Fix possible file cache not initialized errors when it's used as a temporary data storage. #83539 ( Bharat Nallan ). Always apply filesystem_prefetches_limit (not only from MergeTreePrefetchedReadPool ). #83999 ( Azat Khuzhin ). Configuration and settings fixes {#configuration-and-settings-fixes} When passing settings over URI the last value is considered. #82137 ( Sema Checherinda ). Fix data-races in client (by not using global context) and session_timezone overrides (previously in case of session_timezone was set in i.e. users.xml /client options to non empty and in query context to empty, then, value from users.xml was used, while this is wrong, now query context will always have a priority over global context). #82444 ( Azat Khuzhin ). Disallow setting threadpool_writer_pool_size to zero to ensure that server operations don't get stuck. #82532 ( Bharat Nallan ).
{"source_file": "25_08.md"}
[ -0.047250356525182724, -0.010670683346688747, -0.07946166396141052, 0.038489993661642075, -0.07538715749979019, -0.08399856090545654, -0.0012306333519518375, -0.011352484114468098, -0.033122479915618896, 0.0209747776389122, -0.007183650508522987, -0.06435056775808334, -0.03487586975097656, ...
8ad8da34-b6f7-4b16-bbca-270fb1a62df3
Disallow setting threadpool_writer_pool_size to zero to ensure that server operations don't get stuck. #82532 ( Bharat Nallan ). Resolve minor integer overflow in configuration of setting role_cache_expiration_time_seconds (issue #83374 ). #83461 ( wushap ). Disallow zero value for max_insert_block_size as it could cause logical error. #83688 ( Bharat Nallan ). Fix endless loop in estimateCompressionRatio() with block_size_bytes=0. #83704 ( Azat Khuzhin ). Parameters like date_time_input_format have been just ignored when http with multipart. #85570 ( Sema Checherinda ). MongoDB fixes {#mongodb-fixes} Previously, MongoDB table engine definitions could include a path component in the host:port argument which was silently ignored. The mongodb integration refuses to load such tables. With this fix we allow loading such tables and ignore path component if MongoDB engine has five arguments, using the database name from arguments. Note: The fix is not applied for newly created tables or queries with mongo table function, as well as for dictionary sources and named collections. #81942 ( Vladimir Cherkasov ). Miscellaneous fixes {#miscellaneous-fixes} In previous versions, the server returned excessive content for requests to /js . This closes #61890 . #81895 ( Alexey Milovidov ). Fix InterpreterInsertQuery::extendQueryLogElemImpl to add backquotes to database and table names when needed (f.g., when names contain special characters like - ). #81528 ( Ilia Shvyrialkin ). Fix possible data-race between suggestion thread and main client thread. #82233 ( Azat Khuzhin ). Fix exception safety in union/intersect/except_default_mode rewrite. Closes #82664 . #82820 ( Alexey Milovidov ). When using a non-caching Database implementation, the metadata of the corresponding table is deleted after the columns are returned and the reference is invalidated. #82939 ( buyval01 ). Onprogress call in JSONEachRowWithProgress is synchronized with finalization. #83879 ( Sema Checherinda ). Fix rare bug when MATERIALIZE COLUMN query could lead to unexpected files in checksums.txt and eventually detached data parts. #84007 ( alesapin ). Handle exceptions properly in periodic parts refresh. #84083 ( Azat Khuzhin ). Fix column name generation for boolean literals to use "true"/"false" instead of "1"/"0", preventing column name conflicts between boolean and integer literals in queries. #84945 ( xiaohuanlin ). Fix potential inaccurate sorting issues in the Merge table engine. #85025 ( Xiaozhe Yu ). Implement missing APIs for DiskEncrypted. #85028 ( Azat Khuzhin ). Introduce backward compatibility setting to allow new analyzer to reference outer alias in the WITH clause in the case of name clashes. Fixes #82700 . #83797 ( Dmitry Novik ).
{"source_file": "25_08.md"}
[ -0.02488083764910698, 0.053992461413145065, -0.01677752658724785, 0.07825122773647308, -0.0023247823119163513, -0.0814085528254509, -0.10463913530111313, -0.014279087074100971, -0.010213763453066349, 0.03769037127494812, -0.037701502442359924, -0.0851263776421547, -0.01876354217529297, -0....
5b8909fa-71ee-46ca-8dfd-d32ffc5e845c
Introduce backward compatibility setting to allow new analyzer to reference outer alias in the WITH clause in the case of name clashes. Fixes #82700 . #83797 ( Dmitry Novik ). Allow referencing any table in view(...) argument of remote table function with enabled analyzer. Fixes #78717 . Fixes #79377 . #83844 ( Dmitry Novik ). Fix write with append (in MergeTree used for experimental transactions) with plain_rewritable / plain metadata types, previously they were simply ignored. #83695 ( Tuan Pham Anh ). Fix logger usage in IAccessStorage . #84365 ( Konstantin Bogdanov ). Fix pruning files by virtual column in data lakes. #84520 ( Kseniia Sumarokova ). Fix issue where querying a delayed remote source could result in vector out of bounds. #84820 ( George Larionov ). Correctly store all settings in table metadata for object queue engine. #84860 ( Antonio Andelic ). Fix the CORRUPTED_DATA error when lazy columns are used with external sort. #84738 ( János Benjamin Antal ). Get rid of unnecessary getStatus() calls during SYSTEM DROP REPLICA queries. Fixes the case when a table is dropped in the background, and the Shutdown for storage is called exception is thrown. #85220 ( Nikolay Degterinsky ). Add missing table name length checks in CREATE OR REPLACE and RENAME queries. #85326 ( Michael Kolupaev ). Fix crash and data corruption during ALTER UPDATE for JSON. #85383 ( Pavel Kruglov ). Fix coalescing merge tree segfault for large strings. This closes #84582 . #85709 ( scanhex12 ). Fix send_logs_source_regexp (after async logging refactoring in #85105 ). #85797 ( Azat Khuzhin ). Fix possible inconsistency for dictionaries with update_field on MEMORY_LIMIT_EXCEEDED errors. #85807 ( Azat Khuzhin ). Fix HTTP requests made by the url() table function to properly include port numbers in the Host header when accessing non-standard ports. This resolves authentication failures when using presigned URLs with S3-compatible services like MinIO running on custom ports, which is common in development environments. (Fixes #85898 ). #85921 ( Tom Quist ).
{"source_file": "25_08.md"}
[ -0.037538446485996246, 0.03081781417131424, -0.03191392868757248, 0.013301496393978596, -0.030512791126966476, -0.08407653123140335, 0.009211196564137936, 0.0038642894942313433, -0.04516928642988205, 0.10532885789871216, 0.028954973444342613, -0.029851194471120834, 0.006380174774676561, -0...
aab5c515-768c-416f-9190-bfea3b8c5b7d
slug: /changelogs/24.6 title: 'v24.6 Changelog for Cloud' description: 'Fast release changelog for v24.6' keywords: ['changelog', 'cloud'] sidebar_label: '24.6' sidebar_position: 7 doc_type: 'changelog' V24.6 changelog for Cloud Relevant changes for ClickHouse Cloud services based on the v24.6 release. Backward incompatible change {#backward-incompatible-change} Rework parallel processing in Ordered mode of storage S3Queue . This PR is backward incompatible for Ordered mode if you used settings s3queue_processing_threads_num or s3queue_total_shards_num . Setting s3queue_total_shards_num is deleted, previously it was allowed to use only under s3queue_allow_experimental_sharded_mode , which is now deprecated. A new setting is added - s3queue_buckets . #64349 ( Kseniia Sumarokova ). New functions snowflakeIDToDateTime , snowflakeIDToDateTime64 , dateTimeToSnowflakeID , and dateTime64ToSnowflakeID were added. Unlike the existing functions snowflakeToDateTime , snowflakeToDateTime64 , dateTimeToSnowflake , and dateTime64ToSnowflake , the new functions are compatible with function generateSnowflakeID , i.e. they accept the snowflake IDs generated by generateSnowflakeID and produce snowflake IDs of the same type as generateSnowflakeID (i.e. UInt64 ). Furthermore, the new functions default to the UNIX epoch (aka. 1970-01-01), just like generateSnowflakeID . If necessary, a different epoch, e.g. Twitter's/X's epoch 2010-11-04 aka. 1288834974657 msec since UNIX epoch, can be passed. The old conversion functions are deprecated and will be removed after a transition period: to use them regardless, enable setting allow_deprecated_snowflake_conversion_functions . #64948 ( Robert Schulze ). New feature {#new-feature} Support empty tuples. #55061 ( Amos Bird ). Add Hilbert Curve encode and decode functions. #60156 ( Artem Mustafin ). Add support for index analysis over hilbertEncode . #64662 ( Artem Mustafin ). Added support for reading LINESTRING geometry in the WKT format using function readWKTLineString . #62519 ( Nikita Mikhaylov ). Added new SQL functions generateSnowflakeID for generating Twitter-style Snowflake IDs. #63577 ( Danila Puzov ). Add support for comparing IPv4 and IPv6 types using the = operator. #64292 ( Francisco J. Jurado Moreno ). Support decimal arguments in binary math functions (pow, atan2, max2, min2, hypot). #64582 ( Mikhail Gorshkov ). Added SQL functions parseReadableSize (along with OrNull and OrZero variants). #64742 ( Francisco J. Jurado Moreno ). Add _time virtual column to file alike storages (s3/file/hdfs/url/azureBlobStorage). #64947 ( Ilya Golshtein ). Introduced new functions base64URLEncode , base64URLDecode and tryBase64URLDecode . #64991 ( Mikhail Gorshkov ). Add new function editDistanceUTF8 , which calculates the edit distance between two UTF8 strings. #65269 ( LiuNeng ).
{"source_file": "24_06.md"}
[ 0.019910423085093498, -0.05766439065337181, 0.045949630439281464, -0.034223876893520355, 0.026139816269278526, -0.019621731713414192, -0.07296938449144363, -0.11611916124820709, 0.04132290929555893, 0.12655580043792725, 0.04745202511548996, 0.0446435771882534, 0.011392404325306416, -0.0550...
97a8880d-0c78-4a59-a69f-f7ec7ec1735c
Add new function editDistanceUTF8 , which calculates the edit distance between two UTF8 strings. #65269 ( LiuNeng ). Add http_response_headers configuration to support custom response headers in custom HTTP handlers. #63562 ( Grigorii ). Added a new table function loop to support returning query results in an infinite loop. #63452 ( Sariel ). This is useful for testing. Introduced two additional columns in the system.query_log : used_privileges and missing_privileges . used_privileges is populated with the privileges that were checked during query execution, and missing_privileges contains required privileges that are missing. #64597 ( Alexey Katsman ). Added a setting output_format_pretty_display_footer_column_names which when enabled displays column names at the end of the table for long tables (50 rows by default), with the threshold value for minimum number of rows controlled by output_format_pretty_display_footer_column_names_min_rows . #65144 ( Shaun Struwig ). Performance Improvement {#performance-improvement} Fix performance regression in cross join introduced in #60459 (24.5). #65243 (Nikita Taranov). Improve io_uring resubmits visibility. Rename profile event IOUringSQEsResubmits -> IOUringSQEsResubmitsAsync and add a new one IOUringSQEsResubmitsSync. #63699 (Tomer Shafir). Introduce assertions to verify all functions are called with columns of the right size. #63723 (Raúl Marín). Add the ability to reshuffle rows during insert to optimize for size without violating the order set by PRIMARY KEY . It's controlled by the setting optimize_row_order (off by default). #63578 ( Igor Markelov ). Add a native parquet reader, which can read parquet binary to ClickHouse Columns directly. It's controlled by the setting input_format_parquet_use_native_reader (disabled by default). #60361 ( ZhiHong Zhang ). Support partial trivial count optimization when the query filter is able to select exact ranges from merge tree tables. #60463 ( Amos Bird ). Reduce max memory usage of multi-threaded INSERT s by collecting chunks of multiple threads in a single transform. #61047 ( Yarik Briukhovetskyi ). Reduce the memory usage when using Azure object storage by using fixed memory allocation, avoiding the allocation of an extra buffer. #63160 ( SmitaRKulkarni ). Reduce the number of virtual function calls in ColumnNullable::size . #60556 ( HappenLee ). Speedup splitByRegexp when the regular expression argument is a single-character. #62696 ( Robert Schulze ). Speed up aggregation by 8-bit and 16-bit keys by keeping track of the min and max keys used. This allows to reduce the number of cells that need to be verified. #62746 ( Jiebin Sun ). Optimize operator IN when the left hand side is LowCardinality and the right is a set of constants. #64060 ( Zhiguo Zhou ).
{"source_file": "24_06.md"}
[ -0.008280876092612743, 0.02130979858338833, -0.057588398456573486, 0.026072079315781593, -0.06809352338314056, -0.007091256324201822, -0.11536227911710739, 0.05667565017938614, -0.03116496279835701, -0.0022772643715143204, 0.004512072075158358, -0.06896089762449265, 0.0693858414888382, -0....
8f4c78f7-a94f-486f-9b90-0d07d9ef0b55
Optimize operator IN when the left hand side is LowCardinality and the right is a set of constants. #64060 ( Zhiguo Zhou ). Use a thread pool to initialize and destroy hash tables inside ConcurrentHashJoin . #64241 ( Nikita Taranov ). Optimized vertical merges in tables with sparse columns. #64311 ( Anton Popov ). Enabled prefetches of data from remote filesystem during vertical merges. It improves latency of vertical merges in tables with data stored on remote filesystem. #64314 ( Anton Popov ). Reduce redundant calls to isDefault of ColumnSparse::filter to improve performance. #64426 ( Jiebin Sun ). Speedup find_super_nodes and find_big_family keeper-client commands by making multiple asynchronous getChildren requests. #64628 ( Alexander Gololobov ). Improve function least / greatest for nullable numberic type arguments. #64668 ( KevinyhZou ). Allow merging two consequent filtering steps of a query plan. This improves filter-push-down optimization if the filter condition can be pushed down from the parent step. #64760 ( Nikolai Kochetov ). Remove bad optimization in the vertical final implementation and re-enable vertical final algorithm by default. #64783 ( Duc Canh Le ). Remove ALIAS nodes from the filter expression. This slightly improves performance for queries with PREWHERE (with the new analyzer). #64793 ( Nikolai Kochetov ). Re-enable OpenSSL session caching. #65111 ( Robert Schulze ). Added settings to disable materialization of skip indexes and statistics on inserts ( materialize_skip_indexes_on_insert and materialize_statistics_on_insert ). #64391 ( Anton Popov ). Use the allocated memory size to calculate the row group size and reduce the peak memory of the parquet writer in the single-threaded mode. #64424 ( LiuNeng ). Improve the iterator of sparse column to reduce call of size . #64497 ( Jiebin Sun ). Update condition to use server-side copy for backups to Azure blob storage. #64518 ( SmitaRKulkarni ). Optimized memory usage of vertical merges for tables with high number of skip indexes. #64580 ( Anton Popov ). Improvement {#improvement} Returned back the behaviour of how ClickHouse works and interprets Tuples in CSV format. This change effectively reverts ClickHouse/ClickHouse#60994 and makes it available only under a few settings: output_format_csv_serialize_tuple_into_separate_columns, input_format_csv_deserialize_separate_columns_into_tuple and input_format_csv_try_infer_strings_from_quoted_tuples. #65170 (Nikita Mikhaylov). SHOW CREATE TABLE executed on top of system tables will now show the super handy comment unique for each table which will explain why this table is needed. #63788 ( Nikita Mikhaylov ). The second argument (scale) of functions round() , roundBankers() , floor() , ceil() and trunc() can now be non-const. #64798 ( Mikhail Gorshkov ).
{"source_file": "24_06.md"}
[ -0.0009503922774456441, 0.05395885556936264, -0.06573852151632309, -0.03138457611203194, -0.03353174030780792, -0.07223780453205109, -0.04166864976286888, 0.034611135721206665, -0.024372654035687447, 0.07214242219924927, 0.037194136530160904, 0.04019278660416603, 0.007165542338043451, -0.0...
b24e26ba-9b91-4e29-9270-13c23b5a6040
The second argument (scale) of functions round() , roundBankers() , floor() , ceil() and trunc() can now be non-const. #64798 ( Mikhail Gorshkov ). Avoid possible deadlock during MergeTree index analysis when scheduling threads in a saturated service. #59427 ( Sean Haynes ). Several minor corner case fixes to S3 proxy support & tunneling. #63427 ( Arthur Passos ). Add metrics to track the number of directories created and removed by the plain_rewritable metadata storage, and the number of entries in the local-to-remote in-memory map. #64175 ( Julia Kartseva ). The query cache now considers identical queries with different settings as different. This increases robustness in cases where different settings (e.g. limit or additional_table_filters ) would affect the query result. #64205 ( Robert Schulze ). Support the non standard error code QpsLimitExceeded in object storage as a retryable error. #64225 ( Sema Checherinda ). Added a new setting input_format_parquet_prefer_block_bytes to control the average output block bytes, and modified the default value of input_format_parquet_max_block_size to 65409. #64427 ( LiuNeng ). Settings from the user's config don't affect merges and mutations for MergeTree on top of object storage. #64456 ( alesapin ). Support the non standard error code TotalQpsLimitExceeded in object storage as a retryable error. #64520 ( Sema Checherinda ). Updated Advanced Dashboard for both open-source and ClickHouse Cloud versions to include a chart for 'Maximum concurrent network connections'. #64610 ( Thom O'Connor ). Improve progress report on zeros_mt and generateRandom . #64804 ( Raúl Marín ). Add an asynchronous metric jemalloc.profile.active to show whether sampling is currently active. This is an activation mechanism in addition to prof.active; both must be active for the calling thread to sample. #64842 ( Unalian ). Remove mark of allow_experimental_join_condition as important. This mark may have prevented distributed queries in a mixed versions cluster from being executed successfully. #65008 ( Nikita Mikhaylov ). Added server Asynchronous metrics DiskGetObjectThrottler* and DiskGetObjectThrottler* reflecting request per second rate limit defined with s3_max_get_rps and s3_max_put_rps disk settings and currently available number of requests that could be sent without hitting throttling limit on the disk. Metrics are defined for every disk that has a configured limit. #65050 ( Sergei Trifonov ). Add a validation when creating a user with bcrypt_hash . #65242 ( Raúl Marín ). Add profile events for number of rows read during/after PREWHERE . #64198 ( Nikita Taranov ). Print query in EXPLAIN PLAN with parallel replicas. #64298 ( vdimir ). Rename allow_deprecated_functions to allow_deprecated_error_prone_window_functions . #64358 ( Raúl Marín ).
{"source_file": "24_06.md"}
[ -0.058049459010362625, -0.01735297031700611, -0.05330229550600052, 0.021853365004062653, -0.042128320783376694, -0.04880097880959511, -0.013630516827106476, 0.050750482827425, 0.030791031196713448, 0.032082777470350266, -0.0003826898755505681, 0.019963013008236885, 0.00266837514936924, -0....
011973fa-89b9-4a1b-857e-b671b82133b2
Print query in EXPLAIN PLAN with parallel replicas. #64298 ( vdimir ). Rename allow_deprecated_functions to allow_deprecated_error_prone_window_functions . #64358 ( Raúl Marín ). Respect max_read_buffer_size setting for file descriptors as well in the file table function. #64532 ( Azat Khuzhin ). Disable transactions for unsupported storages even for materialized views. #64918 ( alesapin ). Forbid QUALIFY clause in the old analyzer. The old analyzer ignored QUALIFY , so it could lead to unexpected data removal in mutations. #65356 ( Dmitry Novik ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release} Fixed 'set' skip index not working with IN and indexHint(). #62083 (Michael Kolupaev). Fix queries with FINAL give wrong result when table does not use adaptive granularity. #62432 (Duc Canh Le). Support executing function during assignment of parameterized view value. #63502 (SmitaRKulkarni). Fixed parquet memory tracking. #63584 (Michael Kolupaev). Fix rare case with missing data in the result of distributed query. #63691 (vdimir). Fixed reading of columns of type Tuple(Map(LowCardinality(String), String), ...). #63956 (Anton Popov). Fix resolve of unqualified COLUMNS matcher. Preserve the input columns order and forbid usage of unknown identifiers. #63962 (Dmitry Novik). Fix an Cyclic aliases error for cyclic aliases of different type (expression and function). #63993 (Nikolai Kochetov). This fix will use a proper redefined context with the correct definer for each individual view in the query pipeline. #64079 (pufit). Fix analyzer: "Not found column" error is fixed when using INTERPOLATE. #64096 (Yakov Olkhovskiy). Prevent LOGICAL_ERROR on CREATE TABLE as MaterializedView. #64174 (Raúl Marín). The query cache now considers two identical queries against different databases as different. The previous behavior could be used to bypass missing privileges to read from a table. #64199 (Robert Schulze). Fix possible abort on uncaught exception in ~WriteBufferFromFileDescriptor in StatusFile. #64206 (Kruglov Pavel). Fix duplicate alias error for distributed queries with ARRAY JOIN. #64226 (Nikolai Kochetov). Fix unexpected accurateCast from string to integer. #64255 (wudidapaopao). Fixed CNF simplification, in case any OR group contains mutually exclusive atoms. #64256 (Eduard Karacharov). Fix Query Tree size validation. #64377 (Dmitry Novik). Fix Logical error: Bad cast for Buffer table with PREWHERE. #64388 (Nikolai Kochetov). Fixed CREATE TABLE AS queries for tables with default expressions. #64455 (Anton Popov). Fixed optimize_read_in_order behaviour for ORDER BY ... NULLS FIRST / LAST on tables with nullable keys. #64483 (Eduard Karacharov).
{"source_file": "24_06.md"}
[ -0.06765628606081009, 0.0728943943977356, -0.015374482609331608, 0.03707665205001831, 0.030632348731160164, -0.09204811602830887, -0.07103294879198074, 0.03234970197081566, -0.04326426237821579, 0.012893026694655418, 0.060660406947135925, 0.015564708970487118, 0.017909785732626915, -0.0555...
2ced216e-152b-418c-b152-b6ad5767c9e3
Fixed optimize_read_in_order behaviour for ORDER BY ... NULLS FIRST / LAST on tables with nullable keys. #64483 (Eduard Karacharov). Fix the Expression nodes list expected 1 projection names and Unknown expression or identifier errors for queries with aliases to GLOBAL IN.. #64517 (Nikolai Kochetov). Fix an error Cannot find column in distributed queries with constant CTE in the GROUP BY key. #64519 (Nikolai Kochetov). Fix the output of function formatDateTimeInJodaSyntax when a formatter generates an uneven number of characters and the last character is 0. For example, SELECT formatDateTimeInJodaSyntax(toDate('2012-05-29'), 'D') now correctly returns 150 instead of previously 15. #64614 (LiuNeng). Do not rewrite aggregation if -If combinator is already used. #64638 (Dmitry Novik). Fix type inference for float (in case of small buffer, i.e. --max_read_buffer_size 1). #64641 (Azat Khuzhin). Fix bug which could lead to non-working TTLs with expressions. #64694 (alesapin). Fix removing the WHERE and PREWHERE expressions, which are always true (for the new analyzer). #64695 (Nikolai Kochetov). Fixed excessive part elimination by token-based text indexes (ngrambf , full_text) when filtering by result of startsWith, endsWith, match, multiSearchAny. #64720 (Eduard Karacharov). Fixes incorrect behaviour of ANSI CSI escaping in the UTF8::computeWidth function. #64756 (Shaun Struwig). Fix a case of incorrect removal of ORDER BY / LIMIT BY across subqueries. #64766 (Raúl Marín). Fix (experimental) unequal join with subqueries for sets which are in the mixed join conditions. #64775 (lgbo). Fix crash in a local cache over plain_rewritable disk. #64778 (Julia Kartseva). Fix Cannot find column in distributed query with ARRAY JOIN by Nested column. Fixes #64755. #64801 (Nikolai Kochetov). Fix memory leak in slru cache policy. #64803 (Kseniia Sumarokova). Fixed possible incorrect memory tracking in several kinds of queries: queries that read any data from S3, queries via http protocol, asynchronous inserts. #64844 (Anton Popov). Fix the Block structure mismatch error for queries reading with PREWHERE from the materialized view when the materialized view has columns of different types than the source table. Fixes #64611. #64855 (Nikolai Kochetov). Fix rare crash when table has TTL with subquery + database replicated + parallel replicas + analyzer. It's really rare, but please don't use TTLs with subqueries. #64858 (alesapin). Fix ALTER MODIFY COMMENT query that was broken for parameterized VIEWs in ClickHouse/ClickHouse#54211. #65031 (Nikolay Degterinsky). Fix host_id in DatabaseReplicated when cluster_secure_connection parameter is enabled. Previously all the connections within the cluster created by DatabaseReplicated were not secure, even if the parameter was enabled. #65054 (Nikolay Degterinsky). Fixing the Not-ready Set error after the PREWHERE optimization for StorageMerge. #65057 (Nikolai Kochetov).
{"source_file": "24_06.md"}
[ -0.010937118902802467, 0.017527878284454346, 0.06085745245218277, 0.011640864424407482, -0.1053355261683464, -0.014464796520769596, 0.004858671687543392, 0.04486682265996933, 0.013428108766674995, 0.07169587165117264, 0.020830493420362473, 0.002742784796282649, 0.004996567964553833, -0.057...
d51799a9-e191-463a-af1c-718670377eb4
Fixing the Not-ready Set error after the PREWHERE optimization for StorageMerge. #65057 (Nikolai Kochetov). Avoid writing to finalized buffer in File-like storages. #65063 (Kruglov Pavel). Fix possible infinite query duration in case of cyclic aliases. Fixes #64849. #65081 (Nikolai Kochetov). Fix the Unknown expression identifier error for remote queries with INTERPOLATE (alias) (new analyzer). Fixes #64636. #65090 (Nikolai Kochetov). Fix pushing arithmetic operations out of aggregation. In the new analyzer, optimization was applied only once. #65104 (Dmitry Novik). Fix aggregate function name rewriting in the new analyzer. #65110 (Dmitry Novik). Respond with 5xx instead of 200 OK in case of receive timeout while reading (parts of) the request body from the client socket. #65118 (Julian Maicher). Fix possible crash for hedged requests. #65206 (Azat Khuzhin). Fix the bug in Hashed and Hashed_Array dictionary short circuit evaluation, which may read uninitialized number, leading to various errors. #65256 (jsc0218). This PR ensures that the type of the constant(IN operator's second parameter) is always visible during the IN operator's type conversion process. Otherwise, losing type information may cause some conversions to fail, such as the conversion from DateTime to Date. fix (#64487). #65315 (pn).
{"source_file": "24_06.md"}
[ -0.057440824806690216, 0.07501506805419922, -0.04895731806755066, 0.04619963467121124, -0.08559200912714005, -0.09481139481067657, -0.05230746418237686, 0.05088182911276817, 0.0013779082801192999, 0.08876313269138336, -0.006302057299762964, 0.022786619141697884, 0.05643356591463089, -0.022...
2aa386c4-8dcd-418f-9d0b-dba85c250f3a
slug: /whats-new/changelog/24.2-fast-release title: 'v24.2 Changelog' description: 'Fast release changelog for v24.2' keywords: ['changelog'] sidebar_label: '24.2' sidebar_position: 9 doc_type: 'changelog' ClickHouse release tag: 24.2.2.15987 {#clickhouse-release-tag-242215987} Backward incompatible change {#backward-incompatible-change} Validate suspicious/experimental types in nested types. Previously we didn't validate such types (except JSON) in nested types like Array/Tuple/Map. #59385 ( Kruglov Pavel ). The sort clause ORDER BY ALL (introduced with v23.12) is replaced by ORDER BY * . The previous syntax was too error-prone for tables with a column all . #59450 ( Robert Schulze ). Add sanity check for number of threads and block sizes. #60138 ( Raúl Marín ). Reject incoming INSERT queries in case when query-level settings async_insert and deduplicate_blocks_in_dependent_materialized_views are enabled together. This behaviour is controlled by a setting throw_if_deduplication_in_dependent_materialized_views_enabled_with_async_insert and enabled by default. This is a continuation of https://github.com/ClickHouse/ClickHouse/pull/59699 needed to unblock https://github.com/ClickHouse/ClickHouse/pull/59915. #60888 ( Nikita Mikhaylov ). Utility clickhouse-copier is moved to a separate repository on GitHub: https://github.com/ClickHouse/copier. It is no longer included in the bundle but is still available as a separate download. This closes: #60734 This closes: #60540 This closes: #60250 This closes: #52917 This closes: #51140 This closes: #47517 This closes: #47189 This closes: #46598 This closes: #40257 This closes: #36504 This closes: #35485 This closes: #33702 This closes: #26702 ### Documentation entry for user-facing changes. #61058 ( Nikita Mikhaylov ). To increase compatibility with MySQL, function locate now accepts arguments (needle, haystack[, start_pos]) by default. The previous behavior (haystack, needle, [, start_pos]) can be restored by setting function_locate_has_mysql_compatible_argument_order = 0 . #61092 ( Robert Schulze ).
{"source_file": "24_02.md"}
[ 0.01184429693967104, 0.007506092544645071, 0.09488275647163391, 0.019497504457831383, 0.007078869268298149, -0.04501364380121231, -0.05172280594706535, -0.031661346554756165, -0.04470916464924812, 0.09475364536046982, 0.05038747563958168, 0.055058255791664124, -0.02944250963628292, 0.00110...
9bf5244c-b749-4391-be35-82a1eb8b97c7
The obsolete in-memory data parts have been deprecated since version 23.5 and have not been supported since version 23.10. Now the remaining code is removed. Continuation of #55186 and #45409 . It is unlikely that you have used in-memory data parts because they were available only before version 23.5 and only when you enabled them manually by specifying the corresponding SETTINGS for a MergeTree table. To check if you have in-memory data parts, run the following query: SELECT part_type, count() FROM system.parts GROUP BY part_type ORDER BY part_type . To disable the usage of in-memory data parts, do ALTER TABLE ... MODIFY SETTING min_bytes_for_compact_part = DEFAULT, min_rows_for_compact_part = DEFAULT . Before upgrading from old ClickHouse releases, first check that you don't have in-memory data parts. If there are in-memory data parts, disable them first, then wait while there are no in-memory data parts and continue the upgrade. #61127 ( Alexey Milovidov ). Forbid SimpleAggregateFunction in ORDER BY of MergeTree tables (like AggregateFunction is forbidden, but they are forbidden because they are not comparable) by default (use allow_suspicious_primary_key to allow them). #61399 ( Azat Khuzhin ). ClickHouse allows arbitrary binary data in the String data type, which is typically UTF-8. Parquet/ORC/Arrow Strings only support UTF-8. That's why you can choose which Arrow's data type to use for the ClickHouse String data type - String or Binary. This is controlled by the settings, output_format_parquet_string_as_string , output_format_orc_string_as_string , output_format_arrow_string_as_string . While Binary would be more correct and compatible, using String by default will correspond to user expectations in most cases. Parquet/ORC/Arrow supports many compression methods, including lz4 and zstd. ClickHouse supports each and every compression method. Some inferior tools lack support for the faster lz4 compression method, that's why we set zstd by default. This is controlled by the settings output_format_parquet_compression_method , output_format_orc_compression_method , and output_format_arrow_compression_method . We changed the default to zstd for Parquet and ORC, but not Arrow (it is emphasized for low-level usages). #61817 ( Alexey Milovidov ). Fix for the materialized view security issue, which allowed a user to insert into a table without required grants for that. Fix validates that the user has permission to insert not only into a materialized view but also into all underlying tables. This means that some queries, which worked before, now can fail with Not enough privileges. To address this problem, the release introduces a new feature of SQL security for views https://clickhouse.com/docs/sql-reference/statements/create/view#sql_security . #54901 ( pufit ) New feature {#new-feature} Topk/topkweighed support mode, which return count of values and it's error. #54508 ( UnamedRus ).
{"source_file": "24_02.md"}
[ 0.0762895941734314, -0.014955053105950356, -0.009601873345673084, 0.016764553263783455, -0.02537384070456028, -0.05321687459945679, -0.0110327722504735, 0.06907666474580765, -0.06915908306837082, 0.03306509554386139, 0.06527490168809891, 0.004582913592457771, -0.004173539578914642, -0.0408...
a6cd3bd9-a95c-44f4-a910-8877b68c8f37
New feature {#new-feature} Topk/topkweighed support mode, which return count of values and it's error. #54508 ( UnamedRus ). Added new syntax which allows to specify definer user in view/materialized view. This allows to execute selects/inserts from views without explicit grants for underlying tables. #54901 ( pufit ). Implemented automatic conversion of merge tree tables of different kinds to replicated engine. Create empty convert_to_replicated file in table's data directory ( /clickhouse/store/xxx/xxxyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy/ ) and that table will be converted automatically on next server start. #57798 ( Kirill ). Added table function mergeTreeIndex . It represents the contents of index and marks files of MergeTree tables. It can be used for introspection. Syntax: mergeTreeIndex(database, table, [with_marks = true]) where database.table is an existing table with MergeTree engine. #58140 ( Anton Popov ). Try to detect file format automatically during schema inference if it's unknown in file/s3/hdfs/url/azureBlobStorage engines. Closes #50576 . #59092 ( Kruglov Pavel ). Add generate_series as a table function. This function generates table with an arithmetic progression with natural numbers. #59390 ( divanik ). Added query ALTER TABLE table FORGET PARTITION partition that removes ZooKeeper nodes, related to an empty partition. #59507 ( Sergei Trifonov ). Support reading and writing backups as tar archives. #59535 ( josh-hildred ). Provides new aggregate function 'groupArrayIntersect'. Follows up: #49862 . #59598 ( Yarik Briukhovetskyi ). Implemented system.dns_cache table, which can be useful for debugging DNS issues. #59856 ( Kirill Nikiforov ). Implemented support for S3Express buckets. #59965 ( Nikita Taranov ). The codec LZ4HC will accept a new level 2, which is faster than the previous minimum level 3, at the expense of less compression. In previous versions, LZ4HC(2) and less was the same as LZ4HC(3) . Author: Cyan4973 . #60090 ( Alexey Milovidov ). Implemented system.dns_cache table, which can be useful for debugging DNS issues. New server setting dns_cache_max_size. #60257 ( Kirill Nikiforov ). Added function toMillisecond which returns the millisecond component for values of type DateTime or DateTime64 . #60281 ( Shaun Struwig ). Support single-argument version for the merge table function, as merge(['db_name', ] 'tables_regexp') . #60372 ( 豪肥肥 ). Make all format names case insensitive, like Tsv, or TSV, or tsv, or even rowbinary. #60420 ( 豪肥肥 ). Added new syntax which allows to specify definer user in view/materialized view. This allows to execute selects/inserts from views without explicit grants for underlying tables. #60439 ( pufit ).
{"source_file": "24_02.md"}
[ -0.04217635095119476, -0.06296464800834656, -0.0366082638502121, 0.038165029138326645, -0.01870683953166008, -0.060373853892087936, -0.02813105843961239, 0.05324609950184822, -0.07850618660449982, 0.0649636760354042, 0.025454949587583542, -0.09653138369321823, 0.06405904144048691, -0.08969...
b025a55d-4ae7-4a94-9513-850d0c2ef22f
Added new syntax which allows to specify definer user in view/materialized view. This allows to execute selects/inserts from views without explicit grants for underlying tables. #60439 ( pufit ). Add four properties to the StorageMemory (memory-engine) min_bytes_to_keep, max_bytes_to_keep, min_rows_to_keep and max_rows_to_keep - Add tests to reflect new changes - Update memory.md documentation - Add table context property to MemorySink to enable access to table parameter bounds. #60612 ( Jake Bamrah ). Added function toMillisecond which returns the millisecond component for values of type DateTime or DateTime64 . #60649 ( Robert Schulze ). Separate limits on number of waiting and executing queries. Added new server setting max_waiting_queries that limits the number of queries waiting due to async_load_databases . Existing limits on number of executing queries no longer count waiting queries. #61053 ( Sergei Trifonov ). Add support for ATTACH PARTITION ALL . #61107 ( Kirill Nikiforov ). Performance Improvement {#performance-improvement} Eliminates min/max/any/anyLast aggregators of GROUP BY keys in SELECT section. #52230 ( JackyWoo ). Improve the performance of serialized aggregation method when involving multiple [nullable] columns. This is a general version of #51399 that doesn't compromise on abstraction integrity. #55809 ( Amos Bird ). Lazy build join output to improve performance of ALL join. #58278 ( LiuNeng ). Improvements to aggregate functions ArgMin / ArgMax / any / anyLast / anyHeavy, as well as ORDER BY {u8/u16/u32/u64/i8/i16/u32/i64) LIMIT 1 queries. #58640 ( Raúl Marín ). Optimize performance of sum/avg conditionally for bigint and big decimal types by reducing branch miss. #59504 ( 李扬 ). Improve performance of SELECTs with active mutations. #59531 ( Azat Khuzhin ). Trivial optimize on column filter. Avoid those filter columns whoes underlying data type is not number being filtered with result_size_hint = -1 . Peak memory can be reduced to 44% of the original in some cases. #59698 ( 李扬 ). Primary key will use less amount of memory. #60049 ( Alexey Milovidov ). Improve memory usage for primary key and some other operations. #60050 ( Alexey Milovidov ). The tables' primary keys will be loaded in memory lazily on first access. This is controlled by the new MergeTree setting primary_key_lazy_load , which is on by default. This provides several advantages: - it will not be loaded for tables that are not used; - if there is not enough memory, an exception will be thrown on first use instead of at server startup. This provides several disadvantages: - the latency of loading the primary key will be paid on the first query rather than before accepting connections; this theoretically may introduce a thundering-herd problem. This closes #11188 . #60093 ( Alexey Milovidov ).
{"source_file": "24_02.md"}
[ -0.012270210310816765, -0.08010188490152359, -0.14301961660385132, 0.08522944152355194, -0.09577048569917679, 0.019322047010064125, -0.03488365560770035, 0.021841518580913544, -0.03416306897997856, 0.027223072946071625, -0.00026117474772036076, -0.03907502815127373, 0.05598863586783409, -0...
c2209426-4a17-43c2-a26a-f1562e9e87ce
Vectorized function dotProduct which is useful for vector search. #60202 ( Robert Schulze ). If the table's primary key contains mostly useless columns, don't keep them in memory. This is controlled by a new setting primary_key_ratio_of_unique_prefix_values_to_skip_suffix_columns with the value 0.9 by default, which means: for a composite primary key, if a column changes its value for at least 0.9 of all the times, the next columns after it will be not loaded. #60255 ( Alexey Milovidov ). Execute multiIf function columnarly when result_type's underlying type is number. #60384 ( 李扬 ). As is shown in Fig 1, the replacement of "&&" with "&" could generate the SIMD code. Fig 1. Code compiled from '&&' (left) and '&' (right). #60498 ( Zhiguo Zhou ). Faster (almost 2x) mutexes (was slower due to ThreadFuzzer). #60823 ( Azat Khuzhin ). Move connection drain from prepare to work, and drain multiple connections in parallel. #60845 ( lizhuoyu5 ). Optimize insertManyFrom of nullable number or nullable string. #60846 ( 李扬 ). Optimized function dotProduct to omit unnecessary and expensive memory copies. #60928 ( Robert Schulze ). Operations with the filesystem cache will suffer less from the lock contention. #61066 ( Alexey Milovidov ). Optimize ColumnString::replicate and prevent memcpySmallAllowReadWriteOverflow15Impl from being optimized to built-in memcpy. Close #61074 . ColumnString::replicate speeds up by 2.46x on x86-64. #61075 ( 李扬 ). 30x faster printing for 256-bit integers. #61100 ( Raúl Marín ). If a query with a syntax error contained COLUMNS matcher with a regular expression, the regular expression was compiled each time during the parser's backtracking, instead of being compiled once. This was a fundamental error. The compiled regexp was put to AST. But the letter A in AST means "abstract" which means it should not contain heavyweight objects. Parts of AST can be created and discarded during parsing, including a large number of backtracking. This leads to slowness on the parsing side and consequently allows DoS by a readonly user. But the main problem is that it prevents progress in fuzzers. #61543 ( Alexey Milovidov ). Improvement {#improvement} While running the MODIFY COLUMN query for materialized views, check the inner table's structure to ensure every column exists. #47427 ( sunny ). Added table system.keywords which contains all the keywords from parser. Mostly needed and will be used for better fuzzing and syntax highlighting. #51808 ( Nikita Mikhaylov ). Added support for parameterized view with analyzer to not analyze create parameterized view. Refactor existing parameterized view logic to not analyze create parameterized view. #54211 ( SmitaRKulkarni ). Ordinary database engine is deprecated. You will receive a warning in clickhouse-client if your server is using it. This closes #52229 . #56942 ( shabroo ).
{"source_file": "24_02.md"}
[ -0.024783292785286903, 0.05168237164616585, -0.09234496206045151, -0.04995565861463547, -0.021993054077029228, -0.018852123990654945, -0.0010901717469096184, 0.015300747938454151, -0.032129719853401184, 0.06226601451635361, 0.10015535354614258, 0.013096898794174194, 0.06604722142219543, -0...
522f7960-1205-4d9b-b334-b32eea3ad3d0
Ordinary database engine is deprecated. You will receive a warning in clickhouse-client if your server is using it. This closes #52229 . #56942 ( shabroo ). All zero copy locks related to a table have to be dropped when the table is dropped. The directory which contains these locks has to be removed also. #57575 ( Sema Checherinda ). Add short-circuit ability for dictGetOrDefault function. Closes #52098 . #57767 ( jsc0218 ). Allow declaring enum in external table structure. #57857 ( Duc Canh Le ). Running ALTER COLUMN MATERIALIZE on a column with DEFAULT or MATERIALIZED expression now writes the correct values: The default value for existing parts with default value or the non-default value for existing parts with non-default value. Previously, the default value was written for all existing parts. #58023 ( Duc Canh Le ). Enabled a backoff logic (e.g. exponential). Will provide an ability for reduced CPU usage, memory usage and log file sizes. #58036 ( MikhailBurdukov ). Consider lightweight deleted rows when selecting parts to merge. #58223 ( Zhuo Qiu ). Allow to define volume_priority in storage_configuration . #58533 ( Andrey Zvonov ). Add support for Date32 type in T64 codec. #58738 ( Hongbin Ma ). This PR makes http/https connections reusable for all uses cases. Even when response is 3xx or 4xx. #58845 ( Sema Checherinda ). Added comments for columns for more system tables. Continuation of https://github.com/ClickHouse/ClickHouse/pull/58356. #59016 ( Nikita Mikhaylov ). Now we can use virtual columns in PREWHERE. It's worthwhile for non-const virtual columns like _part_offset . #59033 ( Amos Bird ). Settings for the Distributed table engine can now be specified in the server configuration file (similar to MergeTree settings), e.g. <distributed> <flush_on_detach>false</flush_on_detach> </distributed> . #59291 ( Azat Khuzhin ). Keeper improvement: cache only a certain amount of logs in-memory controlled by latest_logs_cache_size_threshold and commit_logs_cache_size_threshold . #59460 ( Antonio Andelic ). Instead using a constant key, now object storage generates key for determining remove objects capability. #59495 ( Sema Checherinda ). Don't infer floats in exponential notation by default. Add a setting input_format_try_infer_exponent_floats that will restore previous behaviour (disabled by default). Closes #59476 . #59500 ( Kruglov Pavel ).
{"source_file": "24_02.md"}
[ -0.03935155272483826, -0.02381049282848835, -0.04546792060136795, 0.03242246061563492, 0.014177784323692322, -0.03973081707954407, -0.026197602972388268, 0.007130507845431566, -0.06749310344457626, 0.1067785918712616, 0.043365322053432465, -0.018901832401752472, 0.018805529922246933, -0.04...
f6d5f00e-5ae9-4bf3-9fb9-e770ad6ba0b9
Allow alter operations to be surrounded by parenthesis. The emission of parentheses can be controlled by the format_alter_operations_with_parentheses config. By default in formatted queries the parentheses are emitted as we store the formatted alter operations in some places as metadata (e.g.: mutations). The new syntax clarifies some of the queries where alter operations end in a list. E.g.: ALTER TABLE x MODIFY TTL date GROUP BY a, b, DROP COLUMN c cannot be parsed properly with the old syntax. In the new syntax the query ALTER TABLE x (MODIFY TTL date GROUP BY a, b), (DROP COLUMN c) is obvious. Older versions are not able to read the new syntax, therefore using the new syntax might cause issues if newer and older version of ClickHouse are mixed in a single cluster. #59532 ( János Benjamin Antal ). Bumped Intel QPL (used by codec DEFLATE_QPL ) from v1.3.1 to v1.4.0 . Also fixed a bug for polling timeout mechanism, as we observed in same cases timeout won't work properly, if timeout happen, IAA and CPU may process buffer concurrently. So far, we'd better make sure IAA codec status is not QPL_STS_BEING_PROCESSED, then fallback to SW codec. #59551 ( jasperzhu ). Add positional pread in libhdfs3. If you want to call positional read in libhdfs3, use the hdfsPread function in hdfs.h as follows. tSize hdfsPread(hdfsFS fs, hdfsFile file, void * buffer, tSize length, tOffset position); . #59624 ( M1eyu ). Check for stack overflow in parsers even if the user misconfigured the max_parser_depth setting to a very high value. This closes #59622 . #59697 ( Alexey Milovidov ). Unify xml and sql created named collection behaviour in kafka storage. #59710 ( Pervakov Grigorii ). Allow uuid in replica_path if CREATE TABLE explicitly has it. #59908 ( Azat Khuzhin ). Add column metadata_version of ReplicatedMergeTree table in system.tables system table. #59942 ( Maksim Kita ). Keeper improvement: add retries on failures for Disk related operations. #59980 ( Antonio Andelic ). Add new config setting backups.remove_backup_files_after_failure : <clickhouse> <backups> <remove_backup_files_after_failure>true</remove_backup_files_after_failure> </backups> </clickhouse> . #60002 ( Vitaly Baranov ). Use multiple threads while reading the metadata of tables from a backup while executing the RESTORE command. #60040 ( Vitaly Baranov ). Now if StorageBuffer has more than 1 shard ( num_layers > 1) background flush will happen simultaneously for all shards in multiple threads. #60111 ( alesapin ). Support specifying users for specific S3 settings in config using user key. #60144 ( Antonio Andelic ). Copy S3 file GCP fallback to buffer copy in case GCP returned Internal Error with GATEWAY_TIMEOUT HTTP error code. #60164 ( Maksim Kita ). Allow "local" as object storage type instead of "local_blob_storage". #60165 ( Kseniia Sumarokova ).
{"source_file": "24_02.md"}
[ -0.09586864709854126, 0.010392953641712666, 0.028849732130765915, 0.0350671112537384, -0.08156175911426544, 0.015154092572629452, -0.015066243708133698, -0.005537000484764576, -0.006561684887856245, 0.018996452912688255, 0.06859948486089706, 0.007116382475942373, -0.05442588031291962, -0.0...
c26f631f-639a-479a-9399-335ebdadedb7
Allow "local" as object storage type instead of "local_blob_storage". #60165 ( Kseniia Sumarokova ). Implement comparison operator for Variant values and proper Field inserting into Variant column. Don't allow creating Variant type with similar variant types by default (allow uder a setting allow_suspicious_variant_types ) Closes #59996 . Closes #59850 . #60198 ( Kruglov Pavel ). Improved overall usability of virtual columns. Now it is allowed to use virtual columns in PREWHERE (it's worthwhile for non-const virtual columns like _part_offset ). Now a builtin documentation is available for virtual columns as a comment of column in DESCRIBE query with enabled setting describe_include_virtual_columns . #60205 ( Anton Popov ). Short circuit execution for ULIDStringToDateTime . #60211 ( Juan Madurga ). Added query_id column for tables system.backups and system.backup_log . Added error stacktrace to error column. #60220 ( Maksim Kita ). Parallel flush of pending INSERT blocks of Distributed engine on DETACH /server shutdown and SYSTEM FLUSH DISTRIBUTED (Parallelism will work only if you have multi disk policy for table (like everything in Distributed engine right now)). #60225 ( Azat Khuzhin ). Filter setting is improper in joinRightColumnsSwitchNullability , resolve #59625 . #60259 ( lgbo ). Add a setting to force read-through cache for merges. #60308 ( Kseniia Sumarokova ). Issue #57598 mentions a variant behaviour regarding transaction handling. An issued COMMIT/ROLLBACK when no transaction is active is reported as an error contrary to MySQL behaviour. #60338 ( PapaToemmsn ). Added none_only_active mode for distributed_ddl_output_mode setting. #60340 ( Alexander Tokmakov ). Connections through the MySQL port now automatically run with setting prefer_column_name_to_alias = 1 to support QuickSight out-of-the-box. Also, settings mysql_map_string_to_text_in_show_columns and mysql_map_fixed_string_to_text_in_show_columns are now enabled by default, affecting also only MySQL connections. This increases compatibility with more BI tools. #60365 ( Robert Schulze ). When output format is Pretty format and a block consists of a single numeric value which exceeds one million, A readable number will be printed on table right. e.g. ┌──────count()─┐ │ 233765663884 │ -- 233.77 billion └──────────────┘ . #60379 ( rogeryk ). Allow configuring HTTP redirect handlers for clickhouse-server. For example, you can make / redirect to the Play UI. #60390 ( Alexey Milovidov ). The advanced dashboard has slightly better colors for multi-line graphs. #60391 ( Alexey Milovidov ). Fix a race condition in JavaScript code leading to duplicate charts on top of each other. #60392 ( Alexey Milovidov ). Check for stack overflow in parsers even if the user misconfigured the max_parser_depth setting to a very high value. This closes #59622 . #60434 ( Alexey Milovidov ).
{"source_file": "24_02.md"}
[ 0.037399519234895706, 0.03995645418763161, -0.08595183491706848, 0.014806977473199368, -0.009300613775849342, -0.0049068741500377655, -0.05652758106589317, 0.07896145433187485, -0.013609297573566437, 0.011831204406917095, 0.028887495398521423, -0.05297760292887688, -0.015443263575434685, -...
324ff753-dd5c-4300-b475-751a7d039222
Check for stack overflow in parsers even if the user misconfigured the max_parser_depth setting to a very high value. This closes #59622 . #60434 ( Alexey Milovidov ). Function substring now has a new alias byteSlice . #60494 ( Robert Schulze ). Renamed server setting dns_cache_max_size to dns_cache_max_entries to reduce ambiguity. #60500 ( Kirill Nikiforov ). SHOW INDEX | INDEXES | INDICES | KEYS no longer sorts by the primary key columns (which was unintuitive). #60514 ( Robert Schulze ). Keeper improvement: abort during startup if an invalid snapshot is detected to avoid data loss. #60537 ( Antonio Andelic ). Added MergeTree read split ranges into intersecting and non intersecting fault injection using merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_fault_probability setting. #60548 ( Maksim Kita ). The Advanced dashboard now has controls always visible on scrolling. This allows you to add a new chart without scrolling up. #60692 ( Alexey Milovidov ). String types and Enums can be used in the same context, such as: arrays, UNION queries, conditional expressions. This closes #60726 . #60727 ( Alexey Milovidov ). Update tzdata to 2024a. #60768 ( Raúl Marín ). Support files without format extension in Filesystem database. #60795 ( Kruglov Pavel ). Keeper improvement: support leadership_expiry_ms in Keeper's settings. #60806 ( Brokenice0415 ). Always infer exponential numbers in JSON formats regardless of the setting input_format_try_infer_exponent_floats . Add setting input_format_json_use_string_type_for_ambiguous_paths_in_named_tuples_inference_from_objects that allows to use String type for ambiguous paths instead of an exception during named Tuples inference from JSON objects. #60808 ( Kruglov Pavel ). Add a flag for SMJ to treat null as biggest/smallest. So the behavior can be compitable with other SQL systems, like Apache Spark. #60896 ( loudongfeng ). Clickhouse version has been added to docker labels. Closes #54224 . #60949 ( Nikolay Monkov ). Add a setting parallel_replicas_allow_in_with_subquery = 1 which allows subqueries for IN work with parallel replicas. #60950 ( Nikolai Kochetov ). DNSResolver shuffles set of resolved IPs. #60965 ( Sema Checherinda ). Support detect output format by file exctension in clickhouse-client and clickhouse-local . #61036 ( 豪肥肥 ). Check memory limit update periodically. #61049 ( Han Fei ). Enable processors profiling (time spent/in and out bytes for sorting, aggregation, ...) by default. #61096 ( Azat Khuzhin ).
{"source_file": "24_02.md"}
[ -0.02170160785317421, -0.08634649217128754, -0.009745975956320763, -0.03543337062001228, -0.02743314392864704, -0.10624819248914719, -0.057497795671224594, 0.09409205615520477, -0.04757417365908623, 0.05723746865987778, 0.005222641862928867, 0.0441008098423481, 0.008214741013944149, -0.064...
cfa05ea7-fce0-43dc-b93c-4d19c8653e76
Check memory limit update periodically. #61049 ( Han Fei ). Enable processors profiling (time spent/in and out bytes for sorting, aggregation, ...) by default. #61096 ( Azat Khuzhin ). Add the function toUInt128OrZero , which was missed by mistake (the mistake is related to https://github.com/ClickHouse/ClickHouse/pull/945). The compatibility aliases FROM_UNIXTIME and DATE_FORMAT (they are not ClickHouse-native and only exist for MySQL compatibility) have been made case insensitive, as expected for SQL-compatibility aliases. #61114 ( Alexey Milovidov ). Improvements for the access checks, allowing to revoke of unpossessed rights in case the target user doesn't have the revoking grants either. Example: ```sql GRANT SELECT ON . TO user1; REVOKE SELECT ON system.* FROM user1;. #61115 ( pufit ). Fix an error in previeous opt: https://github.com/ClickHouse/ClickHouse/pull/59698: remove break to make sure the first filtered column has minimum size cc @jsc0218. #61145 ( 李扬 ). Fix has() function with Nullable column (fixes #60214 ). #61249 ( Mikhail Koviazin ). Now it's possible to specify attribute merge="true" in config substitutions for subtrees <include from_zk="/path" merge="true"> . In case this attribute specified, clickhouse will merge subtree with existing configuration, otherwise default behavior is append new content to configuration. #61299 ( alesapin ). Add async metrics for virtual memory mappings: VMMaxMapCount & VMNumMaps. Closes #60662 . #61354 ( Tuan Pham Anh ). Use temporary_files_codec setting in all places where we create temporary data, for example external memory sorting and external memory GROUP BY. Before it worked only in partial_merge JOIN algorithm. #61456 ( Maksim Kita ). Remove duplicated check containing_part.empty() , It's already being checked here: https://github.com/ClickHouse/ClickHouse/blob/1296dac3c7e47670872c15e3f5e58f869e0bd2f2/src/Storages/MergeTree/MergeTreeData.cpp#L6141. #61467 ( William Schoeffel ). Add a new setting max_parser_backtracks which allows to limit the complexity of query parsing. #61502 ( Alexey Milovidov ). Less contention during dynamic resize of filesystem cache. #61524 ( Kseniia Sumarokova ). Disallow sharded mode of StorageS3 queue, because it will be rewritten. #61537 ( Kseniia Sumarokova ). Fixed typo: from use_leagcy_max_level to use_legacy_max_level . #61545 ( William Schoeffel ). Remove some duplicate entries in blob_storage_log. #61622 ( YenchangChan ). Added current_user function as a compatibility alias for MySQL. #61770 ( Yarik Briukhovetskyi ). Use managed identity for backups IO when using Azure Blob Storage. Add a setting to prevent ClickHouse from attempting to create a non-existent container, which requires permissions at the storage account level. #61785 ( Daniel Pozo Escalona ).
{"source_file": "24_02.md"}
[ 0.00430819857865572, -0.02540001831948757, -0.044962119311094284, 0.020786738023161888, -0.07006515562534332, -0.08417748659849167, 0.05932145565748215, 0.04797244071960449, -0.049974992871284485, 0.0360136441886425, -0.0023270845413208008, 0.039933785796165466, 0.06611921638250351, 0.0271...
f976fa26-262e-4bad-920f-fa0168e246d3
In the previous version, some numbers in Pretty formats were not pretty enough. #61794 ( Alexey Milovidov ). A long value in Pretty formats won't be cut if it is the single value in the resultset, such as in the result of the SHOW CREATE TABLE query. #61795 ( Alexey Milovidov ). Similarly to clickhouse-local , clickhouse-client will accept the --output-format option as a synonym to the --format option. This closes #59848 . #61797 ( Alexey Milovidov ). If stdout is a terminal and the output format is not specified, clickhouse-client and similar tools will use PrettyCompact by default, similarly to the interactive mode. clickhouse-client and clickhouse-local will handle command line arguments for input and output formats in a unified fashion. This closes #61272 . #61800 ( Alexey Milovidov ). Underscore digit groups in Pretty formats for better readability. This is controlled by a new setting, output_format_pretty_highlight_digit_groups . #61802 ( Alexey Milovidov ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release} Fix bug with intDiv for decimal arguments #59243 ( Yarik Briukhovetskyi ). Fix_kql_issue_found_by_wingfuzz #59626 ( Yong Wang ). Fix error "Read beyond last offset" for AsynchronousBoundedReadBuffer #59630 ( Vitaly Baranov ). rabbitmq: fix having neither acked nor nacked messages #59775 ( Kseniia Sumarokova ). Fix function execution over const and LowCardinality with GROUP BY const for analyzer #59986 ( Azat Khuzhin ). Fix scale conversion for DateTime64 #60004 ( Yarik Briukhovetskyi ). Fix INSERT into SQLite with single quote (by escaping single quotes with a quote instead of backslash) #60015 ( Azat Khuzhin ). Fix optimize_uniq_to_count removing the column alias #60026 ( Raúl Marín ). Fix finished_mutations_to_keep=0 for MergeTree (as docs says 0 is to keep everything) #60031 ( Azat Khuzhin ). Fix possible exception from s3queue table on drop #60036 ( Kseniia Sumarokova ). PartsSplitter invalid ranges for the same part #60041 ( Maksim Kita ). Use max_query_size from context in DDLLogEntry instead of hardcoded 4096 #60083 ( Kruglov Pavel ). Fix inconsistent formatting of queries #60095 ( Alexey Milovidov ). Fix inconsistent formatting of explain in subqueries #60102 ( Alexey Milovidov ). Fix cosineDistance crash with Nullable #60150 ( Raúl Marín ). Allow casting of bools in string representation to to true bools #60160 ( Robert Schulze ). Fix system.s3queue_log #60166 ( Kseniia Sumarokova ). Fix arrayReduce with nullable aggregate function name #60188 ( Raúl Marín ). Fix actions execution during preliminary filtering (PK, partition pruning) #60196 ( Azat Khuzhin ). Hide sensitive info for s3queue #60233 ( Kseniia Sumarokova ). Revert "Replace ORDER BY ALL by ORDER BY * " #60248 ( Robert Schulze ).
{"source_file": "24_02.md"}
[ 0.02474309876561165, -0.02643083594739437, -0.040572430938482285, -0.010409248992800713, -0.03537236526608467, 0.011676113121211529, -0.011831536889076233, 0.042441122233867645, -0.02383611723780632, -0.02430359646677971, -0.00753537192940712, -0.011684970930218697, 0.028401672840118408, -...
55e4cc4e-c2e6-4fd9-960c-ea49d4318253
Hide sensitive info for s3queue #60233 ( Kseniia Sumarokova ). Revert "Replace ORDER BY ALL by ORDER BY * " #60248 ( Robert Schulze ). Azure Blob Storage : Fix issues endpoint and prefix #60251 ( SmitaRKulkarni ). Fix http exception codes. #60252 ( Austin Kothig ). fix LRUResource Cache bug (Hive cache) #60262 ( shanfengp ). s3queue: fix bug (also fixes flaky test_storage_s3_queue/test.py::test_shards_distributed) #60282 ( Kseniia Sumarokova ). Fix use-of-uninitialized-value and invalid result in hashing functions with IPv6 #60359 ( Kruglov Pavel ). Force reanalysis if parallel replicas changed #60362 ( Raúl Marín ). Fix usage of plain metadata type with new disks configuration option #60396 ( Kseniia Sumarokova ). Don't allow to set max_parallel_replicas to 0 as it doesn't make sense #60430 ( Kruglov Pavel ). Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike #60451 ( Kruglov Pavel ). Fix OptimizeDateOrDateTimeConverterWithPreimageVisitor with null arguments #60453 ( Raúl Marín ). Try to avoid calculation of scalar subqueries for CREATE TABLE. #60464 ( Nikolai Kochetov ). Merging #59674 . #60470 ( Alexey Milovidov ). Correctly check keys in s3Cluster #60477 ( Antonio Andelic ). Fix deadlock in parallel parsing when lots of rows are skipped due to errors #60516 ( Kruglov Pavel ). Fix_max_query_size_for_kql_compound_operator: #60534 ( Yong Wang ). Keeper fix: add timeouts when waiting for commit logs #60544 ( Antonio Andelic ). Reduce the number of read rows from system.numbers #60546 ( JackyWoo ). Don't output number tips for date types #60577 ( Raúl Marín ). Fix reading from MergeTree with non-deterministic functions in filter #60586 ( Kruglov Pavel ). Fix logical error on bad compatibility setting value type #60596 ( Kruglov Pavel ). Fix inconsistent aggregate function states in mixed x86-64 / ARM clusters #60610 ( Harry Lee ). fix(prql): Robust panic handler #60615 ( Maximilian Roos ). Fix intDiv for decimal and date arguments #60672 ( Yarik Briukhovetskyi ). Fix: expand CTE in alter modify query #60682 ( Yakov Olkhovskiy ). Fix system.parts for non-Atomic/Ordinary database engine (i.e. Memory) #60689 ( Azat Khuzhin ). Fix "Invalid storage definition in metadata file" for parameterized views #60708 ( Azat Khuzhin ). Fix buffer overflow in CompressionCodecMultiple #60731 ( Alexey Milovidov ). Remove nonsense from SQL/JSON #60738 ( Alexey Milovidov ). Remove wrong sanitize checking in aggregate function quantileGK #60740 ( 李扬 ). Fix insert-select + insert_deduplication_token bug by setting streams to 1 #60745 ( Jordi Villar ). Prevent setting custom metadata headers on unsupported multipart upload operations #60748 ( Francisco J. Jurado Moreno ). Fix toStartOfInterval #60763 ( Andrey Zvonov ).
{"source_file": "24_02.md"}
[ -0.011688693426549435, 0.0071389880031347275, -0.04706189036369324, -0.0009892232483252883, 0.01806311309337616, -0.040103036910295486, -0.025075159966945648, -0.0750008150935173, 0.04176900163292885, 0.09803522378206253, 0.03579115867614746, -0.003965974319726229, 0.06996108591556549, -0....
1ac1ff20-31e6-448e-a744-8959ec1523f1
Prevent setting custom metadata headers on unsupported multipart upload operations #60748 ( Francisco J. Jurado Moreno ). Fix toStartOfInterval #60763 ( Andrey Zvonov ). Fix crash in arrayEnumerateRanked #60764 ( Raúl Marín ). Fix crash when using input() in INSERT SELECT JOIN #60765 ( Kruglov Pavel ). Fix crash with different allow_experimental_analyzer value in subqueries #60770 ( Dmitry Novik ). Remove recursion when reading from S3 #60849 ( Antonio Andelic ). Fix possible stuck on error in HashedDictionaryParallelLoader #60926 ( vdimir ). Fix async RESTORE with Replicated database #60934 ( Antonio Andelic ). Fix deadlock in async inserts to Log tables via native protocol #61055 ( Anton Popov ). Fix lazy execution of default argument in dictGetOrDefault for RangeHashedDictionary #61196 ( Kruglov Pavel ). Fix multiple bugs in groupArraySorted #61203 ( Raúl Marín ). Fix Keeper reconfig for standalone binary #61233 ( Antonio Andelic ). Fix usage of session_token in S3 engine #61234 ( Kruglov Pavel ). Fix possible incorrect result of aggregate function uniqExact #61257 ( Anton Popov ). Fix bugs in show database #61269 ( Raúl Marín ). Fix logical error in RabbitMQ storage with MATERIALIZED columns #61320 ( vdimir ). Fix CREATE OR REPLACE DICTIONARY #61356 ( Vitaly Baranov ). Fix ATTACH query with external ON CLUSTER #61365 ( Nikolay Degterinsky ). fix issue of actions dag split #61458 ( Raúl Marín ). Fix finishing a failed RESTORE #61466 ( Vitaly Baranov ). Disable async_insert_use_adaptive_busy_timeout correctly with compatibility settings #61468 ( Raúl Marín ). Allow queuing in restore pool #61475 ( Nikita Taranov ). Fix bug when reading system.parts using UUID (issue 61220). #61479 ( Dan Wu ). Fix crash in window view #61526 ( Alexey Milovidov ). Fix repeat with non native integers #61527 ( Antonio Andelic ). Fix client -s argument #61530 ( Mikhail f. Shiryaev ). Fix crash in arrayPartialReverseSort #61539 ( Raúl Marín ). Fix string search with const position #61547 ( Antonio Andelic ). Fix addDays cause an error when used datetime64 #61561 ( Shuai li ). Fix system.part_log for async insert with deduplication #61620 ( Antonio Andelic ). Fix Non-ready set for system.parts. #61666 ( Nikolai Kochetov ).
{"source_file": "24_02.md"}
[ 0.00696036359295249, -0.0028645358979701996, -0.06211458891630173, -0.06269455701112747, -0.02156955748796463, -0.023485926911234856, -0.08693359792232513, 0.0010228654136881232, -0.06183771416544914, 0.05261205509305, -0.010310843586921692, -0.06366144120693207, 0.04648793488740921, -0.00...
f2649356-095a-477c-ac05-5162bca262b6
slug: /changelogs/24.12 title: 'v24.12 Changelog for Cloud' description: 'Fast release changelog for v24.12' keywords: ['changelog', 'cloud'] sidebar_label: '24.12' sidebar_position: 4 doc_type: 'changelog' Relevant changes for ClickHouse Cloud services based on the v24.12 release. Backward incompatible changes {#backward-incompatible-changes} Functions greatest and least now ignore NULL input values, whereas they previously returned NULL if one of the arguments was NULL. For example, SELECT greatest(1, 2, NULL) now returns 2. This makes the behavior compatible with PostgreSQL. #65519 ( kevinyhzou ). Don't allow Variant/Dynamic types in ORDER BY/GROUP BY/PARTITION BY/PRIMARY KEY by default because it may lead to unexpected results. #69731 ( Pavel Kruglov ). Remove system tables generate_series and generateSeries . They were added by mistake here: #59390 . #71091 ( Alexey Milovidov ). Remove StorageExternalDistributed . Closes #70600 . #71176 ( flynn ). Settings from server config (users.xml) now apply on the client too. Useful for format settings, e.g. date_time_output_format . #71178 ( Michael Kolupaev ). Fix possible error No such file or directory due to unescaped special symbols in files for JSON subcolumns. #71182 ( Pavel Kruglov ). The table engines Kafka, NATS and RabbitMQ are now covered by their own grants in the SOURCES hierarchy. Add grants to any non-default database users that create tables with these engine types. #71250 ( Christoph Wurm ). Check the full mutation query before executing it (including subqueries). This prevents accidentally running an invalid query and building up dead mutations that block valid mutations. #71300 ( Christoph Wurm ). Rename filesystem cache setting skip_download_if_exceeds_query_cache to filesystem_cache_skip_download_if_exceeds_per_query_cache_write_limit . #71578 ( Kseniia Sumarokova ). Forbid Dynamic/Variant types in min/max functions to avoid confusion. #71761 ( Pavel Kruglov ). Remove support for Enum as well as UInt128 and UInt256 arguments in deltaSumTimestamp . Remove support for Int8 , UInt8 , Int16 , and UInt16 of the second ("timestamp") argument of deltaSumTimestamp . #71790 ( Alexey Milovidov ). Added source query validation when ClickHouse is used as a source for a dictionary. #72548 ( Alexey Katsman ). New features {#new-features} Implement SYSTEM LOAD PRIMARY KEY command to load primary indexes for all parts of a specified table or for all tables if no table is specified. This will be useful for benchmarks and to prevent extra latency during query execution. #66252 ( ZAWA_ll ). Added statement SYSTEM LOAD PRIMARY KEY for loading the primary indexes of all parts in a specified table or for all tables if no table is specified. This can be useful for benchmarking and to prevent extra latency during query execution. #67733 ( ZAWA_ll ).
{"source_file": "24_12.md"}
[ 0.018698062747716904, -0.019979635253548622, 0.10362649708986282, 0.016510343179106712, -0.033436696976423264, 0.0038642012514173985, -0.01934761181473732, -0.06471095234155655, 0.057474542409181595, 0.0761820524930954, 0.03727971762418747, 0.013787299394607544, -0.01481559220701456, -0.10...
8e654b9a-f93a-498e-81aa-8b0377557463
Add CHECK GRANT query to check whether the current user/role has been granted the specific privilege and whether the corresponding table/column exists in the memory. #68885 ( Unalian ). Added SQL syntax to describe workload and resource management. https://clickhouse.com/docs/en/operations/workload-scheduling. #69187 ( Sergei Trifonov ). The Iceberg data storage format provides the user with extensive options for modifying the schema of their table. In this pull request, reading a table in Iceberg format has been implemented, where the order of columns, column names, and simple type extensions have been changed. #69445 ( Daniil Ivanik ). Allow each authentication method to have its own expiration date, remove from user entity. #70090 ( Arthur Passos ). Push external user roles from query originator to other nodes in cluster. Helpful when only originator has access to the external authenticator (like LDAP). #70332 ( Andrey Zvonov ). Support alter from String to JSON. This PR also changes the serialization of JSON and Dynamic types to new version V2. Old version V1 can be still used by enabling setting merge_tree_use_v1_object_and_dynamic_serialization (can be used during upgrade to be able to rollback the version without issues). #70442 ( Pavel Kruglov ). Add function toUnixTimestamp64Second which converts a DateTime64 to a Int64 value with fixed second precision, so we can support return negative value if date is before 00:00:00 UTC on Thursday, 1 January 1970. #70597 ( zhanglistar ). Add new setting enforce_index_structure_match_on_partition_manipulation to allow attach when source table's projections and secondary indices is a subset of those in the target table. Close #70602 . #70603 ( zwy991114 ). The output of function cast differs with Apache Spark which cause difference in gluten project, see https://github.com/apache/incubator-gluten/issues/7602 This PR adds Spark text output format support feature, default closed. #70957 ( zhanglistar ). Added a new header type for S3 endpoints for user authentication ( access_header ). This allows to get some access header with the lowest priority, which will be overwritten with access_key_id from any other source (for example, a table schema or a named collection). #71011 ( MikhailBurdukov ). Initial implementation of settings tiers. #71145 ( Raúl Marín ). Add support for staleness clause in order by with fill operator. #71151 ( Mikhail Artemenko ). Implement simple CAST from Map/Tuple/Object to new JSON through serialization/deserialization from JSON string. #71320 ( Pavel Kruglov ).
{"source_file": "24_12.md"}
[ -0.06025898456573486, -0.005107577424496412, -0.08932606130838394, 0.10339504480361938, -0.05134168267250061, -0.006676453165709972, -0.013185465708374977, 0.0542297326028347, -0.06777047365903854, 0.012621982954442501, 0.008420377969741821, 0.035653483122587204, 0.019510138779878616, -0.0...
12b52f51-e27b-407b-a13f-8481f1978441
Implement simple CAST from Map/Tuple/Object to new JSON through serialization/deserialization from JSON string. #71320 ( Pavel Kruglov ). Added aliases anyRespectNulls , firstValueRespectNulls , and anyValueRespectNulls for aggregation function any . Also added aliases anyLastRespectNulls and lastValueRespectNulls for aggregation function anyLast . This allows using more natural camel-case-only syntax rather than mixed camel-case/underscore syntax, for example: SELECT anyLastRespectNullsStateIf instead of anyLast_respect_nullsStateIf . #71403 ( Peter Nguyen ). Added the configuration date_time_utc parameter, enabling JSON log formatting to support UTC date-time in RFC 3339/ISO8601 format. #71560 ( Ali ). Added an option to select the side of the join that will act as the inner (build) table in the query plan. This is controlled by query_plan_join_swap_table , which can be set to auto . In this mode, ClickHouse will try to choose the table with the smallest number of rows. #71577 ( Vladimir Cherkasov ). Optimized memory usage for values of index granularity if granularity is constant for part. Added an ability to always select constant granularity for part (setting use_const_adaptive_granularity ), which helps to ensure that it is always optimized in memory. It helps in large workloads (trillions of rows in shared storage) to avoid constantly growing memory usage by metadata (values of index granularity) of data parts. #71786 ( Anton Popov ). Implement allowed_feature_tier as a global switch to disable all experimental / beta features. #71841 ( Raúl Marín ). Add iceberg[S3;HDFS;Azure]Cluster , deltaLakeCluster , hudiCluster table functions. #72045 ( Mikhail Artemenko ). Add syntax ALTER USER {ADD|MODIFY|DROP SETTING} , ALTER USER {ADD|DROP PROFILE} , the same for ALTER ROLE and ALTER PROFILE . #72050 ( pufit ). Added arrayPrAUC function, which calculates the AUC (Area Under the Curve) for the Precision Recall curve. #72073 ( Emmanuel ). Added cache for primary index of MergeTree tables (can be enabled by table setting use_primary_key_cache ). If lazy load and cache are enabled for primary index, it will be loaded to cache on demand (similar to mark cache) instead of keeping it in memory forever. Added prewarm of primary index on inserts/mergs/fetches of data parts and on restarts of table (can be enabled by setting prewarm_primary_key_cache ). #72102 ( Anton Popov ). Add indexOfAssumeSorted function for array types. Optimizes the search in the case of a sorted in non-decreasing order array. #72517 ( Eric Kurbanov ). Allows to use a delimiter as a optional second argument for aggregate function groupConcat . #72540 ( Yarik Briukhovetskyi ).
{"source_file": "24_12.md"}
[ -0.0500311404466629, 0.04644543305039406, 0.020787451416254044, 0.0157758891582489, -0.11609013378620148, 0.025299357250332832, -0.05360445752739906, 0.03164518252015114, -0.0658436268568039, 0.01930912584066391, 0.00041574452188797295, -0.045117564499378204, 0.0028728635516017675, -0.0051...
bb45d554-9a46-467f-8851-a922945cc3a1
Allows to use a delimiter as a optional second argument for aggregate function groupConcat . #72540 ( Yarik Briukhovetskyi ). A new setting, http_response_headers which allows you to customize the HTTP response headers. For example, you can tell the browser to render a picture that is stored in the database. This closes #59620 . #72656 ( Alexey Milovidov ). Add function fromUnixTimestamp64Second which converts a Int64 Unix timestamp value to a DateTime64. #73146 ( Robert Schulze ). Performance Improvements {#performance-improvements} Add 2 new settings short_circuit_function_evaluation_for_nulls and short_circuit_function_evaluation_for_nulls_threshold that allow to execute functions over Nullable columns in short-circuit manner when the ratio of NULL values in the block of data exceeds the specified threshold. It means that the function will be executed only on rows with non-null values. It applies only to functions that return NULL value for rows where at least one argument is NULL. #60129 ( 李扬 ). Memory usage of clickhouse disks remove --recursive is reduced for object storage disks. #67323 ( Kirill ). Now we won't copy input blocks columns for join_algorithm='parallel_hash' when distribute them between threads for parallel processing. #67782 ( Nikita Taranov ). Enable JIT compilation for more expressions: abs / bitCount / sign / modulo / pmod / isNull / isNotNull / assumeNotNull / to(U)Int* / toFloat* , comparison functions( = , < , > , >= , <= ), logical functions( and , or ). #70598 ( 李扬 ). Now parallel_hash algorithm will be used (if applicable) when join_algorithm setting is set to default . Two previous alternatives ( direct and hash ) are still considered when parallel_hash cannot be used. #70788 ( Nikita Taranov ). Optimized Replacing merge algorithm for non intersecting parts. #70977 ( Anton Popov ). Do not list detached parts from readonly and write-once disks for metrics and system.detached_parts. #71086 ( Alexey Milovidov ). Do not calculate heavy asynchronous metrics by default. The feature was introduced in #40332 , but it isn't good to have a heavy background job that is needed for only a single customer. #71087 ( Alexey Milovidov ). Improve the performance and accuracy of system.query_metric_log collection interval by reducing the critical region. #71473 ( Pablo Marcos ). Add option to extract common expressions from WHERE and ON expressions in order to reduce the number of hash tables used during joins. Can be enabled by optimize_extract_common_expressions = 1 . #71537 ( János Benjamin Antal ). Allows to use indexes on SELECT with LowCardinality(String) . #71598 ( Yarik Briukhovetskyi ).
{"source_file": "24_12.md"}
[ -0.02174813114106655, 0.11337639391422272, -0.11931856721639633, 0.03330489993095398, 0.003297114511951804, -0.05247894674539566, -0.08777681738138199, 0.04706484451889992, -0.016415806487202644, 0.01483088731765747, 0.017993729561567307, -0.09159672260284424, 0.0527399517595768, -0.094509...
76a8beae-e6ef-4755-ae42-8674cd3ebb84
Allows to use indexes on SELECT with LowCardinality(String) . #71598 ( Yarik Briukhovetskyi ). During query execution with parallel replicas and enabled local plan, skip index analysis on workers. The coordinator will choose ranges to read for workers based on index analysis on its side (on query initiator). #72109 ( Igor Nikonov ). Bring back optimization for reading subcolumns of single column in Compact parts from https://github.com/ClickHouse/ClickHouse/pull/57631. It was deleted accidentally. #72285 ( Pavel Kruglov ). Speedup sorting of LowCardinality(String) columns by de-virtualizing calls in comparator. #72337 ( Alexander Gololobov ). Optimize function argMin/Max for some simple data types. #72350 ( alesapin ). Optimize locking with shared locks in the memory tracker to reduce lock contention. #72375 ( Jiebin Sun ). Add a new setting, use_async_executor_for_materialized_views . Use async and potentially multithreaded execution of materialized view query, can speedup views processing during INSERT, but also consume more memory. #72497 ( alesapin ). Default values for settings max_size_to_preallocate_for_aggregation , max_size_to_preallocate_for_joins were further increased to 10^12 , so the optimisation will be applied in more cases. #72555 ( Nikita Taranov ). Improved performance of deserialization of states of aggregate functions (in data type AggregateFunction and in distributed queries). Slightly improved performance of parsing of format RowBinary . #72818 ( Anton Popov ). Improvement {#improvement} Higher-order functions with constant arrays and constant captured arguments will return constants. #58400 ( Alexey Milovidov ). Read-in-order optimization via generating virtual rows, so less data would be read during merge sort especially useful when multiple parts exist. #62125 ( Shichao Jin ). Query plan step names ( EXPLAIN PLAN json=1 ) and pipeline processor names ( EXPLAIN PIPELINE compact=0,graph=1 ) now have a unique id as a suffix. This allows to match processors profiler output and OpenTelemetry traces with explain output. #63518 ( qhsong ). Added option to check object exists after writing to Azure Blob Storage, this is controlled by setting check_objects_after_upload . #64847 ( Smita Kulkarni ). Fix use-after-dtor logic in HashTable destroyElements. #65279 ( cangyin ). Use Atomic database by default in clickhouse-local . Address items 1 and 5 from #50647 . Closes #44817 . #68024 ( Alexey Milovidov ). Write buffer has to be canceled or finalized explicitly. Exceptions break the HTTP protocol in order to alert the client about error. #68800 ( Sema Checherinda ). Report running DDLWorker hosts by creating replica_dir and mark replicas active in DDLWorker. #69658 ( Tuan Pham Anh ).
{"source_file": "24_12.md"}
[ -0.009122570045292377, 0.028667666018009186, -0.11436765640974045, 0.04886529967188835, -0.019330214709043503, -0.058827243745326996, -0.04071078076958656, 0.009575449861586094, 0.0014083721907809377, 0.014417614787817001, 0.010685071349143982, 0.049773938953876495, -0.02170795015990734, -...
78789c37-d908-4414-90c1-c3e8154b2788
Report running DDLWorker hosts by creating replica_dir and mark replicas active in DDLWorker. #69658 ( Tuan Pham Anh ). Refactor DDLQueryStatusSource : - Rename DDLQueryStatusSource to DistributedQueryStatusSource , and make it a base class - Create two subclasses DDLOnClusterQueryStatusSource and ReplicatedDatabaseQueryStatusSource derived from DDLQueryStatusSource to query the status of DDL tasks from DDL On Cluster and Replicated databases respectively. 2. Support stop waiting for offline hosts in DDLOnClusterQueryStatusSource`. #69660 ( Tuan Pham Anh ). Adding a new cancellation logic: CancellationChecker checks timeouts for every started query and stops them once the timeout has reached. #69880 ( Yarik Briukhovetskyi ). Remove the allow_experimental_join_condition setting, allowing non-equi conditions by default. #69910 ( Vladimir Cherkasov ). Enable parallel_replicas_local_plan by default. Building a full-fledged local plan on the query initiator improves parallel replicas performance with less resource consumption, provides opportunities to apply more query optimizations. #70171 ( Igor Nikonov ). Add ability to set user/password in http_handlers (for dynamic_query_handler / predefined_query_handler ). #70725 ( Azat Khuzhin ). Support ALTER TABLE ... MODIFY/RESET SETTING ... for certain settings in storage S3Queue. #70811 ( Kseniia Sumarokova ). Do not call the object storage API when listing directories, as this may be cost-inefficient. Instead, store the list of filenames in the memory. The trade-offs are increased initial load time and memory required to store filenames. #70823 ( Julia Kartseva ). Add --threads parameter to clickhouse-compressor , which allows to compress data in parallel. #70860 ( Alexey Milovidov ). Make the Replxx client history size configurable. #71014 ( Jiří Kozlovský ). Added a setting prewarm_mark_cache which enables loading of marks to mark cache on inserts, merges, fetches of parts and on startup of the table. #71053 ( Anton Popov ). Boolean support for parquet native reader. #71055 ( Arthur Passos ). Retry more errors when interacting with S3, such as "Malformed message". #71088 ( Alexey Milovidov ). Lower log level for some messages about S3. #71090 ( Alexey Milovidov ). Support write hdfs files with space. #71105 ( exmy ). system.session_log is quite okay. This closes #51760 . #71150 ( Alexey Milovidov ). Fixes RIGHT / FULL joins in queries with parallel replicas. Now, RIGHT joins can be executed with parallel replicas (right table reading is distributed). FULL joins can't be parallelized among nodes, - executed locally. #71162 ( Igor Nikonov ). Added settings limiting the number of replicated tables, dictionaries and views. #71179 ( Kirill ). Fixes #71227 . #71286 ( Arthur Passos ).
{"source_file": "24_12.md"}
[ -0.060594119131565094, -0.05454005300998688, -0.02798556350171566, 0.013588775880634785, -0.0350080169737339, -0.08389203250408173, -0.056217096745967865, -0.052248526364564896, -0.08518684655427933, 0.009180002845823765, 0.00426317797973752, 0.0025497169699519873, 0.03859377279877663, -0....
c74d4f90-0778-4b63-94a5-540cae0e4d8d
Added settings limiting the number of replicated tables, dictionaries and views. #71179 ( Kirill ). Fixes #71227 . #71286 ( Arthur Passos ). Automatic GROUP BY / ORDER BY to disk based on the server/user memory usage. Controlled with max_bytes_ratio_before_external_group_by / max_bytes_ratio_before_external_sort query settings. #71406 ( Azat Khuzhin ). Add per host dashboards Overview (host) and Cloud overview (host) to advanced dashboard. #71422 ( alesapin ). Function translate now supports character deletion if the from argument contains more characters than the to argument. Example: SELECT translate('clickhouse', 'clickhouse', 'CLICK') now returns CLICK . #71441 ( shuai.xu ). Added new functions parseDateTime64 , parseDateTime64OrNull and parseDateTime64OrZero . Compared to the existing function parseDateTime (and variants), they return a value of type DateTime64 instead of DateTime . #71581 ( kevinyhzou ). Shrink to fit index_granularity array in memory to reduce memory footprint for MergeTree table engines family. #71595 ( alesapin ). The command line applications will highlight syntax even for multi-statements. #71622 ( Alexey Milovidov ). Command-line applications will return non-zero exit codes on errors. In previous versions, the disks application returned zero on errors, and other applications returned zero for errors 256 ( PARTITION_ALREADY_EXISTS ) and 512 ( SET_NON_GRANTED_ROLE ). #71623 ( Alexey Milovidov ). The Vertical format (which is also activated when you end your query with \G ) gets the features of Pretty formats, such as: - highlighting thousand groups in numbers; - printing a readable number tip. #71630 ( Alexey Milovidov ). Allow to disable memory buffer increase for filesystem cache via setting filesystem_cache_prefer_bigger_buffer_size . #71640 ( Kseniia Sumarokova ). Add a separate setting background_download_max_file_segment_size for background download max file segment size in filesystem cache. #71648 ( Kseniia Sumarokova ). Changes the default value of enable_http_compression from 0 to 1. Closes #71591 . #71774 ( Peter Nguyen ). Support ALTER from Object to JSON. #71784 ( Pavel Kruglov ). Slightly better JSON type parsing: if current block for the JSON path contains values of several types, try to choose the best type by trying types in special best-effort order. #71785 ( Pavel Kruglov ). Previously reading from system.asynchronous_metrics would wait for concurrent update to finish. This can take long time if system is under heavy load. With this change the previously collected values can always be read. #71798 ( Alexander Gololobov ). Set polling_max_timeout_ms to 10 minutes, polling_backoff_ms to 30 seconds. #71817 ( Kseniia Sumarokova ). Queries like 'SELECT - FROM t LIMIT 1' used to load part indexes even though they were not used. #71866 ( Alexander Gololobov ).
{"source_file": "24_12.md"}
[ -0.008426249027252197, -0.0740535631775856, -0.02199050970375538, 0.011320246383547783, -0.005563198123127222, -0.05501638352870941, 0.03448228910565376, -0.062077902257442474, 0.09114708751440048, 0.04458046704530716, 0.03594672679901123, -0.04769641160964966, 0.06393713504076004, -0.0283...
257c0022-e4ff-4cff-91ef-9a1c86a06116
Queries like 'SELECT - FROM t LIMIT 1' used to load part indexes even though they were not used. #71866 ( Alexander Gololobov ). Allow_reorder_prewhere_conditions is on by default with old compatibility settings. #71867 ( Raúl Marín ). Do not increment the ILLEGAL_TYPE_OF_ARGUMENT counter in the system.errors table when the bitmapTransform function is used, and argument types are valid. #71971 ( Dmitry Novik ). When retrieving data directly from a dictionary using Dictionary storage, dictionary table function, or direct SELECT from the dictionary itself, it is now enough to have SELECT permission or dictGet permission for the dictionary. This aligns with previous attempts to prevent ACL bypasses: https://github.com/ClickHouse/ClickHouse/pull/57362 and https://github.com/ClickHouse/ClickHouse/pull/65359. It also makes the latter one backward compatible. #72051 ( Nikita Mikhaylov ). On the advanced dashboard HTML page added a dropdown selector for the dashboard from system.dashboards table. #72081 ( Sergei Trifonov ). Respect prefer_locahost_replica when building plan for distributed INSERT ... SELECT . #72190 ( filimonov ). The problem is described here . Azure Iceberg Writer creates Iceberg metadata files (as well as manifest files) that violate specs. In this PR I added an attempt to read v1 iceberg format metadata with v2 reader (cause they write it in a this way), and added error when they didn't create corresponding fields in a manifest file. #72277 ( Daniil Ivanik ). Move JSON/Dynamic/Variant types from experimental features to beta. #72294 ( Pavel Kruglov ). Now it's allowed to CREATE MATERIALIZED VIEW with UNION [ALL] in query. Behavior is the same as for matview with JOIN : * only first table in SELECT expression will work as trigger for insert - , all other tables will be ignored. #72347 ( alesapin ). Speed up insertions into merge tree in case of a single value of partition key inside inserted batch. #72348 ( alesapin ). Add the new MergeTreeIndexGranularityInternalArraysTotalSize metric to system.metrics. This metric is needed to find the instances with huge datasets susceptible to the high memory usage issue. #72490 ( Miсhael Stetsyuk ). All spellings of word Null now recognised when query uses Format Null . Previously other forms (e.g. NULL ) did not result in exceptions being thrown, but at the same time format Null wasn't actually used in those cases. #72658 ( Nikita Taranov ). Allow unknown values in set that are not present in Enum. Fix #72662 . #72686 ( zhanglistar ). Add total_bytes_with_inactive to system.tables to count the total bytes of inactive parts. #72690 ( Kai Zhu ). Add MergeTreeSettings to system.settings_changes. #72694 ( Raúl Marín ). Support string search operator(eg. like) for Enum data type, fix #72661 . #72732 ( zhanglistar ). Support JSON type in notEmpty function. #72741 ( Pavel Kruglov ).
{"source_file": "24_12.md"}
[ -0.02020714245736599, 0.03378747031092644, -0.05977824330329895, 0.02587530016899109, -0.024795668199658394, -0.05775303393602371, 0.04591142013669014, -0.03194747492671013, -0.016476033255457878, 0.05591044947504997, 0.03509138897061348, 0.05188488960266113, 0.040419045835733414, 0.010510...
4c67d2a3-49d7-40ed-b48a-93351dfaacaf
Support string search operator(eg. like) for Enum data type, fix #72661 . #72732 ( zhanglistar ). Support JSON type in notEmpty function. #72741 ( Pavel Kruglov ). Support parsing GCS S3 error AuthenticationRequired . #72753 ( Vitaly Baranov ). Support Dynamic type in functions ifNull and coalesce. #72772 ( Pavel Kruglov ). Added JoinBuildTableRowCount/JoinProbeTableRowCount/JoinResultRowCount profile events. #72842 ( Vladimir Cherkasov ). Support Dynamic in functions toFloat64/touInt32/etc. #72989 ( Pavel Kruglov ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix} The parts deduplicated during ATTACH PART query don't get stuck with the attaching_ prefix anymore. #65636 ( Kirill ). Fix for the bug when dateTime64 losing precision for the IN function. #67230 ( Yarik Briukhovetskyi ). Fix possible logical error when using functions with IGNORE/RESPECT NULLS in ORDER BY ... WITH FILL , close #57609 . #68234 ( Vladimir Cherkasov ). Fixed rare logical errors in asynchronous inserts with format Native in case of reached memory limit. #68965 ( Anton Popov ). Fix COMMENT in CREATE TABLE for EPHEMERAL column. #70458 ( Yakov Olkhovskiy ). Fix logical error in JSONExtract with LowCardinality(Nullable). #70549 ( Pavel Kruglov ). Fixes behaviour when table name is too long. #70810 ( Yarik Briukhovetskyi ). Add ability to override Content-Type by user headers in the URL engine. #70859 ( Artem Iurin ). Fix logical error in StorageS3Queue "Cannot create a persistent node in /processed since it already exists". #70984 ( Kseniia Sumarokova ). Fix the bug that didn't consider _row_exists column in rebuild option of projection lightweight delete. #71089 ( Shichao Jin ). Fix wrong value in system.query_metric_log due to unexpected race condition. #71124 ( Pablo Marcos ). Fix mismatched aggreage function name of quantileExactWeightedInterpolated. The bug was introduced in https://github.com/ClickHouse/ClickHouse/pull/69619. cc @Algunenano. #71168 ( 李扬 ). Fix bad_weak_ptr exception with Dynamic in functions comparison. #71183 ( Pavel Kruglov ). Don't delete a blob when there are nodes using it in ReplicatedMergeTree with zero-copy replication. #71186 ( Antonio Andelic ). Fix ignoring format settings in Native format via HTTP and Async Inserts. #71193 ( Pavel Kruglov ). SELECT queries run with setting use_query_cache = 1 are no longer rejected if the name of a system table appears as a literal, e.g. SELECT - FROM users WHERE name = 'system.metrics' SETTINGS use_query_cache = true; now works. #71254 ( Robert Schulze ). Fix bug of memory usage increase if enable_filesystem_cache=1, but disk in storage configuration did not have any cache configuration. #71261 ( Kseniia Sumarokova ).
{"source_file": "24_12.md"}
[ -0.05505939573049545, -0.014544732868671417, 0.021776309236884117, 0.013124431483447552, -0.0014680387685075402, 0.009280568920075893, 0.025131143629550934, 0.05574510246515274, -0.09224171191453934, 0.005073514301329851, 0.05054207146167755, -0.03590073809027672, 0.028625085949897766, 0.0...
f126e774-e623-45a5-8048-9c95267b9575
Fix bug of memory usage increase if enable_filesystem_cache=1, but disk in storage configuration did not have any cache configuration. #71261 ( Kseniia Sumarokova ). Fix possible error "Cannot read all data" erros during deserialization of LowCardinality dictionary from Dynamic column. #71299 ( Pavel Kruglov ). Fix incomplete cleanup of parallel output format in the client. #71304 ( Raúl Marín ). Added missing unescaping in named collections. Without fix clickhouse-server can't start. #71308 ( MikhailBurdukov ). Fix async inserts with empty blocks via native protocol. #71312 ( Anton Popov ). Fix inconsistent AST formatting when granting wrong wildcard grants #71309 . #71332 ( pufit ). Check suspicious and experimental types in JSON type hints. #71369 ( Pavel Kruglov ). Fix error Invalid number of rows in Chunk with Variant column. #71388 ( Pavel Kruglov ). Fix crash in mongodb table function when passing wrong arguments (e.g. NULL ). #71426 ( Vladimir Cherkasov ). Fix crash with optimize_rewrite_array_exists_to_has. #71432 ( Raúl Marín ). Fix NoSuchKey error during transaction rollback when creating a directory fails for the palin_rewritable disk. #71439 ( Julia Kartseva ). Fixed the usage of setting max_insert_delayed_streams_for_parallel_write in inserts. Previously it worked incorrectly which could lead to high memory usage in inserts which write data into several partitions. #71474 ( Anton Popov ). Fix possible error Argument for function must be constant (old analyzer) in case when arrayJoin can apparently appear in WHERE condition. Regression after https://github.com/ClickHouse/ClickHouse/pull/65414. #71476 ( Nikolai Kochetov ). Prevent crash in SortCursor with 0 columns (old analyzer). #71494 ( Raúl Marín ). Fix date32 out of range caused by uninitialized orc data. For more details, refer to https://github.com/apache/incubator-gluten/issues/7823. #71500 ( 李扬 ). Fix counting column size in wide part for Dynamic and JSON types. #71526 ( Pavel Kruglov ). Analyzer fix when query inside materialized view uses IN with CTE. Closes #65598 . #71538 ( Maksim Kita ). Return 0 or default char instead of throwing an error in bitShift functions in case of out of bounds. #71580 ( Pablo Marcos ). Fix server crashes while using materialized view with certain engines. #71593 ( Pervakov Grigorii ). Array join with a nested data structure, which contains an alias to a constant array was leading to a null pointer dereference. This closes #71677 . #71678 ( Alexey Milovidov ). Fix LOGICAL_ERROR when doing ALTER with empty tuple. This fixes #71647 . #71679 ( Amos Bird ). Don't transform constant set in predicates over partition columns in case of NOT IN operator. #71695 ( Eduard Karacharov ).
{"source_file": "24_12.md"}
[ -0.020778529345989227, 0.029652101919054985, -0.08783645182847977, 0.043926745653152466, -0.05731462314724922, -0.12407093495130539, -0.07767059653997421, 0.06036045774817467, -0.022308027371764183, 0.04337785020470619, 0.04497572407126427, 0.022878389805555344, -0.050915975123643875, 0.00...
158a3aae-4b7a-45a3-9fcf-d771e742a821
Don't transform constant set in predicates over partition columns in case of NOT IN operator. #71695 ( Eduard Karacharov ). Fix CAST from LowCardinality(Nullable) to Dynamic. Previously it could lead to error Bad cast from type DB::ColumnVector<int> to DB::ColumnNullable . #71742 ( Pavel Kruglov ). Fix exception for toDayOfWeek on WHERE condition with primary key of DateTime64 type. #71849 ( Yakov Olkhovskiy ). Fixed filling of defaults after parsing into sparse columns. #71854 ( Anton Popov ). Fix GROUPING function error when input is ALIAS on distributed table, close #68602 . #71855 ( Vladimir Cherkasov ). Fixed select statements that use WITH TIES clause which might not return enough rows. #71886 ( wxybear ). Fix an exception of TOO_LARGE_ARRAY_SIZE caused when a column of arrayWithConstant evaluation is mistaken to cross the array size limit. #71894 ( Udi ). clickhouse-benchmark reported wrong metrics for queries taking longer than one second. #71898 ( Alexey Milovidov ). Fix data race between the progress indicator and the progress table in clickhouse-client. This issue is visible when FROM INFILE is used. Intercept keystrokes during INSERT queries to toggle progress table display. #71901 ( Julia Kartseva ). Fix serialization of Dynamic values in Pretty JSON formats. #71923 ( Pavel Kruglov ). Fix rows_processed column in system.s3/azure_queue_log broken in 24.6. Closes #69975 . #71946 ( Kseniia Sumarokova ). Fixed case when s3 / s3Cluster functions could return incomplete result or throw an exception. It involved using glob pattern in s3 uri (like pattern/* ) and an empty object should exist with the key pattern/ (such objects automatically created by S3 Console). Also default value for setting s3_skip_empty_files changed from false to true by default. #71947 ( Nikita Taranov ). Fix a crash in clickhouse-client syntax highlighting. Closes #71864 . #71949 ( Nikolay Degterinsky ). Fix Illegal type error for MergeTree tables with binary monotonic function in ORDER BY when the first argument is constant. Fixes #71941 . #71966 ( Nikolai Kochetov ). Allow only SELECT queries in EXPLAIN AST used inside subquery. Other types of queries lead to logical error: 'Bad cast from type DB::ASTCreateQuery to DB::ASTSelectWithUnionQuery' or Inconsistent AST formatting . #71982 ( Pavel Kruglov ). When insert a record by clickhouse-client , client will read column descriptions from server. but there was a bug that we wrote the descritions with a wrong order , it should be [statistics, ttl, settings]. #71991 ( Han Fei ). Fix formatting of MOVE PARTITION ... TO TABLE ... alter commands when format_alter_commands_with_parentheses is enabled. #72080 ( János Benjamin Antal ).
{"source_file": "24_12.md"}
[ 0.003899159375578165, 0.025227148085832596, -0.038089677691459656, 0.030025970190763474, -0.025086544454097748, -0.06794698536396027, -0.01968999207019806, 0.007314848713576794, -0.07236265391111374, 0.022559119388461113, -0.025534002110362053, -0.017995204776525497, 0.004487834870815277, ...
13676b60-35fb-4eb5-b68f-8d74cf49e9ab
Fix formatting of MOVE PARTITION ... TO TABLE ... alter commands when format_alter_commands_with_parentheses is enabled. #72080 ( János Benjamin Antal ). Add inferred format name to create query in File/S3/URL/HDFS/Azure engines. Previously the format name was inferred each time the server was restarted, and if the specified data files were removed, it led to errors during server startup. #72108 ( Pavel Kruglov ). Fix a bug where min_age_to_force_merge_on_partition_only was getting stuck trying to merge down the same partition repeatedly that was already merged to a single part and not merging partitions that had multiple parts. #72209 ( Christoph Wurm ). Fixed a crash in SimpleSquashingChunksTransform that occurred in rare cases when processing sparse columns. #72226 ( Vladimir Cherkasov ). Fixed data race in GraceHashJoin as the result of which some rows might be missing in the join output. #72233 ( Nikita Taranov ). Fixed ALTER DELETE queries with materialized _block_number column (if setting enable_block_number_column is enabled). #72261 ( Anton Popov ). Fixed data race when ColumnDynamic::dumpStructure() is called concurrently e.g. in ConcurrentHashJoin constructor. #72278 ( Nikita Taranov ). Fix possible LOGICAL_ERROR with duplicate columns in ORDER BY ... WITH FILL . #72387 ( Vladimir Cherkasov ). Fixed mismatched types in several cases after applying optimize_functions_to_subcolumns . #72394 ( Anton Popov ). Fix failure on parsing BACKUP DATABASE db EXCEPT TABLES db.table queries. #72429 ( Konstantin Bogdanov ). Don't allow creating empty Variant. #72454 ( Pavel Kruglov ). Fix invalid formatting of result_part_path in system.merges . #72567 ( Konstantin Bogdanov ). Fix parsing a glob with one element. #72572 ( Konstantin Bogdanov ). Fix query generation for the follower server in case of a distributed query with ARRAY JOIN. Fixes #69276 . #72608 ( Dmitry Novik ). Fix a bug when DateTime64 in DateTime64 returns nothing. #72640 ( Yarik Briukhovetskyi ). Fix "No such key" error in S3Queue Unordered mode with tracked_files_limit setting smaller than s3 files appearance rate. #72738 ( Kseniia Sumarokova ). Dropping mark cache might take noticeable time if it is big. If we hold context mutex during this it block many other activities, even new client connection cannot be established until it is released. And holding this mutex is not actually required for synchronization, it is enough to have a local reference to the cache via shared ptr. #72749 ( Alexander Gololobov ). PK cache was heavily underestimating it's size on one of the test instances. In particular LowCardinality columns were not including dictionary size. The fix is to use column->allocatedBytes() plus some more overhead estimates for cache entry size. #72750 ( Alexander Gololobov ).
{"source_file": "24_12.md"}
[ -0.039122868329286575, -0.029126662760972977, -0.005719761364161968, 0.02867913618683815, 0.0058134389109909534, -0.024961672723293304, -0.040844496339559555, -0.0415201373398304, 0.045334864407777786, 0.05773544684052467, 0.02710641920566559, 0.02311769872903824, 0.054436661303043365, -0....
985595cb-ebc0-4f78-a92c-0931e7f2a37f
Fix exception thrown in RemoteQueryExecutor when user does not exist locally. #72759 ( Andrey Zvonov ). Fixed mutations with materialized _block_number column (if setting enable_block_number_column is enabled). #72854 ( Anton Popov ). Fix backup/restore with plain rewritable disk in case there are empty files in backup. #72858 ( Kseniia Sumarokova ). Properly cancel inserts in DistributedAsyncInsertDirectoryQueue. #72885 ( Antonio Andelic ). Fixed crash while parsing of incorrect data into sparse columns (can happen with enabled setting enable_parsing_to_custom_serialization ). #72891 ( Anton Popov ). Fix potential crash during backup restore. #72947 ( Kseniia Sumarokova ). Fixed bug in parallel_hash JOIN method that might appear when query has complex condition in the ON clause with inequality filters. #72993 ( Nikita Taranov ). Use default format settings during JSON parsing to avoid broken deserialization. #73043 ( Pavel Kruglov ). Fix crash in transactions with unsupported storage. #73045 ( Raúl Marín ). Check for duplicate JSON keys during Tuple parsing. Previously it could lead to logical error Invalid number of rows in Chunk during parsing. #73082 ( Pavel Kruglov ).
{"source_file": "24_12.md"}
[ -0.04897071421146393, -0.013898692093789577, -0.031993985176086426, -0.013709183782339096, -0.080077163875103, -0.05461319535970688, -0.11743427813053131, 0.05760958790779114, -0.04474349319934845, 0.04833819717168808, 0.06594633311033249, 0.007886805571615696, 0.07449772208929062, -0.0671...
bcaab98b-4297-4b6c-a50f-da9626c711d8
slug: /changelogs/24.8 title: 'v24.8 Changelog for Cloud' description: 'Fast release changelog for v24.8' keywords: ['changelog', 'cloud'] sidebar_label: '24.8' sidebar_position: 6 doc_type: 'changelog' Relevant changes for ClickHouse Cloud services based on the v24.8 release. Backward incompatible change {#backward-incompatible-change} Change binary serialization of Variant data type: add compact mode to avoid writing the same discriminator multiple times for granules with single variant or with only NULL values. Add MergeTree setting use_compact_variant_discriminators_serialization that is enabled by default. Note that Variant type is still experimental and backward-incompatible change in serialization should not impact you unless you have been working with support to get this feature enabled earlier. #62774 (Kruglov Pavel). Forbid CREATE MATERIALIZED VIEW ... ENGINE Replicated*MergeTree POPULATE AS SELECT ... with Replicated databases. This specific PR is only applicable to users still using, ReplicatedMergeTree. #63963 (vdimir). Metric KeeperOutstandingRequets was renamed to KeeperOutstandingRequests. This fixes a typo reported in #66179 . #66206 (Robert Schulze). clickhouse-client and clickhouse-local now default to multi-query mode (instead single-query mode). As an example, clickhouse-client -q "SELECT 1; SELECT 2" now works, whereas users previously had to add --multiquery (or -n). The --multiquery/-n switch became obsolete. INSERT queries in multi-query statements are treated specially based on their FORMAT clause: If the FORMAT is VALUES (the most common case), the end of the INSERT statement is represented by a trailing semicolon ; at the end of the query. For all other FORMATs (e.g. CSV or JSONEachRow), the end of the INSERT statement is represented by two newlines \n\n at the end of the query. #63898 (wxybear). In previous versions, it was possible to use an alternative syntax for LowCardinality data types by appending WithDictionary to the name of the data type. It was an initial working implementation, and it was never documented or exposed to the public. Now, it is deprecated. If you have used this syntax, you have to ALTER your tables and rename the data types to LowCardinality. #66842 (Alexey Milovidov). Fix logical errors with storage Buffer used with distributed destination table. It's a backward incompatible change: queries using Buffer with a distributed destination table may stop working if the table appears more than once in the query (e.g., in a self-join). #67015 (vdimir). In previous versions, calling functions for random distributions based on the Gamma function (such as Chi-Squared, Student, Fisher) with negative arguments close to zero led to a long computation or an infinite loop. In the new version, calling these functions with zero or negative arguments will produce an exception. This closes #67297 . #67326 (Alexey Milovidov).
{"source_file": "24_08.md"}
[ 0.030431365594267845, -0.021988194435834885, 0.06886821240186691, -0.05515741556882858, -0.005456255748867989, 0.004702820908278227, -0.03507135435938835, -0.00896882638335228, -0.013291670009493828, 0.06374853849411011, 0.04176363721489906, 0.007613027933984995, 0.00720576336607337, -0.05...
f21f5c0f-1818-4e62-99a5-a2a36b185915
In previous versions, arrayWithConstant can be slow if asked to generate very large arrays. In the new version, it is limited to 1 GB per array. This closes #32754 . #67741 (Alexey Milovidov). Fix REPLACE modifier formatting (forbid omitting brackets). #67774 (Azat Khuzhin). New feature {#new-feature} Extend function tuple to construct named tuples in query. Introduce function tupleNames to extract names from tuples. #54881 (Amos Bird). ASOF JOIN support for full_sorting_join algorithm Close #54493 . #55051 (vdimir). A new table function, fuzzQuery, was added. This function allows you to modify a given query string with random variations. Example: SELECT query FROM fuzzQuery('SELECT 1');. #62103 (pufit). Add new window function percent_rank. #62747 (lgbo). Support JWT authentication in clickhouse-client. #62829 (Konstantin Bogdanov). Add SQL functions changeYear, changeMonth, changeDay, changeHour, changeMinute, changeSecond. For example, SELECT changeMonth(toDate('2024-06-14'), 7) returns date 2024-07-14. #63186 (cucumber95). Add system.error_log which contains history of error values from table system.errors, periodically flushed to disk. #65381 (Pablo Marcos). Add aggregate function groupConcat. About the same as arrayStringConcat( groupArray(column), ',') Can receive 2 parameters: a string delimiter and the number of elements to be processed. #65451 (Yarik Briukhovetskyi). Add AzureQueue storage. #65458 (Kseniia Sumarokova). Add a new setting to disable/enable writing page index into parquet files. #65475 (lgbo). Automatically append a wildcard * to the end of a directory path with table function file. #66019 (Zhidong (David) Guo). Add --memory-usage option to client in non interactive mode. #66393 (vdimir). Add _etag virtual column for S3 table engine. Fixes #65312 . #65386 (skyoct) This pull request introduces Hive-style partitioning for different engines (File, URL, S3, AzureBlobStorage, HDFS). Hive-style partitioning organizes data into partitioned sub-directories, making it efficient to query and manage large datasets. Currently, it only creates virtual columns with the appropriate name and data. The follow-up PR will introduce the appropriate data filtering (performance speedup). #65997 (Yarik Briukhovetskyi). Add function printf for spark compatibility. #66257 (李扬). Added support for reading MULTILINESTRING geometry in WKT format using function readWKTLineString. #67647 (Jacob Reckhard). Added a tagging (namespace) mechanism for the query cache. The same queries with different tags are considered different by the query cache. Example: SELECT 1 SETTINGS use_query_cache = 1, query_cache_tag = 'abc' and SELECT 1 SETTINGS use_query_cache = 1, query_cache_tag = 'def' now create different query cache entries. #68235 (sakulali).
{"source_file": "24_08.md"}
[ 0.05244063958525658, 0.006160281132906675, -0.022139469161629677, 0.03285398706793785, -0.024497998878359795, -0.055332232266664505, 0.0540747307240963, -0.019547002390027046, -0.07933472096920013, -0.022116994485259056, -0.04827230051159859, -0.0036269056145101786, 0.02093997225165367, -0...
d809090b-8cde-45c0-86f8-147e3f4f1e71
slug: /changelogs/25.6 title: 'v25.6 Changelog for Cloud' description: 'Fast release changelog for v25.6' keywords: ['changelog', 'cloud'] sidebar_label: '25.6' sidebar_position: 2 doc_type: 'changelog' Backward incompatible change {#backward-incompatible-change} Function geoToH3() now accepts the input in the order (lat, lon,res) (which is the standard order for geometric functions). Users who wish to retain the legacy result order (lon, lat,res) can set setting geotoh3_lon_lat_input_order = true . #78852 ( Pratima Patel ). Indexes of type full_text were renamed to gin . This follows the more familiar terminology of PostgreSQL and other databases. Existing indexes of type full_text remain loadable but they will throw an exception (suggesting gin indexes instead) when one tries to use them in searches. #79024 ( Robert Schulze ). Add a filesystem cache setting allow_dynamic_cache_resize , by default false , to allow dynamic resize of filesystem cache. Why: in certain environments (ClickHouse Cloud) all the scaling events happen through the restart of the process and we would love this feature to be explicitly disabled to have more control over the behavior + as a safety measure. This PR is marked as backward incompatible, because in older versions dynamic cache resize worked by default without special setting. #79148 ( Kseniia Sumarokova ). Removed support for legacy index types annoy and usearch . Both have been stubs for a long time, i.e. every attempt to use the legacy indexes returned an error anyways. If you still have annoy and usearch indexes, please drop them. #79802 ( Robert Schulze ). * Remove format_alter_commands_with_parentheses server setting. The setting was introduced and disabled by default in 24.2. It was enabled by default in 25.2. As there are no LTS versions that don't support the new format, we can remove the setting. #79970 ( János Benjamin Antal ). * Minor: Force backup_threads and restore_threads server settings to be non zero. #80224 ( Raúl Marín ). Fix bitNot() for String to return a zero-terminated string. #80791 ( Azat Khuzhin ). New feature {#new-feature} Add a new option to MergeTree SETTINGS which specifies a default compression codec in case the CREATE query does not explicitly define one for the given columns. This closes #42005 . #66394 ( gvoelfin ). Follow up for https://github.com/ClickHouse/ClickHouse/pull/71943. This PR implements Time / Time64 data types. Implements new data types: Time (HHH:MM:SS) and Time64 (HHH:MM:SS. <fractional> ), some basic cast functions and functions to interact with other data types. Also, changed the existing function's name toTime to toTimeWithFixedDate because the function toTime is required for the cast function. #75735 ( Yarik Briukhovetskyi ). Support correlated subqueries as an argument of EXISTS expression in the WHERE clause. Closes #72459 . #76078 ( Dmitry Novik ).
{"source_file": "25_06.md"}
[ -0.018186824396252632, -0.00042140803998336196, 0.07384037226438522, 0.0022191598545759916, -0.019405396655201912, -0.0057862563990056515, -0.052235718816518784, -0.06500796228647232, 0.007228768430650234, 0.07443598657846451, -0.011917577125132084, 0.1333879828453064, -0.017713112756609917,...
4627c8a3-29d9-4add-bdc7-0b19ffcaea5d
Support correlated subqueries as an argument of EXISTS expression in the WHERE clause. Closes #72459 . #76078 ( Dmitry Novik ). Allow writing to Merge table engines. #77484 ( Anton Ivashkin ). Distributed INSERT SELECT for replicated MergeTree tables now efficiently uses parallel replicas to parallelize INSERT s by selecting different data on different nodes and inserting them independently. #78041 ( Igor Nikonov ). Add mapContainsValuesLike / mapContainsValues / mapExtractValuesLike functions to filter on map values and their support in bloomfilter based indexes. #78171 ( UnamedRus ). Add system.iceberg_history table. #78244 ( Smita Kulkarni ). Added query slot scheduling for workloads, see https://clickhouse.com/docs/operations/workload-scheduling#query_scheduling for details. #78415 ( Sergei Trifonov ). Add getServerSetting and getMergeTreeSetting function. Closes https://github.com/clickhouse/clickhouse/issues/78318. #78439 ( NamNguyenHoai ). Support disallowed values under settings constraints. #78499 ( Bharat Nallan ). Add new iceberg_enable_version_hint setting to leverage version-hint.text file. #78594 ( Arnaud Briche ). Gives the possibility to truncate specific tables from a database, filtered with the LIKE keyword. #78597 ( Yarik Briukhovetskyi ). clickhouse-local (and its shorthand alias, ch ) now use an implicit FROM table when there is input data for processing. This closes #65023 . Also enabled format inference in clickhouse-local if --input-format is not specified and it processes a regular file. #79085 ( Alexey Milovidov ). Add icebergHash and icebergBucketTransform functions. Support data files pruning in Iceberg tables partitioned with bucket transfom . #79262 ( Daniil Ivanik ). Add a support for Coalescing Merge Tree. This closes #78869 . #79344 ( Konstantin Vedernikov ). Add stringBytesUniq and stringBytesEntropy functions to search for possibly random or encrypted data. #79350 ( Sachin Kumar Singh ). Support _part_starting_offset virtual column in MergeTree-family tables. This column represents the cumulative row count of all preceding parts, calculated at query time based on the current part list. The cumulative values are retained throughout query execution and remain effective even after part pruning. Related internal logic has been refactored to support this behavior. #79417 ( Amos Bird ). Added a setting enable_shared_storage_snapshot_in_query to enable sharing the same storage snapshot across all subqueries in a single query. This ensures consistent reads from the same table, even when the table is referenced multiple times within a query. #79471 ( Amos Bird ). Support writing CH JSON columns to Parquet and reading Parquet JSON columns directly as CH JSON columns. #79649 ( Nihal Z. Miaji ). Bundle chdig - TUI interface for ClickHouse (top like) as part of ClickHouse. #79666 ( Azat Khuzhin ).
{"source_file": "25_06.md"}
[ -0.04278657212853432, -0.03725246340036392, 0.04484105110168457, 0.04246112331748009, -0.06114117428660393, -0.03955176845192909, -0.04838531091809273, -0.006891305558383465, -0.04009660333395004, 0.040023062378168106, 0.020836209878325462, -0.010886549018323421, 0.06287889182567596, -0.05...
ff707ac6-18b4-4145-b85d-494ed56b84c4
Bundle chdig - TUI interface for ClickHouse (top like) as part of ClickHouse. #79666 ( Azat Khuzhin ). Add MultiPolygon support for pointInPolygon . #79773 ( Nihal Z. Miaji ). Support geo parquet. This closes #75317 . #79777 ( Konstantin Vedernikov ). Add support for querying local filesystem-mounted delta tables via deltaLakeLocal table function. #79781 ( roykim98 ). Added base32 encode/decode functionality. #79809 ( Joanna Hulboj ). Clickhouse vector search now supports both pre-filtering and post-filtering and provides related settings for finer control. (issue #78161 ). #79854 ( Shankar Iyer ). Support functions to read WKB format. This partially closes #43941 . #80139 ( Konstantin Vedernikov ). Add new setting cast_string_to_date_time_mode that allows to choose DateTime parsing mode during cast from String. #80210 ( Pavel Kruglov ). Added Bech32 and Bech32m encoding and decoding functions (issue #40381 ). #80239 ( George Larionov ). Support disk setting for Atomic and Ordinary DB engines, specifying the disk to store table metadata files. #80546 ( Tuan Pham Anh ). Support functions to unpack and compare merge tree parts. #80573 ( Mikhail Artemenko ). timeSeries* helper functions to speed up some scenarios when working with time series data: - re-sample the data to the time grid with specified start timestamp, end timestamp and step - calculate PromQL-like delta , rate , idelta and irate . #80590 ( Alexander Gololobov ). Allow filtering of parts selected for querying by the disk they reside on. #80650 ( tanner-bruce ). Add a landing page with the list of embedded web tools. It will open when requested by a browser-like user agent. #81129 ( Alexey Milovidov ). Allow for filtering NULL values in arrayFirst , arrayFirstIndex , arrayLast & arrayLastIndex . Fixes #81113 . #81197 ( Lennard Eijsackers ). Experimental feature {#experimental-feature} Hive metastore catalog for iceberg datalake. #77677 ( Konstantin Vedernikov ). The explicit parameters are supported via key-value pairs. Currently, supported parameters are a mandatory tokenizer and two optional max_rows_per_postings_list and ngram_size . #80262 ( Elmi Ahmadov ). Experimental indexes of type gin were renamed to text . Existing indexes of type gin remain loadable but they will throw an exception (suggesting text indexes instead) when one tries to use them in searches. #80855 ( Robert Schulze ). Performance improvement {#performance-improvement} Speed up secondary indices by evaluating their expressions on multiple granules at once. #64109 ( Alexey Milovidov ). Introduced threshold (regulated by setting parallel_hash_join_threshold ) to fall back to the hash algorithm when the size of the right table is below the threshold. #76185 ( Nikita Taranov ).
{"source_file": "25_06.md"}
[ -0.04028350114822388, 0.03270437568426132, -0.062063440680503845, -0.038578785955905914, -0.00919969379901886, -0.026901083067059517, 0.02318282052874565, -0.004963631741702557, -0.08579184859991074, -0.026030730456113815, -0.009111028164625168, -0.03742611035704613, 0.005183231085538864, ...
154c0764-c521-4c31-83ff-a1138bc084c5
Introduced threshold (regulated by setting parallel_hash_join_threshold ) to fall back to the hash algorithm when the size of the right table is below the threshold. #76185 ( Nikita Taranov ). The existing implementation of Pipe::resize creates a single Resize or StrictResize node by inserting it into the pipeline topology, which then acts as a central hub connecting all input streams (upstream nodes) to a unified set of output streams (downstream nodes). This design leads to contention for the ExecutingGraph::Node::status_mutex during pipeline graph execution, especially in high-core-count environments. When pipelines scale to tens or hundreds of streams, this contention results in:. #77562 ( Zhiguo Zhou ). Improve performance of S3Queue / AzureQueue by allowing INSERT s data in parallel (can be enabled with parallel_inserts=true queue setting). Previously S3Queue / AzureQueue can only do the first part of the pipeline in parallel (downloading, parsing), INSERT was single-threaded. And INSERT s are almost always the bottleneck. Now it will scale almost linear with processing_threads_num . #77671 ( Azat Khuzhin ). Change the compact part format to save marks for each substream to be able to read individual sub-columns. The old compact format is still supported for reads and can be enabled for writes using MergeTree setting write_marks_for_substreams_in_compact_parts . It's disabled by default for safer upgrades as it changes the compact parts storage. It will be enabled by default in one of the next releases. #77940 ( Pavel Kruglov ). Introduced new setting use_skip_indexes_in_final_exact_mode . If a query on a ReplacingMergeTree table has the FINAL clause, reading only table ranges based on skip indexes may produce incorrect result. This setting can ensure that correct results are returned by scanning newer parts that have overlap with primary key ranges returned by the skip index. Set to 0 to disable, 1 to enable. #78350 ( Shankar Iyer ). Now we use the number of replicas to determine the task size for reading with parallel replicas enabled. This provides better work distribution between replicas when the amount of data to read is not very large. #78695 ( Nikita Taranov ). Allow parallel merging of uniqExact states during the final stage of distributed aggregation. #78703 ( Nikita Taranov ). Fix possible performance degradation of the parallel merging of uniqExact states for aggregation with key. #78724 ( Nikita Taranov ). * Replace DELETE FROM ... WHERE 1 queries to TRUNCATE . (Reverted). #78739 ( Konstantin Vedernikov ). Reduce the number of List Blobs API calls to Azure storage. #78860 ( Julia Kartseva ). Merge equality conditions from filter query plan step into JOIN condition if possible to allow using them as hash table keys. #78877 ( Dmitry Novik ).
{"source_file": "25_06.md"}
[ -0.010912517085671425, -0.036095935851335526, -0.060109563171863556, -0.010216396301984787, -0.038361210376024246, -0.04852934926748276, -0.03655792027711868, -0.0128914974629879, 0.009486316703259945, 0.061369579285383224, -0.05690751597285271, -0.016179684549570084, 0.04296668991446495, ...
015106a2-ec2d-4029-916f-065c2626a7cd
Merge equality conditions from filter query plan step into JOIN condition if possible to allow using them as hash table keys. #78877 ( Dmitry Novik ). Improve performance of hive path parsing by using extractKeyValuePairs instead of regex. #79067 ( Arthur Passos ). Fix performance of the distributed INSERT SELECT with parallel replicas. #79441 ( Azat Khuzhin ). Allow moving conditions with sub-columns to PREWHERE . #79489 ( Pavel Kruglov ). Performance improvements to all bloom filter types. #79800 ( Delyan Kratunov ). Prevent LogSeriesLimiter from doing cleanup on every construction, avoiding lock contention and performance regressions in high-concurrency scenarios. #79864 ( filimonov ). Enable compile_expressions (JIT compiler for fragments of ordinary expressions) by default. This closes #51264 and #56386 and #66486 . #79907 ( Alexey Milovidov ). Speedup queries with trivial count optimization. #79945 ( Raúl Marín ). Introduced a happy path in UniqExactSet::merge when one of the sets is empty. Also, now if the LHS set is two-level and the RHS is single-level, we won't do the conversion to two-level for the RHS. #79971 ( Nikita Taranov ). Add __attribute__((always_inline)) to convertDecimalsImpl . #79999 ( Konstantin Bogdanov ). Set input_format_parquet_bloom_filter_push_down to true by default. Also, fix a mistake in the settings changes history. #80058 ( Alexey Milovidov ). * Make logging asynchronous by default. You can disable this by setting <async>false</async> under <logger> . #80125 ( Raúl Marín ). Improve memory reuse efficiency and reduce page faults when using the two-level hash tables. #80245 ( Jiebin Sun ). Avoid unnecessary update and reduce lock contention in QueryConditionCache. #80247 ( Jiebin Sun ). Small optimization of concatenateBlocks , which could be good for parallel Hash join. #80328 ( 李扬 ). When selecting mark ranges from the primary key range, binary search cannot be used if the primary key is wrapped with functions. This PR improves this limitation: binary search can still be applied when the primary key is wrapped with an always monotonic function chain, or when the RPN contains an element that is always true. This PR closes #45536 . #80597 ( zoomxi ). Improve the shutdown speed of Kafka engine (remove an extra 3 seconds delay in case of multiple Kafka tables). #80796 ( Azat Khuzhin ). Reduce memory usage of async inserts and improve the performance of insert queries. #80972 ( Raúl Marín ). Don't profile processors if the log table is disabled. #81256 ( Raúl Marín ). Speed up toFixedString when the source is exactly what's requested. #81257 ( Raúl Marín ). Don't process quota values if the user is not limited. #81549 ( Raúl Marín ). Make ProcfsMetricsProvider thread_local to keep files open between tasks. #81576 ( Raúl Marín ).
{"source_file": "25_06.md"}
[ -0.06555741280317307, 0.01889517344534397, 0.014409929513931274, -0.006031481083482504, -0.03774901479482651, 0.01356418151408434, 0.030157623812556267, 0.015127630904316902, 0.004751205909997225, 0.034028176218271255, -0.000007310927230719244, -0.03375079482793808, 0.006062674336135387, -...
deb0a52c-68f4-4518-a04b-37da851f2a80
Don't process quota values if the user is not limited. #81549 ( Raúl Marín ). Make ProcfsMetricsProvider thread_local to keep files open between tasks. #81576 ( Raúl Marín ). Fixed performance regression in memory tracking. #81694 ( Michael Kolupaev ). Improvement {#improvement} * clickhouse-local will retain its databases after restart if you specify the --path command line argument. This closes #50647 . This closes #49947 . #71722 ( Alexey Milovidov ). EXPLAIN SYNTAX now uses a new analyzer. It returns an abstract syntax tree (AST) built from the query tree. Added option query_tree_passes to control the number of passes to be executed before converting the query tree to the AST. #74536 ( Vladimir Cherkasov ). * Use SLRU cache policy in filesystem cache by default. #75072 ( Kseniia Sumarokova ). Refactored the logic of pushing to views. #77309 ( Sema Checherinda ). Object storage cluster table functions (e.g. s3Cluster ) will now assign files to replicas for reading based on consistent hash to improve cache locality. #77326 ( Andrej Hoos ). Refresh S3 credentials after error AuthenticationRequired . #77353 ( Vitaly Baranov ). Embed proxy configuration in some HTTP buffers with the help of builders. #77693 ( Arthur Passos ). Added dictionary metrics to system.asynchronous_metrics - DictionaryMaxUpdateDelay - The maximum delay(in seconds) of dictionary update. - DictionaryTotalFailedUpdates - Number of errors since last successful loading in all dictionaries. #78175 ( Vlad ). Add functions divideOrNull , moduloOrNull , intDivOrNull , positiveModuloOrNull to return NULL when right argument is zero. #78276 ( kevinyhzou ). Extend the isIPAddressInRange function to String, IPv4, IPv6, Nullable(String) Nullable(IPv4) and Nullable(IPv6) data types. #78364 ( YjyJeff ). Change PostgreSQL engine connection pooler settings dynamically. #78414 ( Samay Sharma ). Allow to specify _part_offset in a normal projection. This is the first step to build a projection index. It can be used with #58224 and can help improve https://github.com/ClickHouse/ClickHouse/pull/63207. #78429 ( Amos Bird ). Improve the sharding key optimization on distributed queries. #78452 ( fhw12345 ). Add new columns( create_query and source ) for system.named_collections . Closes #78179 . #78582 ( MikhailBurdukov ). Added field condition to system table system.query_condition_cache . It stores the plaintext condition whose hash is used as a key in the query condition cache. #78671 ( Robert Schulze ).
{"source_file": "25_06.md"}
[ 0.0017142618307843804, -0.031182605773210526, -0.11992873251438141, 0.07695829123258591, 0.007850589230656624, -0.0555809810757637, 0.0548008568584919, 0.0872054323554039, -0.02203482948243618, 0.061124566942453384, -0.017405860126018524, -0.03433650732040405, 0.03890102356672287, -0.03412...
49aed260-6d1c-415d-8bd1-1f7ba1f2797f
Added field condition to system table system.query_condition_cache . It stores the plaintext condition whose hash is used as a key in the query condition cache. #78671 ( Robert Schulze ). Implement Kafka re-balance like logic for StorageKafka2 using ClickHouse Keeper. For each replica we support two types of partition locks: permanent locks and temporary locks. The replica tries to hold permanent locks as long as possible, at any given time there are no more than all_topic_partitions / active_replicas_count (here all_topic_partitions is the number of all partitions, active_replicas_count is the number of active replicas) permanent locks on the replica, if there are more, then the replica releases some partitions. Some partitions are temporarily held by the replica. The maximum number of temporary locks on a replica changes dynamically to give other replicas a chance to take some partitions into permanent locks. When updating temporary locks, the replica releases them all and tries to take some others again. #78726 ( Daria Fomina ). Add table settings for SASL configuration and credentials to the Kafka table engine. This allows configuring SASL-based authentication to Kafka and Kafka-compatible systems directly in the CREATE TABLE statement rather than having to use configuration files or named collections. #78810 ( Christoph Wurm ). Add a warning about databases that were potentially created to save broken tables. #78841 ( János Benjamin Antal ). Vector similarity indexes can now be created on top of BFloat16 columns. #78850 ( Robert Schulze ). Support unix timestamps with a fractional part in best-effort DateTime64 parsing. #78908 ( Pavel Kruglov ). In storage DeltaLake delta-kernel implementation fix for columnMappingMode.name, add tests for schema evolution. #78921 ( Kseniia Sumarokova ). Improve insert into Variant column in Values format by better conversion of values. #78923 ( Pavel Kruglov ). Add _time virtual column in S3Queue engine. #78926 ( Anton Ivashkin ). The tokens function was extended to accept an additional "tokenizer" argument plus further tokenizer-specific arguments. #79001 ( Elmi Ahmadov ). The SHOW CLUSTER statement now expands macros (if any) in its argument. #79006 ( arf42 ). Hash functions now support NULL s inside arrays, tuples, and maps. (issues #48365 and #48623 ). #79008 ( Michael Kolupaev ). Support for a refresh in read-only MergeTree tables. #79033 ( Alexey Milovidov ). * Update cctz to 2025a. #79043 ( Raúl Marín ). Make settings controlling connection drop on overloaded CPU hot-reloadable. #79052 ( Alexey Katsman ). It's better for usability. #79066 ( Alexey Milovidov ). Enable the query condition cache by default. #79080 ( Alexey Milovidov ). * Make tabs undo-able in the Web UI. This closes #71284 . #79084 ( Alexey Milovidov ).
{"source_file": "25_06.md"}
[ -0.07117273658514023, -0.029731081798672676, -0.0799122005701065, 0.007657804060727358, -0.025379665195941925, 0.006404658313840628, 0.009965461678802967, -0.015671147033572197, 0.1356327384710312, 0.10002750158309937, -0.044520534574985504, 0.010848022066056728, 0.03688867390155792, -0.05...
bf1514b1-813f-43be-baae-10ad990be87c
Enable the query condition cache by default. #79080 ( Alexey Milovidov ). * Make tabs undo-able in the Web UI. This closes #71284 . #79084 ( Alexey Milovidov ). Remove settings during recoverLostReplica the same as was done in https://github.com/ClickHouse/ClickHouse/pull/78637. #79113 ( Nikita Mikhaylov ). Add ProfileEvents ParquetReadRowGroups and ParquetPrunedRowGroups to profile parquet index prune. #79180 ( flynn ). Add container prefix to data paths reported in system.tables for plain disks in Azure blob storage, making reporting consistent with S3 and GCP. #79241 ( Julia Kartseva ). Support altering a database on cluster. #79242 ( Tuan Pham Anh ). Explicitly skip missed runs of statistics collection for QueryMetricLog, otherwise the log will take a long time to catch up with the current time. #79257 ( Mikhail Artemenko ). Added an ability to apply lightweight deletes on the fly (with settings lightweight_deletes_sync = 0 , apply_mutations_on_fly = 1 . #79281 ( Anton Popov ). Optimized ALTER ... DELETE mutations for parts in which all rows should be deleted. Now, in such cases an empty part is created instead of original without executing a mutation. #79307 ( Anton Popov ). Some small optimizations to CHColumnToArrowColumn . #79308 ( Bharat Nallan ). The setting allow_archive_path_syntax was marked as experimental by mistake. Add a test to prevent having experimental settings enabled by default. #79320 ( Alexey Milovidov ). Made page cache settings adjustable on a per-query level. This is needed for faster experimentation and for the possibility of fine-tuning for high-throughput and low-latency queries. #79337 ( Alexey Milovidov ). Do not print number tips in pretty formats for numbers that look like most of the 64-bit hashes. This closes #79334 . #79338 ( Alexey Milovidov ). If data in the pretty format is displayed in the terminal, and a subsequent block has the same column widths, it can continue from the previous block, glue it to the previous block by moving the cursor up. This closes #79333 . The feature is controlled by the new setting, output_format_pretty_glue_chunks . #79339 ( Alexey Milovidov ). Colors of graphs on the advanced dashboards will be calculated from the hash of the corresponding query. This makes it easier to remember and locate a graph while scrolling the dashboard. #79341 ( Alexey Milovidov ). Add asynchronous metric, FilesystemCacheCapacity - total capacity in the cache virtual filesystem. This is useful for global infrastructure monitoring. #79348 ( Alexey Milovidov ). Optimize access to system.parts (read columns/indexes size only when requested). #79352 ( Azat Khuzhin ). Select important fields for query 'SHOW CLUSTER <name>' instead of all fields. #79368 ( Tuan Pham Anh ). Allow to specify storage settings for DatabaseCatalog . #79407 ( Kseniia Sumarokova ).
{"source_file": "25_06.md"}
[ -0.018355708569288254, -0.029692210257053375, -0.0515274852514267, 0.05871037766337395, -0.019998064264655113, 0.015800556167960167, 0.01100064069032669, -0.04137417674064636, 0.02169458009302616, 0.0944194346666336, 0.02194841392338276, 0.03056485764682293, 0.08150774240493774, -0.0231775...
1b2cf45a-e4db-4f45-be39-88eff38415c2
Allow to specify storage settings for DatabaseCatalog . #79407 ( Kseniia Sumarokova ). Support local storage in delta kernel. #79416 ( Kseniia Sumarokova ). Add a query level setting to enable delta-kernel-rs: allow_experimental_delta_kernel_rs . #79418 ( Kseniia Sumarokova ). Fix possible endless loop when listing blobs from Azure/S3 blob storage. #79425 ( Alexander Gololobov ). Now, ClickHouse also accepts query parameters as param-<name> (dash) along with param_<name> (underscore). This closes #63093 . #79429 ( Engel Danila ). * Add filesystem cache setting max_size_ratio_to_total_space . #79460 ( Kseniia Sumarokova ). Detailed warning msg for bandwidth discount when copying data from local to remote S3 with checksum enabled. #79464 ( VicoWu ). For clickhouse-benchmark reconfigure reconnect option to take 0, 1 or N as values for reconnecting accordingly. #79465 ( Sachin Kumar Singh ). Add setting input_format_max_block_size_bytes to limit blocks created in input formats in bytes. It can help to avoid high memory usage during data import when rows contains large values. #79495 ( Pavel Kruglov ). Enhance sparseGrams speed and memory usage. #79517 ( Konstantin Vedernikov ). Avoid extra copying of the block during insertion into Compact part when possible. #79536 ( Pavel Kruglov ). Enable DeltaLake storage delta-kernel implementation by default. #79541 ( Kseniia Sumarokova ). If reading from an URL involves multiple redirects, setting enable_url_encoding is correctly applied across all redirects in the chain. #79563 ( Shankar Iyer ). Allow ALTER TABLE ... MOVE|REPLACE PARTITION for tables on different plain_rewritable disks. #79566 ( Julia Kartseva ). Support scalar correlated subqueries in the WHERE clause. Closes #6697 . #79600 ( Dmitry Novik ). Previously when input_format_parquet_max_block_size = 0 ClickHouse would stuck. Now this behaviour is fixed. This closes #79394 . #79601 ( abashkeev ). Add throw_on_error setting for startup_scripts: when throw_on_error is true, the server will not start unless all queries complete successfully. By default, throw_on_error is false, preserving the previous behavior. #79732 ( Aleksandr Musorin ). The vector similarity index is now also used if the reference vector is of type Array(BFloat16) . #79745 ( Shankar Iyer ). Add last_error_message , last_error_trace and query_id to the system.error_log table. Related ticket #75816 . #79836 ( Andrei Tinikov ). * Enable sending crash reports by default. This can be turned off in the server's configuration file. #79838 ( Alexey Milovidov ). System table system.functions now shows in which ClickHouse version functions were first introduced. #79839 ( Robert Schulze ).
{"source_file": "25_06.md"}
[ 0.01095413789153099, -0.08558280766010284, -0.12957662343978882, 0.026562996208667755, -0.06405513733625412, -0.02898196503520012, 0.04051380231976509, -0.05434037372469902, 0.007715200539678335, 0.06739253550767899, 0.0366438627243042, -0.01856941543519497, 0.0597720742225647, -0.04193541...
e20a94dc-fdb5-467c-810c-7007fd53ab9b
System table system.functions now shows in which ClickHouse version functions were first introduced. #79839 ( Robert Schulze ). Added access_control_improvements.enable_user_name_access_type setting. This setting allows enabling/disabling of precise grants for users/roles, introduced in https://github.com/ClickHouse/ClickHouse/pull/72246. You may want to turn this setting off in case you have a cluster with the replicas older than 25.1. #79842 ( pufit ). Proper implementation of ASTSelectWithUnionQuery::clone() method now takes into account is_normalized field as well. This might help with #77569 . #79909 ( Nikita Mikhaylov ). Support correlated subqueries in the projection list in simple cases. #79925 ( Dmitry Novik ). Fix the inconsistent formatting of certain queries with the EXCEPT operator. If the left-hand side of the EXCEPT operator ends with * , the formatted query loses parentheses and is then parsed as a * with the EXCEPT modifier. These queries are found by the fuzzer and are unlikely to be found in practice. This closes #79950 . #79952 ( Alexey Milovidov ). Allow to add http_response_headers in http_handlers of any kind. #79975 ( Andrey Zvonov ). Small improvement in JSON type parsing by using cache of variants deserialization order. #79984 ( Pavel Kruglov ). Allow moving GLOBAL [NOT] IN predicate to PREWHERE clause if applicable. #79996 ( Eduard Karacharov ). Add setting s3_slow_all_threads_after_network_error . #80035 ( Vitaly Baranov ). The logging level about the selected parts to merge was wrong (Information). Closes #80061 . #80062 ( Alexey Milovidov ). Function reverse support Tuple data type. Closes #80053 . #80083 ( flynn ). Setting enble_url_encoding default value is now set to False . #80088 ( Shankar Iyer ). This tiny patch resolves #75817 : allows get auxiliary_zookeepers data from system.zookeeper table. #80146 ( Nikolay Govorov ). Vector search using the vector similarity index is now beta (previously experimental). #80164 ( Robert Schulze ). Add asynchronous metrics about the server's TCP sockets. This improves the observability. Closes #80187 . #80188 ( Alexey Milovidov ). Function tokens now supports string as a tokenizer. #80195 ( Robert Schulze ). Parallel replicas: avoid waiting for slow unused replicas if all read tasks have been assigned to other replicas. #80199 ( Igor Nikonov ). Support anylast_respect_nulls and any_respect_nulls in simpleAggregateFunction . #80219 ( Diskein ). Remove unnecessary call adjustCreateQueryForBackup() for replicated databases. #80282 ( Vitaly Baranov ). * Allow extra options (that go after -- like -- --config.value='abc' ) in clickhouse-local without the equality sign. Closes #80292 . #80293 ( Alexey Milovidov ). Highlight metacharacters in SHOW ... LIKE queries. This closes #80275 . #80297 ( Alexey Milovidov ).
{"source_file": "25_06.md"}
[ -0.02720380760729313, -0.04927909001708031, -0.042771391570568085, 0.030059948563575745, -0.07523258030414581, -0.0360867939889431, 0.07169710099697113, -0.07263316214084625, -0.08739786595106125, -0.013854596763849258, 0.007014920003712177, -0.01708984375, 0.07827010750770569, -0.06734390...
e3055c5a-19fe-4863-8e07-3c1bb3ebb175
Highlight metacharacters in SHOW ... LIKE queries. This closes #80275 . #80297 ( Alexey Milovidov ). * Make SQL UDF persistent in clickhouse-local . The previously created function will be loaded at startup. This closes #80085 . #80300 ( Alexey Milovidov ). Support comparison between Time / Time64 . #80327 ( Yarik Briukhovetskyi ). Fix description in explain plan for a preliminary distinct step. #80330 ( UnamedRus ). Allow use of named collections in ODBC/JDBC. #80334 ( Andrey Zvonov ). Enable multiple-projection filtering support, allowing to use more than one projection for part-level filtering. This addresses #55525 . This is the second step to implement projection index, following #78429 . #80343 ( Amos Bird ). Metrics for the number of readonly and broken disks. Indicator logs when DiskLocalCheckThread is started. #80391 ( VicoWu ). Implement support for s3_plain_rewritable storage with projections. In previous versions, metadata objects in S3 referencing projections would not get updated when moved. Closes #70258 . #80393 ( Sav ). Parallel replicas uses separate connection timeout, see parallel_replicas_connect_timeout_ms setting. Before connect_timeout_with_failover_ms / connect_timeout_with_failover_secure_ms settings were used as connection timeout values for parallel replicas queries (1 second by default). #80421 ( Igor Nikonov ). The SYSTEM UNFREEZE command will not try to look up parts in readonly and write-once disks. This closes #80430 . #80432 ( Alexey Milovidov ). Changed log level of a merged parts message from INFO to TRACE. #80476 ( Hans Krutzer ). Implement flattened serialization for Dynamic and JSON in Native format that allows to serialize/deserialize Dynamic and JSON data without special structures like shared variant for Dynamic and shared data for JSON. This serialization can be enabled by setting output_format_native_use_flattened_dynamic_and_json_serialization . This serialization can be used for easier support for Dynamic and JSON in TCP protocol in clients in different languages. #80499 ( Pavel Kruglov ). Changes the default behavior of partition pruning for Iceberg table. #80583 ( Melvyn Peignon ). Add two new ProfileEvents for index search algorithm observability: IndexBinarySearchAlgorithm and IndexGenericExclusionSearchAlgorithm . #80679 ( Pablo Marcos ). Do not complain about unsupported MADV_POPULATE_WRITE for older kernels in logs (to avoid logs polluting). #80704 ( Robert Schulze ). Added support for Date32, DateTime64 in TTL. #80710 ( Andrey Zvonov ). Adjust compatibility values for max_merge_delayed_streams_for_parallel_write . #80760 ( Azat Khuzhin ). Fix a crash: if an exception is thrown in an attempt to remove a temporary file (they are used for spilling temporary data on disk) in the destructor, the program can terminate. #80776 ( Alexey Milovidov ).
{"source_file": "25_06.md"}
[ -0.003633323358371854, -0.06964489072561264, -0.08076507598161697, -0.0038694702088832855, 0.019211160019040108, -0.02597532793879509, 0.028382577002048492, 0.022088922560214996, -0.03917741775512695, 0.0013350134249776602, -0.04070286080241203, -0.017262110486626625, 0.045732975006103516, ...
edb4db51-c853-4f26-9a45-095d711329dd
Add IF EXISTS modifier to SYSTEM SYNC REPLICA . #80810 ( Raúl Marín ). Extend the exception message about "Having zero bytes, but read range is not finished...", add finished_download_time column to system.filesystem_cache'. #80849 ( Kseniia Sumarokova ). Previously, packed storage was not supported for the full-text index, because the segment id was updated on-fly by reading and writing ( .gin_sid ) file on disk. In case of packed storage, reading a value from the uncommited file is not supported and this led to an issue. #80852 ( Elmi Ahmadov ). Add a search algorithm section to EXPLAIN output when using it with indexes = 1 . It shows either "binary search" or "generic exclusion search". #80881 ( Pablo Marcos ). At the beginning of 2024, prefer_column_name_to_alias was hardcoded to True for MySQL handler because the new analyzer was not enabled by default. Now, it has been unhardcoded. #80916 ( Yarik Briukhovetskyi ). Now system.iceberg_history shows history for catalogs databases like glue or iceberg rest. Also renamed table_name and database_name columns to table and database in system.iceberg_history for consistency. #80975 ( alesapin ). Allow read-only mode for the merge table function, so the CREATE TEMPORARY TABLE grant is not required for using it. #80981 ( Miсhael Stetsyuk ). Better introspection of in-memory caches (expose information about caches in system.metrics over incomplete system.asynchronouse_metrics ). Add in-memory caches size (in bytes) into dashboard.html . VectorSimilarityIndexCacheSize / IcebergMetadataFilesCacheSize has been renamed to VectorSimilarityIndexCacheBytes / IcebergMetadataFilesCacheBytes . #81023 ( Azat Khuzhin ). Ignore databases with engines that can't contain RocksDB tables while reading from system.rocksdb. #81083 ( Pervakov Grigorii ). Allow filesystem_caches and named_collections in the clickhouse-local configuration file. #81105 ( Alexey Milovidov ). Fix highlighting of PARTITION BY in INSERT queries. In previous versions, PARTITION BY was not highlighted as a keyword. #81106 ( Alexey Milovidov ). * Two mini improvements in Web UI: correctly handle queries without output, such as CREATE , INSERT (until recently, these queries resulted in an infinite spinner); - when double clicking on a table, scroll to the top. #81131 ( Alexey Milovidov ). * Update c-ares to v1.34.5 . #81159 ( Konstantin Bogdanov ). * Upgrade curl to 8.14 to address CVE-2025-5025 and CVE-2025-4947. #81171 ( larryluogit ). * Upgrade libarchive to 3.7.9 to address: CVE-2024-20696 CVE-2025-25724 CVE-2024-48958 CVE-2024-57970 CVE-2025-1632 CVE-2024-48957 CVE-2024-48615. #81174 ( larryluogit ). * Upgrade libxml2 to 2.14.3. #81187 ( larryluogit ).
{"source_file": "25_06.md"}
[ -0.0497015118598938, 0.03633774444460869, -0.11015372723340988, 0.03950243815779686, 0.0024613740388303995, -0.07543284446001053, -0.015538644976913929, 0.061132077127695084, 0.008678141050040722, 0.042435817420482635, 0.06348474323749542, 0.0555647574365139, 0.08851093053817749, -0.050686...
e28fdb44-c6dd-4937-98ae-67aeeb9821a8
* Upgrade libxml2 to 2.14.3. #81187 ( larryluogit ). MemoryResidentWithoutPageCache provides the amount of physical memory used by the server process, excluding userspace page cache, in bytes. This provides a more accurate view of actual memory usage when userspace page cache is utilized. When userspace page cache is disabled, this value equals MemoryResident. #81233 ( Jayme Bird ). Mark manually logged exceptions in client, local server, keeper client and disks app as logged, so that they are not logged twice. #81271 ( Miсhael Stetsyuk ). Setting use_skip_indexes_if_final and use_skip_indexes_if_final_exact_mode now default to True . Queries with FINAL clause will now use skip indexes (if applicable) to shortlist granules and also read any additional granules corresponding to matching primary key ranges. Users needing earlier behaviour of approximate/imprecise results can set use_skip_indexes_if_final_exact_mode to FALSE after careful evaluation. #81331 ( Shankar Iyer ). * When you have multiple queries in the web UI, it will run the one under the cursor. Continuation of #80977 . #81354 ( Alexey Milovidov ). This PR addresses issues with the implementation of is_strict in the monotonicity checks for conversion functions. Currently, some conversion functions, such as toFloat64(UInt32) and toDate(UInt8), incorrectly return is_strict as false when they should return true. #81359 ( zoomxi ). * In filesystem with journal mkdir is written to the journal of filesystem which is persisted to disk. In case of slow disk this can take long time. Definitely make sense to move out from reserve lock scope. #81371 ( Kseniia Sumarokova ). When checking if a KeyCondition matches a continuous range, if the key is wrapped with a non-strict function chain, a Constraint::POINT may needs to be converted to a Constraint::RANGE . For example: toDate(event_time) = '2025-06-03' implies a range for event_time : ['2025-06-03 00:00:00', '2025-06-04 00:00:00'). This PR fixes this behavior. #81400 ( zoomxi ). * Use postgres 16.9. #81437 ( Konstantin Bogdanov ). * Use openssl 3.2.4. #81438 ( Konstantin Bogdanov ). * Use abseil-cpp 2025-01-27. #81440 ( Konstantin Bogdanov ). * Use mongo-c-driver 1.30.4. #81449 ( Konstantin Bogdanov ). * Use krb5 1.21.3-final. #81453 ( Konstantin Bogdanov ). * Use orc 2.1.2. #81455 ( Konstantin Bogdanov ). * Add support for the --database argument in clickhouse-local . You can switch to a previously created database. This closes #44115 . #81465 ( Alexey Milovidov ). * clickhouse / ch aliases will invoke clickhouse-client instead of clickhouse-local if --host or --port are specified. Continuation of #79422 . Closes #65252 . #81509 ( Alexey Milovidov ). Now that we have the keeper response time distribution data, we can tune the histogram buckets. #81516 ( Miсhael Stetsyuk ).
{"source_file": "25_06.md"}
[ 0.07334987074136734, 0.03938774764537811, -0.052612341940402985, 0.019991490989923477, -0.03651752322912216, -0.020725538954138756, 0.06877332925796509, 0.02936326526105404, 0.04173634573817253, 0.035908449441194534, 0.02910374104976654, 0.0020274557173252106, 0.05144435539841652, -0.07858...
ff41a224-af8c-404d-b66f-17ab6f0e39b2
Now that we have the keeper response time distribution data, we can tune the histogram buckets. #81516 ( Miсhael Stetsyuk ). Postpone reading of Iceberg manifest files until the first reading of a query. #81619 ( Daniil Ivanik ). * Use grpc 1.73.0. #81629 ( Konstantin Bogdanov ). * Use delta-kernel-rs v0.12.1. #81707 ( Konstantin Bogdanov ). Add profile event PageCacheReadBytes . #81742 ( Kseniia Sumarokova ). Bug fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release} Fix parameterized view with SELECT EXCEPT query. Closes #49447 . #57380 ( Nikolay Degterinsky ). Analyzer: fix column projection name after column type promotion in join. Closes #63345 . #63519 ( Dmitry Novik ). A materialized view can start too late, e.g. after the Kafka table that streams to it. #72123 ( Ilya Golshtein ). Fixed a logical error in cases of column name clashes when analyzer_compatibility_join_using_top_level_identifier is enabled. #75676 ( Vladimir Cherkasov ). Fixed rare crashes while reading from MergeTree table after multiple asynchronous (with alter_sync = 0 ) RENAME COLUMN and ADD COLUMN queries. #76346 ( Anton Popov ). Fix SELECT query rewriting during VIEW creation with enabled analyzer. closes #75956 . #76356 ( Dmitry Novik ). Fix CTE usage in pushed-down predicates when allow_push_predicate_ast_for_distributed_subqueries is enabled. Fixes #75647 . Fixes #79672 . #77316 ( Dmitry Novik ). Fix applying async_insert from server (via apply_settings_from_server ) (previously leads to Unknown packet 11 from server errors on the client). #77578 ( Azat Khuzhin ). Fixed refreshable materialized view in replicated databases not working on newly added replicas. #77774 ( Michael Kolupaev ). Fixed refreshable materialized views breaking backups. #77893 ( Michael Kolupaev ). Fix old firing logical error for transform . #78247 ( Yarik Briukhovetskyi ). Fixes an issue where SYSTEM SYNC REPLICA LIGHTWEIGHT 'foo' would report success even when the specified replica didn't exist. The command now properly validates that the replica exists in Keeper before attempting synchronization. #78405 ( Jayme Bird ). Fix some cases where secondary index was not applied with analyzer. Fixes #65607 , fixes #69373 . #78485 ( Nikolai Kochetov ). Fix dumping profile events ( NetworkSendElapsedMicroseconds / NetworkSendBytes ) for HTTP protocol with compression enabled (the error should not be more then the buffer size, usually around 1MiB). #78516 ( Azat Khuzhin ). * ```sql CREATE TABLE t0 ( key Int32, value Int32 ) ENGINE=MergeTree() PRIMARY KEY key PARTITION BY key % 2;. #78593 ( Vlad ). Fix analyzer producing LOGICAL_ERROR when JOIN ... USING involves ALIAS column - should produce an appropriate error. #78618 ( Yakov Olkhovskiy ).
{"source_file": "25_06.md"}
[ -0.02125721611082554, -0.05295373126864433, -0.040420010685920715, 0.014116316102445126, 0.0362098403275013, -0.03668585419654846, -0.022759011015295982, 0.06096956133842468, -0.008244956843554974, 0.043492935597896576, 0.02321796678006649, -0.01638147234916687, -0.033463004976511, -0.0707...
73c1acdc-4b31-4d9f-ac16-04bf9c148733
Fix analyzer producing LOGICAL_ERROR when JOIN ... USING involves ALIAS column - should produce an appropriate error. #78618 ( Yakov Olkhovskiy ). Fix analyzer: CREATE VIEW ... ON CLUSTER fails if SELECT contains positional arguments. #78663 ( Yakov Olkhovskiy ). Fix Block structure mismatch error in case of INSERT SELECT into table a function with schema inference if SELECT has scalar subqueries. #78677 ( Pervakov Grigorii ). Fix analyzer: with prefer_global_in_and_join=1 for Distributed table in SELECT query in function should be replaced by globalIn . #78749 ( Yakov Olkhovskiy ). Fixed several types of SELECT queries that read from tables with MongoDB engine or mongodb table function: queries with implicit conversion of const value in WHERE clause (e.g. WHERE datetime = '2025-03-10 00:00:00' ) ; queries with LIMIT and GROUP BY . Previously, they could return the wrong result. #78777 ( Anton Popov ). Fix conversion between different JSON types. Now it's performed by simple cast through convertion to/from String. It's less effective but 100% accurate. #78807 ( Pavel Kruglov ). Fix logical error during convertion of Dynamic type to Interval. #78813 ( Pavel Kruglov ). Fix column rollback on JSON parsing error. #78836 ( Pavel Kruglov ). Fix 'bad cast' error when join using constant alias column. #78848 ( Vladimir Cherkasov ). Don't allow PREWHERE in materialized views on columns with different types in view and target table. #78889 ( Pavel Kruglov ). Fix logical error during parsing of bad binary data of Variant column. #78982 ( Pavel Kruglov ). Throw an exception when the parquet batch size is set to 0. Previously when output_format_parquet_batch_size = 0 ClickHouse would hang. Now this behavior is fixed. #78991 ( daryawessely ). Fix deserialization of variant discriminators with basic format in compact parts. It was introduced in https://github.com/ClickHouse/ClickHouse/pull/55518. #79000 ( Pavel Kruglov ). Dictionaries of type complex_key_ssd_cache now reject zero or negative block_size and write_buffer_size parameters (issue #78314 ). #79028 ( Elmi Ahmadov ). Avoid using Field for non-aggregated columns in SummingMergeTree. It could lead to unexpected errors with Dynamic/Variant types used in SummingMergeTree. #79051 ( Pavel Kruglov ). Fix read from materialized view with distributed destination table and different header in analyzer. #79059 ( Pavel Kruglov ). Fix crash for a very specific situation when the currentDatabase function was used in CONSTRAINT sections for ON CLUSTER queries Closes #78100 . #79070 ( pufit ). Fixes a bug where arrayUnion() returned extra (incorrect) values on tables that had batch inserts. Fixes #75057 . #79079 ( Peter Nguyen ). * Fix segfault in OpenSSLInitializer . Closes #79092 . #79097 ( Konstantin Bogdanov ).
{"source_file": "25_06.md"}
[ -0.053918108344078064, 0.0031023919582366943, 0.008276204578578472, 0.05620536580681801, 0.01246014516800642, -0.0636378675699234, -0.024207623675465584, 0.040089864283800125, -0.006545453332364559, 0.00442466652020812, -0.005161977373063564, -0.054864633828401566, -0.013761579059064388, 0...
8d52087d-06de-4969-be0a-422e4e9d2b39
* Fix segfault in OpenSSLInitializer . Closes #79092 . #79097 ( Konstantin Bogdanov ). Fix passing of external roles in inter-server queries. #79099 ( Andrey Zvonov ). Always set prefix for S3 ListObject. #79114 ( Azat Khuzhin ). Fixes a bug where arrayUnion() returned extra (incorrect) values on tables that had batch inserts. Fixes #79157 . #79158 ( Peter Nguyen ). Fix logical error after filter pushdown. #79164 ( Pervakov Grigorii ). Try to use IColumn instead of Field in SingleValueDataGeneric. It fixes the incorrect return values for some aggregate functions like argMax for types Dynamic/Variant/JSON . #79166 ( Pavel Kruglov ). Fix DeltaLake table engine with delta-kernel implementation being used with http based endpoints, fix NOSIGN. Closes #78124 . #79203 ( Kseniia Sumarokova ). Keeper fix: Avoid triggering watches on failed multi requests. #79247 ( Antonio Andelic ). Forbid Dynamic and JSON types in IN. With current implementation of IN it can lead to incorrect results. Proper support of this types in IN is complicated and can be done in future. #79282 ( Pavel Kruglov ). Fix check for duplicate paths in JSON type parsing. #79317 ( Pavel Kruglov ). Fix SecureStreamSocket connection issues. #79383 ( Konstantin Bogdanov ). Fix loading of plain_rewritable disks containing data. #79439 ( Julia Kartseva ). Fix crash in dynamic subcolumns discovery in Wide parts in MergeTree. #79466 ( Pavel Kruglov ). Verify the table name's length only for initial create queries. Do not verify this for secondary creates to avoid backward compatibility issues. #79488 ( Miсhael Stetsyuk ). Fixed error Block structure mismatch in several cases with tables with sparse columns. #79491 ( Anton Popov ). Fixes two cases of Logical Error: Can't set alias of * of Asterisk on alias . #79505 ( Raúl Marín ). Fix applying use_native_copy and allow_azure_native_copy setting for azure blob storage and updated to use native copy only when credentials match resolves #78964 . #79561 ( Smita Kulkarni ). Fix using incorrect paths when renaming an Atomic database. #79569 ( Tuan Pham Anh ). Fix order by JSON column with other columns. #79591 ( Pavel Kruglov ). Fix result duplication when reading from remote with both use_hedged_requests and allow_experimental_parallel_reading_from_replicas disabled. #79599 ( Eduard Karacharov ). Fix crash in delta-kernel implementation when using unity catalog. #79677 ( Kseniia Sumarokova ). Resolve macros for autodiscovery clusters. #79696 ( Anton Ivashkin ). Fix logical errors about a column's unknown origin scope produced while checking if this column is correlated. Fixes #78183 . Fixes #79451 . #79727 ( Dmitry Novik ). Fix wrong results for grouping sets with ColumnConst and Analyzer. #79743 ( Andrey Zvonov ).
{"source_file": "25_06.md"}
[ -0.04937693849205971, -0.034966737031936646, -0.021274598315358162, -0.0562380850315094, -0.058568235486745834, -0.007094378583133221, -0.01471729390323162, 0.03197891265153885, -0.07830284535884857, 0.003171599470078945, -0.000864245870616287, -0.06553427875041962, -0.06706225126981735, -...
daae2864-9b8a-4c4e-9384-7db13710a2b9
Fix wrong results for grouping sets with ColumnConst and Analyzer. #79743 ( Andrey Zvonov ). Fix local shard result duplication when reading from distributed table with local replica being stale. #79761 ( Eduard Karacharov ). Handle incorrectly configured page_cache_limits suitably. #79805 ( Bharat Nallan ). Fixes the result of SQL function formatDateTime if a variable-size formatter (e.g. %W aka. weekday Monday Tuesday , etc.) is followed by a compound formatter (a formatter that prints multiple components at once, e.g. %D aka. the American date 05/04/25 ). #79835 ( Robert Schulze ). IcebergS3 supports count optimization, but IcebergS3Cluster does not. As a result, the count() result returned in cluster mode may be a multiple of the number of replicas. #79844 ( wxybear ). Fix the sorting order of the NaNs with a negative sign bit. #79847 ( Pervakov Grigorii ). Now GROUP BY ALL doesn't take into account the GROUPING part. #79915 ( Yarik Briukhovetskyi ). Fixes AMBIGUOUS_COLUMN_NAME error with lazy materialization when no columns are used for query execution until projection. Example, SELECT * FROM t ORDER BY rand() LIMIT 5. #79926 ( Igor Nikonov ). Fixed incorrect state merging for TopK / TopKWeighted functions that would cause excessive error values even when capacity was not exhausted. #79939 ( Joel Höner ). Hide password for query CREATE DATABASE datalake ENGINE = DataLakeCatalog(\'http://catalog:8181\', \'admin\', \'password\') . #79941 ( Han Fei ). Allow specifying an alias in JOIN USING . Specify this alias in case the column was renamed (e.g., because of `ARRAY JOIN). Fixes #73707 . #79942 ( Nikolai Kochetov ). Respect readonly setting in azure_blob_storage object storage. #79954 ( Julia Kartseva ). Fixed incorrect query results and out-of-memory crashes when using match(column, '^…') with backslash-escaped characters. #79969 ( filimonov ). Disabling hive partitioning for datalakes Partially addresses https://github.com/issues/assigned?issue=ClickHouse%7CClickHouse%7C79937. #80005 ( Daniil Ivanik ). Skip indexes with lambda expressions could not be applied. Fix the case when high-level functions in the index definition exactly match the one in the query. #80025 ( Nikolai Kochetov ). Allow materialized views with UNIONs to work correctly on new replicas. #80037 ( Samay Sharma ). Fix metadata version during attach part on the replica executing ATTACH_PART command from replication log. #80038 ( Aleksei Filatov ). Format specifier %e in SQL function parseDateTime now recognizes single-digit days (e.g. 3 ), whereas it previously required space padding (e.g. 3 ). This makes its behavior compatible with MySQL. To retain the previous behaviour, set setting parsedatetime_e_requires_space_padding = 1 . (issue #78243 ). #80057 ( Robert Schulze ).
{"source_file": "25_06.md"}
[ -0.02906188741326332, -0.039077870547771454, -0.04704108089208603, 0.0687221810221672, 0.020337378606200218, 0.005038818810135126, -0.03486088290810585, -0.04917094111442566, -0.024469446390867233, 0.014295215718448162, 0.06399961560964584, 0.00857597030699253, 0.05542004108428955, -0.0558...
5f082763-ccc3-40d0-beec-95cb0694de66
Executable User Defined Functions (eUDF) names are not added to the used_functions column of the system.query_log table, unlike other functions. This PR implements the addition of the eUDF name if the eUDF was used in the request. #80073 ( Kyamran ). * Fix warnings Cannot find 'kernel' in '[...]/memory.stat' in ClickHouse's log (issue #77410 ). #80129 ( Robert Schulze ). Fix logical error in Arrow format with LowCardinality(FixedString). #80156 ( Pavel Kruglov ). Fix reading subcolumns from Merge engine. #80158 ( Pavel Kruglov ). Fix a bug about the comparison between numeric types in KeyCondition . #80207 ( Yarik Briukhovetskyi ). Fix AMBIGUOUS_COLUMN_NAME when lazy materialization applied to table with projections. #80251 ( Igor Nikonov ). Fix incorrect count optimization for string prefix filters like LIKE 'ab_c%' when using implicit projections. This fixes #80250 . #80261 ( Amos Bird ). Fix improper serialization of nested numeric fields as strings in MongoDB documents. Remove maximum depth limit for documents from MongoDB. #80289 ( Kirill Nikiforov ). Perform less strict metadata checks for RMT in the Replicated database. Closes #80296 . #80298 ( Nikolay Degterinsky ). Fix text representation of DateTime and DateTime64 for PostgreSQL storage. #80301 ( Yakov Olkhovskiy ). Allow DateTime with timezone in StripeLog tables. This closes #44120 . #80304 ( Alexey Milovidov ). Disable filter-push-down for the predicate with a non-deterministic function in case the query plan step changes the number of rows. Fixes #40273 . #80329 ( Nikolai Kochetov ). Fix possible logical errors and crashes in projections with subcolumns. #80333 ( Pavel Kruglov ). Fix NOT_FOUND_COLUMN_IN_BLOCK error caused by filter-push-down optimization of the logical JOIN sep in case ON expression is not a trivial equality. Fixes #79647 Fixes #77848 . #80360 ( Nikolai Kochetov ). Fix incorrect results when reading reverse-ordered keys in partitioned tables. This fixes #79987 . #80448 ( Amos Bird ). Fixed wrong sorting in tables with a nullable key and enabled optimize_read_in_order. #80515 ( Pervakov Grigorii ). Fixed refreshable materialized view DROP getting stuck if the view was paused using SYSTEM STOP REPLICATED VIEW. #80543 ( Michael Kolupaev ). Fix 'Cannot find column' with constant tuple in distributed query. #80596 ( Yakov Olkhovskiy ). Fix shardNum function in Distributed tables with join_use_nulls . #80612 ( János Benjamin Antal ). Fix incorrect results during reading column that exists in subset of tables in Merge engine. #80643 ( Pavel Kruglov ). The timestamp in the iceberg_history table should now be correct. #80711 ( Melvyn Peignon ). Fix handling of enum globs of a single element in object storage table functions. #80716 ( Konstantin Bogdanov ).
{"source_file": "25_06.md"}
[ 0.0013930699788033962, -0.04663911089301109, -0.05806732922792435, -0.04573596268892288, 0.01136524323374033, -0.1008685827255249, 0.007351383566856384, 0.07900741696357727, -0.04859992861747742, 0.04585394263267517, 0.0774800106883049, -0.05833681300282478, 0.006671631708741188, -0.041881...
cbd49d3a-c4a8-4163-8e14-0de4e05efeb7
Fix handling of enum globs of a single element in object storage table functions. #80716 ( Konstantin Bogdanov ). Fix wrong result types of comparison functions with Tuple(Dynamic) and String that led to logical error. #80728 ( Pavel Kruglov ). Add missing support data type timestamp_ntz for unity catalog. Fixes #79535 , Fixes #79875 . #80740 ( alesapin ). Fix THERE_IS_NO_COLUMN error for distributed queries with IN cte . Fixes #75032 . #80757 ( Nikolai Kochetov ). Fix excessive number of files (leads to excessive memory usage) for external ORDER BY . #80777 ( Azat Khuzhin ). * This PR might close #80742 . #80783 ( zoomxi ). * Fix crash in Kafka due to get_member_id() was creating std::string from NULL (it was likely an issue only in case of connection to broker had been failed). #80793 ( Azat Khuzhin ). Properly await consumers before shutting down Kafka engine (active consumers after shutdown can trigger various debug assertions and also may read data from brokers in background after table has been dropped/detached). #80795 ( Azat Khuzhin ). Fix NOT_FOUND_COLUMN_IN_BLOCK , which is caused by predicate-push-down optimization. Fixes #80443 . #80834 ( Nikolai Kochetov ). Fix logical error when resolving star (*) matcher in table function in JOIN with USING . #80894 ( Vladimir Cherkasov ). Fix memory accounting for Iceberg metadata files cache. #80904 ( Azat Khuzhin ). Fix wrong partitioning with nullable partition key. #80913 ( Pervakov Grigorii ). Fix Table does not exist error for distributed queries with pushed-down predicate ( allow_push_predicate_ast_for_distributed_subqueries=1 ) when the source table does not exist on the initialtor. Fixes #77281 . #80915 ( Nikolai Kochetov ). Fix the logical error in the nested functions with named windows. #80926 ( Pervakov Grigorii ). Fix extremes for nullable and floating-point columns. #80970 ( Pervakov Grigorii ). Fix possible crash while querying from system.tables (likely the case under memory pressure). #80976 ( Azat Khuzhin ). Fix atomic rename with truncate for files which compression is inferred from their file extension. #80979 ( Pablo Marcos ). * Fix ErrorCodes::getName. #81032 ( RinChanNOW ). Fix bug when user cannot list tables in Unity Catalog without permissions for all of them. Now all tables are listed properly, attempt to read from restricted table will throw an exception. #81044 ( alesapin ). Now ClickHouse will ignore errors and unexpected responses from data lake catalogs in SHOW TABLES query. Fixes #79725 . #81046 ( alesapin ). Fix parsing of DateTime64 from integers in JSONExtract and JSON type parsing. #81050 ( Pavel Kruglov ). Reflect date_time_input_format setting in schema inference cache. #81052 ( Pavel Kruglov ). Fix crash on INSERT if table was DROPed after query started but before columns sent. #81053 ( Azat Khuzhin ).
{"source_file": "25_06.md"}
[ -0.01700097881257534, 0.031141670420765877, -0.07323485612869263, 0.029668601229786873, -0.034523461014032364, -0.06454924494028091, -0.024472743272781372, 0.07841487228870392, -0.023831402882933617, 0.09784446656703949, 0.038536444306373596, 0.00010154877236345783, -0.02284669131040573, -...
4fd518bf-7585-4f8e-9124-5468d975803e
Fix crash on INSERT if table was DROPed after query started but before columns sent. #81053 ( Azat Khuzhin ). Fix use-of-uninitialized-value in quantileDeterministic. #81062 ( Azat Khuzhin ). Fix hardlinks count management for metadatastoragefromdisk disk transactions. add tests. #81066 ( Sema Checherinda ). User Defined Functions (UDF) names are not added to the system.query_log table, unlike other functions. This PR implements the addition of the UDF name to one of the two columns used_executable_user_defined_functions or used_sql_user_defined_functions if the UDF was used in the request. #81101 ( Kyamran ). Fixed Too large size ... passed to allocator errors or possible crashes on inserts via http protocol with text formats ( JSON , Values , ...) and omitted Enum fields. #81145 ( Anton Popov ). Fix LOGICAL_ERROR in case of Sparse column in INSERT block pushed to non-MT MV. #81161 ( Azat Khuzhin ). Fix Unknown table expression identifier for distributed_product_mode_local=local with cross-replication. #81162 ( Nikolai Kochetov ). Fixed incorrectly caching number of rows in parquet files after filtering. #81184 ( Michael Kolupaev ). Fix fs cache max_size_to_total_space setting when used with relative cache path. #81237 ( Kseniia Sumarokova ). Fixed clickhouse-local crashing when outputting const tuples or maps in Parquet format. #81249 ( Michael Kolupaev ). Verify array offsets received over network. #81269 ( Azat Khuzhin ). Fix some corner case in query that joins empty tables and uses window functions. The bug leads to exploding number of parallel streams which leads to OOMs. #81299 ( Alexander Gololobov ). Fixes for datalake Cluster functions ( deltaLakeCluster , icebergCluster , etc): (1) fix potential segfault in DataLakeConfiguration when using Cluster function with old analyzer; (2) remove duplicating data lake metadata updates (extra object storage requests); (3) fix redundant listing in object storage when format is not explicitly specified (which was already done for non-cluster data lake engines). #81300 ( Kseniia Sumarokova ). Make force_restore_data flag recover lost keeper metadata. #81324 ( Raúl Marín ). Fix region error in delta-kernel. Fixes #79914 . #81353 ( Kseniia Sumarokova ). Disable incorrect JIT for divideOrNull. #81370 ( Raúl Marín ). Fix insert error when MergeTree table has a long partition column name. #81390 ( hy123q ). Don't store content of several manifest files in memory. #81470 ( Daniil Ivanik ). Fix possible crash during shutting down background pools ( background_.*pool_size ). #81473 ( Azat Khuzhin ). Fix out-of-bounds read in the Npy format happening when writing to a table with the URL engine. This closes #81356 . #81502 ( Alexey Milovidov ). There is a chance that Web UI displays NaN% (typical JavaScript problems). #81507 ( Alexey Milovidov ).
{"source_file": "25_06.md"}
[ 0.00011355701280990615, -0.027112720534205437, -0.06598225980997086, 0.01707448437809944, -0.022767741233110428, -0.08494330197572708, -0.011279762722551823, 0.08000946044921875, -0.00808977335691452, 0.12333624809980392, 0.1191110759973526, -0.023982198908925056, 0.03627249598503113, -0.0...
fabe9b8a-f421-42be-bdda-9c50d937503c
There is a chance that Web UI displays NaN% (typical JavaScript problems). #81507 ( Alexey Milovidov ). Fix DatabaseReplicated for database_replicated_enforce_synchronous_settings=1 . #81564 ( Azat Khuzhin ). Fix sorting order for LowCardinality(Nullable(...)) types. #81583 ( Pervakov Grigorii ). Server should not preserve a HTTP connection if the request has not been fully read from the socket. #81595 ( Sema Checherinda ). Make scalar correlated subqueries return a nullable result of the projection expression. Fix the case when a correlated subquery produces an empty result set. #81632 ( Dmitry Novik ). Fix Unexpected relative path for a deduplicated part during ATTACH to ReplicatedMergeTree . #81647 ( Azat Khuzhin ). Query settings use_iceberg_partition_pruning will not take effect for iceberg storage, because it uses global context rather than query context. it's not critical because its default value is true. this pr can fix it. #81673 ( Han Fei ). Add validation for merge tree setting merge_max_block_size to ensure that it's non zero. #81693 ( Bharat Nallan ). Fix issues with clickhouse-local involving stuck DROP VIEW queries. #81705 ( Bharat Nallan ). Fix StorageRedis join in some cases. #81736 ( Pervakov Grigorii ). Fix crash in ConcurrentHashJoin with empty USING () and old analyzer enabled. #81754 ( Nikita Taranov ). Keeper fix: block commits of new logs if there is invalid entry in the logs. Previously, if the leader applied some logs incorrectly, it would continue to commit new logs, even though the follower would detect digest mismatch and abort. #81780 ( Antonio Andelic ).
{"source_file": "25_06.md"}
[ -0.09570488333702087, -0.049325067549943924, -0.04195554554462433, 0.06722230464220047, -0.06876254826784134, -0.07187460362911224, -0.022891350090503693, 0.023200608789920807, 0.006929623894393444, -0.00791732594370842, 0.05587673559784889, -0.018186267465353012, 0.08263527601957321, -0.0...
00648e76-f551-4c06-bf6a-fc0a0bb6c235
slug: /changelogs/25.4 title: 'v25.4 Changelog for Cloud' description: 'Fast release changelog for v25.4' keywords: ['changelog', 'cloud'] sidebar_label: '25.4' sidebar_position: 3 doc_type: 'changelog' Backward incompatible changes {#backward-incompatible-changes} Parquet output format converts Date and DateTime columns to date/time types supported by Parquet, instead of writing them as raw numbers. DateTime becomes DateTime64(3) (was: UInt32); setting output_format_parquet_datetime_as_uint32 brings back the old behavior. Date becomes Date32 (was: UInt16). #70950 ( Michael Kolupaev ). Don't allow comparable types (like JSON/Object/AggregateFunction) in ORDER BY and comparison functions less/greater/equal/etc by default. #73276 ( Pavel Kruglov ). JSONEachRowWithProgress will write the progress whenever the progress happens. In previous versions, the progress was shown only after each block of the result, which made it useless. Change the way how the progress is displayed: it will not show zero values. Keep in mind that the progress is sent even if it happens frequently. It can generate a significant volume of traffic. Keep in mind that the progress is not flushed when the output is compressed. This closes #70800 . #73834 ( Alexey Milovidov ). The mysql dictionary source no longer does SHOW TABLE STATUS query, because it does not provide any value for InnoDB tables, as long as for any recent MySQL versions. This closes #72636 . This change is backward compatible, but put in this category, so you have a chance to notice it. #73914 ( Alexey Milovidov ). Merge tables will unify the structure of underlying tables by using a union of their columns and deriving common types. This closes #64864 . This closes #35307 . In certain cases, this change could be backward incompatible. One example is when there is no common type between tables, but conversion to the type of the first table is still possible, such as in the case of UInt64 and Int64 or any numeric type and String. If you want to return to the old behavior, set merge_table_max_tables_to_look_for_schema_inference to 1 or set compatibility to 24.12 or earlier. #73956 ( Alexey Milovidov ). CHECK TABLE queries now require a separate, CHECK grant. In previous versions, it was enough to have SHOW TABLES grant to run these queries. But a CHECK TABLE query can be heavy, and usual query complexity limits for SELECT queries don't apply to it. It led to the potential of DoS. #74471 ( Alexey Milovidov ). Check all columns in a materialized view match the target table if allow_materialized_view_with_bad_select is false . #74481 ( Christoph Wurm ). Function h3ToGeo() now returns the results in the order (lat, lon) (which is the standard order for geometric functions). Users who wish to retain the legacy result order (lon, lat) can set setting h3togeo_lon_lat_result_order = true . #74719 ( Manish Gill ).
{"source_file": "25_04.md"}
[ -0.02641911804676056, 0.025122391059994698, 0.03317376598715782, -0.07653879374265671, -0.026554154232144356, -0.019119367003440857, -0.08689561486244202, -0.007199645042419434, 0.002150573767721653, 0.05131027474999428, -0.01243079174309969, 0.008576055988669395, -0.07566419988870621, -0....
9e72c117-0f74-4989-8c9d-ae25810435d8
Add JSONCompactEachRowWithProgress and JSONCompactStringsEachRowWithProgress formats. Continuation of #69989 . The JSONCompactWithNames and JSONCompactWithNamesAndTypes no longer output "totals" - apparently, it was a mistake in the implementation. #75037 ( Alexey Milovidov ). Change format_alter_operations_with_parentheses default to true to make alter commands list unambiguous (see https://github.com/ClickHouse/ClickHouse/pull/59532). This breaks replication with clusters prior to 24.3. If you are upgrading a cluster using older releases, turn off the setting in the server config or upgrade to 24.3 first. #75302 ( Raúl Marín ). Disallow truncate database for replicated databases. #76651 ( Bharat Nallan ). Disable parallel replicas by default when analyzer is disabled regardless compatibility setting. It's still possible to change this behavior by explicitly setting parallel_replicas_only_with_analyzer to false . #77115 ( Igor Nikonov ). It's no longer possible to use NaN or inf for float values as settings. #77546 ( Yarik Briukhovetskyi ). Fixes cases where dateTrunc is used with negative date/datetime arguments. #77622 ( Yarik Briukhovetskyi ). The legacy MongoDB integration has been removed. Server setting use_legacy_mongodb_integration became obsolete and now does nothing. #77895 ( Robert Schulze ). Enhance SummingMergeTree validation to skip aggregation for columns used in partition or sort keys. #78022 ( Pervakov Grigorii ). New features {#new-features} Added an in-memory cache for deserialized skipping index granules. This should make repeated queries that use skipping indexes faster. The size of the new cache is controlled by server settings skipping_index_cache_size and skipping_index_cache_max_entries . The original motivation for the cache were vector similarity indexes which became a lot faster now. #70102 ( Robert Schulze ). A new implementation of the Userspace Page Cache, which allows caching data in the in-process memory instead of relying on the OS page cache. It is useful when the data is stored on a remote virtual filesystem without backing with the local filesystem cache. #70509 ( Michael Kolupaev ). Add setting to query Iceberg tables as of a specific timestamp. #71072 ( Brett Hoerner ). Implement Iceberg tables partition pruning for time-related transform partition operations in Iceberg. #72044 ( Daniil Ivanik ). Add the ability to create min-max (skipping) indices by default for columns managed by MergeTree using settings enable_minmax_index_for_all_numeric_columns (for numeric columns) and enable_minmax_index_for_all_string_columns (for string columns). For now, both settings are disabled, so there is no behavior change yet. #72090 ( Smita Kulkarni ). Added aggregation function sequenceMatchEvents which return timestamps of matched events for longest chain of events in pattern. #72349 ( UnamedRus ).
{"source_file": "25_04.md"}
[ -0.008565831929445267, -0.07425010204315186, -0.01790746860206127, 0.021234756335616112, -0.04088088497519493, 0.0017919819802045822, -0.10579472780227661, -0.008827083744108677, -0.031091593205928802, 0.0416315495967865, 0.023426026105880737, -0.022879207506775856, 0.0609438419342041, 0.0...
1cb8a7b7-5994-4238-a54a-7d02be4d33d2
Added aggregation function sequenceMatchEvents which return timestamps of matched events for longest chain of events in pattern. #72349 ( UnamedRus ). SELECT and VIEW statements now support aliases, e.g. SELECT b FROM (SELECT number, number*2 FROM numbers(2)) AS x (a, b); . This enables TPC-H query 15 to run without modifications. #72480 ( Yarik Briukhovetskyi ). Added a new setting enable_adaptive_memory_spill_scheduler that allows multiple grace JOINs in the same query to monitor their combined memory footprint and trigger spilling into an external storage adaptively to prevent MEMORY_LIMIT_EXCEEDED. #72728 ( lgbo ). Added function arrayNormalizedGini . #72823 ( flynn ). Support low cardinality decimal data types, fix #72256 . #72833 ( zhanglistar ). When min_age_to_force_merge_seconds and min_age_to_force_merge_on_partition_only are both enabled, the part merging will ignore the max bytes limit. #73656 ( Kai Zhu ). Support reading HALF_FLOAT values from Apache Arrow/Parquet/ORC (they are read into Float32). This closes #72960 . Keep in mind that IEEE-754 half float is not the same as BFloat16. Closes #73835 . #73836 ( Alexey Milovidov ). The system.trace_log table will contain two new columns, symbols and lines containing symbolized stack trace. It allows for easy collection and export of profile information. This is controlled by the server configuration value symbolize inside trace_log and is enabled by default. #73896 ( Alexey Milovidov ). Add a new function, generateSerialID , which can be used to generate auto-incremental numbers in tables. Continuation of #64310 by kazalika . This closes #62485 . #73950 ( Alexey Milovidov ). Add syntax query1 PARALLEL WITH query2 PARALLEL WITH query3 ... PARALLEL WITH queryN That means subqueries {query1, query2, ... queryN} are allowed to run in parallel with each other (and it's preferable). #73983 ( Vitaly Baranov ).
{"source_file": "25_04.md"}
[ -0.008279774338006973, -0.02466997504234314, 0.02247663028538227, -0.008554120548069477, -0.010970331728458405, 0.012488529086112976, 0.017254754900932312, 0.05150015279650688, 0.005827148910611868, -0.024934478104114532, 0.010822461917996407, -0.00832967646420002, -0.035660404711961746, 0...
7e42162a-afba-4e58-b392-248291c4634d
Now, Play UI has a progress bar during query runtime. It allows cancelling queries. It displays the total number of records and the extended information about the speed. The table can be rendered incrementally as soon as data arrives. Enable HTTP compression. Rendering of the table became faster. The table header became sticky. It allows selecting cells and navigating them by arrow keys. Fix the issue when the outline of the selected cell makes it smaller. Cells no longer expand on mouse hover but only on selection. The moment to stop rendering the incoming data is decided on the client rather than on the server side. Highlight digit groups for numbers. The overall design was refreshed and became bolder. It checks if the server is reachable and the correctness of credentials and displays the server version and uptime. The cloud icon is contoured in every font, even in Safari. Big integers inside nested data types will be rendered better. It will display inf/nan correctly. It will display data types when the mouse is over a column header. #74204 ( Alexey Milovidov ). Add the ability to create min-max (skipping) indices by default for columns managed by MergeTree using settings add_minmax_index_for_numeric_columns (for numeric columns) and add_minmax_index_for_string_columns (for string columns). For now, both settings are disabled, so there is no behavior change yet. #74266 ( Smita Kulkarni ). Add script_query_number and script_line_number fields to system.query_log , to the ClientInfo in the native protocol, and to server logs. This closes #67542 . Credits to pinsvin00 for kicking off this feature earlier in #68133 . #74477 ( Alexey Milovidov ). Add minus operator support for DateTime64, to allow subtraction between DateTime64 values, as well as DateTime. #74482 ( Li Yin ). Support DeltaLake table engine for AzureBlobStorage. Fixes #68043 . #74541 ( Smita Kulkarni ). Add bind_host setting to set the source IP address for clickhouse client connections. #74741 ( Todd Yocum ). Added an ability to apply non-finished (not materialized by background process) mutations during the execution of SELECT queries immediately after submitting. It can be enabled by setting apply_mutations_on_fly . #74877 ( Anton Popov ). Fixed some previously unexpected cases when toStartOfInterval datetime arguments are negative. Done by implementing a new function called toStartOfIntervalAllowNegative, which does pretty much the same but returns only Date32/DateTime64. #74933 ( Yarik Briukhovetskyi ). A new function initialQueryStartTime has been added. It returns the start time of the current query. The value is the same across all shards during a distributed query. #75087 ( Roman Lomonosov ). Introduce parametrized_view_parameters in system.tables. Closes https://github.com/clickhouse/clickhouse/issues/66756. #75112 ( NamNguyenHoai ).
{"source_file": "25_04.md"}
[ 0.017629031091928482, -0.024121325463056564, 0.02981499955058098, -0.014026987366378307, -0.0025601545348763466, 0.005904538091272116, 0.02187972143292427, -0.01979735866189003, 0.05246990546584129, 0.07541592419147491, -0.04824993759393692, 0.10588104277849197, -0.06609388440847397, -0.05...
99e41811-351a-4858-8c20-e637238b3ec6
Introduce parametrized_view_parameters in system.tables. Closes https://github.com/clickhouse/clickhouse/issues/66756. #75112 ( NamNguyenHoai ). Allow altering a database comment. Closes #73351 ### Documentation entry for user-facing changes. #75622 ( NamNguyenHoai ). Add ability to ATTACH tables without database layer (avoids UUID hack). #75788 ( Azat Khuzhin ). Added concurrent_threads_scheduler server setting that governs how CPU slots are distributed among concurrent queries. Could be set to round_robin (previous behavior) or fair_round_robin to address the issue of unfair CPU distribution between INSERTs and SELECTs. #75949 ( Sergei Trifonov ). Restore QPL codec which has been removed in v24.10 due to licensing issues. #76021 ( Konstantin Bogdanov ). Added function arraySymmetricDifference . It returns all elements from multiple array arguments which do not occur in all arguments. Example: SELECT arraySymmetricDifference([1, 2], [2, 3]) returns [1, 3] . (issue #61673 ). #76231 ( Filipp Abapolov ). Add estimatecompressionratio aggregate function- see #70801 . #76661 ( Tariq Almawash ). FilterTransformPassedRows and FilterTransformPassedBytes profile events will show the number of rows and number of bytes filtered during the query execution. #76662 ( Onkar Deshpande ). Added the keccak256 hash function, commonly used in blockchain implementations, especially in EVM-based systems. #76669 ( Arnaud Briche ). Scram SHA256 & update postgres wire auth. #76839 ( scanhex12 ). The functionality adds the ability to define a list of headers that are forwarded from the headers of the client request to the external http authenticator. #77054 ( inv2004 ). Support IcebergMetadataFilesCache , which will store manifest files/list and metadata.json in one cache. #77156 ( Han Fei ). Add functions arrayLevenshteinDistance , arrayLevenshteinDistanceWeighted , and arraySimilarity . #77187 ( Mikhail f. Shiryaev ). Add three new functions. icebergTruncate according to specification. https://iceberg.apache.org/spec/#truncate-transform-details, toYearNumSinceEpoch and toMonthNumSinceEpoch . Support truncate transform in partition pruning for Iceberg engine. #77403 ( alesapin ). Allows a user to query the state of an Iceberg table as it existed at a previous point in time. #77439 ( Daniil Ivanik ). Added CPU slot scheduling for workloads, see https://clickhouse.com/docs/operations/workload-scheduling#cpu_scheduling for details. #77595 ( Sergei Trifonov ). The hasAll() function can now take advantage of the tokenbf_v1, ngrambf_v1 full-text skipping indices. #77662 ( UnamedRus ). JSON data type is production-ready. See https://jsonbench.com/. Dynamic and Varaint data types are production ready. #77785 ( Alexey Milovidov ).
{"source_file": "25_04.md"}
[ -0.029439790174365044, -0.06836269795894623, -0.09686197340488434, 0.040406350046396255, -0.08471697568893433, -0.016889585182070732, 0.03246813639998436, -0.02525166980922222, -0.029069412499666214, 0.0506792888045311, 0.006188501603901386, -0.022089071571826935, 0.021029716357588768, 0.0...
946f97ec-2281-4907-adb9-1848f4578dc6
JSON data type is production-ready. See https://jsonbench.com/. Dynamic and Varaint data types are production ready. #77785 ( Alexey Milovidov ). Added an in-memory cache for deserialized vector similarity indexes. This should make repeated approximate nearest neighbor (ANN) search queries faster. The size of the new cache is controlled by server settings vector_similarity_index_cache_size and vector_similarity_index_cache_max_entries . This feature supersedes the skipping index cache feature of earlier releases. #77905 ( Shankar Iyer ). Functions sparseGrams and sparseGramsHashes with UTF8 versions added. Author: scanhex12 . #78176 ( Pervakov Grigorii ). Introduce toInterval function. This function accepts 2 arguments (value and unit), and converts the value to a specific Interval type. #78723 ( Andrew Davis ). Experimental features {#experimental-features} Allow automatic cleanup merges of entire partitions after a configurable timeout with a new setting enable_replacing_merge_with_cleanup_for_min_age_to_force_merge . #76440 ( Christoph Wurm ). Add support for Unity Catalog for DeltaLake tables on top of AWS S3 and local filesystem. #76988 ( alesapin ). Introduce experimental integration with AWS Glue service catalog for Iceberg tables. #77257 ( alesapin ). Performance improvements {#performance-improvements} Optimize performance with lazy projection to avoid reading unused columns. #55518 ( Xiaozhe Yu ). Start to compare rows from most likely unequal columns first. #63780 ( UnamedRus ). Optimize RowBinary input format. Closes #63805 . #65059 ( Pavel Kruglov ). Speedup string deserialization by some low-level optimisation. #65948 ( Nikita Taranov ). Apply preserve_most attribute at some places in code. #67778 ( Nikita Taranov ). Implement query condition cache to improve query performance using repeated conditions. The range of the portion of data that does not meet the condition is remembered as a temporary index in memory. Subsequent queries will use this index. close #67768 ### Documentation entry for user-facing changes. #69236 ( zhongyuankai ). Support async io prefetch for NativeORCBlockInputFormat , which improves overall performance by hiding remote io latency. Speedup ratio could reach 1.47x in my test case. #70534 ( 李扬 ). Improve grace hash join performance by rerange the right join table by keys. #72237 ( kevinyhzou ). Reintroduce respect ttl_only_drop_parts on materialize ttl ; only read the necessary columns to recalculate TTL and drop parts by replacing them with an empty one. #72751 ( Andrey Zvonov ). Allow arrayROCAUC and arrayAUCPR to compute partial area of the whole curve, so that its calculation can be parallelized over huge datasets. #72904 ( Emmanuel ). Avoid spawn too many idle threads. #72920 ( Guo Wangyang ).
{"source_file": "25_04.md"}
[ -0.0470050647854805, 0.014542236924171448, 0.009530476294457912, -0.04370557516813278, -0.07658883929252625, -0.031465794891119, -0.04445386305451393, 0.004291552118957043, -0.027699921280145645, -0.08447139710187912, 0.009190219454467297, 0.07236464321613312, -0.015237134881317616, 0.0533...
623f09f4-262d-4ac2-bdaf-2f41ac691911
Avoid spawn too many idle threads. #72920 ( Guo Wangyang ). Splitting of left table blocks by hash was removed from the probe phase of the parallel_hash JOIN algorithm. #73089 ( Nikita Taranov ). Don't list blob storage keys if we only have curly brackets expansion in table function. Closes #73333 . #73518 ( Konstantin Bogdanov ). Replace Int256 and UInt256 with clang builtin i256 in arithmetic calculation according to tests in #70502 . #73658 ( 李扬 ). Adds a fast path for functions with all argument types is numeric. Fix performance issues in https://github.com/ClickHouse/ClickHouse/pull/72258. #73820 ( 李扬 ). Do not apply maskedExecute on non-function columns, improve the performance of short circuit execution. #73965 ( lgbo ). Disable header detection for Kafka/NATS/RabbitMQ/FileLog to improve performance. #74006 ( Azat Khuzhin ). Use log wrappers by value and don't allocate them in a heap. #74034 ( Mikhail Artemenko ). Execute a pipeline with a higher degree of parallelism after aggregation with grouping sets. #74082 ( Nikita Taranov ). Reduce critical section in MergeTreeReadPool . #74202 ( Guo Wangyang ). Optimized function indexHint . Now, columns that are only used as arguments of function indexHint are not read from the table. #74314 ( Anton Popov ). Parallel replicas performance improvement. Packets deserialization on query initiator, for packets not related to parallel replicas protocol, now always happens in pipeline thread. Before, it could happen in a thread responsible for pipeline scheduling, which could make initiator less responsive and delay pipeline execution. #74398 ( Igor Nikonov ). Fixed calculation of size in memory for LowCardinality columns. #74688 ( Nikita Taranov ). Improves the performance of whole JSON column reading in Wide parts from S3. It's done by adding prefetches for sub column prefixes deserialization, cache of deserialized prefixes and parallel deserialization of subcolumn prefixes. It improves reading of the JSON column from S3 4 times in query like SELECT data FROM table and about 10 times in query like SELECT data FROM table LIMIT 10 . #74827 ( Pavel Kruglov ). Preallocate memory used by async inserts to improve performance. #74945 ( Ilya Golshtein ). Fixed double pre-allocation in ConcurrentHashJoin in case join sides are swapped by the optimizer. #75149 ( Nikita Taranov ). Fixed unnecessary contention in parallel_hash when max_rows_in_join = max_bytes_in_join = 0 . #75155 ( Nikita Taranov ). Slight improvement in some join scenarios: precalculate number of output rows and reserve memory for them. #75376 ( Alexander Gololobov ). plain_rewritable metadata files are small and do not need a large default buffer. Use a write buffer sized appropriately to fit the given path, improving memory utilization for a large number of active parts. ### Documentation entry for user-facing changes. #75758 ( Julia Kartseva ).
{"source_file": "25_04.md"}
[ 0.02123960293829441, 0.059229202568531036, -0.041693028062582016, -0.02559269219636917, -0.024593964219093323, -0.06920786947011948, -0.007374863605946302, 0.03415294364094734, -0.025961648672819138, 0.12294328212738037, 0.018987266346812248, -0.03798490762710571, 0.005953820887953043, -0....
450662b1-495f-4d35-8afa-2c3d26718376
In some cases (e.g., empty array column) data parts can contain empty files. We can skip writing empty blobs to ObjectStorage and only store metadata for such files when the table resides on disk with separated metadata and object storages. #75860 ( Alexander Gololobov ). It was discovered that concurrency control could lead to unfair CPU distribution between INSERTs and SELECTs. When all CPU slots are allocated unconditionally (w/o competition) to INSERTs with max_threads = 1 while SELECTs with high max_threads values suffer from poor performance due to using only a single thread. #75941 ( Sergei Trifonov ). Trivial opt on wrapInNullable to avoid unnecessary null map allocation. #76489 ( 李扬 ). Improve min/max performance for Decimal32/Decimal64/DateTime64. #76570 ( 李扬 ). Actively evict data from the cache on parts removal. Do not let the cache grow to the maximum size if the amount of data is less. #76641 ( Alexey Milovidov ). Query compilation (setting compile_expressions ) now considers the machine type. This speeds up such queries significantly. #76753 ( Robert Schulze ). Optimize arraySort. #76850 ( 李扬 ). Speed-up building JOIN result by de-virtualizing calls to col->insertFrom() . #77350 ( Alexander Gololobov ). Merge marks of the same part and write them to the query condition cache at one time to reduce the consumption of locks. #77377 ( zhongyuankai ). Optimize order by single nullable or low-cardinality columns. #77789 ( 李扬 ). Disable filesystem_cache_prefer_bigger_buffer_size when the cache is used passively, such as for merges. #77898 ( Kseniia Sumarokova ). Implement trivial count optimization for Iceberg. Now queries with count() and without any filters should be faster. Closes #77639 . #78090 ( alesapin ). Support Iceberg data pruning based on lower_bound and uppert_bound values for columns. Fixes #77638 . #78242 ( alesapin ). Optimize memory usage for NativeReader. #78442 ( Azat Khuzhin ). Trivial optimization: do not rewrite count(if()) to countIf if CAST is required. Close #78564 . #78565 ( 李扬 ). Improvements {#improvements} Decrease the amount of Keeper requests by eliminating the use of single get requests, which could have caused a significant load on Keeper with the increased number of replicas, in places where multiRead is available. #56862 ( Nikolay Degterinsky ). Add support for SSL authentication with named collections for MySQL. Closes #59111 . #59452 ( Nikolay Degterinsky ). Improve new analyzer infrastructure performance via storing ColumnPtr instead of Field in the ConstantNode . Related to #62245 . #63198 ( Dmitry Novik ).
{"source_file": "25_04.md"}
[ 0.020770754665136337, 0.04482477530837059, -0.026471519842743874, 0.021552199497818947, -0.027028972283005714, -0.092033751308918, 0.02010069601237774, 0.023235071450471878, -0.003528866684064269, 0.08105901628732681, 0.023685097694396973, 0.006800630129873753, -0.010231752879917622, -0.08...
24c44d93-a10e-4396-98e3-7da0e8a88730
Improve new analyzer infrastructure performance via storing ColumnPtr instead of Field in the ConstantNode . Related to #62245 . #63198 ( Dmitry Novik ). Reject queries when the server is overloaded. The decision is made based on the ratio of wait time ( OSCPUWaitMicroseconds ) to busy time ( OSCPUVirtualTimeMicroseconds ). The query is dropped with some probability, when this ratio is between min_os_cpu_wait_time_ratio_to_throw and max_os_cpu_wait_time_ratio_to_throw (those are query level settings). #63206 ( Alexey Katsman ). Drop blocks as early as possible to reduce the memory requirements. #65647 ( lgbo ). processors_profile_log table now has default configuration with TTL of 30 days. #66139 ( Ilya Yatsishin ). Allow creating of a bloom_filter index on columns with datatype DateTime64. #66416 ( Yutong Xiao ). Introduce latency buckets and use them to track first byte read/write and connect times for S3 requests. That way we can later use gathered data to calculate approximate percentiles and adapt timeouts. #69783 ( Alexey Katsman ). Queries passed to Executable storage are no longer limited to single threaded execution. #70084 ( yawnt ). Added HTTP headers to OpenTelemetry span logs table for enhanced traceability. #70516 ( jonymohajanGmail ). Support writing of orc files by custom time zone, not always by GMT time zone. #70615 ( kevinyhzou ). Replace table functions with their -Cluster alternatives if parallel replicas are enabled. Fixes #65024 . #70659 ( Konstantin Bogdanov ). Respect IO scheduling settings when writing backups across clouds. #71093 ( János Benjamin Antal ). Reestablish connection to MySQL and Postgres dictionary replicas in the background so it wouldn't delay requests to corresponding dictionaries. #71101 ( Yakov Olkhovskiy ). Add metric alias name to system.asynchronous_metrics. #71164 ( megao ). Refreshes of refreshable materialized views now appear in system.query_log . #71333 ( Michael Kolupaev ). Evaluate parquet bloom filters and min/max indexes together. Necessary to properly support: x = 3 or x > 5 where data = [1, 2, 4, 5]. #71383 ( Arthur Passos ). Interactive metrics improvements. Fix metrics from parallel replicas not being fully displayed. Display the metrics in order of the most recent update, then lexicographically by name. Do not display stale metrics. #71631 ( Julia Kartseva ). Historically for some reason, the query ALTER TABLE MOVE PARTITION TO TABLE checked SELECT and ALTER DELETE rights instead of dedicated ALTER_MOVE_PARTITION . This PR makes use of this access type. For compatibility, this permission is also will be granted implicitly if SELECT and ALTER DELETE are granted, but this behavior will be removed in future releases. Closes #16403 . #71632 ( pufit ). Enables setting use_hive_partitioning by default. #71636 ( Yarik Briukhovetskyi ).
{"source_file": "25_04.md"}
[ -0.005527806002646685, 0.010529189370572567, -0.0778273493051529, 0.07052905112504959, 0.06164112314581871, -0.08293350785970688, -0.03507083281874657, 0.029087573289871216, -0.029839446768164635, -0.0032432768493890762, -0.021293703466653824, -0.03501777723431587, -0.03487801179289818, -0...
4bd13702-6507-462c-9758-371d9ca4bbd7
Enables setting use_hive_partitioning by default. #71636 ( Yarik Briukhovetskyi ). Throw an exception when trying to materialize a column in the sort key instead of allowing it to break the sort order. Does not solve #71777 , though. #71891 ( Peter Nguyen ). Allow more general join planning algorithm when hash join algorithm is enabled. #71926 ( János Benjamin Antal ). Hide secrets in EXPLAIN QUERY TREE . #72025 ( Yakov Olkhovskiy ). Allow use of a configurable disk to store metadata files of databases and tables. The disk name can be set via database_disk.disk config parameter. #72027 ( Tuan Pham Anh ). Support parquet integer logical types on native reader. #72105 ( Arthur Passos ). Make JSON output format pretty by default. Add new setting output_format_json_pretty_print to control it and enable it by default. #72148 ( Pavel Kruglov ). Interactively request credentials in the browser if the default user requires a password. In previous versions, the server returned HTTP 403; now, it returns HTTP 401. #72198 ( Alexey Milovidov ). This PR converts access types CREATE_USER , ALTER_USER , DROP_USER , CREATE_ROLE , ALTER_ROLE , DROP_ROLE from global to parameterized. That means users can now grant access management grants more precise:. #72246 ( pufit ). Allow to shard names in cluster configuration. #72276 ( MikhailBurdukov ). Support CAST and ALTER between JSON types with different parameters. #72303 ( Pavel Kruglov ). Add the latest_fail_error_code_name column to system.mutations . We need this column to introduce a new metric on stuck mutations and use it to build graphs of the errors encountered in the cloud as well as, optionally, adding a new less-noisy alert. #72398 ( Miсhael Stetsyuk ). Reduce the amount of allocation in attaching of partitions. #72583 ( Konstantin Morozov ). Make max_bytes_before_external_sort limit depends on total query memory consumption (previously it was number of bytes in the sorting block for one sorting thread, now it has the same meaning as max_bytes_before_external_group_by - it is total limit for the whole query memory for all threads). Also one more setting added to control on disk block size - min_external_sort_block_bytes . #72598 ( Azat Khuzhin ). Ignore memory restrictions by trace collector. #72606 ( Azat Khuzhin ). Support subcolumns in MergeTree sorting key and skip indexes. #72644 ( Pavel Kruglov ). Add server settings dictionaries_lazy_load and wait_dictionaries_load_at_startup to system.server_settings . #72664 ( Christoph Wurm ). Adds setting max_backup_bandwidth to the list of settings that can be specified as part of BACKUP / RESTORE queries. #72665 ( Christoph Wurm ).
{"source_file": "25_04.md"}
[ -0.03687886521220207, 0.01974114589393139, -0.02311152033507824, -0.014937669038772583, -0.05540001019835472, -0.028568753972649574, -0.03200975060462952, 0.07259023189544678, -0.06107030436396599, 0.062135882675647736, -0.022523848339915276, 0.07084312289953232, 0.048569321632385254, 0.02...
9482d16d-e361-4a2a-963e-d2474687e1c7
Adds setting max_backup_bandwidth to the list of settings that can be specified as part of BACKUP / RESTORE queries. #72665 ( Christoph Wurm ). Parallel replicas used historical information about replica availability to improve replica selection but did not update the replica's error count when the connection was unavailable. This PR updates the replica's error count when unavailable. #72666 ( zoomxi ). Reducing the log level for appearing replicated parts in the ReplicatedMergeTree engine to help minimize the volume of logs generated in a replicated cluster. #72876 ( mor-akamai ). A lot of new features will require better code incapsulation (what relates to Iceberg metadata) and better code abstractions. #72941 ( Daniil Ivanik ). Support equal comparison for values of JSON column. #72991 ( Pavel Kruglov ). Improve formatting of identifiers with JSON subcolumns to avoid unnecessary back quotes. #73085 ( Pavel Kruglov ). Log PREWHERE conditions with Test level. #73116 ( Vladimir Cherkasov ). Support SETTINGS with implicit ENGINE and mixing engine and query settings. #73120 ( Raúl Marín ). Write parts with level 1 if optimize_on_insert is enabled. It allows to use several optimizations of queries with FINAL for freshly written parts. #73132 ( Anton Popov ). For a query like, WHERE a<b AND b<c AND c<5 , can generate new comparing conditions ( a<5 and b<5 ) to have better filtering ability. #73164 ( Shichao Jin ). Improve extraction of common expression in disjunctions. Allow simplifying the resulting filter expression even if there's no common subexpression for all the disjuncts. Continuation of #71537 . #73271 ( Dmitry Novik ). In Storage S3(Azure)Queue allow to add settings where table was created without settings. #73283 ( Kseniia Sumarokova ). Clickhouse-client supports Ctrl+D to finish the query. Allow using Ctrl+D instead of typing a semicolon and pressing Enter. Additionally, make Ctrl+D work as Enter in the single-line mode. #73293 ( Xiaozhe Yu ). Introduce a setting least_greatest_legacy_null_behavior (default: false ) which controls if functions least and greatest handle NULL arguments by unconditionally returning NULL (if true ) or by ignoring them (if false ). #73344 ( Robert Schulze ). Use Keeper multi requests in cleanup thread ObjectStorageQueueMetadata. #73357 ( Antonio Andelic ). A new MongoDB driver is now the default. Users who like to continue using the legacy driver can set server setting use_legacy_mongodb_integration to true. #73359 ( Robert Schulze ). When ClickHouse runs under cgroup, we will still collect system-wide asynchronous metrics related to system load, process scheduling, memory etc. They might provide useful signals when ClickHouse is the only process on the host with high resource consumption. #73369 ( Nikita Taranov ).
{"source_file": "25_04.md"}
[ -0.10108114778995514, 0.013289446011185646, -0.03390205278992653, 0.046371378004550934, -0.02748235873878002, -0.034938596189022064, -0.12419828772544861, 0.08138221502304077, -0.08081146329641342, 0.059478048235177994, -0.016453370451927185, 0.01762320287525654, 0.034201718866825104, -0.0...
0f3b043c-9a80-4228-b740-e1c1dda80100
In storage S3Queue allow to transfer old ordered tables created before 24.6 to new structure with buckets. #73467 ( Kseniia Sumarokova ). Add system.azure_queue similar to existing system.s3queue . #73477 ( Kseniia Sumarokova ). Fixed a regression that using collation locales with modifiers throws an error. As an example, SELECT arrayJoin(['kk 50', 'KK 01', ' KK 2', ' KK 3', 'kk 1', 'x9y99', 'x9y100']) item ORDER BY item ASC COLLATE 'tr-u-kn-true-ka-shifted now works. #73544 ( Robert Schulze ). Support type Nullable(JSON). #73556 ( Pavel Kruglov ). Function parseDateTime64 (and its variants) now produces correct results for input dates before 1970 / after 2106. Example: SELECT parseDateTime64InJodaSyntax('2200-01-01 00:00:00.000', 'yyyy-MM-dd HH:mm:ss.SSS') . #73594 ( zhanglistar ). Address some clickhouse-disks usability issues addressed by users. Closes #67136 . #73616 ( Daniil Ivanik ). Allow to alter commit settings in storage S3(Azure)Queue. (Commit settings are: max_processed_files_before_commit, max_processed_rows_before_commit, max_processed_bytes_before_commit, max_processing_time_sec_before_commit). #73635 ( Kseniia Sumarokova ). In storage S3(Azure)Queue aggregate progress between sources to compare with commit limit settings. #73641 ( Kseniia Sumarokova ). Support core settings in BACKUP / RESTORE query. #73650 ( Vitaly Baranov ). Read output_format_compression_level on Parquet output. #73651 ( Arthur Passos ). Adds reading arrow fixed_size_list as an Array instead of treating it as an unsupported type. #73654 ( Julian Meyers ). This PR adds two backup engines: Memory (keeps backups inside the current user session), and Null (doesn't keep backups anywhere):. #73690 ( Vitaly Baranov ). concurrent_threads_soft_limit_num and concurrent_threads_soft_limit_num_ratio_to_cores could be changed w/o restart of a server. #73713 ( Sergei Trifonov ). Add support for extended numeric types (Decimal, big integers) in formatReadable functions. #73765 ( Raúl Marín ). Respect column insensitive column matching for fields in tuple columns. Close https://github.com/apache/incubator-gluten/issues/8324. #73780 ( 李扬 ). Support TLS for Postgres wire protocol. #73812 ( scanhex12 ). Allow LowCardinality(UUID) by default. This has proven practical among ClickHouse Cloud customers. #73826 ( Alexey Milovidov ). Better message during installation. #73827 ( Alexey Milovidov ). Better message about password reset for ClickHouse Cloud. #73831 ( Alexey Milovidov ). Improve the error message with a File table that cannot perform appends into a file. #73832 ( Alexey Milovidov ). Ask when a user accidentally requests to output binary format (such as Native, Parquet, Avro) in the terminal. This closes #59524 . #73833 ( Alexey Milovidov ). The BFloat16 data type is production-ready. #73840 ( Alexey Milovidov ).
{"source_file": "25_04.md"}
[ -0.03387875854969025, -0.050317440181970596, -0.02811485528945923, 0.010548916645348072, -0.06177482381463051, 0.0517922043800354, 0.023293765261769295, -0.08201634883880615, 0.07885942608118057, 0.09102891385555267, 0.023373281583189964, 0.0023646687623113394, 0.017059819772839546, -0.035...
df30dc44-ac5e-456b-9762-d979645cdfdb
The BFloat16 data type is production-ready. #73840 ( Alexey Milovidov ). Highlight trailing spaces in Pretty and Vertical formats in the terminal for better clarity. This is controlled with the output_format_pretty_highlight_trailing_spaces setting. Initial implementation by Braden Burns from #72996 . Closes #71590 . #73847 ( Alexey Milovidov ). clickhouse-client and clickhouse-local will autodetect compression of stdin when it is redirected from a file. This closes #70865 . #73848 ( Alexey Milovidov ). Cut too long column names in pretty formats by default. This is controlled by the output_format_pretty_max_column_name_width_cut_to and output_format_pretty_max_column_name_width_min_chars_to_cut settings. This is the continuation of the work of tanmaydatta in #66502 . This closes #65968 . #73851 ( Alexey Milovidov ). Make Pretty formats prettier: squash blocks if not much time passed since the output of the previous block. This is controlled by new settings output_format_pretty_squash_consecutive_ms (50 ms by default) and output_format_pretty_squash_max_wait_ms (1000 ms by default). Continuation of #49537 . This closes #49153 . #73852 ( Alexey Milovidov ). Fix type mapping for SQLite (integer types into int64 , floating points into float64 ). #73853 ( Joanna Hulboj ). Add a metric on the number of currently merging source parts. This closes #70809 . #73868 ( Alexey Milovidov ). Highlight columns in the Vertical format if the output is to a terminal. This can be disabled with the output_format_pretty_color setting. #73898 ( Alexey Milovidov ). Enhanced the MySQL compatibility to a level that now, mysqlsh (a rich MySQL CLI from Oracle) can connect to ClickHouse. This is needed to facilitate testing. #73912 ( Alexey Milovidov ). If the number of output records is larger than N = output_format_pretty_max_rows , instead of displaying only the first N rows, we will cut the output table in the middle, displaying N/2 first rows and N/2 last rows. Continuation of #64200 . This closes #59502 . #73929 ( Alexey Milovidov ). The function isIPv4String returned true if the correct IPv4 address was followed by a zero byte, while it should return false in this case. Continuation of #65387 . #73946 ( Alexey Milovidov ). Make the error code in the MySQL wire protocol compatible with MySQL. Continuation of #56831 . Closes #50957 . #73948 ( Alexey Milovidov ). Add setting validate_enum_literals_in_opearators to validate enum literals in operators like IN , NOT IN against the enum type and throw an exception if the literal is not a valid enum value. #73985 ( Vladimir Cherkasov ). In Storage S3(Azure)Queue commit all files (in a single butch defined by commit settings) in a single keeper transaction. #73991 ( Kseniia Sumarokova ).
{"source_file": "25_04.md"}
[ 0.01791020669043064, 0.03328859806060791, -0.10019982606172562, -0.05490431934595108, 0.03893791884183884, -0.05573711916804314, -0.04401464760303497, 0.04875606670975685, -0.028923597186803818, -0.02051110379397869, -0.01164428424090147, 0.005830180365592241, -0.07621394097805023, -0.0224...
94c9e6f0-1b8c-4a84-94b8-7d1ffd5b459c
In Storage S3(Azure)Queue commit all files (in a single butch defined by commit settings) in a single keeper transaction. #73991 ( Kseniia Sumarokova ). Disable header detection for executable UDFs and dictionaries (could lead to Function 'X': wrong result, expected Y row(s), actual Y-1). #73992 ( Azat Khuzhin ). Add the distributed option for EXPLAIN PLAN. Now, EXPLAIN distributed=1 ... appends remote plan to ReadFromParallelRemote* steps. #73994 ( Nikolai Kochetov ). Use correct return type for not/xor with Dynamic arguments. #74013 ( Pavel Kruglov ). Allow changing add_implicit_sign_column_constraint_for_collapsing_engine after table creation. #74014 ( Christoph Wurm ). Support subcolumns in materialized view select query. #74030 ( Pavel Kruglov ). Pretty formats can render multi-line fields inside a table cell, which improves readability. This is enabled by default and can be controlled by the setting output_format_pretty_multiline_fields . Continuation of the work by Volodyachan in #64094 . This closes #56912 . #74032 ( Alexey Milovidov ). Support predicate-push-down optimization on the query plan level for the MergingAggregated step. It improves performance for some queries with the new analyzer. #74073 ( Nikolai Kochetov ). There are now three simple ways to set a custom prompt in clickhouse-client : 1. via command-line parameter --prompt , 2. in the configuration file, via settings <prompt>[...]</prompt> , and 3. also in the configuration file, via per-connection settings <connections_credentials><prompt>[...]</prompt></connection_credentials> . #74168 ( Christoph Wurm ). Change prometheus remote write response success status from 200/OK to 204/NoContent. #74170 ( Michael Dempsey ). Expose X-ClickHouse HTTP headers to JavaScript in the browser. It makes writing applications more convenient. #74180 ( Alexey Milovidov ). The JSONEachRowWithProgress format will include events with metadata, as well as totals and extremes. It also includes rows_before_limit_at_least and rows_before_aggregation . The format prints the exception properly if it arrives after partial results. The progress now includes elapsed nanoseconds. One final progress event is emitted at the end. The progress during query runtime will be printed no more frequently than the value of the interactive_delay setting. #74181 ( Alexey Milovidov ). Hourglass will rotate smoothly in Play UI. #74182 ( Alexey Milovidov ). Even if the HTTP response is compressed, send packets as soon as they arrive. This allows the browser to receive progress packets and compressed data. #74201 ( Alexey Milovidov ). Add ability to reload max_remote_read_network_bandwidth_for_serve and max_remote_write_network_bandwidth_for_server on fly without restart server. #74206 ( Kai Zhu ). Autodetect secure connection based on connecting to port 9440 in ClickHouse Client. #74212 ( Christoph Wurm ).
{"source_file": "25_04.md"}
[ -0.012572403065860271, -0.005368189420551062, -0.09693346917629242, 0.009401572868227959, 0.01939997635781765, -0.05603563413023949, -0.014904611743986607, -0.04961640015244484, 0.11687485873699188, 0.135703444480896, 0.025849564000964165, 0.0015358730452135205, 0.08483169972896576, -0.028...
dae893a2-141b-4b08-8a15-530f8164e42f
Autodetect secure connection based on connecting to port 9440 in ClickHouse Client. #74212 ( Christoph Wurm ). Authenticate users with username only for http_handlers (previously it requires user to put the password as well). #74221 ( Azat Khuzhin ). Support for the alternative query languages PRQL and KQL was marked experimental. To use them, specify settings allow_experimental_prql_dialect = 1 and allow_experimental_kusto_dialect = 1 . #74224 ( Robert Schulze ). Support returning the default Enum type in more aggregate functions. #74272 ( Raúl Marín ). In OPTIMIZE TABLE , it is now possible to specify keyword FORCE as an alternative to existing keyword FINAL . #74342 ( Robert Schulze ). Added a merge tree setting materialize_skip_indexes_on_merge which suppresses the creation of skip indexes during merge. This allows users to control explicitly (via ALTER TABLE [..] MATERIALIZE INDEX [...] ) when skip indexes are created. This can be useful if skip indexes are expensive to build (e.g. vector similarity indexes). #74401 ( Robert Schulze ). Support subcolumns in default and materialized expressions. #74403 ( Pavel Kruglov ). Optimize keeper requests in Storage(S3/Azure)Queue. #74410 ( Kseniia Sumarokova ). Add the IsServerShuttingDown metric, which is needed to trigger an alert when the server shutdown takes too much time. #74429 ( Miсhael Stetsyuk ). Added iceberg tables names to EXPLAIN. #74485 ( alekseev-maksim ). Use up to 1000 parallel replicas by default. #74504 ( Konstantin Bogdanov ). Provide a better error message when using RECURSIVE CTE with the old analyzer. #74523 ( Raúl Marín ). Optimize keeper requests in Storage(S3/Azure)Queue. #74538 ( Kseniia Sumarokova ). Improve HTTP session reuse when reading from s3 disk ( #72401 ). #74548 ( Julian Maicher ). Show extended error messages in system.errors . #74574 ( Vitaly Baranov ). Enabled a backoff logic for all types of replicated tasks. It will provide the ability to reduce CPU usage, memory usage, and log file sizes. Added new settings max_postpone_time_for_failed_replicated_fetches_ms , max_postpone_time_for_failed_replicated_merges_ms and max_postpone_time_for_failed_replicated_tasks_ms which are similar to max_postpone_time_for_failed_mutations_ms . #74576 ( MikhailBurdukov ). More accurate accounting for max_joined_block_size_rows setting for parallel_hash JOIN algorithm. Helps to avoid increased memory consumption compared to hash algorithm. #74630 ( Nikita Taranov ). Added dfs.client.use.datanode.hostname libhdfs3 config option support. #74635 ( Mikhail Tiukavkin ). Fixes Invalid: Codec 'snappy' doesn't support setting a compression level. #74659 ( Arthur Passos ).
{"source_file": "25_04.md"}
[ -0.047001563012599945, -0.02163376472890377, -0.06523599475622177, 0.023764943704009056, -0.1107863038778305, -0.014258410781621933, 0.07819327712059021, -0.006802372634410858, -0.05459846556186676, 0.043620288372039795, 0.045251745730638504, -0.04375796765089035, 0.10466278344392776, -0.0...
a7e0928d-6bfb-4bad-a021-2025b89991b3
Fixes Invalid: Codec 'snappy' doesn't support setting a compression level. #74659 ( Arthur Passos ). Allow using password for client communication with clickhouse-keeper. This feature is not very useful if you specify proper SSL configuration for server and client, but still can be useful for some cases. Password cannot be longer than 16 characters. It's not connected with Keeper Auth model. #74673 ( alesapin ). Allow using blob paths to calculate checksums while making a backup. #74729 ( Vitaly Baranov ). Use dynamic sharding for JOIN if the JOIN key is a prefix of PK for both parts. This optimization is enabled with query_plan_join_shard_by_pk_ranges setting (disabled by default). #74733 ( Nikolai Kochetov ). Add error code for config reloader. #74746 ( Garrett Thomas ). Added support for IPv6 addresses in MySQL and PostgreSQL table functions and engines. #74796 ( Mikhail Koviazin ). Parameters for the codec Gorilla will now always be saved in the table metadata in .sql file. This closes: #70072 . #74814 ( Nikita Mikhaylov ). Implement short circuit optimization for divideDecimal . Fixes #74280 . #74843 ( Kevin Mingtarja ). Improve performance of larger multi requests in Keeper. #74849 ( Antonio Andelic ). Now users can be specified inside the startup scripts. #74894 ( pufit ). Fetch parts in parallel in ALTER TABLE FETCH PARTITION (thread pool size is controlled with max_fetch_partition_thread_pool_size ). #74978 ( Azat Khuzhin ). Added a query ID column to system.query_cache (issue #68205 ). #74982 ( NamNguyenHoai ). Enabled SSH protocol back. Fixed some critical vulnerabilities so that it is no longer possible to use custom pager or specify server-logs-file . Disabled the ability to pass client options through the environment variables by default (it is still possible via ssh-server.enable_client_options_passing in config.xml). Supported progress table, query cancellation, completion, profile events progress, stdin and send_logs_level option. This closes: #74340 . #74989 ( Nikita Mikhaylov ). Fix formatting of exceptions using a custom format if they appear during query interpretation. In previous versions, exceptions were formatted using the default format rather than the format specified in the query. This closes #55422 . #74994 ( Alexey Milovidov ). Implemented parsing enhancements (Sequence ID parsing: Added functionality to parse sequence identifiers in manifest files AND Avro metadata parsing: Redesigned the Avro metadata parser to be easily extendable for future enhancements). #75010 ( Daniil Ivanik ). It is allowed to cancel ALTER TABLE ... FREEZE ... queries with KILL QUERY and timeout( max_execution_time ). #75016 ( Kirill ). Add support for groupUniqArrayArrayMap as SimpleAggregateFunction . #75034 ( Miel Donkers ). Support prepared statements in postgres wire protocol. #75035 ( scanhex12 ).
{"source_file": "25_04.md"}
[ -0.07143448293209076, 0.0036422591656446457, -0.07618292421102524, -0.011428678408265114, -0.08350356668233871, -0.054698821157217026, -0.026823900640010834, 0.01808619126677513, -0.06702305376529694, -0.009052777662873268, -0.020451175048947334, 0.04097140580415726, 0.11437524855136871, -...
7576ef8b-b3ae-4034-a4e2-e9cbfb0c2334
Add support for groupUniqArrayArrayMap as SimpleAggregateFunction . #75034 ( Miel Donkers ). Support prepared statements in postgres wire protocol. #75035 ( scanhex12 ). Hide catalog credential settings in database engine Iceberg . Closes #74559 . #75080 ( Kseniia Sumarokova ). Added a few missing features into BuzzHouse: ILIKE and REGEXP operators, <=> and IS NOT DISTINCT FROM . #75168 ( Pedro Ferreira ). The setting min_chunk_bytes_for_parallel_parsing cannot be zero anymore. This fixes: #71110 . #75239 ( Nikita Mikhaylov ). intExp2 / intExp10 : Define undefined behaviour: return 0 for too small argument, 18446744073709551615 for too big argument, throw exception if nan . #75312 ( Vitaly Baranov ). Support s3.endpoint natively from catalog config in DatabaseIceberg . Closes #74558 . #75375 ( Kseniia Sumarokova ). Don't fail silently if user executing SYSTEM DROP REPLICA doesn't have enough permissions. #75377 ( Bharat Nallan ). Add a ProfileEvent about the number of times any of system logs has failed to flush. #75466 ( Alexey Milovidov ). Add check and logging for decrypting and decompressing. #75471 ( Vitaly Baranov ). Added support for the micro sign (U+00B5) in the parseTimeDelta function. Now both the micro sign (U+00B5) and the Greek letter mu (U+03BC) are recognized as valid representations for microseconds, aligning ClickHouse's behavior with Go's implementation ( see time.go and time/format.go ). #75472 ( Vitaly Orlov ). Replace server setting ( send_settings_to_client ) with client setting ( apply_settings_from_server ) that controls whether client-side code (e.g. parsing INSERT data and formatting query output) should use settings from server's users.xml and user profile. Otherwise only settings from client command line, session, and the query are used. Note that this only applies to native client (not e.g. HTTP), and doesn't apply to most of query processing (which happens on the server). #75478 ( Michael Kolupaev ). Keeper improvement: disable digest calculation when committing to in-memory storage for better performance. It can be enabled with keeper_server.digest_enabled_on_commit config. Digest is still calculated when preprocessing requests. #75490 ( Antonio Andelic ). Push down filter expression from JOIN ON when possible. #75536 ( Vladimir Cherkasov ). Better error messages at syntax errors. Previously, if the query was too large, and the token whose length exceeds the limit is a very large string literal, the message about the reason was lost in the middle of two examples of this very long token. Fix the issue when a query with UTF-8 was cut incorrectly in the error message. Fix excessive quoting of query fragments. This closes #75473 . #75561 ( Alexey Milovidov ). Add profile events in storage S3(Azure)Queue . #75618 ( Kseniia Sumarokova ).
{"source_file": "25_04.md"}
[ -0.024523304775357246, 0.014113301411271095, -0.03485232591629028, -0.041190255433321, -0.09170619398355484, -0.034594256430864334, -0.01783267967402935, -0.0039014036301523447, -0.09266933798789978, -0.013105667196214199, 0.0028805360198020935, -0.03416106477379799, -0.029727580025792122, ...
94618676-4221-4b1e-9a6c-372d3971e804
Add profile events in storage S3(Azure)Queue . #75618 ( Kseniia Sumarokova ). Disable sending settings from server to client ( send_settings_to_client=false ) for compatibility (This feature will be re-implemented as client setting later for better usability). #75648 ( Michael Kolupaev ). Add a config memory_worker_correct_memory_tracker to enable correction of internal memory tracker with information from different source read in the background thread periodically. #75714 ( Antonio Andelic ). Use Analyzer in PrometheusRemoteReadProtocol. #75729 ( Dmitry Novik ). We have support for gauge/counter metric types. However, they are insufficient for some metrics (e.g., the response times of requests to the keeper), so support for the histogram metric type is needed. The interface closely mirrors the Prometheus client, where you simply call observe(value) to increment the counter in the bucket corresponding to the value. The histogram metrics are exposed via system.histogram_metrics. #75736 ( Miсhael Stetsyuk ). Add column normalized_query_hash into system.processes . Note: while it can be easily calculated on the fly with the normalizedQueryHash function, this is needed to prepare for subsequent changes. #75756 ( Alexey Milovidov ). Querying system.tables will not throw even if there is a Merge table created over a database that no longer exists. Remove the getTotalRows method from Hive tables, because we don't allow it to do complex work. #75772 ( Alexey Milovidov ). Web UI now has interactive database navigation. #75777 ( Alexey Milovidov ). Allow to combine read-only and read-write disks in storage policy (as multiple volumes, or multiple disks). This allows to read data from the entire volume, while inserts will prefer the writable disk (i.e. Copy-on-Write storage policy). #75862 ( Azat Khuzhin ). Remove trace_id from default ORDER BY for system.opentelemetry_span_log. #75907 ( Azat Khuzhin ). Encryption (XML attribute encrypted_by ) can now be applied to any configuration file (config.xml, users.xml, nested configuration files). Previously, it worked only for the top-level config.xml file. #75911 ( Mikhail Gorshkov ). Store start_time/end_time for Backups with microseconds. #75929 ( Aleksandr Musorin ). Add MemoryTrackingUncorrected metric showing value of internal global memory tracker which is not corrected by RSS. #75935 ( Antonio Andelic ). Calculate columns and indices sizes lazily in MergeTree. #75938 ( Pavel Kruglov ). Convert join to in subquery if output column is tied to the left table, need a uniqueness step at first, so disabled by default until the step is added later. #75942 ( Shichao Jin ).
{"source_file": "25_04.md"}
[ 0.0061804610304534435, -0.010429699905216694, -0.12495236098766327, 0.05356325954198837, -0.0746508315205574, 0.010430592112243176, 0.06603284925222397, -0.01980944722890854, 0.04300052672624588, 0.06224894896149635, 0.00440206890925765, -0.06259573251008987, 0.07127931714057922, 0.0394242...
ef268327-d5b7-4066-a0d8-ef82adea22e7
Convert join to in subquery if output column is tied to the left table, need a uniqueness step at first, so disabled by default until the step is added later. #75942 ( Shichao Jin ). Added a server setting throw_on_unknown_workload that allows to choose behavior on query with workload setting set to unknown value: either allow unlimited access (default) or throw a RESOURCE_ACCESS_DENIED error. It is useful to force all queries to use workload scheduling. #75999 ( Sergei Trifonov ). Make the new, experimental Kafka table engine fully respect Keeper feature flags. #76004 ( János Benjamin Antal ). Don't rewrite subcolumns to getSubcolumn in ARRAY JOIN if not necessary. #76018 ( Pavel Kruglov ). Retry coordination errors when loading tables. #76020 ( Alexander Tokmakov ). Improve the system.warnings table and add some dynamic warning messages that can be added, updated or removed. #76029 ( Bharat Nallan ). Support flushing individual logs in SYSTEM FLUSH LOGS. #76132 ( Raúl Marín ). Improved the /binary server's page. Using the Hilbert curve instead of the Morton curve. Display 512 MB worth of addresses in the square, which fills the square better (in previous versions, addresses fill only half of the square). Color addresses closer to the library name rather than the function name. Allow scrolling a bit more outside of the area. #76192 ( Alexey Milovidov ). This PR makes it impossible to run a query ALTER USER user1 ADD PROFILES a, DROP ALL PROFILES because all DROP operations should come first in the order. #76242 ( pufit ). Various enhancements for SYNC REPLICA (better error messages, better tests, sanity checks). #76307 ( Azat Khuzhin ). Retry ON CLUSTER queries in case of TOO_MANY_SIMULTANEOUS_QUERIES. #76352 ( Patrick Galbraith ). Changed the default value of output_format_pretty_max_rows from 10000 to 1000. I think it is better for usability. #76407 ( Alexey Milovidov ). Support for a refresh in readonly MergeTree tables. #76467 ( Alexey Milovidov ). Use correct fallback when multipart copy to S3 fails during backup with Access Denied. Multi part copy can generate Access Denied error when backup is done between buckets that have different credentials. #76515 ( Antonio Andelic ). Faster ClickHouse Servers shutdown (get rid of 2.5sec delay). #76550 ( Azat Khuzhin ). Add query_id to system.errors. Related ticket #75815 . #76581 ( Vladimir Baikov ). Upgraded librdkafka to version 2.8.0 and improved the shutdown sequence for Kafka tables, reducing delays during table drops and server restarts. The engine=Kafka no longer explicitly leaves the consumer group when a table is dropped. Instead, the consumer remains in the group until it is automatically removed after session_timeout_ms (default: 45 seconds) of inactivity. #76621 ( filimonov ). Fix validation of s3 request settings. #76658 ( Vitaly Baranov ).
{"source_file": "25_04.md"}
[ -0.02212928608059883, 0.04667501896619797, -0.0928860679268837, 0.05492668226361275, -0.06397172063589096, -0.03925177454948425, -0.013983240351080894, 0.02488219365477562, -0.018614498898386955, 0.04298948496580124, -0.04561169072985649, -0.06905589997768402, 0.07188813388347626, -0.08519...
c0ccd015-bc7a-4455-9450-a4c8a22e99ad
Fix validation of s3 request settings. #76658 ( Vitaly Baranov ). Avoid excess allocation in readbufferfroms3 and other remote reading buffers, reduce their memory consumption in half. #76692 ( Sema Checherinda ). Support JSON type and subcolumns reading from View. #76903 ( Pavel Kruglov ). Adding Support for Converting UInt128 to IPv6. This allows the bitAnd operation and arithmatics for IPv6 and conversion back to IPv6. Closes #76752 . This allows the result from bitAnd operation on IPv6 to be converted back to IPv6, as well. See: https://github.com/ClickHouse/ClickHouse/pull/57707. #76928 ( Muzammil Abdul Rehman ). System tables like server_settings or settings have a default value column which is convenient. only merge_tree_settings and replicated_merge_tree_settings do not have that column enabled. #76942 ( Diego Nieto ). Don't parse special Bool values in text formats inside Variant type by default. It can be enabled using setting allow_special_bool_values_inside_variant . #76974 ( Pavel Kruglov ). Support configurable per task waiting time of low priority query in session level and in server level. #77013 ( VicoWu ). Added ProfileEvents::QueryPreempted , which has the same logic as CurrentMetrics::QueryPreempted . #77015 ( VicoWu ). Previously database replicated might print credentials specified in a query to logs. This behaviour is fixed. This closes: #77123 . #77133 ( Nikita Mikhaylov ). Bump zstd from 1.5.5 to 1.5.7 which has pretty good performance improvements . #77137 ( Pradeep Chhetri ). Allow ALTER TABLE DROP PARTITION for plain_rewritable disk. #77138 ( Julia Kartseva ). Add the ability to randomly sleep up to 500ms independent of part sizes before merges/mutations execution in case of zero-copy replication. #77165 ( Alexey Katsman ). Support atomic rename when TRUNCATE is used with INTO OUTFILE . Resolves #70323 . #77181 ( Onkar Deshpande ). Use FixedString for PostgreSQL's CHARACTER, CHAR and BPCHAR. #77304 ( Pablo Marcos ). Allow to explicitly specify metadata file to read for Iceberg with storage/table function setting iceberg_metadata_file_path . Fixes #47412 . #77318 ( alesapin ). Support using a remote disk for databases to store metadata files. #77365 ( Tuan Pham Anh ). Implement comparison for values of JSON data type. Now JSON objects can be compared similarly to Maps. #77397 ( Pavel Kruglov ). Change reverted. #77399 ( Yarik Briukhovetskyi ).
{"source_file": "25_04.md"}
[ -0.0015710624866187572, -0.0071957409381866455, -0.07285930961370468, -0.03850677236914635, -0.05292479321360588, -0.0280410498380661, -0.07448151707649231, -0.04513823986053467, -0.03052612580358982, 0.04779777303338051, -0.02053934521973133, -0.007987759076058865, -0.012673775665462017, ...
a1a30cea-b8dd-45b1-9aa5-f4c19bd056e8
Implement comparison for values of JSON data type. Now JSON objects can be compared similarly to Maps. #77397 ( Pavel Kruglov ). Change reverted. #77399 ( Yarik Briukhovetskyi ). Backup/restore setting allow_s3_native_copy now supports value three possible values: - False - s3 native copy will not be used; - True (old default) - ClickHouse will try s3 native copy first, if it fails then fallback to the reading+writing approach; - 'auto' (new default) - ClickHouse will compare the source and destination credentials first. If they are same, ClickHouse will try s3 native copy and then may fallback to the reading+writing approach. If they are different, ClickHouse will go directly to the reading+writing approach. #77401 ( Vitaly Baranov ). Support ALTER TABLE ... ATTACH|DETACH|MOVE|REPLACE PARTITION for the plain_rewritable disk. #77406 ( Julia Kartseva ). Skipping index cache is reverted. #77447 ( Nikita Mikhaylov ). Reduce memory usage during prefetches of JSON column in Wide parts. #77640 ( Pavel Kruglov ). Support aws session token and environment credentials usage in delta kernel for DeltaLake table engine. #77661 ( Kseniia Sumarokova ). Support query parameters inside additional_table_filters setting. After the change, the following query would succeed:. #77680 ( wxybear ). User-defined functions (UDFs) can now be marked as deterministic via a new tag in their XML definition. Also, the query cache now checks if UDFs called within a query are deterministic. If this is the case, it caches the query result. (Issue #59988 ). #77769 ( Jimmy Aguilar Mena ). Added Buffer table engine parameters validation. #77840 ( Pervakov Grigorii ). Add config enable_hdfs_pread to enable or disable hdfs pread. #77885 ( kevinyhzou ). Add profile events for number of zookeeper 'multi' read and write requests. #77888 ( JackyWoo ). Allow creating and inserting into temp table when disable_insertion_and_mutation is on. #77901 ( Xu Jia ). Decrease max_insert_delayed_streams_for_parallel_write (to 100). #77919 ( Azat Khuzhin ). Add ability to configure number of columns that merges can flush in parallel using max_merge_delayed_streams_for_parallel_write (this should reduce memory usage for vertical merges to S3 about 25x times). #77922 ( Azat Khuzhin ). Fix year parsing in joda syntax like 'yyy'. #77973 ( 李扬 ). Attaching parts of MergeTree tables will be performed in their block order, which is important for special merging algorithms, such as ReplacingMergeTree. This closes #71009 . #77976 ( Alexey Milovidov ). Query masking rules are now able to throw a LOGICAL_ERROR in case if the match happened. This will help to check if pre-defined password is leaking anywhere in logs. #78094 ( Nikita Mikhaylov ). Added column index_length_column to information_schema.tables for better compatibility with MySQL. #78119 ( Paweł Zakrzewski ).
{"source_file": "25_04.md"}
[ -0.04326550289988518, -0.03933105617761612, -0.06650032848119736, -0.07975377887487411, -0.005550730042159557, -0.018500784412026405, -0.08280742168426514, -0.01251377072185278, -0.04363198205828667, -0.001577347400598228, 0.033851347863674164, 0.015607654117047787, 0.0160134918987751, -0....
40760005-cc14-433a-ad2b-29bc6abd7b4b
Added column index_length_column to information_schema.tables for better compatibility with MySQL. #78119 ( Paweł Zakrzewski ). Introduce two new metrics: TotalMergeFailures and NonAbortedMergeFailures . These metrics are needed to detect the cases where too many merges fail within a short period. #78150 ( Miсhael Stetsyuk ). Fix incorrect S3 uri parsing when key is not specified on path style. #78185 ( Arthur Passos ). Fix incorrect values of BlockActiveTime , BlockDiscardTime , BlockWriteTime , BlockQueueTime , and BlockReadTime asynchronous metrics (before the change 1 second was incorrectly reported as 0.001). #78211 ( filimonov ). Respect loading_retries limit for errors during push to materialized view for StorageS3(Azure)Queue. Before that such errors were retried indefinitely. #78313 ( Kseniia Sumarokova ). In StorageDeltaLake with delta-kernel-rs implementation, fix performance and progress bar. #78368 ( Kseniia Sumarokova ). Vector similarity index could over-allocate main memory by up to 2x. This fix reworks the memory allocation strategy, reducing the memory consumption and improving the effectiveness of the vector similarity index cache. (issue #78056 ). #78394 ( Shankar Iyer ). Introduce a setting schema_type for system.metric_log table with schema type. There are three allowed schemas: wide -- current schema, each metric/event in a separate column (most effective for reads of separate columns), transposed -- similar to system.asynchronous_metric_log , metrics/events are stored as rows, and the most interesting transposed_with_wide_view -- create underlying table with transposed schema, but also introduce a view with wide schema which translates queries to underlying table. In transposed_with_wide_view subsecond resolution for view is not supported, event_time_microseconds is just an alias for backward compatibility. #78412 ( alesapin ). Support include , from_env , from_zk for runtime disks. Closes #78177 . #78470 ( Kseniia Sumarokova ). Add several convenient ways to resolve root metadata.json file in an iceberg table function and engine. Closes #78455 . #78475 ( Daniil Ivanik ). Support partition pruning in delta lake. #78486 ( Kseniia Sumarokova ). Support password based auth in SSH protocol in ClickHouse. #78586 ( Nikita Mikhaylov ). Add a dynamic warning to the system.warnings table for long running mutations. #78658 ( Bharat Nallan ). Drop connections if the CPU is massively overloaded. The decision is made based on the ratio of wait time ( OSCPUWaitMicroseconds ) to busy time ( OSCPUVirtualTimeMicroseconds ). The query is dropped with some probability, when this ratio is between min_os_cpu_wait_time_ratio_to_drop_connection and max_os_cpu_wait_time_ratio_to_drop_connection . #78778 ( Alexey Katsman ). Allow empty value on hive partitioning. #78816 ( Arthur Passos ).
{"source_file": "25_04.md"}
[ -0.01653297059237957, -0.03773590549826622, -0.044293805956840515, -0.010698821395635605, -0.035331130027770996, -0.09352199733257294, -0.012025058269500732, 0.0027866314630955458, 0.045888401567935944, 0.07075473666191101, 0.08072992414236069, -0.03398486599326134, 0.03037911094725132, -0...
c0d037e1-2883-432c-b78c-0504d3c3bef2
Allow empty value on hive partitioning. #78816 ( Arthur Passos ). Fix IN clause type coercion for BFloat16 (i.e. SELECT toBFloat16(1) IN [1, 2, 3]; now returns 1 ). Closes #78754 . #78839 ( Raufs Dunamalijevs ). Do not check parts on other disks for MergeTree if disk= is set. #78855 ( Azat Khuzhin ). Make data types in used_data_type_families in system.query_log canonical. #78972 ( Kseniia Sumarokova ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix} Fix cannot create SEQUENTIAL node with keeper-client. #64177 ( Duc Canh Le ). Fix identifier resolution from parent scopes. Allow the use of aliases to expressions in the WITH clause. Fixes #58994 . Fixes #62946 . Fixes #63239 . Fixes #65233 . Fixes #71659 . Fixes #71828 . Fixes #68749 . #66143 ( Dmitry Novik ). Fix incorrect character counting in PositionImpl::vectorVector. #71003 ( 思维 ). Fix negate function monotonicity. In previous versions, the query select * from a where -x = -42; where x is the primary key, can return a wrong result. #71440 ( Michael Kolupaev ). RESTORE operations for access entities required more permission than necessary because of unhandled partial revokes. This PR fixes the issue. Closes #71853 . #71958 ( pufit ). Avoid pause after ALTER TABLE REPLACE/MOVE PARTITION FROM/TO TABLE . Retrieve correct settings for background task scheduling. #72024 ( Aleksei Filatov ). Fix empty tuple handling in arrayIntersect. This fixes #72578 . #72581 ( Amos Bird ). Fix handling of empty tuples in some input and output formats (e.g. Parquet, Arrow). #72616 ( Michael Kolupaev ). Column-level GRANT SELECT/INSERT statements on wildcard databases/tables now throw an error. #72646 ( Johann Gan ). Fix the situation when a user can't run REVOKE ALL ON *.* because of implicit grants in the target access entity. #72872 ( pufit ). Fix stuck while processing pending batch for async distributed INSERT (due to i.e. No such file or directory ). #72939 ( Azat Khuzhin ). Add support for Azure SAS Tokens. #72959 ( Azat Khuzhin ). Fix positive timezone formatting of formatDateTime scalar function. #73091 ( ollidraese ). Fix to correctly reflect source port when connection made through PROXYv1 and auth_use_forwarded_address is set - previously proxy port was incorrectly used. Add currentQueryID() function. #73095 ( Yakov Olkhovskiy ). Propagate format settings to NativeWriter in TCPHandler, so settings like output_format_native_write_json_as_string are applied correctly. #73179 ( Pavel Kruglov ). Fix reading JSON sub-object subcolumns with incorrect prefix. #73182 ( Pavel Kruglov ). Fix crash in StorageObjectStorageQueue. #73274 ( Kseniia Sumarokova ). Fix rare crash in refreshable materialized view during server shutdown. #73323 ( Michael Kolupaev ).
{"source_file": "25_04.md"}
[ 0.024723881855607033, 0.025185180827975273, 0.043461814522743225, -0.00865127146244049, 0.01602218672633171, -0.0394708514213562, 0.05716719478368759, 0.07515262812376022, -0.05368166044354439, 0.056118518114089966, 0.008651234209537506, -0.02278783917427063, -0.001494605210609734, -0.0421...
dd89f961-3ff5-4542-a0f3-6eb5de1697fb
Fix crash in StorageObjectStorageQueue. #73274 ( Kseniia Sumarokova ). Fix rare crash in refreshable materialized view during server shutdown. #73323 ( Michael Kolupaev ). The %f placeholder of function formatDateTime now unconditionally generates six (sub-second) digits. This makes the behavior compatible with MySQL DATE_FORMAT function. The previous behavior can be restored using setting formatdatetime_f_prints_scale_number_of_digits = 1 . #73324 ( ollidraese ). Improved datetime conversion during index analysis by enforcing saturating behavior for implicit Date to DateTime conversions. This resolves potential index analysis inaccuracies caused by datetime range limitations. This fixes #73307 . It also fixes explicit toDateTime conversion when date_time_overflow_behavior = 'ignore' which is the default value. #73326 ( Amos Bird ). Fixed filtering by _etag column while reading from s3 storage and table function. #73353 ( Anton Popov ). Fix Not-ready Set is passed as the second argument for function 'in' error when IN (subquery) is used in JOIN ON expression, with the old analyzer. #73382 ( Nikolai Kochetov ). Fix preparing for squashin for Dynamic and JSON columns. Previously in some cases new types could be inserted into shared variant/shared data even when the limit on types/paths is not reached. #73388 ( Pavel Kruglov ). Check for corrupted sizes during types binary decoding to avoid too big allocations. #73390 ( Pavel Kruglov ). Fixed a logical error when reading from single-replica cluster with parallel replicas enabled. #73403 ( Michael Kolupaev ). Fix ObjectStorageQueue with ZooKeeper and older Keeper. #73420 ( Antonio Andelic ). Implements fix, needed to enable hive partitioning by default. #73479 ( Yarik Briukhovetskyi ). Fix data race when creating vector similarity index. #73517 ( Antonio Andelic ). Fixes segfault when the source of the dictionary contains a function with wrong data. #73535 ( Yarik Briukhovetskyi ). Fix retries on failed insert in storage S3(Azure)Queue. Closes #70951 . #73546 ( Kseniia Sumarokova ). Fixed error in function tupleElement which may appear in some cases for tuples with LowCardinality elelments and enabled setting optimize_functions_to_subcolumns . #73548 ( Anton Popov ). Fix parsing enum glob followed by range one. Fixes #73473 . #73569 ( Konstantin Bogdanov ). Fixed parallel_replicas_for_non_replicated_merge_tree being ignored in subqueries for non-replicated tables. #73584 ( Igor Nikonov ).
{"source_file": "25_04.md"}
[ 0.012787257321178913, 0.010360915213823318, -0.025268875062465668, 0.06772508472204208, -0.01651582308113575, 0.02549031190574169, -0.046130724251270294, 0.05918211489915848, -0.018316561356186867, 0.044051021337509155, -0.038725268095731735, -0.0117500526830554, 0.01043033879250288, -0.01...
c63d6127-9041-4bab-9c1f-c4c73dd9e134
Fixed parallel_replicas_for_non_replicated_merge_tree being ignored in subqueries for non-replicated tables. #73584 ( Igor Nikonov ). Fix for std::logical_error thrown when a task cannot be scheduled. Found in stress tests. Example stacktrace: 2024.12.19 02:05:46.171833 [ 18190 ] {01f0daba-d3cc-4898-9e0e-c2c263306427} <Fatal> : Logical error: 'std::exception. Code: 1001, type: std::__1::future_error, e.what() = The associated promise has been destructed prior to the associated state becoming ready. (version 25.1.1.18724), Stack trace:. #73629 ( Alexander Gololobov ). Do not interpret queries in EXPLAIN SYNTAX to avoid logical errors with incorrect processing stage for distributed queries. Fixes #65205 . #73634 ( Dmitry Novik ). Fix possible data inconsistency in Dynamic column. Fixes possible logical error Nested columns sizes are inconsistent with local_discriminators column size . #73644 ( Pavel Kruglov ). Fixed NOT_FOUND_COLUMN_IN_BLOCK in queries with FINAL and SAMPLE . Fixed incorrect result in selects with FINAL from CollapsingMergeTree and enabled optimizations of FINAL . #73682 ( Anton Popov ). Fix crash in LIMIT BY COLUMNS. #73686 ( Raúl Marín ). Fix the bug when the normal projection is forced to use, and query is exactly the same as the projection defined, but the projection is not selected and thus error is prompted. #73700 ( Shichao Jin ). Fix deserialization of Dynamic/Object structure. It could lead to CANNOT_READ_ALL_DATA exceptions. #73767 ( Pavel Kruglov ). Skip metadata_version.txt in while restoring parts from a backup. #73768 ( Vitaly Baranov ). Fix #73737 . #73775 ( zhanglistar ). Fixes #72078 ( S3 Express Support was broken ). #73777 ( Sameer Tamsekar ). Allow merging of rows with invalid sign column values in CollapsingMergeTree tables. #73864 ( Christoph Wurm ).
{"source_file": "25_04.md"}
[ -0.08901096135377884, 0.006411518901586533, 0.050429798662662506, 0.034916382282972336, -0.01927375979721546, -0.11690737307071686, -0.06967347115278244, 0.029450973495841026, 0.020471006631851196, 0.06848330050706863, 0.0283780787140131, -0.03390740603208542, 0.0036976172123104334, -0.050...
a3807566-c1f2-4de0-88db-f06378750705
Fix the following error Row 1: ────── hostname: c-test-wy-37-server-nlkyjyb-0.c-test-wy-37-server-headless.ns-test-wy-37.svc.cluster.local type: ExceptionWhileProcessing event_date: 2024-12-23 event_time: 2024-12-23 16:21:19 event_time_microseconds: 2024-12-23 16:21:19.824624 query_start_time: 2024-12-23 16:21:19 query_start_time_microseconds: 2024-12-23 16:21:19.747142 query_duration_ms: 77 read_rows: 1 read_bytes: 134 written_rows: 0 written_bytes: 0 result_rows: 0 result_bytes: 0 memory_usage: 7824 current_database: default query: CREATE DATABASE db0 formatted_query: normalized_query_hash: 7820917191074023511 -- 7.82 quintillion query_kind: Create databases: ['db0'] tables: [] columns: [] partitions: [] projections: [] views: [] exception_code: 170 exception: Code: 170. DB::Exception: Bad get: has Null, requested Int64: While executing DDLOnClusterQueryStatus. (BAD_GET) (version 25.1.1.19134 (official build)) stack_trace: 0. ./build_docker/./src/Common/Exception.cpp:107: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000da5e53b 1. DB::Exception::Exception(PreformattedMessage&&, int) @ 0x00000000088aca4c 2. DB::Exception::Exception<std::basic_string_view<char, std::char_traits<char>>, std::basic_string_view<char, std::char_traits<char>>>(int, FormatStringHelperImpl<std::type_identity<std::basic_string_view<char, std::char_traits<char>>>::type, std::type_identity<std::basic_string_view<char, std::char_traits<char>>>::type>, std::basic_string_view<char, std::char_traits<char>>&&, std::basic_string_view<char, std::char_traits<char>>&&) @ 0x00000000088bae8b 3. auto& DB::Field::safeGet<long>() & @ 0x0000000008a3c748 4. ./src/Core/Field.h:484: DB::ColumnVector<long>::insert(DB::Field const&) @ 0x0000000012e44c0f 5. ./build_docker/./src/Interpreters/DDLOnClusterQueryStatusSource.cpp:53: DB::DDLOnClusterQueryStatusSource::generateChunkWithUnfinishedHosts() const @ 0x0000000012a40214 6. ./build_docker/./src/Interpreters/DDLOnClusterQueryStatusSource.cpp:104: DB::DDLOnClusterQueryStatusSource::handleTimeoutExceeded() @ 0x0000000012a41640 7. ./build_docker/./src/Interpreters/DDLOnClusterQueryStatusSource.cpp:109: DB::DDLOnClusterQueryStatusSource::stopWaitingOfflineHosts() @ 0x0000000012a41be9 8. ./build_docker/./src/Interpreters/DistributedQueryStatusSource.cpp:182: DB::DistributedQueryStatusSource::generate() @ 0x0000000011feb3bf 9. ./build_docker/./src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x0000000014148f5b 10. ./build_docker/./src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x0000000014148c47 11. ./build_docker/./src/Processors/Executors/ExecutionThreadContext.cpp:49: DB::ExecutionThreadContext::executeTask() @ 0x0000000014164fc7 12. ./build_docker/./src/Processors/Executors/PipelineExecutor.cpp:290: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x00000000141577e5 . #73876 ( Tuan Pham Anh ).
{"source_file": "25_04.md"}
[ 0.08456595242023468, -0.032215118408203125, -0.08674159646034241, 0.08067583292722702, -0.026848742738366127, -0.051919497549533844, -0.007364746183156967, 0.03538249805569649, -0.02501234970986843, 0.10893716663122177, -0.00629660626873374, -0.0675060823559761, -0.04638294503092766, -0.00...
e00e0343-7c4e-486c-bc3d-494fa76d78ea
Fixes occasional failure to compare map() types due to possibility to create Map lacking explicit naming ('keys','values') of its nested tuple. #73878 ( Yakov Olkhovskiy ). Ignore window functions during GROUP BY ALL clause resolution. Fix #73501 . #73916 ( Dmitry Novik ). Propogate Native format settings properly for client-server communication. #73924 ( Pavel Kruglov ). Fix implicit privileges (worked as wildcard before). #73932 ( Azat Khuzhin ). Fix high memory usage during nested Maps creation. #73982 ( Pavel Kruglov ). Fix parsing nested JSON with empty keys. #73993 ( Pavel Kruglov ). Fix: alias can be not added to the projection if it is referenced by another alias and selected in inverse order. #74033 ( Yakov Olkhovskiy ). A disk using the plain_rewritable metadata can be shared among multiple server instances. It is expected for one instance to read a metadata object while another modifies it. Object not found errors are ignored during plain_rewritable initialization with Azure storage, similar to the behavior implemented for S3. #74059 ( Julia Kartseva ). Fix behaviour of any and anyLast with enum types and empty table. #74061 ( Joanna Hulboj ). Fixes case when the user specifies keyword arguments in the kafka table engine. #74064 ( Yarik Briukhovetskyi ). Fix altering Storage S3Queue settings with "s3queue_" prefix to without and vice versa. #74075 ( Kseniia Sumarokova ). Add a setting allow_push_predicate_ast_for_distributed_subqueries . This adds AST-based predicate push-down for distributed queries with the analyzer. This is a temporary solution that we use until distributed queries with query plan serialization are supported. Closes #66878 #69472 #65638 #68030 #73718 . #74085 ( Nikolai Kochetov ). Fixes issue when after #73095 port can be present in the forwarded_for field, which leads to inability to resolve host name with port included. #74116 ( Yakov Olkhovskiy ). Fixed incorrect formatting of ALTER TABLE (DROP STATISTICS ...) (DROP STATISTICS ...) . #74126 ( Han Fei ). Fix for issue #66112 . #74128 ( Anton Ivashkin ). It is no longer possible to use Loop as a table engine in CREATE TABLE . This combination was previously causing segfaults. #74137 ( Yarik Briukhovetskyi ). Fix security issue to prevent SQL injection in postgresql and sqlite table functions. #74144 ( Pablo Marcos ). Fix crash when reading a subcolumn from the compressed Memory engine table. Fixes #74009 . #74161 ( Nikita Taranov ). Fixed an infinite loop occurring with queries to the system.detached_tables. #74190 ( Konstantin Morozov ). Fix logical error in s3queue during setting file as failed. #74216 ( Kseniia Sumarokova ). Check for not supported types for some storages. #74218 ( Pavel Kruglov ). Fix crash with query INSERT INTO SELECT over PostgreSQL interface on macOS (issue #72938 ). #74231 ( Artem Yurov ).
{"source_file": "25_04.md"}
[ 0.022856486961245537, 0.03494086489081383, 0.017282932996749878, -0.013955342583358288, -0.0547218844294548, -0.052473340183496475, -0.04674854129552841, 0.03644239157438278, -0.06298091262578964, 0.061906978487968445, 0.01259560789912939, -0.016065949574112892, -0.020085789263248444, 0.03...
ef7666f9-a5db-441b-8ea4-8d04fa4c0883
Fix crash with query INSERT INTO SELECT over PostgreSQL interface on macOS (issue #72938 ). #74231 ( Artem Yurov ). Fix native copy settings ( allow_s3_native_copy / allow_azure_native_copy ) for RESTORE from base backup. #74286 ( Azat Khuzhin ). Fixed the issue when the number of detached tables in the database is a multiple of max_block_size. #74289 ( Konstantin Morozov ). Fix copying via ObjectStorage (i.e. S3) when source and destination credentials differs. #74331 ( Azat Khuzhin ). Fixed uninitialized max_log_ptr in the replicated database. #74336 ( Konstantin Morozov ). Fix detection of "use the Rewrite method in the JSON API" for native copy on GCS. #74338 ( Azat Khuzhin ). Fix crash when inserting interval (issue #74299 ). #74478 ( NamNguyenHoai ). Fix incorrect projection analysis when count(nullable) is used in aggregate projections. This fixes #74495 . This PR also adds some logs around projection analysis to clarify why a projection is used or why not. #74498 ( Amos Bird ). Fix incorrect calculation of BackgroundMergesAndMutationsPoolSize (it was x2 from real value). #74509 ( alesapin ). Fix the bug of leaking keeper watches when enable Cluster Discovery. #74521 ( RinChanNOW ). Fix formatting constant JSON literals. Previously it could lead to syntax errors during sending the query to another server. #74533 ( Pavel Kruglov ). Fix mem alignment issue reported by UBSan #74512 . #74534 ( Arthur Passos ). Fix KeeperMap concurrent cleanup during table creation. #74568 ( Antonio Andelic ). Do not remove unused projection columns in subqueries in the presence of EXCEPT or INTERSECT to preserve the correct query result. Fixes #73930 . Fixes #66465 . #74577 ( Dmitry Novik ). Fix broken create query when using constant partition expressions with implicit projections enabled. This fixes #74596 . #74634 ( Amos Bird ). Fixed INSERT SELECT queries between tables with Tuple columns and enabled sparse serialization. #74698 ( Anton Popov ). Function right works incorrectly for const negative offset. #74701 ( Daniil Ivanik ). Fix insertion of gzip-ed data sometimes fails due to flawed decompression on client side. #74707 ( siyuan ). Avoid leaving connection in broken state after INSERT finishes with exception. #74740 ( Azat Khuzhin ). Avoid reusing connections that had been left in the intermediate state. #74749 ( Azat Khuzhin ). Partial revokes with wildcard grants could remove more privileges than expected. Closes #74263 . #74751 ( pufit ). Fix crash during JSON type declaration parsing when type name is not uppercase. #74784 ( Pavel Kruglov ). Keeper fix: fix reading log entries from disk. #74785 ( Antonio Andelic ).
{"source_file": "25_04.md"}
[ -0.031988516449928284, -0.08484573662281036, 0.013377353549003601, -0.012286256067454815, -0.043558210134506226, -0.04888385906815529, -0.024312438443303108, -0.01672591082751751, -0.0009660269133746624, 0.11029968410730362, -0.0009791130432859063, -0.02101670205593109, 0.06499553471803665, ...
2a01f22d-c810-4d4e-b237-fefdf2d50e67
Fix crash during JSON type declaration parsing when type name is not uppercase. #74784 ( Pavel Kruglov ). Keeper fix: fix reading log entries from disk. #74785 ( Antonio Andelic ). Fixed checking grants for SYSTEM REFRESH/START/STOP VIEW, now it's not required to have this grant on *.* to execute a query for a specific view, only grant for this view are required. #74789 ( Alexander Tokmakov ). The hasColumnInTable function doesn't account for alias columns. Fix it to also work for alias columns. #74841 ( Bharat Nallan ). Keeper: fix logical_error when the connection had been terminated before establishing. #74844 ( Michael Kolupaev ). Fix a behavior when the server couldn't startup when there's a table using AzureBlobStorage . Tables are loaded without any requests to Azure. #74880 ( Alexey Katsman ). Fix missing used_privileges and missing_privileges fields in query_log for BACKUP and RESTORE operations. #74887 ( Alexey Katsman ). Fix FILE_DOESNT_EXIST error occurring during data parts merge for a table with an empty column in Azure Blob Storage. #74892 ( Julia Kartseva ). Fix projection column name when joining temporary tables, close #68872 . #74897 ( Vladimir Cherkasov ). HDFS refresh krb ticket if sasl error during hdfs select request. #74930 ( inv2004 ). Fix queries to Replicated database in startup_scripts. #74942 ( Azat Khuzhin ). Fix issues with expressions type aliased in the JOIN ON clause when a null-safe comparison is used. #74970 ( Vladimir Cherkasov ). Revert part's state from deleting back to outdated when remove operation has failed. #74985 ( Sema Checherinda ). In previous versions, when there was a scalar subquery, we started writing the progress (accumulated from processing the subquery) during the initialization of the data format, which was before HTTP headers were written. This led to the loss of HTTP headers, such as X-ClickHouse-QueryId and X-ClickHouse-Format, as well as Content-Type. #74991 ( Alexey Milovidov ). Fix CREATE TABLE AS... queries for database_replicated_allow_replicated_engine_arguments=0 . #75000 ( Bharat Nallan ). Fix leaving connection in a bad state in client after INSERT exceptions. #75030 ( Azat Khuzhin ). Fix crash due to uncaught exception in PSQL replication. #75062 ( Azat Khuzhin ). Sasl can fail any rpc call, the fix helps to repeat the call in case if krb5 ticker is expired. #75063 ( inv2004 ). Fixed usage of indexes (primary and secondary) for Array , Map and Nullable(..) columns with enabled setting optimize_function_to_subcolumns . Previously, indexes for these columns could have been ignored. #75081 ( Anton Popov ). Disable flatten_nested when creating materialized views with inner tables since it will not be possible to use such flattened columns. #75085 ( Christoph Wurm ).
{"source_file": "25_04.md"}
[ 0.03120376728475094, -0.026488086208701134, -0.03642646595835686, 0.04392915964126587, -0.05834566429257393, 0.010196198709309101, 0.038736436516046524, 0.008979144506156445, -0.01269480586051941, 0.13482069969177246, 0.004614959470927715, -0.02608877420425415, 0.05023152381181717, 0.06200...
65a1fff8-abe6-4720-a53f-422e91590402
Disable flatten_nested when creating materialized views with inner tables since it will not be possible to use such flattened columns. #75085 ( Christoph Wurm ). Fix for some of IPv6 addresses (such as ::ffff:1.1.1.1) in forwarded_for field is wrongly interpreted resulting in client disconnect with exception. #75133 ( Yakov Olkhovskiy ). Fix nullsafe JOIN handling for LowCardinality nullable data type. Previously JOIN ON with nullsafe comparison, such as IS NOT DISTINCT FROM , <=> , a IS NULL AND b IS NULL OR a == b didn't work correctly with LowCardinality columns. #75143 ( Vladimir Cherkasov ). Fix queries with unused interpolation with the new analyzer. #75173 ( János Benjamin Antal ). Fix the crash bug of CTE with Insert. #75188 ( Shichao Jin ). Keeper fix: avoid writing to broken changelogs when rolling back logs. #75197 ( Antonio Andelic ). Use BFloat16 as a supertype where appropriate. This closes: #74404 . #75236 ( Nikita Mikhaylov ). Fix unexpected defaults in join result with any_join_distinct_right_table_keys and OR in JOIN ON. #75262 ( Vladimir Cherkasov ). Mask azureblobstorage table engine credentials. #75319 ( Garrett Thomas ). Fixed behavior when ClickHouse may erroneously do a filter pushdown to an external database like PostgreSQL, MySQL, or SQLite. This closes: #71423 . #75320 ( Nikita Mikhaylov ). Fix crash in protobuf schema cache that can happen during output in Protobuf format and parallel query SYSTEM DROP FORMAT SCHEMA CACHE . #75357 ( Pavel Kruglov ). Fix a possible logical error or uninitialized memory issue when a filter from HAVING is pushed down with parallel replicas. #75363 ( Vladimir Cherkasov ). Hide sensitive info for icebergS3 , icebergAzure table functions and table engines. #75378 ( Kseniia Sumarokova ). Function TRIM with computed empty trim characters are now correctly handled. Example: SELECT TRIM(LEADING concat('') FROM 'foo') (Issue #69922 ). #75399 ( Manish Gill ). Fix data race in IOutputFormat. #75448 ( Pavel Kruglov ). Fix possible error Elements ... and ... of Nested data structure ... (Array columns) have different array sizes when JSON subcolumns with Array type are used in JOIN over distributed tables. #75512 ( Pavel Kruglov ). Fix invalid result buffer size calculation. Closes #70031 . #75548 ( Konstantin Bogdanov ). Fix interaction between allow_feature_tier and compatibility mergetree setting. #75635 ( Raúl Marín ). Fix incorrect processed_rows value in system.s3queue_log in case file was retried. #75666 ( Kseniia Sumarokova ). Respect materialized_views_ignore_errors when a materialized view writes to a URL engine and there is a connectivity issue. #75679 ( Christoph Wurm ). Fixed rare crashes while reading from MergeTree table after multiple asynchronous RENAME queries (with alter_sync = 0 ) between columns with different types. #75693 ( Anton Popov ).
{"source_file": "25_04.md"}
[ -0.005736166145652533, 0.005534448195248842, -0.010975874960422516, 0.024315200746059418, -0.05117955431342125, -0.04301312938332558, -0.02654743753373623, 0.027553172782063484, -0.05850915238261223, 0.021701490506529808, -0.013486473821103573, -0.05688471347093582, -0.010934635996818542, ...
c71aaa8a-1fa9-47a5-b7b4-1d67a76ab899
Fixed rare crashes while reading from MergeTree table after multiple asynchronous RENAME queries (with alter_sync = 0 ) between columns with different types. #75693 ( Anton Popov ). Fix Block structure mismatch in QueryPipeline stream error for some queries with UNION ALL . #75715 ( Nikolai Kochetov ). Rebuild projection on alter modify of its PK column. Previously it could lead to CANNOT_READ_ALL_DATA errors during selects after alter modify of the column used in projection PK. #75720 ( Pavel Kruglov ). Fix incorrect result of ARRAY JOIN for scalar subqueries (with analyzer). #75732 ( Nikolai Kochetov ). Fixed null pointer dereference in DistinctSortedStreamTransform . #75734 ( Nikita Taranov ). Fix allow_suspicious_ttl_expressions behaviour. #75771 ( Aleksei Filatov ). Fix uninitialized memory read in function translate . This closes #75592 . #75794 ( Alexey Milovidov ). Propagate format settings to JSON as string formatting in Native format. #75832 ( Pavel Kruglov ). Recorded the default enablement of parallel hash as join algorithm in v24.12 in the settings change history. This means that ClickHouse will continue to join using non-parallel hash if an older compatibility level than v24.12 is configured. #75870 ( Robert Schulze ). Fixed a bug that tables with implicitly added min-max indices could not be copied into a new table (issue #75677 ). #75877 ( Smita Kulkarni ). clickhouse-library-bridge allows opening arbitrary libraries from the filesystem, which makes it safe to run only inside an isolated environment. To prevent a vulnerability when it is run near the clickhouse-server, we will limit the paths of libraries to a location, provided in the configuration. This vulnerability was found with the ClickHouse Bug Bounty Program by Arseniy Dugin . #75954 ( Alexey Milovidov ). We happened to use JSON serialization for some metadata, which was a mistake, because JSON does not support binary data inside string literals, including zero bytes. SQL queries can contain binary data and invalid UTF-8, so we have to support this in our metadata files as well. At the same time, ClickHouse's JSONEachRow and similar formats work around that by deviating from the JSON standard in favor of a perfect roundtrip for the binary data. See the motivation here: https://github.com/ClickHouse/ClickHouse/pull/73668#issuecomment-2560501790. The solution is to make Poco::JSON library consistent with the JSON format serialization in ClickHouse. This closes #73668 . #75963 ( Alexey Milovidov ). Fix Part <...> does not contain in snapshot of previous virtual parts. (PART_IS_TEMPORARILY_LOCKED) during DETACH PART. #76039 ( Aleksei Filatov ). Fix check for commit limits in storage S3Queue . #76104 ( Kseniia Sumarokova ). Fix attaching MergeTree tables with auto indexes ( add_minmax_index_for_numeric_columns / add_minmax_index_for_string_columns ). #76139 ( Azat Khuzhin ).
{"source_file": "25_04.md"}
[ 0.012732516042888165, -0.022223178297281265, 0.003210595576092601, -0.0009628338739275932, -0.07616795599460602, -0.054648011922836304, -0.05888114869594574, 0.06072086840867996, -0.016835074871778488, 0.021620973944664, -0.01613076590001583, -0.0019265224691480398, -0.05077296122908592, -...
2a36dd39-a530-437f-96bf-41b61aa62dae
Fix attaching MergeTree tables with auto indexes ( add_minmax_index_for_numeric_columns / add_minmax_index_for_string_columns ). #76139 ( Azat Khuzhin ). Fixed issue of stack traces from parent threads of a job ( enable_job_stack_trace setting) are not printed out. Fixed issue enable_job_stack_trace setting is not properly propagated to the threads resulting stack trace content not always respects this setting. #76191 ( Yakov Olkhovskiy ). Fix reinterpretAs with FixedString on big-endian architecture. #76253 ( Azat Khuzhin ). Fix all sort of bugs due to race between UUID and table names (for instance it will fix the race between RENAME and RESTART REPLICA , in case of concurrent RENAME with SYSTEM RESTART REPLICA you may get end up restarting wrong replica, or/and leaving one of the tables in a Table X is being restarted state). #76308 ( Azat Khuzhin ). Removed allocation from the signal handler. #76446 ( Nikita Taranov ). Fix dynamic filesystem cache resize handling unexpected errors during eviction. #76466 ( Kseniia Sumarokova ). Fixed used_flag initialization in parallel hash. It might cause a server crash. #76580 ( Nikita Taranov ). Fix a logical error when calling defaultProfiles() function inside a projection. #76627 ( pufit ). Do not request interactive basic auth in the browser in Web UI. Closes #76319 . #76637 ( Alexey Milovidov ). Fix THERE_IS_NO_COLUMN exception when selecting boolean literal from distributed tables. #76656 ( Yakov Olkhovskiy ). The subpath inside the table directory is chosen in a more profound way. #76681 ( Daniil Ivanik ). Fix an error Not found column in block after altering a table with a subcolumn in PK. After https://github.com/ClickHouse/ClickHouse/pull/72644, requires https://github.com/ClickHouse/ClickHouse/pull/74403. #76686 ( Nikolai Kochetov ). Add performance tests for null short circuits and fix bugs. #76708 ( 李扬 ). Flush output write buffers before finalizing them. Fix LOGICAL_ERROR generated during the finalization of some output format, e.g. JSONEachRowWithProgressRowOutputFormat . #76726 ( Antonio Andelic ). Added support for MongoDB binary UUID ( #74452 ) - Fixed WHERE pushdown to MongoDB when using the table function ( #72210 ) - Changed the MongoDB - ClickHouse type mapping such that MongoDB's binary UUID can only be parsed to ClickHouse's UUID. This should avoid ambiguities and surprises in future. - Fixed OID mapping, preserving backward compatibility. #76762 ( Kirill Nikiforov ). Fix exception handling in parallel prefixes deserialization of JSON subcolumns. #76809 ( Pavel Kruglov ). Fix lgamma function behavior for negative integers. #76840 ( Ilya Kataev ). Fix reverse key analysis for explicitly defined primary keys. Similar to #76654 . #76846 ( Amos Bird ). Fix pretty print of Bool values in JSON format. #76905 ( Pavel Kruglov ).
{"source_file": "25_04.md"}
[ -0.012230031192302704, -0.07405690848827362, 0.0023614636156708, -0.007417086977511644, -0.05570195987820625, -0.11254043877124786, -0.09166809171438217, 0.0006119039026089013, -0.055825624614953995, 0.0409766361117363, 0.029768425971269608, 0.00986920390278101, -0.05032966658473015, -0.03...
fb62637d-ce5b-44be-8d95-47b854f93357
Fix reverse key analysis for explicitly defined primary keys. Similar to #76654 . #76846 ( Amos Bird ). Fix pretty print of Bool values in JSON format. #76905 ( Pavel Kruglov ). Fix possible crash because of bad JSON column rollback on error during async inserts. #76908 ( Pavel Kruglov ). Previously, multi_if may return different types of columns during planning and main execution. This resulted in code producing undefined behavior from the C++ perspective. #76914 ( Nikita Taranov ). Fixed incorrect serialization of constant nullable keys in MergeTree. This fixes #76939 . #76985 ( Amos Bird ). Fix sorting of BFloat16 values. This closes #75487 . This closes #75669 . #77000 ( Alexey Milovidov ). Bug fix JSON with variant subcolumn by adding check to skip ephemeral subcolumns in part consistency check. #72187 . #77034 ( Smita Kulkarni ). Fix crash in template parsing in Values format in case of types mismatch. #77071 ( Pavel Kruglov ). Don't allow creating EmbeddedRocksDB table with subcolumn in a primary key. Previously, such a table could be created but SELECT queries failed. #77074 ( Pavel Kruglov ). Fix illegal comparison in distributed queries because pushing down predicates to remote doesn't respect literal types. #77093 ( Duc Canh Le ). Fix crash during Kafka table creation with exception. #77121 ( Pavel Kruglov ). Support new JSON and subcolumns in Kafka and RabbitMQ engines. #77122 ( Pavel Kruglov ). Fix exceptions stack unwinding on MacOS. #77126 ( Eduard Karacharov ). Fix reading 'null' subcolumn in getSubcolumn function. #77163 ( Pavel Kruglov ). Fix not working skip indexes with expression with literals in analyzer and remove trivial casts during indexes analysis. #77229 ( Pavel Kruglov ). Fix bloom filter index with Array and not supported functions. #77271 ( Pavel Kruglov ). We should only check the restriction on the amount of tables during the initial CREATE query. #77274 ( Nikolay Degterinsky ). SELECT toBFloat16(-0.0) == toBFloat16(0.0) now correctly returns true (from previously false ). This makes the behavior consistent with Float32 and Float64 . #77290 ( Shankar Iyer ). Fix posbile incorrect reference to unintialized key_index variable, which may lead to crash in debug builds (this uninitialized reference won't cause issues in release builds because subsequent code are likely to throw errors.) ### documentation entry for user-facing changes. #77305 ( wxybear ). Reverted. #77307 ( Nikolai Kochetov ). Fix name for partition with a Bool value. It was broken in https://github.com/ClickHouse/ClickHouse/pull/74533. #77319 ( Pavel Kruglov ).
{"source_file": "25_04.md"}
[ -0.009856496006250381, 0.04267598316073418, 0.01904761791229248, -0.014282929711043835, -0.021974271163344383, -0.04754209145903587, -0.11110034584999084, 0.0359354205429554, -0.053182292729616165, 0.02894541807472706, 0.039979878813028336, -0.015644105151295662, -0.09540741890668869, -0.0...