id stringlengths 36 36 | document stringlengths 3 3k | metadata stringlengths 23 69 | embeddings listlengths 384 384 |
|---|---|---|---|
ded1ea83-2fc1-496f-a31b-e2be05edfc09 | Functions
array
and
map
were optimized to process certain common cases much faster.
#67707
(
李扬
).
Trivial optimize on ORC strings reading especially when a column contains no NULLs.
#67794
(
李扬
).
Improved overall performance of merges by reducing the overhead of scheduling steps of merges.
#68016
(
Anton Popov
).
Speed up requests to S3 when a profile is not set, credentials are not set, and IMDS is not available (for example, when you are querying a public bucket on a machine outside of a cloud). This closes
#52771
.
#68082
(
Alexey Milovidov
).
Devirtualize format reader in
RowInputFormatWithNamesAndTypes
for some performance improvement.
#68437
(
李扬
).
Add the parallel merge for
uniq
aggregate function when aggregating with a group by key to maximize the CPU utilization.
#68441
(
Jiebin Sun
).
Add settings
output_format_orc_dictionary_key_size_threshold
to allow user to enable dict encoding for string column in
ORC
output format. It helps reduce the output
ORC
file size and improve reading performance significantly.
#68591
(
李扬
).
Introduce new Keeper request RemoveRecursive which removes node with all it's subtree.
#69332
(
Mikhail Artemenko
).
Speedup insertion performance into a table with a vector similarity index by adding data to the vector index in parallel.
#69493
(
flynn
).
Reduce memory usage of inserts to JSON by using adaptive write buffer size. A lot of files created by JSON column in wide part contains small amount of data and it doesn't make sense to allocate 1MB buffer for them.
#69272
(
Kruglov Pavel
).
Avoid returning a thread in the concurrent hash join threadpool to avoid query excessively spawn threads.
#69406
(
Duc Canh Le
).
Improvement {#improvement-3}
CREATE TABLE AS now copies PRIMARY KEY, ORDER BY, and similar clauses. Now it supports only for MergeTree family of table engines.
#69076
(
sakulali
).
Hardened parts of the codebase related to parsing of small entities. The following (minor) bugs were found and fixed: - if a
DeltaLake
table is partitioned by Bool, the partition value is always interpreted as false; -
ExternalDistributed
table was using only a single shard in the provided addresses; the value of
max_threads
setting and similar were printed as
'auto(N)'
instead of
auto(N)
.
#52503
(
Alexey Milovidov
).
Use cgroup-specific metrics for CPU usage accounting instead of system-wide metrics.
#62003
(
Nikita Taranov
).
IO scheduling for remote S3 disks is now done on the level of HTTP socket streams (instead of the whole S3 requests) to resolve
bandwidth_limit
throttling issues.
#65182
(
Sergei Trifonov
).
Functions
upperUTF8
and
lowerUTF8
were previously only able to uppercase / lowercase Cyrillic characters. This limitation is now removed and characters in arbitrary languages are uppercased/lowercased. Example:
SELECT upperUTF8('Süden')
now returns
SÜDEN
.
#65761
(
李扬
). | {"source_file": "2024.md"} | [
0.002784130861982703,
-0.001989833079278469,
-0.07220467925071716,
-0.06535159051418304,
0.0013123288517817855,
-0.018663354218006134,
-0.0013443899806588888,
0.01277734525501728,
-0.020476963371038437,
0.015379557386040688,
0.046719226986169815,
0.008181305602192879,
0.048754945397377014,
... |
0aa1f5a1-a50f-4f0e-9dbe-b4e4db204820 | When lightweight delete happens on a table with projection(s), despite users have choices either throw an exception (by default) or drop the projection when the lightweight delete would happen, now there is the third option to still have lightweight delete and then rebuild projection(s).
#66169
(
jsc0218
).
Two options (
dns_allow_resolve_names_to_ipv4
and
dns_allow_resolve_names_to_ipv6
) have been added, to allow block connections ip family.
#66895
(
MikhailBurdukov
).
Make Ctrl-Z ignorance configurable (ignore_shell_suspend) in clickhouse-client.
#67134
(
Azat Khuzhin
).
Improve UTF-8 validation in JSON output formats. Ensures that valid JSON is generated in the case of certain byte sequences in the result data.
#67938
(
mwoenker
).
Added profile events for merges and mutations for better introspection.
#68015
(
Anton Popov
).
ODBC: get http_max_tries from the server configuration.
#68128
(
Rodolphe Dugé de Bernonville
).
Add wildcard support for user identification in X.509 SubjectAltName extension.
#68236
(
Marco Vilas Boas
).
Improve schema inference of date times. Now
DateTime64
used only when date time has fractional part, otherwise regular DateTime is used. Inference of Date/DateTime is more strict now, especially when
date_time_input_format='best_effort'
to avoid inferring date times from strings in corner cases.
#68382
(
Kruglov Pavel
).
Delete old code of named collections from dictionaries and substitute it to the new, which allows to use DDL created named collections in dictionaries. Closes
#60936
, closes
#36890
.
#68412
(
Kseniia Sumarokova
).
Use HTTP/1.1 instead of HTTP/1.0 (set by default) for external HTTP authenticators.
#68456
(
Aleksei Filatov
).
Added a new set of metrics for thread pool introspection, providing deeper insights into thread pool performance and behavior.
#68674
(
filimonov
).
Support query parameters in async inserts with format
Values
.
#68741
(
Anton Popov
).
Support
Date32
on
dateTrunc
and
toStartOfInterval
.
#68874
(
LiuNeng
).
Add
plan_step_name
and
plan_step_description
columns to
system.processors_profile_log
.
#68954
(
Alexander Gololobov
).
Support for the Spanish language in the embedded dictionaries.
#69035
(
Vasily Okunev
).
Add CPU arch to the short fault information message.
#69037
(
Konstantin Bogdanov
).
Queries will fail faster if a new Keeper connection cannot be established during retries.
#69148
(
Raúl Marín
).
Update Database Factory so it would be possible for user defined database engines to have arguments, settings and table overrides (similar to StorageFactory).
#69201
(
NikBarykin
). | {"source_file": "2024.md"} | [
-0.09076488018035889,
0.02758064679801464,
-0.04566267505288124,
-0.038676489144563675,
0.0204573106020689,
-0.09471853822469711,
0.016433944925665855,
-0.1253756880760193,
0.06438666582107544,
0.008510779589414597,
0.02438100054860115,
0.04271203652024269,
0.043496839702129364,
-0.0098234... |
762c3d24-95ad-4e49-9e09-6a449dfa1890 | Update Database Factory so it would be possible for user defined database engines to have arguments, settings and table overrides (similar to StorageFactory).
#69201
(
NikBarykin
).
Restore mode that replaces all external table engines and functions to the
Null
engine (
restore_replace_external_engines_to_null
,
restore_replace_external_table_functions_to_null
settings) was failing if table had SETTINGS. Now it removes settings from table definition in this case and allows to restore such tables.
#69253
(
Ilya Yatsishin
).
CLICKHOUSE_PASSWORD is correctly escaped for XML in clickhouse image's entrypoint.
#69301
(
aohoyd
).
Allow empty arguments for
arrayZip
/
arrayZipUnaligned
, as concat did in https://github.com/ClickHouse/ClickHouse/pull/65887. It is for spark compatibility in Gluten CH Backend.
#69576
(
李扬
).
Support more advanced SSL options for Keeper's internal communication (e.g. private keys with passphrase).
#69582
(
Antonio Andelic
).
Index analysis can take noticeable time for big tables with many parts or partitions. This change should enable killing a heavy query at that stage.
#69606
(
Alexander Gololobov
).
Masking sensitive info in
gcs
table function.
#69611
(
Vitaly Baranov
).
Rebuild projection for merges that reduce number of rows.
#62364
(
cangyin
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-3}
Fix attaching table when pg dbname contains "-" in the experimental and unsupported MaterializedPostgreSQL engine.
#62730
(
takakawa
).
Fixed error on generated columns in the experimental and totally unsupported MaterializedPostgreSQL engine when adnum ordering is broken
#63161
. Fixed error on id column with nextval expression as default in the experimental and totally unsupported MaterializedPostgreSQL when there are generated columns in table. Fixed error on dropping publication with symbols except [a-z1-9-].
#67664
(
Kruglov Kirill
).
Storage Join to support Nullable columns in the left table, close
#61247
.
#66926
(
vdimir
).
Incorrect query result with parallel replicas (distribute queries as well) when
IN
operator contains conversion to Decimal(). The bug was introduced with the new analyzer.
#67234
(
Igor Nikonov
).
Fix the problem that alter modify order by causes inconsistent metadata.
#67436
(
iceFireser
).
Fix the upper bound of the function
fromModifiedJulianDay
. It was supposed to be
9999-12-31
but was mistakenly set to
9999-01-01
.
#67583
(
PHO
).
Fix when the index is not at the beginning of the tuple during
IN
query.
#67626
(
Yarik Briukhovetskyi
).
Fix expiration in
RoleCache
.
#67748
(
Vitaly Baranov
).
Fix window view missing blocks due to slow flush to view.
#67983
(
Raúl Marín
).
Fix MSan issue caused by incorrect date format.
#68105
(
JackyWoo
). | {"source_file": "2024.md"} | [
-0.0692368671298027,
-0.00047954294132068753,
-0.11179297417402267,
0.03567381203174591,
-0.06388009339570999,
-0.04115176200866699,
0.01554878894239664,
-0.016768593341112137,
-0.09735868126153946,
-0.03616294264793396,
0.05618254095315933,
0.009549169801175594,
0.1331348717212677,
-0.080... |
75051063-f442-4fcf-824d-98b1eaf6610a | Fix window view missing blocks due to slow flush to view.
#67983
(
Raúl Marín
).
Fix MSan issue caused by incorrect date format.
#68105
(
JackyWoo
).
Fixed crash in Parquet filtering when data types in the file substantially differ from requested types (e.g.
... FROM file('a.parquet', Parquet, 'x String')
, but the file has
x Int64
). Without this fix, use
input_format_parquet_filter_push_down = 0
as a workaround.
#68131
(
Michael Kolupaev
).
Fix crash in
lag
/
lead
which is introduced in
#67091
.
#68262
(
lgbo
).
Try fix postgres crash when query is cancelled.
#68288
(
Kseniia Sumarokova
).
After https://github.com/ClickHouse/ClickHouse/pull/61984
schema_inference_make_columns_nullable=0
still can make columns
Nullable
in Parquet/Arrow formats. The change was backward incompatible and users noticed the changes in the behaviour. This PR makes
schema_inference_make_columns_nullable=0
to work as before (no Nullable columns will be inferred) and introduces new value
auto
for this setting that will make columns
Nullable
only if data has information about nullability.
#68298
(
Kruglov Pavel
).
Fixes
#50868
. Small DateTime64 constant values returned by a nested subquery inside a distributed query were wrongly transformed to Nulls, thus causing errors and possible incorrect query results.
#68323
(
Shankar
).
Fix missing sync replica mode in query
SYSTEM SYNC REPLICA
.
#68326
(
Duc Canh Le
).
Fix bug in key condition.
#68354
(
Han Fei
).
Fix crash on drop or rename a role that is used in LDAP external user directory.
#68355
(
Andrey Zvonov
).
Fix Progress column value of system.view_refreshes greater than 1
#68377
.
#68378
(
megao
).
Process regexp flags correctly.
#68389
(
Han Fei
).
PostgreSQL-style cast operator (
::
) works correctly even for SQL-style hex and binary string literals (e.g.,
SELECT x'414243'::String
). This closes
#68324
.
#68482
(
Alexey Milovidov
).
Minor patch for https://github.com/ClickHouse/ClickHouse/pull/68131.
#68494
(
Chang chen
).
Fix
#68239
SAMPLE n where n is an integer.
#68499
(
Denis Hananein
).
Fix bug in mann-whitney-utest when the size of two districutions are not equal.
#68556
(
Han Fei
).
After unexpected restart, fail to start replication of ReplicatedMergeTree due to abnormal handling of covered-by-broken part.
#68584
(
baolin
).
Fix
LOGICAL_ERROR
s when functions
sipHash64Keyed
,
sipHash128Keyed
, or
sipHash128ReferenceKeyed
are applied to empty arrays or tuples.
#68630
(
Robert Schulze
).
Full text index may filter out wrong columns when index multiple columns, it didn't reset row_id between different columns, the reproduce procedure is in tests/queries/0_stateless/03228_full_text_with_multi_col.sql. Without this.
#68644
(
siyuan
). | {"source_file": "2024.md"} | [
0.022906064987182617,
-0.03530263155698776,
-0.03329198807477951,
-0.04518282413482666,
-0.026607051491737366,
0.014930742792785168,
-0.0640086680650711,
0.006256542634218931,
-0.03227822482585907,
0.02455603890120983,
0.01420873124152422,
0.020775023847818375,
-0.09688083827495575,
-0.042... |
e2c7a1a4-9201-48d0-a333-8958b1795ee0 | Fix invalid character '\t' and '\n' in replica_name when creating a Replicated table, which causes incorrect parsing of 'source replica' in LogEntry. Mentioned in issue
#68640
.
#68645
(
Zhigao Hong
).
Added back virtual columns
_table
and
_database
to distributed tables. They were available until version 24.3.
#68672
(
Anton Popov
).
Fix possible error
Size of permutation (0) is less than required (...)
during Variant column permutation.
#68681
(
Kruglov Pavel
).
Fix possible error
DB::Exception: Block structure mismatch in joined block stream: different columns:
with new JSON column.
#68686
(
Kruglov Pavel
).
Fix issue with materialized constant keys when hashing maps with arrays as keys in functions
sipHash(64/128)Keyed
.
#68731
(
Salvatore Mesoraca
).
Make
ColumnsDescription::toString
format each column using the same
IAST::FormatState object
. This results in uniform columns metadata being written to disk and ZooKeeper.
#68733
(
Miсhael Stetsyuk
).
Fix merging of aggregated data for grouping sets.
#68744
(
Nikolai Kochetov
).
Fix logical error, when we create a replicated merge tree, alter a column and then execute modify statistics.
#68820
(
Han Fei
).
Fix resolving dynamic subcolumns from subqueries in analyzer.
#68824
(
Kruglov Pavel
).
Fix complex types metadata parsing in DeltaLake. Closes
#68739
.
#68836
(
Kseniia Sumarokova
).
Fixed asynchronous inserts in case when metadata of table is changed (by
ALTER ADD/MODIFY COLUMN
queries) after insert but before flush to the table.
#68837
(
Anton Popov
).
Fix unexpected exception when passing empty tuple in array. This fixes
#68618
.
#68848
(
Amos Bird
).
Fix parsing pure metadata mutations commands.
#68935
(
János Benjamin Antal
).
Fix possible wrong result during anyHeavy state merge.
#68950
(
Raúl Marín
).
Fixed writing to Materialized Views with enabled setting
optimize_functions_to_subcolumns
.
#68951
(
Anton Popov
).
Don't use serializations cache in const Dynamic column methods. It could let to use-of-uninitialized value or even race condition during aggregations.
#68953
(
Kruglov Pavel
).
Fix parsing error when null should be inserted as default in some cases during JSON type parsing.
#68955
(
Kruglov Pavel
).
Fix
Content-Encoding
not sent in some compressed responses.
#64802
.
#68975
(
Konstantin Bogdanov
).
There were cases when path was concatenated incorrectly and had the
//
part in it, solving this problem using path normalization.
#69066
(
Yarik Briukhovetskyi
).
Fix logical error when we have empty async insert.
#69080
(
Han Fei
).
Fixed data race of progress indication in clickhouse-client during query canceling.
#69081
(
Sergei Trifonov
).
Fix a bug that the vector similarity index (currently experimental) was not utilized when used with cosine distance as distance function.
#69090
(
flynn
). | {"source_file": "2024.md"} | [
-0.05236953869462013,
-0.002181469928473234,
-0.06671761721372604,
-0.07330599427223206,
-0.062488000839948654,
-0.08794120699167252,
-0.039883289486169815,
0.026058223098516464,
0.015280676074326038,
0.0809967964887619,
0.06440388411283493,
-0.037317562848329544,
0.04141433909535408,
-0.0... |
8fd4ebbc-f267-422d-b345-fddcb8846251 | Fix a bug that the vector similarity index (currently experimental) was not utilized when used with cosine distance as distance function.
#69090
(
flynn
).
This change addresses an issue where attempting to create a Replicated database again after a server failure during the initial creation process could result in error.
#69102
(
Miсhael Stetsyuk
).
Don't infer Bool type from String in CSV when
input_format_csv_try_infer_numbers_from_strings = 1
because we don't allow reading bool values from strings.
#69109
(
Kruglov Pavel
).
Fix explain ast insert queries parsing errors on client when
--multiquery
is enabled.
#69123
(
wxybear
).
UNION
clause in subqueries wasn't handled correctly in queries with parallel replicas and lead to LOGICAL_ERROR
Duplicate announcement received for replica
.
#69146
(
Igor Nikonov
).
Fix propogating structure argument in s3Cluster. Previously the
DEFAULT
expression of the column could be lost when sending the query to the replicas in s3Cluster.
#69147
(
Kruglov Pavel
).
Respect format settings in Values format during conversion from expression to the destination type.
#69149
(
Kruglov Pavel
).
Fix
clickhouse-client --queries-file
for readonly users (previously fails with
Cannot modify 'log_comment' setting in readonly mode
).
#69175
(
Azat Khuzhin
).
Fix data race in clickhouse-client when it's piped to a process that terminated early.
#69186
(
vdimir
).
Fix incorrect results of Fix uniq and GROUP BY for JSON/Dynamic types.
#69203
(
Kruglov Pavel
).
Fix the INFILE format detection for asynchronous inserts. If the format is not explicitly defined in the FORMAT clause, it can be detected from the INFILE file extension.
#69237
(
Julia Kartseva
).
After
this issue
there are quite a few table replicas in production such that their
metadata_version
node value is both equal to
0
and is different from the respective table's
metadata
node version. This leads to
alter
queries failing on such replicas.
#69274
(
Miсhael Stetsyuk
).
Mark Dynamic type as not safe primary key type to avoid issues with Fields.
#69311
(
Kruglov Pavel
).
Improve restoring of access entities' dependencies.
#69346
(
Vitaly Baranov
).
Fix undefined behavior when all connection attempts fail getting a connection for insertions.
#69390
(
Pablo Marcos
).
Close
#69135
. If we try to reuse joined data for
cross
join, but this could not happen in ClickHouse at present. It's better to keep
have_compressed
in
reuseJoinedData
.
#69404
(
lgbo
).
Make
materialize()
function return full column when parameter is a sparse column.
#69429
(
Alexander Gololobov
).
Fixed a
LOGICAL_ERROR
with function
sqidDecode
(
#69450
).
#69451
(
Robert Schulze
).
Quick fix for s3queue problem on 24.6 or create query with database replicated.
#69454
(
Kseniia Sumarokova
). | {"source_file": "2024.md"} | [
-0.0825204998254776,
-0.01816941797733307,
-0.06629716604948044,
0.011275941506028175,
-0.06571122258901596,
-0.03163561597466469,
-0.04678976163268089,
-0.005159776192158461,
0.04221135005354881,
-0.017643125727772713,
0.01999538764357567,
-0.06670023500919342,
0.08733183890581131,
-0.044... |
aee38945-96b5-4f43-89d7-e8675173d85b | Quick fix for s3queue problem on 24.6 or create query with database replicated.
#69454
(
Kseniia Sumarokova
).
Fixed case when memory consumption was too high because of the squashing in
INSERT INTO ... SELECT
or
CREATE TABLE AS SELECT
queries.
#69469
(
Yarik Briukhovetskyi
).
Statements
SHOW COLUMNS
and
SHOW INDEX
now work properly if the table has dots in its name.
#69514
(
Salvatore Mesoraca
).
Usage of the query cache for queries with an overflow mode != 'throw' is now disallowed. This prevents situations where potentially truncated and incorrect query results could be stored in the query cache. (issue
#67476
).
#69549
(
Robert Schulze
).
Keep original order of conditions during move to prewhere. Previously the order could change and it could lead to failing queries when the order is important.
#69560
(
Kruglov Pavel
).
Fix Keeper multi-request preprocessing after ZNOAUTH error.
#69627
(
Antonio Andelic
).
Fix METADATA_MISMATCH that might have happened due to TTL with a WHERE clause in DatabaseReplicated when creating a new replica.
#69736
(
Nikolay Degterinsky
).
Fix
StorageS3(Azure)Queue
settings
tracked_file_ttl_sec
. We wrote it to keeper with key
tracked_file_ttl_sec
, but read as
tracked_files_ttl_sec
, which was a typo.
#69742
(
Kseniia Sumarokova
).
Use tryconvertfieldtotype in gethyperrectangleforrowgroup.
#69745
(
Miсhael Stetsyuk
).
Revert "Fix prewhere without columns and without adaptive index granularity (almost w/o anything)"'. Due to the reverted changes some errors might happen when reading data parts produced by old CH releases (presumably 2021 or older).
#68897
(
Alexander Gololobov
).
ClickHouse release 24.8 LTS, 2024-08-20 {#a-id248a-clickhouse-release-248-lts-2024-08-20}
Backward Incompatible Change {#backward-incompatible-change-4}
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
(
FFish
).
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
). | {"source_file": "2024.md"} | [
-0.007003954611718655,
0.0020417787600308657,
-0.04590034857392311,
0.007280909456312656,
-0.040402188897132874,
-0.02130139246582985,
0.011567608453333378,
-0.007393054664134979,
0.034872252494096756,
0.06419102102518082,
0.01822594180703163,
-0.034589678049087524,
0.08614896237850189,
-0... |
00b37209-e522-45c3-a2f4-f825e956d4db | 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
).
The system table
text_log
is enabled by default. This is fully compatible with previous versions, but you may notice subtly increased disk usage on the local disk (this system table takes a tiny amount of disk space).
#67428
(
Alexey Milovidov
).
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
).
Backported in
#68349
: Reimplement
Dynamic
type. Now when the limit of dynamic data types is reached new types are not cast to String but stored in a special data structure in binary format with binary encoded data type. Now any type ever inserted into
Dynamic
column can be read from it as subcolumn.
#68132
(
Kruglov Pavel
).
New Feature {#new-feature-4}
Added a new
MergeTree
setting
deduplicate_merge_projection_mode
to control the projections during merges (for specific engines) and
OPTIMIZE DEDUPLICATE
query. Supported options:
throw
(throw an exception in case the projection is not fully supported for *MergeTree engine),
drop
(remove projection during merge if it can't be merged itself consistently) and
rebuild
(rebuild projection from scratch, which is a heavy operation).
#66672
(
jsc0218
).
Add
_etag
virtual column for S3 table engine. Fixes
#65312
.
#65386
(
skyoct
).
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
).
Support more variants of JOIN strictness (
LEFT/RIGHT SEMI/ANTI/ANY JOIN
) with inequality conditions which involve columns from both left and right table. e.g.
t1.y < t2.y
(see the setting
allow_experimental_join_condition
).
#64281
(
lgbo
). | {"source_file": "2024.md"} | [
0.06944504380226135,
-0.03068658709526062,
-0.058775387704372406,
0.005748406518250704,
-0.036151222884655,
-0.10737591236829758,
0.07207222282886505,
0.04415082186460495,
-0.005748228169977665,
0.06173647567629814,
0.07890878617763519,
-0.007227190770208836,
0.02645421214401722,
0.0140342... |
724d3d01-0af4-434c-b352-90e4c5390213 | Interpret 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 (but you can use the existing
format
function).
#66257
(
李扬
).
Add options
restore_replace_external_engines_to_null
and
restore_replace_external_table_functions_to_null
to replace external engines and table_engines to
Null
engine that can be useful for testing. It should work for RESTORE and explicit table creation.
#66536
(
Ilya Yatsishin
).
Added support for reading
MULTILINESTRING
geometry in
WKT
format using function
readWKTLineString
.
#67647
(
Jacob Reckhard
).
Add a new table function
fuzzQuery
. This function allows the modification of a given query string with random variations. Example:
SELECT query FROM fuzzQuery('SELECT 1') LIMIT 5;
.
#67655
(
pufit
).
Add a query
ALTER TABLE ... DROP DETACHED PARTITION ALL
to drop all detached partitions.
#67885
(
Duc Canh Le
).
Add the
rows_before_aggregation_at_least
statistic to the query response when a new setting,
rows_before_aggregation
is enabled. This statistic represents the number of rows read before aggregation. In the context of a distributed query, when using the
group by
or
max
aggregation function without a
limit
,
rows_before_aggregation_at_least
can reflect the number of rows hit by the query.
#66084
(
morning-color
).
Support
OPTIMIZE
query on
Join
tables to reduce their memory footprint.
#67883
(
Duc Canh Le
).
Allow run query instantly in play if you add
&run=1
in the URL
#66457
(
Aleksandr Musorin
).
Experimental Feature {#experimental-feature-3}
Implement a new
JSON
data type.
#66444
(
Kruglov Pavel
).
Add the new
TimeSeries
table engine.
#64183
(
Vitaly Baranov
).
Add new experimental
Kafka
storage engine to store offsets in Keeper instead of relying on committing them to Kafka. It makes the commit to ClickHouse tables atomic with regard to consumption from the queue.
#57625
(
János Benjamin Antal
).
Use adaptive read task size calculation method (adaptive meaning it depends on read column sizes) for parallel replicas.
#60377
(
Nikita Taranov
).
Added statistics type
count_min
(count-min sketches) which provide selectivity estimations for equality predicates like
col = 'val'
. Supported data types are string, date, datatime and numeric types.
#65521
(
JackyWoo
).
Performance Improvement {#performance-improvement-4}
Setting
optimize_functions_to_subcolumns
is enabled by default.
#68053
(
Anton Popov
). | {"source_file": "2024.md"} | [
-0.04893280938267708,
-0.03154965862631798,
0.0015988228842616081,
-0.013909419067203999,
-0.01755247265100479,
-0.04757462069392204,
-0.01104643288999796,
0.006631557364016771,
-0.1080772653222084,
0.05233500525355339,
-0.016147200018167496,
-0.02392880991101265,
-0.011791614815592766,
-0... |
44595cc5-bb08-4a67-b795-50b813150ef6 | Performance Improvement {#performance-improvement-4}
Setting
optimize_functions_to_subcolumns
is enabled by default.
#68053
(
Anton Popov
).
Store the
plain_rewritable
disk directory metadata in
__meta
layout, separately from the merge tree data in the object storage. Move the
plain_rewritable
disk to a flat directory structure.
#65751
(
Julia Kartseva
).
Improve columns squashing (an operation happening in INSERT queries) for
String
/
Array
/
Map
/
Variant
/
Dynamic
types by reserving required memory in advance for all subcolumns.
#67043
(
Kruglov Pavel
).
Speed up
SYSTEM FLUSH LOGS
and flush logs on shutdown.
#67472
(
Sema Checherinda
).
Improved overall performance of merges by reducing the overhead of the scheduling steps of merges.
#68016
(
Anton Popov
).
Speed up tables removal for
DROP DATABASE
query, increased the default value for
database_catalog_drop_table_concurrency
to 16.
#67228
(
Nikita Mikhaylov
).
Avoid allocating too much capacity for array column while writing ORC. Performance speeds up 15% for an Array column.
#67879
(
李扬
).
Speed up mutations for non-replicated MergeTree significantly
#66911
#66909
(
Alexey Milovidov
).
Improvement {#improvement-4}
Setting
allow_experimental_analyzer
is renamed to
enable_analyzer
. The old name is preserved in a form of an alias. This signifies that Analyzer is no longer in beta and is fully promoted to production.
#66438
(
Nikita Mikhaylov
).
Improve schema inference of date times. Now DateTime64 used only when date time has fractional part, otherwise regular DateTime is used. Inference of Date/DateTime is more strict now, especially when
date_time_input_format='best_effort'
to avoid inferring date times from strings in corner cases.
#68382
(
Kruglov Pavel
).
ClickHouse server now supports new setting
max_keep_alive_requests
. For keep-alive HTTP connections to the server it works in tandem with
keep_alive_timeout
- if idle timeout not expired but there already more than
max_keep_alive_requests
requests done through the given connection - it will be closed by the server.
#61793
(
Nikita Taranov
).
Various improvements in the advanced dashboard. This closes
#67697
. This closes
#63407
. This closes
#51129
. This closes
#61204
.
#67701
(
Alexey Milovidov
).
Do not require a grant for REMOTE when creating a Distributed table: a grant for the Distributed engine is enough.
#65419
(
jsc0218
).
Do not pass logs for keeper explicitly in the Docker image to allow overriding.
#65564
(
Azat Khuzhin
).
Introduced
use_same_password_for_base_backup
settings for
BACKUP
and
RESTORE
queries, allowing to create and restore incremental backups to/from password protected archives.
#66214
(
Samuele
).
Ignore
async_load_databases
for
ATTACH
query (previously it was possible for ATTACH to return before the tables had been attached).
#66240
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
0.017300568521022797,
0.009164398536086082,
-0.04656001552939415,
-0.00011259455641265959,
-0.023289131000638008,
-0.10256322473287582,
-0.0755959004163742,
0.06612212210893631,
-0.02967149391770363,
0.028362799435853958,
0.036008164286613464,
0.0456266924738884,
-0.03563956916332245,
-0.0... |
6f2bb942-05ab-4035-8c49-48e73d9cc1c7 | Ignore
async_load_databases
for
ATTACH
query (previously it was possible for ATTACH to return before the tables had been attached).
#66240
(
Azat Khuzhin
).
Added logs and metrics for rejected connections (where there are not enough resources).
#66410
(
Alexander Tokmakov
).
Support proper
UUID
type for MongoDB engine.
#66671
(
Azat Khuzhin
).
Add replication lag and recovery time metrics.
#66703
(
Miсhael Stetsyuk
).
Add
DiskS3NoSuchKeyErrors
metric.
#66704
(
Miсhael Stetsyuk
).
Ensure the
COMMENT
clause works for all table engines.
#66832
(
Joe Lynch
).
Function
mapFromArrays
now accepts
Map(K, V)
as first argument, for example:
SELECT mapFromArrays(map('a', 4, 'b', 4), ['aa', 'bb'])
now works and returns
{('a',4):'aa',('b',4):'bb'}
. Also, if the 1st argument is an Array, it can now also be of type
Array(Nullable(T))
or
Array(LowCardinality(Nullable(T)))
as long as the actual array values are not
NULL
.
#67103
(
李扬
).
Read configuration for
clickhouse-local
from
~/.clickhouse-local
.
#67135
(
Azat Khuzhin
).
Rename setting
input_format_orc_read_use_writer_time_zone
to
input_format_orc_reader_timezone
and allow the user to set the reader timezone.
#67175
(
kevinyhzou
).
Decrease level of the
Socket is not connected
error when HTTP connection immediately reset by peer after connecting, close
#34218
.
#67177
(
vdimir
).
Add ability to load dashboards for
system.dashboards
from config (once set, they overrides the default dashboards preset).
#67232
(
Azat Khuzhin
).
The window functions in SQL are traditionally in snake case. ClickHouse uses
camelCase
, so new aliases
denseRank()
and
percentRank()
have been created. These new functions can be called the exact same as the original
dense_rank()
and
percent_rank()
functions. Both snake case and camelCase syntaxes remain usable. A new test for each of the functions has been added as well. This closes
#67042
.
#67334
(
Peter Nguyen
).
Autodetect configuration file format if is not
.xml
,
.yml
or
.yaml
. If the file begins with < it might be XML, otherwise it might be YAML. It is useful when providing a configuration file from a pipe:
clickhouse-server --config-file <(echo "hello: world")
.
#67391
(
sakulali
).
Functions
formatDateTime
and
formatDateTimeInJodaSyntax
now treat their format parameter as optional. If it is not specified, format strings
%Y-%m-%d %H:%i:%s
and
yyyy-MM-dd HH:mm:ss
are assumed. Example:
SELECT parseDateTime('2021-01-04 23:12:34')
now returns DateTime value
2021-01-04 23:12:34
(previously, this threw an exception).
#67399
(
Robert Schulze
).
Automatically retry Keeper requests in KeeperMap if they happen because of timeout or connection loss.
#67448
(
Antonio Andelic
).
Add
-no-pie
to Aarch64 Linux builds to allow proper introspection and symbolizing of stacktraces after a ClickHouse restart.
#67916
(
filimonov
). | {"source_file": "2024.md"} | [
0.03394458815455437,
-0.020003898069262505,
-0.042582351714372635,
0.0815979391336441,
-0.06356505304574966,
-0.039535827934741974,
0.004823451861739159,
-0.05936017632484436,
-0.007334614638239145,
0.04818793386220932,
0.007002652622759342,
-0.060646455734968185,
0.02144109271466732,
-0.0... |
4e8ec1d8-adf9-424d-80a4-342fa2f10591 | Add
-no-pie
to Aarch64 Linux builds to allow proper introspection and symbolizing of stacktraces after a ClickHouse restart.
#67916
(
filimonov
).
Added profile events for merges and mutations for better introspection.
#68015
(
Anton Popov
).
Remove unnecessary logs for non-replicated
MergeTree
.
#68238
(
Daniil Ivanik
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-1}
Integration tests flaky check will not run each test case multiple times to find more issues in tests and make them more reliable. It is using
pytest-repeat
library to run test case multiple times for the same environment. It is important to cleanup tables and other entities in the end of a test case to pass. Repeating works much faster than several pytest runs as it starts necessary containers only once.
#66986
(
Ilya Yatsishin
).
Unblock the usage of CLion with ClickHouse. In previous versions, CLion freezed for a minute on every keypress. This closes
#66994
.
#66995
(
Alexey Milovidov
).
getauxval: avoid a crash under a sanitizer re-exec due to high ASLR entropy in newer Linux kernels.
#67081
(
Raúl Marín
).
Some parts of client code are extracted to a single file and highest possible level optimization is applied to them even for debug builds. This closes:
#65745
.
#67215
(
Nikita Mikhaylov
).
Bug Fix {#bug-fix}
Only relevant to the experimental Variant data type. Fix crash with Variant + AggregateFunction type.
#67122
(
Kruglov Pavel
).
Fix crash in DistributedAsyncInsert when connection is empty.
#67219
(
Pablo Marcos
).
Fix crash of
uniq
and
uniqTheta
with
tuple()
argument. Closes
#67303
.
#67306
(
flynn
).
Fixes
#66026
. Avoid unresolved table function arguments traversal in
ReplaceTableNodeToDummyVisitor
.
#67522
(
Dmitry Novik
).
Fix potential stack overflow in
JSONMergePatch
function. Renamed this function from
jsonMergePatch
to
JSONMergePatch
because the previous name was wrong. The previous name is still kept for compatibility. Improved diagnostic of errors in the function. This closes
#67304
.
#67756
(
Alexey Milovidov
).
Fixed a NULL pointer dereference, triggered by a specially crafted query, that crashed the server via hopEnd, hopStart, tumbleEnd, and tumbleStart.
#68098
(
Salvatore Mesoraca
).
Fixed
Not-ready Set
in some system tables when filtering using subqueries.
#66018
(
Michael Kolupaev
).
Fixed reading of subcolumns after
ALTER ADD COLUMN
query.
#66243
(
Anton Popov
).
Fix boolean literals in query sent to external database (for engines like
PostgreSQL
).
#66282
(
vdimir
).
Fix formatting of query with aliased JOIN ON expression, e.g.
... JOIN t2 ON (x = y) AS e ORDER BY x
should be formatted as
... JOIN t2 ON ((x = y) AS e) ORDER BY x
.
#66312
(
vdimir
).
Fix cluster() for inter-server secret (preserve initial user as before).
#66364
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
0.007219698745757341,
-0.04391363635659218,
0.012362873181700706,
-0.050740551203489304,
-0.015674589201807976,
-0.10549619793891907,
-0.028211481869220734,
0.04599512740969658,
0.0049305749125778675,
-0.0071075777523219585,
0.058443766087293625,
0.0021121909376233816,
-0.01616314798593521,
... |
ec8aeced-e6c9-4309-8c7c-bd7611040684 | Fix cluster() for inter-server secret (preserve initial user as before).
#66364
(
Azat Khuzhin
).
Fix possible runtime error while converting Array field with nulls to Array(Variant).
#66727
(
Kruglov Pavel
).
Fix for occasional deadlock in Context::getDDLWorker.
#66843
(
Alexander Gololobov
).
Fix creating KeeperMap table after an incomplete drop.
#66865
(
Antonio Andelic
).
Fix broken part error while restoring to a
s3_plain_rewritable
disk.
#66881
(
Vitaly Baranov
).
In rare cases ClickHouse could consider parts as broken because of some unexpected projections on disk. Now it's fixed.
#66898
(
alesapin
).
Fix invalid format detection in schema inference that could lead to logical error Format {} doesn't support schema inference.
#66899
(
Kruglov Pavel
).
Fix possible deadlock on query cancel with parallel replicas.
#66905
(
Nikita Taranov
).
Forbid create as select even when database_replicated_allow_heavy_create is set. It was unconditionally forbidden in 23.12 and accidentally allowed under the setting in unreleased 24.7.
#66980
(
vdimir
).
Reading from the
numbers
could wrongly throw an exception when the
max_rows_to_read
limit was set. This closes
#66992
.
#66996
(
Alexey Milovidov
).
Add proper type conversion to lagInFrame and leadInFrame window functions - fixes msan test.
#67091
(
Yakov Olkhovskiy
).
TRUNCATE DATABASE used to stop replication as if it was a DROP DATABASE query, it's fixed.
#67129
(
Alexander Tokmakov
).
Use a separate client context in
clickhouse-local
.
#67133
(
Vitaly Baranov
).
Fix error
Cannot convert column because it is non constant in source stream but must be constant in result.
for a query that reads from the
Merge
table over the
Distriburted
table with one shard.
#67146
(
Nikolai Kochetov
).
Correct behavior of
ORDER BY all
with disabled
enable_order_by_all
and parallel replicas (distributed queries as well).
#67153
(
Igor Nikonov
).
Fix wrong usage of input_format_max_bytes_to_read_for_schema_inference in schema cache.
#67157
(
Kruglov Pavel
).
Fix the memory leak for count distinct, when exception issued during group by single nullable key.
#67171
(
Jet He
).
Fix an error in optimization which converts OUTER JOIN to INNER JOIN. This closes
#67156
. This closes
#66447
. The bug was introduced in https://github.com/ClickHouse/ClickHouse/pull/62907.
#67178
(
Maksim Kita
).
Fix error
Conversion from AggregateFunction(name, Type) to AggregateFunction(name, Nullable(Type)) is not supported
. The bug was caused by the
optimize_rewrite_aggregate_function_with_if
optimization. Fixes
#67112
.
#67229
(
Nikolai Kochetov
).
Fix hung query when using empty tuple as lhs of function IN.
#67295
(
Duc Canh Le
).
It was possible to create a very deep nested JSON data that triggered stack overflow while skipping unknown fields. This closes
#67292
.
#67324
(
Alexey Milovidov
). | {"source_file": "2024.md"} | [
-0.058632247149944305,
-0.03764389455318451,
-0.009033617563545704,
-0.0017373603768646717,
0.04145008325576782,
-0.04082441329956055,
-0.015564466826617718,
-0.04767794534564018,
-0.024361353367567062,
0.06584680825471878,
0.06598860770463943,
-0.011965177021920681,
0.052343811839818954,
... |
ea525160-7a34-4f12-8299-f42c0e176e0d | It was possible to create a very deep nested JSON data that triggered stack overflow while skipping unknown fields. This closes
#67292
.
#67324
(
Alexey Milovidov
).
Fix attaching ReplicatedMergeTree table after exception during startup.
#67360
(
Antonio Andelic
).
Fix segfault caused by incorrectly detaching from thread group in
Aggregator
.
#67385
(
Antonio Andelic
).
Fix one more case when a non-deterministic function is specified in PK.
#67395
(
Nikolai Kochetov
).
Fixed
bloom_filter
index breaking queries with mildly weird conditions like
(k=2)=(k=2)
or
has([1,2,3], k)
.
#67423
(
Michael Kolupaev
).
Correctly parse file name/URI containing
::
if it's not an archive.
#67433
(
Antonio Andelic
).
Fix wait for tasks in ~WriteBufferFromS3 in case WriteBuffer was cancelled.
#67459
(
Kseniia Sumarokova
).
Protect temporary part directories from removing during RESTORE.
#67491
(
Vitaly Baranov
).
Fix execution of nested short-circuit functions.
#67520
(
Kruglov Pavel
).
Fix
Logical error: Expected the argument №N of type T to have X rows, but it has 0
. The error could happen in a remote query with constant expression in
GROUP BY
(with a new analyzer).
#67536
(
Nikolai Kochetov
).
Fix join on tuple with NULLs: Some queries with the new analyzer and
NULL
inside the tuple in the
JOIN ON
section returned incorrect results.
#67538
(
vdimir
).
Fix redundant reschedule of FileCache::freeSpaceRatioKeepingThreadFunc() in case of full non-evictable cache.
#67540
(
Kseniia Sumarokova
).
Fix inserting into stream like engines (Kafka, RabbitMQ, NATS) through HTTP interface.
#67554
(
János Benjamin Antal
).
Fix for function
toStartOfWeek
which returned the wrong result with a small
DateTime64
value.
#67558
(
Yarik Briukhovetskyi
).
Fix creation of view with recursive CTE.
#67587
(
Yakov Olkhovskiy
).
Fix
Logical error: 'file_offset_of_buffer_end <= read_until_position'
in filesystem cache. Closes
#57508
.
#67623
(
Kseniia Sumarokova
).
Fixes
#62282
. Removed the call to
convertFieldToString()
and added datatype specific serialization code. Parameterized view substitution was broken for multiple datatypes when parameter value was a function or expression returning datatype instance.
#67654
(
Shankar
).
Fix crash on
percent_rank
.
percent_rank
's default frame type is changed to
range unbounded preceding and unbounded following
.
IWindowFunction
's default window frame is considered and now window functions without window frame definition in sql can be put into different
WindowTransfomer
s properly.
#67661
(
lgbo
).
Fix reloading SQL UDFs with UNION. Previously, restarting the server could make UDF invalid.
#67665
(
Antonio Andelic
).
Fix possible logical error "Unexpected return type from if" with experimental Variant type and enabled setting
use_variant_as_common_type
in function if with Tuples and Maps.
#67687
(
Kruglov Pavel
). | {"source_file": "2024.md"} | [
-0.11136613041162491,
0.06662160158157349,
0.04169128090143204,
0.002553379163146019,
0.014255184680223465,
-0.11086694896221161,
-0.05693423002958298,
-0.04649180546402931,
0.009304244071245193,
0.014119505882263184,
0.018129970878362656,
0.018232719972729683,
0.01019533071666956,
-0.0854... |
662dc761-d6f5-4191-832d-0dacc04eb75e | Due to a bug in Linux Kernel, a query can hung in
TimerDescriptor::drain
. This closes
#37686
.
#67702
(
Alexey Milovidov
).
Fix completion of
RESTORE ON CLUSTER
command.
#67720
(
Vitaly Baranov
).
Fix dictionary hang in case of CANNOT_SCHEDULE_TASK while loading.
#67751
(
Azat Khuzhin
).
Queries like
SELECT count() FROM t WHERE cast(c = 1 or c = 9999 AS Bool) SETTINGS use_skip_indexes=1
with bloom filter indexes on
c
now work correctly.
#67781
(
jsc0218
).
Fix wrong aggregation result in some queries with aggregation without keys and filter, close
#67419
.
#67804
(
vdimir
).
Validate experimental/suspicious data types in ALTER ADD/MODIFY COLUMN.
#67911
(
Kruglov Pavel
).
Fix DateTime64 parsing after constant folding in distributed queries, close
#66773
.
#67920
(
vdimir
).
Fix wrong
count()
result when there is non-deterministic function in predicate.
#67922
(
János Benjamin Antal
).
Fixed the calculation of the maximum thread soft limit in containerized environments where the usable CPU count is limited.
#67963
(
Robert Schulze
).
Now ClickHouse doesn't consider part as broken if projection doesn't exist on disk but exists in
checksums.txt
.
#68003
(
alesapin
).
Fixed skipping of untouched parts in mutations with new analyzer. Previously with enabled analyzer data in part could be rewritten by mutation even if mutation doesn't affect this part according to predicate.
#68052
(
Anton Popov
).
Removes an incorrect optimization to remove sorting in subqueries that use
OFFSET
. Fixes
#67906
.
#68099
(
Graham Campbell
).
Attempt to fix
Block structure mismatch in AggregatingStep stream: different types
for aggregate projection optimization.
#68107
(
Nikolai Kochetov
).
Try fix postgres crash when query is cancelled.
#68288
(
Kseniia Sumarokova
).
Fix missing sync replica mode in query
SYSTEM SYNC REPLICA
.
#68326
(
Duc Canh Le
).
ClickHouse release 24.7, 2024-07-30 {#a-id247a-clickhouse-release-247-2024-07-30}
Backward Incompatible Change {#backward-incompatible-change-5}
Forbid
CRATE MATERIALIZED VIEW ... ENGINE Replicated*MergeTree POPULATE AS SELECT ...
with Replicated databases.
#63963
(
vdimir
).
clickhouse-keeper-client
will only accept paths in string literals, such as
ls '/hello/world'
, not bare strings such as
ls /hello/world
.
#65494
(
Alexey Milovidov
).
Metric
KeeperOutstandingRequets
was renamed to
KeeperOutstandingRequests
.
#66206
(
Robert Schulze
).
Remove
is_deterministic
field from the
system.functions
table.
#66630
(
Alexey Milovidov
).
Function
tuple
will now try to construct named tuples in query (controlled by
enable_named_columns_in_function_tuple
). Introduce function
tupleNames
to extract names from tuples.
#54881
(
Amos Bird
). | {"source_file": "2024.md"} | [
-0.002605883404612541,
-0.01944173499941826,
0.006657968740910292,
0.09012584388256073,
0.019275302067399025,
-0.0032345738727599382,
-0.046711958944797516,
0.00943151768296957,
0.032123785465955734,
0.015917791053652763,
0.006467380560934544,
-0.04441393166780472,
-0.028591781854629517,
-... |
112ae9e3-c105-40f6-8e8e-5ec3025c5a87 | Change how deduplication for Materialized Views works. Fixed a lot of cases like: - on destination table: data is split for 2 or more blocks and that blocks is considered as duplicate when that block is inserted in parallel. - on MV destination table: the equal blocks are deduplicated, that happens when MV often produces equal data as a result for different input data due to performing aggregation. - on MV destination table: the equal blocks which comes from different MV are deduplicated.
#61601
(
Sema Checherinda
).
Functions
bitShiftLeft
and
bitShitfRight
return an error for out of bounds shift positions
#65838
(
Pablo Marcos
).
New Feature {#new-feature-5}
Add
ASOF JOIN
support for
full_sorting_join
algorithm.
#55051
(
vdimir
).
Support JWT authentication in
clickhouse-client
(will be available only in ClickHouse Cloud).
#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
).
Introduce startup scripts, which allow the execution of preconfigured queries at the startup stage.
#64889
(
pufit
).
Support accept_invalid_certificate in client's config in order to allow for client to connect over secure TCP to a server running with self-signed certificate - can be used as a shorthand for corresponding
openSSL
client settings
verificationMode=none
+
invalidCertificateHandler.name=AcceptCertificateHandler
.
#65238
(
peacewalker122
).
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
).
Introduce
logger.console_log_level
server config to control the log level to the console (if enabled).
#65559
(
Azat Khuzhin
).
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
).
Make an interactive client for clickhouse-disks, add local disk from the local directory.
#64446
(
Daniil Ivanik
).
When lightweight delete happens on a table with projection(s), users have choices either throw an exception (by default) or drop the projection
#65594
(
jsc0218
).
Add system tables with main information about all detached tables.
#65400
(
Konstantin Morozov
).
Experimental Feature {#experimental-feature-4} | {"source_file": "2024.md"} | [
-0.06468566507101059,
-0.07148176431655884,
0.04986640438437462,
-0.02013337053358555,
-0.05980398505926132,
-0.04407805576920509,
-0.031060034409165382,
-0.054098132997751236,
-0.01628468558192253,
0.011253484524786472,
0.02616286836564541,
-0.03425527736544609,
0.057500358670949936,
-0.0... |
d1b7706b-b271-463a-a023-ba0a49398e82 | Add system tables with main information about all detached tables.
#65400
(
Konstantin Morozov
).
Experimental Feature {#experimental-feature-4}
Change binary serialization of the
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 is ok.
#62774
(
Kruglov Pavel
).
Support on-disk backend storage for clickhouse-keeper.
#56626
(
Han Fei
).
Refactor JSONExtract functions, support more types including experimental Dynamic type.
#66046
(
Kruglov Pavel
).
Support null map subcolumn for
Variant
and
Dynamic
subcolumns.
#66178
(
Kruglov Pavel
).
Fix reading
Dynamic
subcolumns from altered
Memory
table. Previously if
max_types
parameter of a Dynamic type was changed in Memory table via alter, further subcolumns reading can return wrong result.
#66066
(
Kruglov Pavel
).
Add support for
cluster_for_parallel_replicas
when using custom key parallel replicas. It allows you to use parallel replicas with custom key with MergeTree tables.
#65453
(
Antonio Andelic
).
Performance Improvement {#performance-improvement-5}
Replace int to string algorithm with a faster one (from a modified amdn/itoa to a modified jeaiii/itoa).
#61661
(
Raúl Marín
).
Sizes of hash tables created by join (
parallel_hash
algorithm) are collected and cached now. This information will be used to preallocate space in hash tables for subsequent query executions and save time on hash table resizes.
#64553
(
Nikita Taranov
).
Optimized queries with
ORDER BY
primary key and
WHERE
that have a condition with high selectivity by using buffering. It is controlled by setting
read_in_order_use_buffering
(enabled by default) and can increase memory usage of query.
#64607
(
Anton Popov
).
Improve performance of loading
plain_rewritable
metadata.
#65634
(
Alexey Milovidov
).
Attaching tables on read-only disks will use fewer resources by not loading outdated parts.
#65635
(
Alexey Milovidov
).
Support minmax hyperrectangle for Set indices.
#65676
(
AntiTopQuark
).
Unload primary index of outdated parts to reduce total memory usage.
#65852
(
Anton Popov
).
Functions
replaceRegexpAll
and
replaceRegexpOne
are now significantly faster if the pattern is trivial, i.e. contains no metacharacters, pattern classes, flags, grouping characters etc. (Thanks to Taiyang Li).
#66185
(
Robert Schulze
).
s3 requests: Reduce retry time for queries, increase retries count for backups. 8.5 minutes and 100 retires for queries, 1.2 hours and 1000 retries for backup restore.
#65232
(
Sema Checherinda
).
Support query plan LIMIT optimization. Support LIMIT pushdown for PostgreSQL storage and table function.
#65454
(
Maksim Kita
). | {"source_file": "2024.md"} | [
0.030570905655622482,
-0.04272328317165375,
-0.026969309896230698,
0.028585724532604218,
-0.053460314869880676,
-0.0296955406665802,
-0.03482121601700783,
0.10796608775854111,
-0.0808291807770729,
0.010895837098360062,
0.031097274273633957,
0.00410869438201189,
0.009436698630452156,
0.0131... |
3804520d-e258-4937-b129-110ba2036cb1 | Support query plan LIMIT optimization. Support LIMIT pushdown for PostgreSQL storage and table function.
#65454
(
Maksim Kita
).
Improved ZooKeeper load balancing. The current session doesn't expire until the optimal nodes become available despite
fallback_session_lifetime
. Added support for AZ-aware balancing.
#65570
(
Alexander Tokmakov
).
DatabaseCatalog drops tables faster by using up to database_catalog_drop_table_concurrency threads.
#66065
(
Sema Checherinda
).
Improvement {#improvement-5}
Improved ZooKeeper load balancing. The current session doesn't expire until the optimal nodes become available despite
fallback_session_lifetime
. Added support for AZ-aware balancing.
#65570
(
Alexander Tokmakov
).
The setting
optimize_trivial_insert_select
is disabled by default. In most cases, it should be beneficial. Nevertheless, if you are seeing slower INSERT SELECT or increased memory usage, you can enable it back or
SET compatibility = '24.6'
.
#58970
(
Alexey Milovidov
).
Print stacktrace and diagnostic info if
clickhouse-client
or
clickhouse-local
crashes.
#61109
(
Alexander Tokmakov
).
The result of
SHOW INDEX | INDEXES | INDICES | KEYS
was previously sorted by the primary key column names. Since this was unintuitive, the result is now sorted by the position of the primary key columns within the primary key.
#61131
(
Robert Schulze
).
Change how deduplication for Materialized Views works. Fixed a lot of cases like: - on destination table: data is split for 2 or more blocks and that blocks is considered as duplicate when that block is inserted in parallel. - on MV destination table: the equal blocks are deduplicated, that happens when MV often produces equal data as a result for different input data due to performing aggregation. - on MV destination table: the equal blocks which comes from different MV are deduplicated.
#61601
(
Sema Checherinda
).
Support reading partitioned data DeltaLake data. Infer DeltaLake schema by reading metadata instead of data.
#63201
(
Kseniia Sumarokova
).
In composable protocols TLS layer accepted only
certificateFile
and
privateKeyFile
parameters. https://clickhouse.com/docs/operations/settings/composable-protocols.
#63985
(
Anton Ivashkin
).
Added profile event
SelectQueriesWithPrimaryKeyUsage
which indicates how many SELECT queries use the primary key to evaluate the WHERE clause.
#64492
(
0x01f
). | {"source_file": "2024.md"} | [
-0.03963668644428253,
-0.003993043676018715,
-0.03558771312236786,
0.0795331597328186,
-0.02649415098130703,
-0.05299117788672447,
-0.010248089209198952,
0.034512802958488464,
-0.02886972203850746,
0.10250207781791687,
-0.0465318039059639,
0.0443590022623539,
0.00023476211936213076,
-0.026... |
3a6dd236-14ce-4e7c-8a58-de0f455816d2 | Added profile event
SelectQueriesWithPrimaryKeyUsage
which indicates how many SELECT queries use the primary key to evaluate the WHERE clause.
#64492
(
0x01f
).
StorageS3Queue
related fixes and improvements. Deduce a default value of
s3queue_processing_threads_num
according to the number of physical cpu cores on the server (instead of the previous default value as 1). Set default value of
s3queue_loading_retries
to 10. Fix possible vague "Uncaught exception" in exception column of
system.s3queue
. Do not increment retry count on
MEMORY_LIMIT_EXCEEDED
exception. Move files commit to a stage after insertion into table fully finished to avoid files being commited while not inserted. Add settings
s3queue_max_processed_files_before_commit
,
s3queue_max_processed_rows_before_commit
,
s3queue_max_processed_bytes_before_commit
,
s3queue_max_processing_time_sec_before_commit
, to better control commit and flush time.
#65046
(
Kseniia Sumarokova
).
Support aliases in parametrized view function (only new analyzer).
#65190
(
Kseniia Sumarokova
).
Updated to mask account key in logs in azureBlobStorage.
#65273
(
SmitaRKulkarni
).
Partition pruning for
IN
predicates when filter expression is a part of
PARTITION BY
expression.
#65335
(
Eduard Karacharov
).
arrayMin
/
arrayMax
can be applicable to all data types that are comparable.
#65455
(
pn
).
Improved memory accounting for cgroups v2 to exclude the amount occupied by the page cache.
#65470
(
Nikita Taranov
).
Do not create format settings for each row when serializing chunks to insert to EmbeddedRocksDB table.
#65474
(
Duc Canh Le
).
Reduce
clickhouse-local
prompt to just
:)
.
getFQDNOrHostName()
takes too long on macOS, and we don't want a hostname in the prompt for
clickhouse-local
anyway.
#65510
(
Konstantin Bogdanov
).
Avoid printing a message from jemalloc about per-CPU arenas on low-end virtual machines.
#65532
(
Alexey Milovidov
).
Disable filesystem cache background download by default. It will be enabled back when we fix the issue with possible "Memory limit exceeded" because memory deallocation is done outside of query context (while buffer is allocated inside of query context) if we use background download threads. Plus we need to add a separate setting to define max size to download for background workers (currently it is limited by max_file_segment_size, which might be too big).
#65534
(
Kseniia Sumarokova
).
Add new option to config
<config_reload_interval_ms>
which allow to specify how often clickhouse will reload config.
#65545
(
alesapin
).
Implement binary encoding for ClickHouse data types and add its specification in docs. Use it in Dynamic binary serialization, allow to use it in RowBinaryWithNamesAndTypes and Native formats under settings.
#65546
(
Kruglov Pavel
). | {"source_file": "2024.md"} | [
0.009736508131027222,
-0.07630389928817749,
-0.09573499113321304,
0.04436635226011276,
0.004715174902230501,
-0.004198314156383276,
0.01758493296802044,
0.04438575729727745,
0.0068391114473342896,
0.06156887114048004,
0.02301248162984848,
-0.024308932945132256,
0.08804009109735489,
-0.0964... |
56aa2431-3ce0-4043-982f-8eb40258fdb5 | Server settings
compiled_expression_cache_size
and
compiled_expression_cache_elements_size
are now shown in
system.server_settings
.
#65584
(
Robert Schulze
).
Add support for user identification based on x509 SubjectAltName extension.
#65626
(
Anton Kozlov
).
clickhouse-local
will respect the
max_server_memory_usage
and
max_server_memory_usage_to_ram_ratio
from the configuration file. It will also set the max memory usage to 90% of the system memory by default, like
clickhouse-server
does.
#65697
(
Alexey Milovidov
).
Add a script to backup your files to ClickHouse.
#65699
(
Alexey Milovidov
).
PostgreSQL source to support query cancellations.
#65722
(
Maksim Kita
).
Make
allow_experimental_analyzer
be controlled by the initiator for distributed queries. This ensures compatibility and correctness during operations in mixed version clusters.
#65777
(
Nikita Mikhaylov
).
Respect cgroup CPU limit in Keeper.
#65819
(
Antonio Andelic
).
Allow to use
concat
function with empty arguments
:) select concat();
.
#65887
(
李扬
).
Allow controlling named collections in
clickhouse-local
.
#65973
(
Alexey Milovidov
).
Improve Azure-related profile events.
#65999
(
alesapin
).
Support ORC file read by writer's time zone.
#66025
(
kevinyhzou
).
Add settings to control connections to PostgreSQL. The setting
postgresql_connection_attempt_timeout
specifies the value passed to
connect_timeout
parameter of connection URL. The setting
postgresql_connection_pool_retries
specifies the number of retries to establish a connection to the PostgreSQL end-point.
#66232
(
Dmitry Novik
).
Reduce inaccuracy of
input_wait_elapsed_us
/
elapsed_us
in the
system.processors_profile_log
.
#66239
(
Azat Khuzhin
).
Improve ProfileEvents for the filesystem cache.
#66249
(
zhukai
).
Add settings to ignore the
ON CLUSTER
clause in queries for named collection management with the replicated storage.
#66288
(
MikhailBurdukov
).
Function
generateSnowflakeID
now allows to specify a machine ID as a parameter to prevent collisions in large clusters.
#66374
(
ZAWA_ll
).
Disable suspending on
Ctrl+Z
in interactive mode. This is a common trap and is not expected behavior for almost all users. I imagine only a few extreme power users could appreciate suspending terminal applications to the background, but I don't know any.
#66511
(
Alexey Milovidov
).
Add option for validating the primary key type in Dictionaries. Without this option for simple layouts any column type will be implicitly converted to UInt64.
#66595
(
MikhailBurdukov
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-4} | {"source_file": "2024.md"} | [
0.05273030325770378,
0.032125942409038544,
-0.09779039770364761,
0.04374051094055176,
-0.057111866772174835,
-0.0900619626045227,
0.0060091083869338036,
-0.00834073219448328,
-0.06545398384332657,
0.014664608985185623,
-0.02640591375529766,
0.06193649023771286,
-0.013169493526220322,
-0.11... |
e7bf2920-e862-431e-aef4-8221e73a0257 | Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-4}
Check cyclic dependencies on CREATE/REPLACE/RENAME/EXCHANGE queries and throw an exception if there is a cyclic dependency. Previously such cyclic dependencies could lead to a deadlock during server startup. Also fix some bugs in dependencies creation.
#65405
(
Kruglov Pavel
).
Fix unexpected sizes of
LowCardinality
columns in function calls.
#65298
(
Raúl Marín
).
Fix crash in maxIntersections.
#65689
(
Raúl Marín
).
Fix the
VALID UNTIL
clause in the user definition resetting after a restart.
#66409
(
Nikolay Degterinsky
).
Fix the remaining time column in
SHOW MERGES
.
#66735
(
Alexey Milovidov
).
Query was cancelled
might have been printed twice in clickhouse-client. This behaviour is fixed.
#66005
(
Nikita Mikhaylov
).
Fixed crash while using
MaterializedMySQL
(which is an unsupported, experimental feature) with TABLE OVERRIDE that maps MySQL NULL field into ClickHouse not NULL field.
#54649
(
Filipp Ozinov
).
Fix logical error when
PREWHERE
expression read no columns and table has no adaptive index granularity (very old table).
#59173
(
Alexander Gololobov
).
Fix bug with the cancellation buffer when canceling a query.
#64478
(
Sema Checherinda
).
Fix filling parts columns from metadata (when columns.txt does not exists).
#64757
(
Azat Khuzhin
).
Fix crash for
ALTER TABLE ... ON CLUSTER ... MODIFY SQL SECURITY
.
#64957
(
pufit
).
Fix crash on destroying AccessControl: add explicit shutdown.
#64993
(
Vitaly Baranov
).
Eliminate injective function in argument of functions
uniq*
recursively. This used to work correctly but was broken in the new analyzer.
#65140
(
Duc Canh Le
).
Fix unexpected projection name when query with CTE.
#65267
(
wudidapaopao
).
Require
dictGet
privilege when accessing dictionaries via direct query or the
Dictionary
table engine.
#65359
(
Joe Lynch
).
Fix user-specific S3 auth with incremental backups.
#65481
(
Antonio Andelic
).
Disable
non-intersecting-parts
optimization for queries with
FINAL
in case of
read-in-order
optimization was enabled. This could lead to an incorrect query result. As a workaround, disable
do_not_merge_across_partitions_select_final
and
split_parts_ranges_into_intersecting_and_non_intersecting_final
before this fix is merged.
#65505
(
Nikolai Kochetov
).
Fix getting exception
Index out of bound for blob metadata
in case all files from list batch were filtered out.
#65523
(
Kseniia Sumarokova
).
Fix NOT_FOUND_COLUMN_IN_BLOCK for deduplicate merge of projection.
#65573
(
Yakov Olkhovskiy
).
Fixed bug in MergeJoin. Column in sparse serialisation might be treated as a column of its nested type though the required conversion wasn't performed.
#65632
(
Nikita Taranov
). | {"source_file": "2024.md"} | [
-0.012417927384376526,
-0.03419802337884903,
0.03283337503671646,
0.003928248304873705,
-0.03961590677499771,
-0.058422621339559555,
-0.00513280788436532,
-0.004649550188332796,
-0.017636781558394432,
0.04153873398900032,
0.08052290230989456,
0.03614411503076553,
0.0355895459651947,
-0.030... |
1b96ff95-04a4-4466-a21d-163a5062560b | Fixed bug in MergeJoin. Column in sparse serialisation might be treated as a column of its nested type though the required conversion wasn't performed.
#65632
(
Nikita Taranov
).
Fixed a bug that compatibility level '23.4' was not properly applied.
#65737
(
cw5121
).
Fix odbc table with nullable fields.
#65738
(
Rodolphe Dugé de Bernonville
).
Fix data race in
TCPHandler
, which could happen on fatal error.
#65744
(
Kseniia Sumarokova
).
Fix invalid exceptions in function
parseDateTime
with
%F
and
%D
placeholders.
#65768
(
Antonio Andelic
).
For queries that read from
PostgreSQL
, cancel the internal
PostgreSQL
query if the ClickHouse query is finished. Otherwise,
ClickHouse
query cannot be canceled until the internal
PostgreSQL
query is finished.
#65771
(
Maksim Kita
).
Fix a bug in short circuit logic when old analyzer and dictGetOrDefault is used.
#65802
(
jsc0218
).
Fix a bug leads to EmbeddedRocksDB with TTL write corrupted SST files.
#65816
(
Duc Canh Le
).
Functions
bitTest
,
bitTestAll
, and
bitTestAny
now return an error if the specified bit index is out-of-bounds
#65818
(
Pablo Marcos
).
Setting
join_any_take_last_row
is supported in any query with hash join.
#65820
(
vdimir
).
Better handling of join conditions involving
IS NULL
checks (for example
ON (a = b AND (a IS NOT NULL) AND (b IS NOT NULL) ) OR ( (a IS NULL) AND (b IS NULL) )
is rewritten to
ON a <=> b
), fix incorrect optimization when condition other then
IS NULL
are present.
#65835
(
vdimir
).
Fix growing memory usage in S3Queue.
#65839
(
Kseniia Sumarokova
).
Fix tie handling in
arrayAUC
to match sklearn.
#65840
(
gabrielmcg44
).
Fix possible issues with MySQL server protocol TLS connections.
#65917
(
Azat Khuzhin
).
Fix possible issues with MySQL client protocol TLS connections.
#65938
(
Azat Khuzhin
).
Fix handling of
SSL_ERROR_WANT_READ
/
SSL_ERROR_WANT_WRITE
with zero timeout.
#65941
(
Azat Khuzhin
).
Add missing settings
input_format_csv_skip_first_lines/input_format_tsv_skip_first_lines/input_format_csv_try_infer_numbers_from_strings/input_format_csv_try_infer_strings_from_quoted_tuples
in schema inference cache because they can change the resulting schema. It prevents from incorrect result of schema inference with these settings changed.
#65980
(
Kruglov Pavel
).
Column _size in s3 engine and s3 table function denotes the size of a file inside the archive, not a size of the archive itself.
#65993
(
Daniil Ivanik
).
Fix resolving dynamic subcolumns in analyzer, avoid reading the whole column on dynamic subcolumn reading.
#66004
(
Kruglov Pavel
).
Fix config merging for from_env with replace overrides.
#66034
(
Azat Khuzhin
).
Fix a possible hanging in
GRPCServer
during shutdown.
#66061
(
Vitaly Baranov
).
Fixed several cases in function
has
with non-constant
LowCardinality
arguments.
#66088
(
Anton Popov
). | {"source_file": "2024.md"} | [
-0.029583634808659554,
-0.007458270061761141,
0.0011280039325356483,
0.02994292974472046,
-0.07310999929904938,
-0.04172658175230026,
-0.018851155415177345,
0.03864073380827904,
-0.048273924738168716,
0.0010583894327282906,
0.03312091529369354,
0.004097748082131147,
-0.03963600471615791,
-... |
c75a91a2-b54c-4e83-96b5-10b450cea4d1 | Fix a possible hanging in
GRPCServer
during shutdown.
#66061
(
Vitaly Baranov
).
Fixed several cases in function
has
with non-constant
LowCardinality
arguments.
#66088
(
Anton Popov
).
Fix for
groupArrayIntersect
. It had incorrect behavior in the
merge()
function. Also, fixed behavior in
deserialise()
for numeric and general data.
#66103
(
Yarik Briukhovetskyi
).
Fixed buffer overflow bug in
unbin
/
unhex
implementation.
#66106
(
Nikita Taranov
).
Disable the
merge-filters
optimization introduced in
#64760
. It may cause an exception if optimization merges two filter expressions and does not apply a short-circuit evaluation.
#66126
(
Nikolai Kochetov
).
Fixed the issue when the server failed to parse Avro files with negative block size arrays encoded, which is now allowed by the Avro specification.
#66130
(
Serge Klochkov
).
Fixed a bug in ZooKeeper client: a session could get stuck in unusable state after receiving a hardware error from ZooKeeper. For example, this might happen due to "soft memory limit" in ClickHouse Keeper.
#66140
(
Alexander Tokmakov
).
Fix issue in SumIfToCountIfVisitor and signed integers.
#66146
(
Raúl Marín
).
Fix rare case with missing data in the result of distributed query.
#66174
(
vdimir
).
Fix order of parsing metadata fields in StorageDeltaLake.
#66211
(
Kseniia Sumarokova
).
Don't throw
TIMEOUT_EXCEEDED
for
none_only_active
mode of
distributed_ddl_output_mode
.
#66218
(
Alexander Tokmakov
).
Fix handling limit for
system.numbers_mt
when no index can be used.
#66231
(
János Benjamin Antal
).
Fixed how the ClickHouse server detects the maximum number of usable CPU cores as specified by cgroups v2 if the server runs in a container such as Docker. In more detail, containers often run their process in the root cgroup which has an empty name. In that case, ClickHouse ignored the CPU limits set by cgroups v2.
#66237
(
filimonov
).
Fix the
Not-ready set
error when a subquery with
IN
is used in the constraint.
#66261
(
Nikolai Kochetov
).
Fix error reporting while copying to S3 or AzureBlobStorage.
#66295
(
Vitaly Baranov
).
Prevent watchdog from keeping descriptors of unlinked (rotated) log files.
#66334
(
Aleksei Filatov
).
Fix the bug that logicalexpressionoptimizerpass lost logical type of constant.
#66344
(
pn
).
Fix
Column identifier is already registered
error with
group_by_use_nulls=true
and new analyzer.
#66400
(
Nikolai Kochetov
).
Fix possible incorrect result for queries joining and filtering table external engine (like PostgreSQL), due to too aggressive filter pushdown. Since now, conditions from where section won't be send to external database in case of outer join with external table.
#66402
(
vdimir
).
Added missing column materialization for cross join.
#66413
(
lgbo
). | {"source_file": "2024.md"} | [
-0.011443540453910828,
0.005488070659339428,
-0.038452792912721634,
-0.012707032263278961,
-0.0058194356970489025,
-0.06729467213153839,
0.003568364307284355,
-0.006440490018576384,
-0.02011876367032528,
0.00799831934273243,
-0.015350197441875935,
0.023641856387257576,
-0.10041016340255737,
... |
25fdca50-dfa4-4a1e-aafa-4d6350804537 | Added missing column materialization for cross join.
#66413
(
lgbo
).
Fix
Cannot find column
error for queries with constant expression in
GROUP BY
key and new analyzer enabled.
#66433
(
Nikolai Kochetov
).
Avoid possible logical error during import from Npy format in case of bad array nesting level, fix testing of other kinds of errors.
#66461
(
Yarik Briukhovetskyi
).
Fix wrong count() result when there is non-deterministic function in predicate.
#66510
(
Duc Canh Le
).
Correctly track memory for
Allocator::realloc
.
#66548
(
Antonio Andelic
).
Fix reading of uninitialized memory when hashing empty tuples.
#66562
(
Alexey Milovidov
).
Fix an invalid result for queries with
WINDOW
. This could happen when
PARTITION
columns have sparse serialization and window functions are executed in parallel.
#66579
(
Nikolai Kochetov
).
Fix removing named collections in local storage.
#66599
(
János Benjamin Antal
).
Fix
column_length
is not updated in
ColumnTuple::insertManyFrom
.
#66626
(
lgbo
).
Fix
Unknown identifier
and
Column is not under aggregate function
errors for queries with the expression
(column IS NULL).
The bug was triggered by
#65088
, with the disabled analyzer only.
#66654
(
Nikolai Kochetov
).
Fix
Method getResultType is not supported for QUERY query node
error when scalar subquery was used as the first argument of IN (with new analyzer).
#66655
(
Nikolai Kochetov
).
Fix possible PARAMETER_OUT_OF_BOUND error during reading variant subcolumn.
#66659
(
Kruglov Pavel
).
Fix rare case of stuck merge after drop column.
#66707
(
Raúl Marín
).
Fix assertion
isUniqTypes
when insert select from remote sources.
#66722
(
Sema Checherinda
).
Fix logical error in PrometheusRequestHandler.
#66621
(
Vitaly Baranov
).
Fix
indexHint
function case found by fuzzer.
#66286
(
Anton Popov
).
Fix AST formatting of 'create table b empty as a'.
#64951
(
Michael Kolupaev
).
ClickHouse release 24.6, 2024-07-01 {#a-id246a-clickhouse-release-246-2024-07-01}
Backward Incompatible Change {#backward-incompatible-change-6} | {"source_file": "2024.md"} | [
-0.0011055631330236793,
-0.013356953859329224,
-0.08996925503015518,
0.04959903657436371,
0.048814110457897186,
-0.03932545706629753,
-0.03652394935488701,
0.014967788942158222,
-0.06428006291389465,
0.0356166809797287,
0.05346056818962097,
-0.023207195103168488,
-0.006478793453425169,
-0.... |
4ce208b1-a076-4a0d-b9e9-b527af5e60d3 | ClickHouse release 24.6, 2024-07-01 {#a-id246a-clickhouse-release-246-2024-07-01}
Backward Incompatible Change {#backward-incompatible-change-6}
Enable asynchronous load of databases and tables by default. See the
async_load_databases
in config.xml. While this change is fully compatible, it can introduce a difference in behavior. When
async_load_databases
is false, as in the previous versions, the server will not accept connections until all tables are loaded. When
async_load_databases
is true, as in the new version, the server can accept connections before all the tables are loaded. If a query is made to a table that is not yet loaded, it will wait for the table's loading, which can take considerable time. It can change the behavior of the server if it is part of a large distributed system under a load balancer. In the first case, the load balancer can get a connection refusal and quickly failover to another server. In the second case, the load balancer can connect to a server that is still loading the tables, and the query will have a higher latency. Moreover, if many queries accumulate in the waiting state, it can lead to a "thundering herd" problem when they start processing simultaneously. This can make a difference only for highly loaded distributed backends. You can set the value of
async_load_databases
to false to avoid this problem.
#57695
(
Alexey Milovidov
).
Setting
replace_long_file_name_to_hash
is enabled by default for
MergeTree
tables.
#64457
(
Anton Popov
). This setting is fully compatible, and no actions needed during upgrade. The new data format is supported from all versions starting from 23.9. After enabling this setting, you can no longer downgrade to a version 23.8 or older.
Some invalid queries will fail earlier during parsing. Note: disabled the support for inline KQL expressions (the experimental Kusto language) when they are put into a
kql
table function without a string literal, e.g.
kql(garbage | trash)
instead of
kql('garbage | trash')
or
kql($$garbage | trash$$)
. This feature was introduced unintentionally and should not exist.
#61500
(
Alexey Milovidov
).
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
). | {"source_file": "2024.md"} | [
-0.03842926025390625,
-0.0822780504822731,
-0.06808756291866302,
0.09744451195001602,
-0.0621805377304554,
-0.07861971855163574,
-0.023679321631789207,
-0.08923710137605667,
0.000855427875649184,
-0.013851769268512726,
0.03784149885177612,
0.09997548907995224,
0.0168448556214571,
-0.073042... |
3e4138ad-779d-4fac-b44f-89394eafcd82 | 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-6}
Allow to store named collections in ClickHouse Keeper.
#64574
(
Kseniia Sumarokova
).
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
).
Allow to attach parts from a different disk.
#63087
(
Unalian
).
Added new SQL functions
generateSnowflakeID
for generating Twitter-style Snowflake IDs.
#63577
(
Danila Puzov
).
Added
merge_workload
and
mutation_workload
settings to regulate how resources are utilized and shared between merges, mutations and other workloads.
#64061
(
Sergei Trifonov
).
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 server settings
max_table_num_to_throw
and
max_database_num_to_throw
to limit the number of databases or tables on
CREATE
queries.
#64781
(
Xu Jia
).
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
).
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. | {"source_file": "2024.md"} | [
-0.022183425724506378,
0.03136472404003143,
-0.024817489087581635,
0.005321180913597345,
0.052270904183387756,
0.006810357328504324,
-0.07424896955490112,
0.049615293741226196,
0.01525026187300682,
-0.05007597431540489,
-0.029368961229920387,
-0.034666337072849274,
-0.0008324029622599483,
... |
3f5c5fa5-b8ac-4b8d-84ab-0a728f34b920 | 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
).
Experimental Feature {#experimental-feature-5}
Introduce statistics of type "number of distinct values".
#59357
(
Han Fei
).
Support statistics with ReplicatedMergeTree.
#64934
(
Han Fei
).
If "replica group" is configured for a
Replicated
database, automatically create a cluster that includes replicas from all groups.
#64312
(
Alexander Tokmakov
).
Add settings
parallel_replicas_custom_key_range_lower
and
parallel_replicas_custom_key_range_upper
to control how parallel replicas with dynamic shards parallelizes queries when using a range filter.
#64604
(
josh-hildred
).
Performance Improvement {#performance-improvement-6}
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
).
Use a thread pool to initialize and destroy hash tables inside
ConcurrentHashJoin
.
#64241
(
Nikita Taranov
). | {"source_file": "2024.md"} | [
0.011227011680603027,
-0.014565462246537209,
-0.0629272386431694,
0.04601488634943962,
-0.009462108835577965,
-0.056789908558130264,
-0.04438073933124542,
0.02969745360314846,
-0.05860377475619316,
0.02436983585357666,
0.048719216138124466,
-0.035076215863227844,
0.08900997042655945,
-0.06... |
70a44af1-d6f8-4f1c-a9b2-b9c31351dfdb | 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-6}
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
).
Hot reload storage policy for
Distributed
tables when adding a new disk.
#58285
(
Duc Canh Le
).
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
).
Improve io_uring resubmit visibility. Rename profile event
IOUringSQEsResubmits
->
IOUringSQEsResubmitsAsync
and add a new one
IOUringSQEsResubmitsSync
.
#63699
(
Tomer Shafir
). | {"source_file": "2024.md"} | [
-0.02964821457862854,
0.05073568969964981,
-0.05751122906804085,
-0.04350826516747475,
-0.016465090215206146,
-0.08639325201511383,
-0.08175121992826462,
0.028411203995347023,
-0.01799199916422367,
0.0752943754196167,
0.032556600868701935,
0.057818636298179626,
0.02045036293566227,
-0.0835... |
d63e144c-461d-4266-aa7d-e32479cbca98 | Improve io_uring resubmit visibility. Rename profile event
IOUringSQEsResubmits
->
IOUringSQEsResubmitsAsync
and add a new one
IOUringSQEsResubmitsSync
.
#63699
(
Tomer Shafir
).
Added a new setting,
metadata_keep_free_space_bytes
to keep free space on the metadata storage disk.
#64128
(
MikhailBurdukov
).
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
).
Forbid converting a MergeTree table to replicated if the zookeeper path for this table already exists.
#64244
(
Kirill
).
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
).
Allow proxy to be bypassed for hosts specified in
no_proxy
env variable and ClickHouse proxy configuration.
#63314
(
Arthur Passos
).
Always start Keeper with sufficient amount of threads in global thread pool.
#64444
(
Duc Canh Le
).
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
).
Initialize global trace collector for
Poco::ThreadPool
(needed for Keeper, etc).
#65239
(
Kseniia Sumarokova
). | {"source_file": "2024.md"} | [
-0.014817140065133572,
-0.008178253658115864,
0.005575395189225674,
0.06821200996637344,
-0.009534239768981934,
-0.030556146055459976,
-0.008139348588883877,
0.03754892572760582,
0.033152997493743896,
0.07806126773357391,
-0.0044152941554784775,
-0.05729972571134567,
0.07735957950353622,
0... |
f01b08bb-969f-43e0-8327-473e4093eaf6 | Initialize global trace collector for
Poco::ThreadPool
(needed for Keeper, etc).
#65239
(
Kseniia Sumarokova
).
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
).
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-5}
A bug in Apache ORC library was fixed: Fixed ORC statistics calculation, when writing, for unsigned types on all platforms and Int8 on ARM.
#64563
(
Michael Kolupaev
).
Returned back the behaviour of how ClickHouse works and interprets Tuples in CSV format. This change effectively reverts https://github.com/ClickHouse/ClickHouse/pull/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
).
Fix a permission error where a user in a specific situation can escalate their privileges on the default database without necessary grants.
#64769
(
pufit
).
Fix crash with UniqInjectiveFunctionsEliminationPass and uniqCombined.
#65188
(
Raúl Marín
).
Fix a bug in ClickHouse Keeper that causes digest mismatch during closing session.
#65198
(
Aleksei Filatov
).
Use correct memory alignment for Distinct combinator. Previously, crash could happen because of invalid memory allocation when the combinator was used.
#65379
(
Antonio Andelic
).
Fix crash with
DISTINCT
and window functions.
#64767
(
Igor Nikonov
).
Fixed 'set' skip index not working with IN and indexHint().
#62083
(
Michael Kolupaev
).
Support executing function during assignment of parameterized view value.
#63502
(
SmitaRKulkarni
).
Fixed parquet memory tracking.
#63584
(
Michael Kolupaev
).
Fixed reading of columns of type
Tuple(Map(LowCardinality(String), String), ...)
.
#63956
(
Anton Popov
).
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
). | {"source_file": "2024.md"} | [
-0.05644144490361214,
-0.0044907936826348305,
-0.07717463374137878,
-0.004794708918780088,
-0.023236777633428574,
-0.11970175057649612,
0.0008593342499807477,
0.022191204130649567,
0.01335989497601986,
0.02284654602408409,
0.027301544323563576,
0.020908383652567863,
-0.017150701954960823,
... |
3e1de10d-b406-4e9b-89b9-0324b0600c90 | 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
).
Fix creating backups to S3 buckets with different credentials from the disk containing the file.
#64153
(
Antonio Andelic
).
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
).
Prevent recursive logging in
blob_storage_log
when it's stored on object storage.
#64393
(
vdimir
).
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
).
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 crash loop when restoring from backup is blocked by creating an MV with a definer that hasn't been restored yet.
#64595
(
pufit
).
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
). | {"source_file": "2024.md"} | [
-0.0388849601149559,
-0.062009047716856,
-0.0542658269405365,
-0.010133746080100536,
-0.06803935766220093,
-0.044774457812309265,
0.0023176087997853756,
-0.014443181455135345,
-0.010980607010424137,
0.015728650614619255,
-0.0034536048769950867,
-0.06310271471738815,
0.09591998904943466,
-0... |
536f1ace-4ed4-4c95-b6fc-257bc410e5f8 | 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
).
Keeper fix: return correct value for
zk_latest_snapshot_size
in
mntr
command.
#64784
(
Antonio Andelic
).
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 duplicating
Delete
events in
blob_storage_log
in case of large batch to delete.
#64924
(
vdimir
).
Fixed
Session moved to another server
error from [Zoo]Keeper that might happen after server startup when the config has includes from [Zoo]Keeper.
#64986
(
Alexander Tokmakov
).
Fix
ALTER MODIFY COMMENT
query that was broken for parameterized VIEWs in https://github.com/ClickHouse/ClickHouse/pull/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
).
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
). | {"source_file": "2024.md"} | [
-0.02416650578379631,
0.04284846410155296,
-0.04279637336730957,
0.028676889836788177,
-0.019410081207752228,
-0.049077052623033524,
-0.03415786847472191,
0.013540693558752537,
-0.01357231941074133,
0.005240903701633215,
0.050331272184848785,
-0.009703227318823338,
0.06863892078399658,
-0.... |
41ad2f2a-6782-413c-8cd0-89df07b6b97d | 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. This fixes (
#64487
).
#65315
(
pn
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-2}
Add support for LLVM XRay.
#64592
#64837
(
Tomer Shafir
).
Unite s3/hdfs/azure storage implementations into a single class working with IObjectStorage. Same for *Cluster, data lakes and Queue storages.
#59767
(
Kseniia Sumarokova
).
Refactor data part writer to remove dependencies on MergeTreeData and DataPart.
#63620
(
Alexander Gololobov
).
Refactor
KeyCondition
and key analysis to improve PartitionPruner and trivial count optimization. This is separated from
#60463
.
#61459
(
Amos Bird
).
Introduce assertions to verify all functions are called with columns of the right size.
#63723
(
Raúl Marín
).
Make
network
service be required when using the
rc
init script to start the ClickHouse server daemon.
#60650
(
Chun-Sheng, Li
).
Reduce the size of some slow tests.
#64387
#64452
(
Raúl Marín
).
Replay ZooKeeper logs using keeper-bench.
#62481
(
Antonio Andelic
).
ClickHouse release 24.5, 2024-05-30 {#a-id245a-clickhouse-release-245-2024-05-30}
Backward Incompatible Change {#backward-incompatible-change-7}
Renamed "inverted indexes" to "full-text indexes" which is a less technical / more user-friendly name. This also changes internal table metadata and breaks tables with existing (experimental) inverted indexes. Please make sure to drop such indexes before upgrade and re-create them after upgrade.
#62884
(
Robert Schulze
).
Usage of functions
neighbor
,
runningAccumulate
,
runningDifferenceStartingWithFirstValue
,
runningDifference
deprecated (because it is error-prone). Proper window functions should be used instead. To enable them back, set
allow_deprecated_error_prone_window_functions = 1
or set
compatibility = '24.4'
or lower.
#63132
(
Nikita Taranov
). | {"source_file": "2024.md"} | [
-0.007240409962832928,
0.04461031034588814,
-0.0302922111004591,
0.022927163168787956,
-0.028658540919423103,
-0.04532280191779137,
-0.030758211389183998,
-0.037240710109472275,
-0.009900418110191822,
0.08088605105876923,
-0.026700573042035103,
0.03595711663365364,
0.05964108929038048,
0.0... |
9d4a3030-f88c-4880-aae3-40d4b8fa23a6 | Queries from
system.columns
will work faster if there is a large number of columns, but many databases or tables are not granted for
SHOW TABLES
. Note that in previous versions, if you grant
SHOW COLUMNS
to individual columns without granting
SHOW TABLES
to the corresponding tables, the
system.columns
table will show these columns, but in a new version, it will skip the table entirely. Remove trace log messages "Access granted" and "Access denied" that slowed down queries.
#63439
(
Alexey Milovidov
).
New Feature {#new-feature-7}
Adds the
Form
format to read/write a single record in the
application/x-www-form-urlencoded
format.
#60199
(
Shaun Struwig
).
Added possibility to compress in CROSS JOIN.
#60459
(
p1rattttt
).
Added possibility to do
CROSS JOIN
in temporary files if the size exceeds limits.
#63432
(
p1rattttt
).
Support join with inequal conditions which involve columns from both left and right table. e.g.
t1.y < t2.y
. To enable,
SET allow_experimental_join_condition = 1
.
#60920
(
lgbo
).
Maps can now have
Float32
,
Float64
,
Array(T)
,
Map(K, V)
and
Tuple(T1, T2, ...)
as keys. Closes
#54537
.
#59318
(
李扬
).
Introduce bulk loading to
EmbeddedRocksDB
by creating and ingesting SST file instead of relying on rocksdb build-in memtable. This help to increase importing speed, especially for long-running insert query to StorageEmbeddedRocksDB tables. Also, introduce
EmbeddedRocksDB
table settings.
#59163
#63324
(
Duc Canh Le
).
User can now parse CRLF with TSV format using a setting
input_format_tsv_crlf_end_of_line
. Closes
#56257
.
#59747
(
Shaun Struwig
).
A new setting
input_format_force_null_for_omitted_fields
that forces NULL values for omitted fields.
#60887
(
Constantine Peresypkin
).
Earlier our S3 storage and s3 table function didn't support selecting from archive container files, such as tarballs, zip, 7z. Now they allow to iterate over files inside archives in S3.
#62259
(
Daniil Ivanik
).
Support for conditional function
clamp
.
#62377
(
skyoct
).
Add
NPy
output format.
#62430
(
豪肥肥
).
Raw
format as a synonym for
TSVRaw
.
#63394
(
Unalian
).
Added a new SQL function
generateUUIDv7
to generate version 7 UUIDs aka. timestamp-based UUIDs with random component. Also added a new function
UUIDToNum
to extract bytes from a UUID and a new function
UUIDv7ToDateTime
to extract timestamp component from a UUID version 7.
#62852
(
Alexey Petrunyaka
).
On Linux and MacOS, if the program has stdout redirected to a file with a compression extension, use the corresponding compression method instead of nothing (making it behave similarly to
INTO OUTFILE
).
#63662
(
v01dXYZ
).
Change warning on high number of attached tables to differentiate tables, views and dictionaries.
#64180
(
Francisco J. Jurado Moreno
). | {"source_file": "2024.md"} | [
-0.0033118941355496645,
-0.00272733042947948,
-0.0796167254447937,
0.041142869740724564,
0.02418062649667263,
-0.040015336126089096,
-0.08521102368831635,
0.021707115694880486,
-0.10110881924629211,
0.02628200873732567,
0.014907414093613625,
0.025769226253032684,
0.0775403082370758,
-0.044... |
30830a9c-e7e6-4c15-99bc-43e827ed3d60 | Change warning on high number of attached tables to differentiate tables, views and dictionaries.
#64180
(
Francisco J. Jurado Moreno
).
Provide support for
azureBlobStorage
function in ClickHouse server to use Azure Workload identity to authenticate against Azure blob storage. If
use_workload_identity
parameter is set in config,
workload identity
is used for authentication.
#57881
(
Vinay Suryadevara
).
Add TTL information in the
system.parts_columns
table.
#63200
(
litlig
).
Experimental Features {#experimental-features-1}
Implement
Dynamic
data type that allows to store values of any type inside it without knowing all of them in advance.
Dynamic
type is available under a setting
allow_experimental_dynamic_type
. Reference:
#54864
.
#63058
(
Kruglov Pavel
).
Allowed to create
MaterializedMySQL
database without connection to MySQL.
#63397
(
Kirill
).
Automatically mark a replica of Replicated database as lost and start recovery if some DDL task fails more than
max_retries_before_automatic_recovery
(100 by default) times in a row with the same error. Also, fixed a bug that could cause skipping DDL entries when an exception is thrown during an early stage of entry execution.
#63549
(
Alexander Tokmakov
).
Account failed files in
s3queue_tracked_file_ttl_sec
and
s3queue_traked_files_limit
for
StorageS3Queue
.
#63638
(
Kseniia Sumarokova
).
Performance Improvement {#performance-improvement-7}
Less contention in filesystem cache (part 4). Allow to keep filesystem cache not filled to the limit by doing additional eviction in the background (controlled by
keep_free_space_size(elements)_ratio
). This allows to release pressure from space reservation for queries (on
tryReserve
method). Also this is done in a lock free way as much as possible, e.g. should not block normal cache usage.
#61250
(
Kseniia Sumarokova
).
Skip merging of newly created projection blocks during
INSERT
-s.
#59405
(
Nikita Taranov
).
Process string functions
...UTF8
'asciily' if input strings are all ascii chars. Inspired by https://github.com/apache/doris/pull/29799. Overall speed up by 1.07x~1.62x. Notice that peak memory usage had been decreased in some cases.
#61632
(
李扬
).
Improved performance of selection (
{}
) globs in StorageS3.
#62120
(
Andrey Zvonov
).
HostResolver has each IP address several times. If remote host has several IPs and by some reason (firewall rules for example) access on some IPs allowed and on others forbidden, than only first record of forbidden IPs marked as failed, and in each try these IPs have a chance to be chosen (and failed again). Even if fix this, every 120 seconds DNS cache dropped, and IPs can be chosen again.
#62652
(
Anton Ivashkin
).
Add a new configuration
prefer_merge_sort_block_bytes
to control the memory usage and speed up sorting 2 times when merging when there are many columns.
#62904
(
LiuNeng
). | {"source_file": "2024.md"} | [
0.04513325169682503,
-0.02939019352197647,
-0.05738842859864235,
0.07054651528596878,
-0.056730229407548904,
-0.03337754309177399,
0.06999104470014572,
-0.015578260645270348,
0.008940628729760647,
0.10018543154001236,
-0.002671946305781603,
-0.03741041570901871,
0.16234180331230164,
0.0314... |
a9fce296-4439-432f-a667-11006d64e3cb | Add a new configuration
prefer_merge_sort_block_bytes
to control the memory usage and speed up sorting 2 times when merging when there are many columns.
#62904
(
LiuNeng
).
clickhouse-local
will start faster. In previous versions, it was not deleting temporary directories by mistake. Now it will. This closes
#62941
.
#63074
(
Alexey Milovidov
).
Micro-optimizations for the new analyzer.
#63429
(
Raúl Marín
).
Index analysis will work if
DateTime
is compared to
DateTime64
. This closes
#63441
.
#63443
#63532
(
Alexey Milovidov
).
Speed up indices of type
set
a little (around 1.5 times) by removing garbage.
#64098
(
Alexey Milovidov
).
Remove copying data when writing to the filesystem cache.
#63401
(
Kseniia Sumarokova
).
Now backups with azure blob storage will use multicopy.
#64116
(
alesapin
).
Allow to use native copy for azure even with different containers.
#64154
(
alesapin
).
Finally enable native copy for azure.
#64182
(
alesapin
).
Improvement {#improvement-7}
Allow using
clickhouse-local
and its shortcuts
clickhouse
and
ch
with a query or queries file as a positional argument. Examples:
ch "SELECT 1"
,
ch --param_test Hello "SELECT {test:String}"
,
ch query.sql
. This closes
#62361
.
#63081
(
Alexey Milovidov
).
Enable plain_rewritable metadata for local and Azure (azure_blob_storage) object storages.
#63365
(
Julia Kartseva
).
Support English-style Unicode quotes, e.g. “Hello”, 'world'. This is questionable in general but helpful when you type your query in a word processor, such as Google Docs. This closes
#58634
.
#63381
(
Alexey Milovidov
).
Allow trailing commas in the columns list in the INSERT query. For example,
INSERT INTO test (a, b, c, ) VALUES ...
.
#63803
(
Alexey Milovidov
).
Better exception messages for the
Regexp
format.
#63804
(
Alexey Milovidov
).
Allow trailing commas in the
Values
format. For example, this query is allowed:
INSERT INTO test (a, b, c) VALUES (4, 5, 6,);
.
#63810
(
Alexey Milovidov
).
Make rabbitmq nack broken messages. Closes
#45350
.
#60312
(
Kseniia Sumarokova
).
Fix a crash in asynchronous stack unwinding (such as when using the sampling query profiler) while interpreting debug info. This closes
#60460
.
#60468
(
Alexey Milovidov
).
Distinct messages for s3 error 'no key' for cases disk and storage.
#61108
(
Sema Checherinda
).
The progress bar will work for trivial queries with LIMIT from
system.zeros
,
system.zeros_mt
(it already works for
system.numbers
and
system.numbers_mt
), and the
generateRandom
table function. As a bonus, if the total number of records is greater than the
max_rows_to_read
limit, it will throw an exception earlier. This closes
#58183
.
#61823
(
Alexey Milovidov
).
Support for "Merge Key" in YAML configurations (this is a weird feature of YAML, please never mind).
#62685
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
0.029077719897031784,
0.008726418949663639,
-0.065970778465271,
0.02315821871161461,
0.0295419879257679,
-0.03157476335763931,
-0.01433649007230997,
-0.0669284462928772,
0.045446544885635376,
0.10716389119625092,
0.024105943739414215,
0.023014899343252182,
0.033140577375888824,
0.051448523... |
2a31284c-6817-402f-ad66-9d0ed072f483 | Support for "Merge Key" in YAML configurations (this is a weird feature of YAML, please never mind).
#62685
(
Azat Khuzhin
).
Enhance error message when non-deterministic function is used with Replicated source.
#62896
(
Grégoire Pineau
).
Fix interserver secret for Distributed over Distributed from
remote
.
#63013
(
Azat Khuzhin
).
Support
include_from
for YAML files. However, you should better use
config.d
#63106
(
Eduard Karacharov
).
Keep previous data in terminal after picking from skim suggestions.
#63261
(
FlameFactory
).
Width of fields (in Pretty formats or the
visibleWidth
function) now correctly ignores ANSI escape sequences.
#63270
(
Shaun Struwig
).
Update the usage of error code
NUMBER_OF_ARGUMENTS_DOESNT_MATCH
by more accurate error codes when appropriate.
#63406
(
Yohann Jardin
).
os_user
and
client_hostname
are now correctly set up for queries for command line suggestions in clickhouse-client. This closes
#63430
.
#63433
(
Alexey Milovidov
).
Automatically correct
max_block_size
to the default value if it is zero.
#63587
(
Antonio Andelic
).
Add a build_id ALIAS column to trace_log to facilitate auto renaming upon detecting binary changes. This is to address
#52086
.
#63656
(
Zimu Li
).
Enable truncate operation for object storage disks.
#63693
(
MikhailBurdukov
).
The loading of the keywords list is now dependent on the server revision and will be disabled for the old versions of ClickHouse server. CC @azat.
#63786
(
Nikita Mikhaylov
).
Clickhouse disks have to read server setting to obtain actual metadata format version.
#63831
(
Sema Checherinda
).
Disable pretty format restrictions (
output_format_pretty_max_rows
/
output_format_pretty_max_value_width
) when stdout is not TTY.
#63942
(
Azat Khuzhin
).
Exception handling now works when ClickHouse is used inside AWS Lambda. Author:
Alexey Coolnev
.
#64014
(
Alexey Milovidov
).
Throw
CANNOT_DECOMPRESS
instread of
CORRUPTED_DATA
on invalid compressed data passed via HTTP.
#64036
(
vdimir
).
A tip for a single large number in Pretty formats now works for Nullable and LowCardinality. This closes
#61993
.
#64084
(
Alexey Milovidov
).
Add metrics, logs, and thread names around parts filtering with indices.
#64130
(
Alexey Milovidov
).
Ignore
allow_suspicious_primary_key
on
ATTACH
and verify on
ALTER
.
#64202
(
Azat Khuzhin
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-3}
ClickHouse is built with clang-18. A lot of new checks from clang-tidy-18 have been enabled.
#60469
(
Alexey Milovidov
).
Experimentally support loongarch64 as a new platform for ClickHouse.
#63733
(
qiangxuhui
).
The Dockerfile is reviewed by the docker official library in https://github.com/docker-library/official-images/pull/15846.
#63400
(
Mikhail f. Shiryaev
). | {"source_file": "2024.md"} | [
-0.04825996235013008,
0.0028253113850951195,
-0.01365789957344532,
-0.0261598639190197,
-0.011112711392343044,
-0.060293737798929214,
0.0017064271960407495,
0.005722553003579378,
0.0003882123564835638,
0.01823541335761547,
0.053188782185316086,
0.00010167513391934335,
0.025726022198796272,
... |
baa29b51-f1a3-432c-ab79-d161c93a3dbe | The Dockerfile is reviewed by the docker official library in https://github.com/docker-library/official-images/pull/15846.
#63400
(
Mikhail f. Shiryaev
).
Information about every symbol in every translation unit will be collected in the CI database for every build in the CI. This closes
#63494
.
#63495
(
Alexey Milovidov
).
Update Apache Datasketches library. It resolves
#63858
.
#63923
(
Alexey Milovidov
).
Enable GRPC support for aarch64 linux while cross-compiling binary.
#64072
(
alesapin
).
Fix unwind on SIGSEGV on aarch64 (due to small stack for signal)
#64058
(
Azat Khuzhin
).
Bug Fix {#bug-fix-1}
Disabled
enable_vertical_final
setting by default. This feature should not be used because it has a bug:
#64543
.
#64544
(
Alexander Tokmakov
).
Fix making backup when multiple shards are used
#57684
(
Vitaly Baranov
).
Fix passing projections/indexes/primary key from columns list from CREATE query into inner table of MV
#59183
(
Azat Khuzhin
).
Fix boundRatio incorrect merge
#60532
(
Tao Wang
).
Fix crash when calling some functions on const low-cardinality columns
#61966
(
Michael Kolupaev
).
Fix queries with FINAL give wrong result when table does not use adaptive granularity
#62432
(
Duc Canh Le
).
Improve detection of cgroups v2 support for memory controllers
#62903
(
Robert Schulze
).
Fix subsequent use of external tables in client
#62964
(
Azat Khuzhin
).
Fix crash with untuple and unresolved lambda
#63131
(
Raúl Marín
).
Fix premature server listen for connections
#63181
(
alesapin
).
Fix intersecting parts when restarting after a DROP PART command
#63202
(
Han Fei
).
Correctly load SQL security defaults during startup
#63209
(
pufit
).
JOIN filter push down filter join fix
#63234
(
Maksim Kita
).
Fix infinite loop in AzureObjectStorage::listObjects
#63257
(
Julia Kartseva
).
CROSS join ignore join_algorithm setting
#63273
(
vdimir
).
Fix finalize WriteBufferToFileSegment and StatusFile
#63346
(
vdimir
).
Fix logical error during SELECT query after ALTER in rare case
#63353
(
alesapin
).
Fix
X-ClickHouse-Timezone
header with
session_timezone
#63377
(
Andrey Zvonov
).
Fix debug assert when using grouping WITH ROLLUP and LowCardinality types
#63398
(
Raúl Marín
).
Small fixes for group_by_use_nulls
#63405
(
vdimir
).
Fix backup/restore of projection part in case projection was removed from table metadata, but part still has projection
#63426
(
Kseniia Sumarokova
).
Fix mysql dictionary source
#63481
(
vdimir
).
Insert QueryFinish on AsyncInsertFlush with no data
#63483
(
Raúl Marín
).
Fix: empty used_dictionaries in system.query_log
#63487
(
Eduard Karacharov
).
Make
MergeTreePrefetchedReadPool
safer
#63513
(
Antonio Andelic
).
Fix crash on exit with sentry enabled (due to openssl destroyed before sentry)
#63548
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
-0.04903166741132736,
0.06247130408883095,
-0.02594381384551525,
-0.09131315350532532,
-0.030916837975382805,
-0.06102147698402405,
-0.07844804227352142,
0.0005378759815357625,
0.06278455257415771,
0.024248415604233742,
-0.02690553106367588,
-0.08608632534742355,
-0.008083608001470566,
-0.... |
87d81933-0462-4403-9197-1d04fbc2eed4 | Make
MergeTreePrefetchedReadPool
safer
#63513
(
Antonio Andelic
).
Fix crash on exit with sentry enabled (due to openssl destroyed before sentry)
#63548
(
Azat Khuzhin
).
Fix Array and Map support with Keyed hashing
#63628
(
Salvatore Mesoraca
).
Fix filter pushdown for Parquet and maybe StorageMerge
#63642
(
Michael Kolupaev
).
Prevent conversion to Replicated if zookeeper path already exists
#63670
(
Kirill
).
Analyzer: views read only necessary columns
#63688
(
Maksim Kita
).
Analyzer: Forbid WINDOW redefinition
#63694
(
Dmitry Novik
).
flatten_nested was broken with the experimental Replicated database.
#63695
(
Nikolai Kochetov
).
Fix
#63653
#63722
(
Nikolai Kochetov
).
Allow cast from Array(Nothing) to Map(Nothing, Nothing)
#63753
(
Nikolai Kochetov
).
Fix ILLEGAL_COLUMN in partial_merge join
#63755
(
vdimir
).
Fix: remove redundant distinct with window functions
#63776
(
Igor Nikonov
).
Fix possible crash with SYSTEM UNLOAD PRIMARY KEY
#63778
(
Raúl Marín
).
Fix a query with duplicating cycling alias.
#63791
(
Nikolai Kochetov
).
Make
TokenIterator
lazy as it should be
#63801
(
Alexey Milovidov
).
Add
endpoint_subpath
S3 URI setting
#63806
(
Julia Kartseva
).
Fix deadlock in
ParallelReadBuffer
#63814
(
Antonio Andelic
).
JOIN filter push down equivalent columns fix
#63819
(
Maksim Kita
).
Remove data from all disks after DROP with Lazy database.
#63848
(
MikhailBurdukov
).
Fix incorrect result when reading from MV with parallel replicas and new analyzer
#63861
(
Nikita Taranov
).
Fixes in
find_super_nodes
and
find_big_family
command of keeper-client
#63862
(
Alexander Gololobov
).
Update lambda execution name
#63864
(
Nikolai Kochetov
).
Fix SIGSEGV due to CPU/Real profiler
#63865
(
Azat Khuzhin
).
Fix
EXPLAIN CURRENT TRANSACTION
query
#63926
(
Anton Popov
).
Fix analyzer: there's turtles all the way down...
#63930
(
Yakov Olkhovskiy
).
Allow certain ALTER TABLE commands for
plain_rewritable
disk
#63933
(
Julia Kartseva
).
Recursive CTE distributed fix
#63939
(
Maksim Kita
).
Analyzer: Fix COLUMNS resolve
#63962
(
Dmitry Novik
).
LIMIT BY and skip_unused_shards with analyzer
#63983
(
Nikolai Kochetov
).
A fix for some trash (experimental Kusto)
#63992
(
Yong Wang
).
Deserialize untrusted binary inputs in a safer way
#64024
(
Robert Schulze
).
Fix query analysis for queries with the setting
final
= 1 for Distributed tables over tables from other than the MergeTree family.
#64037
(
Nikolai Kochetov
).
Add missing settings to recoverLostReplica
#64040
(
Raúl Marín
).
Fix SQL security access checks with analyzer
#64079
(
pufit
).
Fix analyzer: only interpolate expression should be used for DAG
#64096
(
Yakov Olkhovskiy
).
Fix azure backup writing multipart blocks by 1 MiB (read buffer size) instead of
max_upload_part_size
(in non-native copy case)
#64117
(
Kseniia Sumarokova
). | {"source_file": "2024.md"} | [
-0.017350919544696808,
0.003806841094046831,
-0.00146171310916543,
-0.023599598556756973,
-0.02642177604138851,
-0.07174702733755112,
-0.04273555800318718,
0.01801246404647827,
-0.04149215668439865,
0.01993703655898571,
-0.0031283751595765352,
-0.008862379007041454,
0.0009261555387638509,
... |
1c73af30-5de1-4d65-8678-0d5a5490679b | Fix azure backup writing multipart blocks by 1 MiB (read buffer size) instead of
max_upload_part_size
(in non-native copy case)
#64117
(
Kseniia Sumarokova
).
Correctly fallback during backup copy
#64153
(
Antonio Andelic
).
Prevent LOGICAL_ERROR on CREATE TABLE as materialized view
#64174
(
Raúl Marín
).
Query Cache: Consider identical queries against different databases as different
#64199
(
Robert Schulze
).
Ignore
text_log
for Keeper
#64218
(
Antonio Andelic
).
Fix Logical error: Bad cast for Buffer table with prewhere.
#64388
(
Nikolai Kochetov
).
ClickHouse release 24.4, 2024-04-30 {#a-id244a-clickhouse-release-244-2024-04-30}
Upgrade Notes {#upgrade-notes}
clickhouse-odbc-bridge
and
clickhouse-library-bridge
are now separate packages. This closes
#61677
.
#62114
(
Alexey Milovidov
).
Don't allow to set max_parallel_replicas (for the experimental parallel reading from replicas) to
0
as it doesn't make sense. Closes
#60140
.
#61201
(
Kruglov Pavel
).
Remove support for
INSERT WATCH
query (part of the deprecated
LIVE VIEW
feature).
#62382
(
Alexey Milovidov
).
Removed the
optimize_monotonous_functions_in_order_by
setting.
#63004
(
Raúl Marín
).
Remove experimental tag from the
Replicated
database engine. Now it is in Beta stage.
#62937
(
Justin de Guzman
).
New Feature {#new-feature-8}
Support recursive CTEs.
#62074
(
Maksim Kita
).
Support
QUALIFY
clause. Closes
#47819
.
#62619
(
Maksim Kita
).
Table engines are grantable now, and it won't affect existing users behavior.
#60117
(
jsc0218
).
Added a rewritable S3 disk which supports INSERT operations and does not require locally stored metadata.
#61116
(
Julia Kartseva
). The main use case is for system tables.
The syntax highlighting while typing in the client will work on the syntax level (previously, it worked on the lexer level).
#62123
(
Alexey Milovidov
).
Supports dropping multiple tables at the same time like
DROP TABLE a, b, c
;.
#58705
(
zhongyuankai
).
Modifying memory table settings through
ALTER MODIFY SETTING
is now supported. Example:
ALTER TABLE memory MODIFY SETTING min_rows_to_keep = 100, max_rows_to_keep = 1000;
.
#62039
(
zhongyuankai
).
Added
role
query parameter to the HTTP interface. It works similarly to
SET ROLE x
, applying the role before the statement is executed. This allows for overcoming the limitation of the HTTP interface, as multiple statements are not allowed, and it is not possible to send both
SET ROLE x
and the statement itself at the same time. It is possible to set multiple roles that way, e.g.,
?role=x&role=y
, which will be an equivalent of
SET ROLE x, y
.
#62669
(
Serge Klochkov
).
Add
SYSTEM UNLOAD PRIMARY KEY
to free up memory usage for a table's primary key.
#62738
(
Pablo Marcos
). | {"source_file": "2024.md"} | [
0.00606150645762682,
-0.05562325194478035,
-0.00672708498314023,
-0.05364367365837097,
-0.04623066633939743,
-0.044201649725437164,
-0.018439479172229767,
-0.03853252902626991,
-0.005258186254650354,
0.1034582182765007,
-0.0239261444658041,
-0.003151112934574485,
0.06688665598630905,
-0.02... |
8286a5ed-8f79-40f9-901b-8cb2c2ac6999 | Add
SYSTEM UNLOAD PRIMARY KEY
to free up memory usage for a table's primary key.
#62738
(
Pablo Marcos
).
Added
value1
,
value2
, ...,
value10
columns to
system.text_log
. These columns contain values that were used to format the message.
#59619
(
Alexey Katsman
).
Added persistent virtual column
_block_offset
which stores original number of row in block that was assigned at insert. Persistence of column
_block_offset
can be enabled by the MergeTree setting
enable_block_offset_column
. Added virtual column
_part_data_version
which contains either min block number or mutation version of part. Persistent virtual column
_block_number
is not considered experimental anymore.
#60676
(
Anton Popov
).
Add a setting
input_format_json_throw_on_bad_escape_sequence
, disabling it allows saving bad escape sequences in JSON input formats.
#61889
(
Kruglov Pavel
).
Performance Improvement {#performance-improvement-8}
JOIN filter push down improvements using equivalent sets.
#61216
(
Maksim Kita
).
Convert OUTER JOIN to INNER JOIN optimization if the filter after JOIN always filters default values. Optimization can be controlled with setting
query_plan_convert_outer_join_to_inner_join
, enabled by default.
#62907
(
Maksim Kita
).
Improvement for AWS S3. Client has to send header 'Keep-Alive: timeout=X' to the server. If a client receives a response from the server with that header, client has to use the value from the server. Also for a client it is better not to use a connection which is nearly expired in order to avoid connection close race.
#62249
(
Sema Checherinda
).
Reduce overhead of the mutations for SELECTs (v2).
#60856
(
Azat Khuzhin
).
More frequently invoked functions in PODArray are now force-inlined.
#61144
(
李扬
).
Speed up parsing of JSON by skipping the rest of the object when all required columns are read.
#62210
(
lgbo
).
Improve trivial insert select from files in file/s3/hdfs/url/... table functions. Add separate max_parsing_threads setting to control the number of threads used in parallel parsing.
#62404
(
Kruglov Pavel
).
Functions
to_utc_timestamp
and
from_utc_timestamp
are now about 2x faster.
#62583
(
KevinyhZou
).
Functions
parseDateTimeOrNull
,
parseDateTimeOrZero
,
parseDateTimeInJodaSyntaxOrNull
and
parseDateTimeInJodaSyntaxOrZero
now run significantly faster (10x - 1000x) when the input contains mostly non-parseable values.
#62634
(
LiuNeng
).
SELECTs against
system.query_cache
are now noticeably faster when the query cache contains lots of entries (e.g. more than 100.000).
#62671
(
Robert Schulze
).
Less contention in filesystem cache (part 3): execute removal from filesystem without lock on space reservation attempt.
#61163
(
Kseniia Sumarokova
).
Speed up dynamic resize of filesystem cache.
#61723
(
Kseniia Sumarokova
).
Dictionary source with
INVALIDATE_QUERY
is not reloaded twice on startup.
#62050
(
vdimir
). | {"source_file": "2024.md"} | [
0.0147032355889678,
0.07932668179273605,
-0.11713970452547073,
0.007211720570921898,
-0.022221343591809273,
-0.009519873186945915,
-0.06198686733841896,
0.0661553218960762,
-0.0029296341817826033,
0.022993825376033783,
0.03347913920879364,
0.02942628227174282,
0.030589813366532326,
-0.0618... |
f3a91318-d701-419b-8371-e98af7814621 | Speed up dynamic resize of filesystem cache.
#61723
(
Kseniia Sumarokova
).
Dictionary source with
INVALIDATE_QUERY
is not reloaded twice on startup.
#62050
(
vdimir
).
Fix an issue where when a redundant
= 1
or
= 0
is added after a boolean expression involving the primary key, the primary index is not used. For example, both
SELECT * FROM <table> WHERE <primary-key> IN (<value>) = 1
and
SELECT * FROM <table> WHERE <primary-key> NOT IN (<value>) = 0
will both perform a full table scan, when the primary index can be used.
#62142
(
josh-hildred
).
Return stream of chunks from
system.remote_data_paths
instead of accumulating the whole result in one big chunk. This allows to consume less memory, show intermediate progress and cancel the query.
#62613
(
Alexander Gololobov
).
Experimental Feature {#experimental-feature-6}
Support parallel write buffer for Azure Blob Storage managed by setting
azure_allow_parallel_part_upload
.
#62534
(
SmitaRKulkarni
).
Userspace page cache works with static web storage (
disk(type = web)
) now. Use client setting
use_page_cache_for_disks_without_file_cache=1
to enable.
#61911
(
Michael Kolupaev
).
Don't treat Bool and number variants as suspicious in the
Variant
type.
#61999
(
Kruglov Pavel
).
Implement better conversion from String to
Variant
using parsing.
#62005
(
Kruglov Pavel
).
Support
Variant
in JSONExtract functions.
#62014
(
Kruglov Pavel
).
Mark type
Variant
as comparable so it can be used in primary key.
#62693
(
Kruglov Pavel
).
Improvement {#improvement-8}
For convenience purpose,
SELECT * FROM numbers()
will work in the same way as
SELECT * FROM system.numbers
- without a limit.
#61969
(
YenchangChan
).
Introduce separate consumer/producer tags for the Kafka configuration. This avoids warnings from librdkafka (a bad C library with a lot of bugs) that consumer properties were specified for producer instances and vice versa (e.g.
Configuration property session.timeout.ms is a consumer property and will be ignored by this producer instance
). Closes:
#58983
.
#58956
(
Aleksandr Musorin
).
Functions
date_diff
and
age
now calculate their result at nanosecond instead of microsecond precision. They now also offer
nanosecond
(or
nanoseconds
or
ns
) as a possible value for the
unit
parameter.
#61409
(
Austin Kothig
).
Added nano-, micro-, milliseconds unit for
date_trunc
.
#62335
(
Misz606
).
Reload certificate chain during certificate reload.
#61671
(
Pervakov Grigorii
).
Try to prevent an error
#60432
by not allowing a table to be attached if there is an active replica for that replica path.
#61876
(
Arthur Passos
).
Implement support for
input
for
clickhouse-local
.
#61923
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
0.02511517144739628,
0.0504780039191246,
-0.03951200470328331,
0.07753903418779373,
-0.014603007584810257,
-0.05886571854352951,
0.034433118999004364,
-0.041111670434474945,
0.05849383398890495,
0.14605554938316345,
-0.010229108855128288,
0.03113947995007038,
0.06208263710141182,
-0.024799... |
c6b357ad-cc05-4bca-b43b-8999647d0f01 | Implement support for
input
for
clickhouse-local
.
#61923
(
Azat Khuzhin
).
Join
table engine with strictness
ANY
is consistent after reload. When several rows with the same key are inserted, the first one will have higher priority (before, it was chosen randomly upon table loading). close
#51027
.
#61972
(
vdimir
).
Automatically infer Nullable column types from Apache Arrow schema.
#61984
(
Maksim Kita
).
Allow to cancel parallel merge of aggregate states during aggregation. Example:
uniqExact
.
#61992
(
Maksim Kita
).
Use
system.keywords
to fill in the suggestions and also use them in the all places internally.
#62000
(
Nikita Mikhaylov
).
OPTIMIZE FINAL
for
ReplicatedMergeTree
now will wait for currently active merges to finish and then reattempt to schedule a final merge. This will put it more in line with ordinary
MergeTree
behaviour.
#62067
(
Nikita Taranov
).
While read data from a hive text file, it would use the first line of hive text file to resize of number of input fields, and sometimes the fields number of first line is not matched with the hive table defined , such as the hive table is defined to have 3 columns, like
test_tbl(a Int32, b Int32, c Int32)
, but the first line of text file only has 2 fields, and in this situation, the input fields will be resized to 2, and if the next line of the text file has 3 fields, then the third field can not be read but set a default value 0, which is not right.
#62086
(
KevinyhZou
).
CREATE AS
copies the table's comment.
#62117
(
Pablo Marcos
).
Add query progress to table zookeeper.
#62152
(
JackyWoo
).
Add ability to turn on trace collector (Real and CPU) server-wide.
#62189
(
alesapin
).
Added setting
lightweight_deletes_sync
(default value: 2 - wait all replicas synchronously). It is similar to setting
mutations_sync
but affects only behaviour of lightweight deletes.
#62195
(
Anton Popov
).
Distinguish booleans and integers while parsing values for custom settings:
SET custom_a = true; SET custom_b = 1;
.
#62206
(
Vitaly Baranov
).
Support S3 access through AWS Private Link Interface endpoints. Closes
#60021
,
#31074
and
#53761
.
#62208
(
Arthur Passos
).
Do not create a directory for UDF in clickhouse-client if it does not exist. This closes
#59597
.
#62366
(
Alexey Milovidov
).
The query cache now no longer caches results of queries against system tables (
system.*
,
information_schema.*
,
INFORMATION_SCHEMA.*
).
#62376
(
Robert Schulze
). | {"source_file": "2024.md"} | [
-0.03158199414610863,
-0.07555338740348816,
-0.007728035561740398,
-0.018649879842996597,
-0.044262003153562546,
-0.0012239516945555806,
0.02955798991024494,
-0.009707112796604633,
-0.0851086750626564,
0.030432136729359627,
0.05671253055334091,
-0.014733278192579746,
0.053129397332668304,
... |
e18de195-2156-43ae-805e-d882bf02d9fc | The query cache now no longer caches results of queries against system tables (
system.*
,
information_schema.*
,
INFORMATION_SCHEMA.*
).
#62376
(
Robert Schulze
).
MOVE PARTITION TO TABLE
query can be delayed or can throw
TOO_MANY_PARTS
exception to avoid exceeding limits on the part count. The same settings and limits are applied as for the
INSERT
query (see
max_parts_in_total
,
parts_to_delay_insert
,
parts_to_throw_insert
,
inactive_parts_to_throw_insert
,
inactive_parts_to_delay_insert
,
max_avg_part_size_for_too_many_parts
,
min_delay_to_insert_ms
and
max_delay_to_insert
settings).
#62420
(
Sergei Trifonov
).
Changed the default installation directory on macOS from
/usr/bin
to
/usr/local/bin
. This is necessary because Apple's System Integrity Protection introduced with macOS El Capitan (2015) prevents writing into
/usr/bin
, even with
sudo
.
#62489
(
haohang
).
Make transform always return the first match.
#62518
(
Raúl Marín
).
Added the missing
hostname
column to system table
blob_storage_log
.
#62456
(
Jayme Bird
).
For consistency with other system tables,
system.backup_log
now has a column
event_time
.
#62541
(
Jayme Bird
).
Table
system.backup_log
now has the "default" sorting key which is
event_date, event_time
, the same as for other
_log
table engines.
#62667
(
Nikita Mikhaylov
).
Avoid evaluating table DEFAULT expressions while executing
RESTORE
.
#62601
(
Vitaly Baranov
).
S3 storage and backups also need the same default keep alive settings as s3 disk.
#62648
(
Sema Checherinda
).
Add librdkafka's (that infamous C library, which has a lot of bugs) client identifier to log messages to be able to differentiate log messages from different consumers of a single table.
#62813
(
János Benjamin Antal
).
Allow special macros
{uuid}
and
{database}
in a Replicated database ZooKeeper path.
#62818
(
Vitaly Baranov
).
Allow quota key with different auth scheme in HTTP requests.
#62842
(
Kseniia Sumarokova
).
Reduce the verbosity of command line argument
--help
in
clickhouse client
and
clickhouse local
. The previous output is now generated by
--help --verbose
.
#62973
(
Yarik Briukhovetskyi
).
log_bin_use_v1_row_events
was removed in MySQL 8.3, and we adjust the experimental
MaterializedMySQL
engine for it
#60479
.
#63101
(
Eugene Klimov
). Author: Nikolay Yankin.
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-4}
Vendor in Rust dependencies, so the Rust code (that we use for minor features for hype and lulz) can be built in a sane way, similarly to C++.
#62297
(
Raúl Marín
).
ClickHouse now uses OpenSSL 3.2 instead of BoringSSL.
#59870
(
Robert Schulze
). Note that OpenSSL has generally worse engineering culture (such as non-zero number of sanitizer reports, that we had to patch, a complex build system with generated files, etc.) but has better compatibility. | {"source_file": "2024.md"} | [
0.043323367834091187,
-0.038717228919267654,
0.008324973285198212,
-0.024405278265476227,
0.01499972864985466,
-0.07552281022071838,
-0.021443156525492668,
0.06391938030719757,
0.003076585941016674,
0.01877584680914879,
0.05962308496236801,
0.035075604915618896,
0.03388144448399544,
-0.037... |
d01adcdc-6dde-4e48-8380-db7a43d38d68 | Ignore DROP queries in stress test with 1/2 probability, use TRUNCATE instead of ignoring DROP in upgrade check for Memory/JOIN tables.
#61476
(
Kruglov Pavel
).
Remove from the Keeper Docker image the volumes at /etc/clickhouse-keeper and /var/log/clickhouse-keeper.
#61683
(
Tristan
).
Add tests for all issues which are no longer relevant with Analyzer being enabled by default. Closes:
#55794
Closes:
#49472
Closes:
#44414
Closes:
#13843
Closes:
#55803
Closes:
#48308
Closes:
#45535
Closes:
#44365
Closes:
#44153
Closes:
#42399
Closes:
#27115
Closes:
#23162
Closes:
#15395
Closes:
#15411
Closes:
#14978
Closes:
#17319
Closes:
#11813
Closes:
#13210
Closes:
#23053
Closes:
#37729
Closes:
#32639
Closes:
#9954
Closes:
#41964
Closes:
#54317
Closes:
#7520
Closes:
#36973
Closes:
#40955
Closes:
#19687
Closes:
#23104
Closes:
#21584
Closes:
#23344
Closes:
#22627
Closes:
#10276
Closes:
#19687
Closes:
#4567
Closes:
#17710
Closes:
#11068
Closes:
#24395
Closes:
#23416
Closes:
#23162
Closes:
#25655
Closes:
#11757
Closes:
#6571
Closes:
#4432
Closes:
#8259
Closes:
#9233
Closes:
#14699
Closes:
#27068
Closes:
#28687
Closes:
#28777
Closes:
#29734
Closes:
#61238
Closes:
#33825
Closes:
#35608
Closes:
#29838
Closes:
#35652
Closes:
#36189
Closes:
#39634
Closes:
#47432
Closes:
#54910
Closes:
#57321
Closes:
#59154
Closes:
#61014
Closes:
#61950
Closes:
#55647
Closes:
#61947
.
#62185
(
Nikita Mikhaylov
).
Add more tests from issues which are no longer relevant or fixed by analyzer. Closes:
#58985
Closes:
#59549
Closes:
#36963
Closes:
#39453
Closes:
#56521
Closes:
#47552
Closes:
#56503
Closes:
#59101
Closes:
#50271
Closes:
#54954
Closes:
#56466
Closes:
#11000
Closes:
#10894
Closes: https://github.com/ClickHouse/ClickHouse/issues/448 Closes:
#8030
Closes:
#32139
Closes:
#47288
Closes:
#50705
Closes:
#54511
Closes:
#55466
Closes:
#58500
Closes:
#39923
Closes:
#39855
Closes:
#4596
Closes:
#47422
Closes:
#33000
Closes:
#14739
Closes:
#44039
Closes:
#8547
Closes:
#22923
Closes:
#23865
Closes:
#29748
Closes:
#4222
.
#62457
(
Nikita Mikhaylov
).
Fixed build errors when OpenSSL is linked dynamically (note: this is generally unsupported and only required for IBM's s390x platforms).
#62888
(
Harry Lee
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-6}
Fix logical-error when undoing quorum insert transaction.
#61953
(
Han Fei
).
Fix parser error when using COUNT(*) with FILTER clause
#61357
(
Duc Canh Le
).
Fix logical error in
group_by_use_nulls
+ grouping sets + analyzer + materialize/constant
#61567
(
Kruglov Pavel
).
Cancel merges before removing moved parts
#61610
(
János Benjamin Antal
).
Fix abort in Apache Arrow
#61720
(
Kruglov Pavel
). | {"source_file": "2024.md"} | [
0.0627930611371994,
0.0010551162995398045,
-0.03571346029639244,
0.05541503056883812,
0.031172513961791992,
-0.091031014919281,
0.05081354081630707,
0.010380465537309647,
0.006759416311979294,
0.041581153869628906,
-0.027923624962568283,
-0.051206838339567184,
-0.0013914048904553056,
0.024... |
a70ce80c-ed09-402a-b819-7458e0e96141 | Cancel merges before removing moved parts
#61610
(
János Benjamin Antal
).
Fix abort in Apache Arrow
#61720
(
Kruglov Pavel
).
Search for
convert_to_replicated
flag at the correct path corresponding to the specific disk
#61769
(
Kirill
).
Fix possible connections data-race for distributed_foreground_insert/distributed_background_insert_batch
#61867
(
Azat Khuzhin
).
Mark CANNOT_PARSE_ESCAPE_SEQUENCE error as parse error to be able to skip it in row input formats
#61883
(
Kruglov Pavel
).
Fix writing exception message in output format in HTTP when http_wait_end_of_query is used
#61951
(
Kruglov Pavel
).
Proper fix for LowCardinality together with JSONExtact functions
#61957
(
Nikita Mikhaylov
).
Crash in Engine Merge if Row Policy does not have expression
#61971
(
Ilya Golshtein
).
Fix WriteBufferAzureBlobStorage destructor uncaught exception
#61988
(
SmitaRKulkarni
).
Fix CREATE TABLE without columns definition for ReplicatedMergeTree
#62040
(
Azat Khuzhin
).
Fix optimize_skip_unused_shards_rewrite_in for composite sharding key
#62047
(
Azat Khuzhin
).
ReadWriteBufferFromHTTP set right header host when redirected
#62068
(
Sema Checherinda
).
Fix external table cannot parse data type Bool
#62115
(
Duc Canh Le
).
Analyzer: Fix query parameter resolution
#62186
(
Dmitry Novik
).
Fix restoring parts while readonly
#62207
(
Vitaly Baranov
).
Fix crash in index definition containing SQL UDF
#62225
(
vdimir
).
Fixing NULL random seed for generateRandom with analyzer.
#62248
(
Nikolai Kochetov
).
Correctly handle const columns in Distinct Transfom
#62250
(
Antonio Andelic
).
Fix Parts Splitter for queries with the FINAL modifier
#62268
(
Nikita Taranov
).
Analyzer: Fix alias to parametrized view resolution
#62274
(
Dmitry Novik
).
Analyzer: Fix name resolution from parent scopes
#62281
(
Dmitry Novik
).
Fix argMax with nullable non native numeric column
#62285
(
Raúl Marín
).
Fix BACKUP and RESTORE of a materialized view in Ordinary database
#62295
(
Vitaly Baranov
).
Fix data race on scalars in Context
#62305
(
Kruglov Pavel
).
Fix primary key in materialized view
#62319
(
Murat Khairulin
).
Do not build multithread insert pipeline for tables without support
#62333
(
vdimir
).
Fix analyzer with positional arguments in distributed query
#62362
(
flynn
).
Fix filter pushdown from additional_table_filters in Merge engine in analyzer
#62398
(
Kruglov Pavel
).
Fix GLOBAL IN table queries with analyzer.
#62409
(
Nikolai Kochetov
).
Respect settings truncate_on_insert/create_new_file_on_insert in s3/hdfs/azure engines during partitioned write
#62425
(
Kruglov Pavel
).
Fix backup restore path for AzureBlobStorage
#62447
(
SmitaRKulkarni
).
Fix SimpleSquashingChunksTransform
#62451
(
Nikita Taranov
).
Fix capture of nested lambda.
#62462
(
Nikolai Kochetov
). | {"source_file": "2024.md"} | [
-0.040315113961696625,
-0.05446482077240944,
-0.01213175617158413,
-0.01659824699163437,
-0.035177674144506454,
-0.04483005404472351,
-0.06475899368524551,
0.007938510738313198,
-0.012247302569448948,
0.032144635915756226,
0.08951124548912048,
-0.017842652276158333,
0.032387297600507736,
-... |
79115ce0-a298-4871-b91f-ef13a66d2d87 | Fix SimpleSquashingChunksTransform
#62451
(
Nikita Taranov
).
Fix capture of nested lambda.
#62462
(
Nikolai Kochetov
).
Avoid crash when reading protobuf with recursive types
#62506
(
Raúl Marín
).
Fix a bug moving one partition from one to itself
#62524
(
helifu
).
Fix scalar subquery in LIMIT
#62567
(
Nikolai Kochetov
).
Fix segfault in the experimental and unsupported Hive engine, which we don't like anyway
#62578
(
Nikolay Degterinsky
).
Fix memory leak in groupArraySorted
#62597
(
Antonio Andelic
).
Fix crash in largestTriangleThreeBuckets
#62646
(
Raúl Marín
).
Fix tumble[Start,End] and hop[Start,End] for bigger resolutions
#62705
(
Jordi Villar
).
Fix argMin/argMax combinator state
#62708
(
Raúl Marín
).
Fix temporary data in cache failing because of cache lock contention optimization
#62715
(
Kseniia Sumarokova
).
Fix crash in function
mergeTreeIndex
#62762
(
Anton Popov
).
fix: update: nested materialized columns: size check fixes
#62773
(
Eliot Hautefeuille
).
Fix FINAL modifier is not respected in CTE with analyzer
#62811
(
Duc Canh Le
).
Fix crash in function
formatRow
with
JSON
format and HTTP interface
#62840
(
Anton Popov
).
Azure: fix building final url from endpoint object
#62850
(
Daniel Pozo Escalona
).
Fix GCD codec
#62853
(
Nikita Taranov
).
Fix LowCardinality(Nullable) key in hyperrectangle
#62866
(
Amos Bird
).
Fix fromUnixtimestamp in joda syntax while the input value beyond UInt32
#62901
(
KevinyhZou
).
Disable optimize_rewrite_aggregate_function_with_if for sum(nullable)
#62912
(
Raúl Marín
).
Fix PREWHERE for StorageBuffer with different source table column types.
#62916
(
Nikolai Kochetov
).
Fix temporary data in cache incorrectly processing failure of cache key directory creation
#62925
(
Kseniia Sumarokova
).
gRPC: fix crash on IPv6 peer connection
#62978
(
Konstantin Bogdanov
).
Fix possible CHECKSUM_DOESNT_MATCH (and others) during replicated fetches
#62987
(
Azat Khuzhin
).
Fix terminate with uncaught exception in temporary data in cache
#62998
(
Kseniia Sumarokova
).
Fix optimize_rewrite_aggregate_function_with_if implicit cast
#62999
(
Raúl Marín
).
Fix unhandled exception in ~RestorerFromBackup
#63040
(
Vitaly Baranov
).
Do not remove server constants from GROUP BY key for secondary query.
#63047
(
Nikolai Kochetov
).
Fix incorrect judgement of of monotonicity of function abs
#63097
(
Duc Canh Le
).
Set server name for SSL handshake in MongoDB engine
#63122
(
Alexander Gololobov
).
Use user specified db instead of "config" for MongoDB wire protocol version check
#63126
(
Alexander Gololobov
).
ClickHouse release 24.3 LTS, 2024-03-27 {#a-id243a-clickhouse-release-243-lts-2024-03-27}
Upgrade Notes {#upgrade-notes-1} | {"source_file": "2024.md"} | [
-0.051161523908376694,
-0.01523582823574543,
0.007196847349405289,
-0.06693767756223679,
-0.015388593077659607,
-0.0577210895717144,
-0.0349142849445343,
0.02304910123348236,
-0.14115597307682037,
0.06417442113161087,
-0.042773764580488205,
0.010960058309137821,
-0.09160773456096649,
-0.00... |
95013107-a5b9-49f8-a2b5-f7fc376ac156 | ClickHouse release 24.3 LTS, 2024-03-27 {#a-id243a-clickhouse-release-243-lts-2024-03-27}
Upgrade Notes {#upgrade-notes-1}
The setting
allow_experimental_analyzer
is enabled by default and it switches the query analysis to a new implementation, which has better compatibility and feature completeness. The feature "analyzer" is considered beta instead of experimental. You can turn the old behavior by setting the
compatibility
to
24.2
or disabling the
allow_experimental_analyzer
setting. Watch the
video on YouTube
.
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
).
In the new ClickHouse version, the functions
geoDistance
,
greatCircleDistance
, and
greatCircleAngle
will use 64-bit double precision floating point data type for internal calculations and return type if all the arguments are Float64. This closes
#58476
. In previous versions, the function always used Float32. You can switch to the old behavior by setting
geo_distance_returns_float64_on_float64_arguments
to
false
or setting
compatibility
to
24.2
or earlier.
#61848
(
Alexey Milovidov
). Co-authored with
Geet Patel
. | {"source_file": "2024.md"} | [
0.00493055023252964,
-0.05133684724569321,
-0.048320479691028595,
-0.0801820233464241,
-0.06390519440174103,
-0.022458869963884354,
0.027332857251167297,
-0.04130655527114868,
-0.022769179195165634,
-0.028726793825626373,
0.03550717234611511,
-0.005072840489447117,
0.007549951784312725,
0.... |
09250308-c77e-4dcf-9051-f58133e6c0b7 | 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
).
Changed the column name from
duration_ms
to
duration_microseconds
in the
system.zookeeper
table to reflect the reality that the duration is in the microsecond resolution.
#60774
(
Duc Canh Le
).
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
.
To increase compatibility with MySQL, the compatibility alias
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
).
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
).
The
Ordinary
database engine is deprecated. You will receive a warning in clickhouse-client if your server is using it. This closes
#52229
.
#56942
(
shabroo
).
New Feature {#new-feature-9} | {"source_file": "2024.md"} | [
0.08675675094127655,
-0.030753102153539658,
-0.017948273569345474,
0.005212724674493074,
-0.016187261790037155,
-0.06180964410305023,
0.0032679750584065914,
0.033147577196359634,
-0.06325944513082504,
0.013744215480983257,
0.07267127186059952,
0.01791246235370636,
-0.004697694443166256,
-0... |
4c144ad9-3fa7-467e-bcf2-c23eb5201a68 | New Feature {#new-feature-9}
Support reading and writing backups as
tar
(in addition to
zip
).
#59535
(
josh-hildred
).
Implemented support for S3 Express buckets.
#59965
(
Nikita Taranov
).
Allow to attach parts from a different disk (using copy instead of hard link).
#60112
(
Unalian
).
Size-capped
Memory
tables: controlled by their settings,
min_bytes_to_keep, max_bytes_to_keep, min_rows_to_keep
and
max_rows_to_keep
.
#60612
(
Jake Bamrah
).
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
).
Added a 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
).
Add support for
ATTACH PARTITION ALL
.
#61107
(
Kirill Nikiforov
).
Add a new function,
getClientHTTPHeader
. This closes
#54665
. Co-authored with @lingtaolf.
#61820
(
Alexey Milovidov
).
Add
generate_series
as a table function (compatibility alias for PostgreSQL to the existing
numbers
function). This function generates table with an arithmetic progression with natural numbers.
#59390
(
divanik
).
A mode for
topK
/
topkWeighed
support mode, which return count of values and its error.
#54508
(
UnamedRus
).
Added function
toMillisecond
which returns the millisecond component for values of type
DateTime
or
DateTime64
.
#60281
(
Shaun Struwig
).
Allow configuring HTTP redirect handlers for clickhouse-server. For example, you can make
/
redirect to the Play UI.
#60390
(
Alexey Milovidov
).
Performance Improvement {#performance-improvement-9}
Optimized function
dotProduct
to omit unnecessary and expensive memory copies.
#60928
(
Robert Schulze
).
30x faster printing for 256-bit integers.
#61100
(
Raúl Marín
).
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
).
Improve the performance of serialized aggregation methods when involving multiple
Nullable
columns.
#55809
(
Amos Bird
).
Lazy builds JSON's output to improve performance of ALL JOIN.
#58278
(
LiuNeng
).
Make HTTP/HTTPS connections with external services, such as AWS S3 reusable for all use cases. Even when the response is 3xx or 4xx.
#58845
(
Sema Checherinda
). | {"source_file": "2024.md"} | [
-0.033866893500089645,
-0.07955493032932281,
-0.06744743883609772,
0.04856865480542183,
-0.010792603716254234,
-0.0437670536339283,
-0.04153714329004288,
0.035583190619945526,
-0.012317308224737644,
0.08470387756824493,
-0.037654273211956024,
0.03445086628198624,
0.057850126177072525,
-0.0... |
ad882303-2ee0-4709-8348-90cd9026a864 | Make HTTP/HTTPS connections with external services, such as AWS S3 reusable for all use cases. Even when the response is 3xx or 4xx.
#58845
(
Sema Checherinda
).
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
).
Trivial optimization for column's filter. Peak memory can be reduced to 44% of the original in some cases.
#59698
(
李扬
).
Execute
multiIf
function in a columnar fashion when the result type's underlying type is a number.
#60384
(
李扬
).
Faster (almost 2x) mutexes.
#60823
(
Azat Khuzhin
).
Drain multiple connections in parallel when a distributed query is finishing.
#60845
(
lizhuoyu5
).
Optimize data movement between columns of a Nullable number or a Nullable string, which improves some micro-benchmarks.
#60846
(
李扬
).
Operations with the filesystem cache will suffer less from the lock contention.
#61066
(
Alexey Milovidov
).
Optimize array join and other JOINs by preventing a wrong compiler's optimization. Close
#61074
.
#61075
(
李扬
).
If a query with a syntax error contained the
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
).
Add a new analyzer pass to optimize the IN operator for a single value.
#61564
(
LiuNeng
).
DNSResolver shuffles set of resolved IPs which is needed to uniformly utilize multiple endpoints of AWS S3.
#60965
(
Sema Checherinda
).
Experimental Feature {#experimental-feature-7}
Support parallel reading for Azure blob storage. This improves the performance of the experimental Azure object storage.
#61503
(
SmitaRKulkarni
).
Add asynchronous WriteBuffer for Azure blob storage similar to S3. This improves the performance of the experimental Azure object storage.
#59929
(
SmitaRKulkarni
).
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
).
Add a setting
parallel_replicas_allow_in_with_subquery = 1
which allows subqueries for IN work with parallel replicas.
#60950
(
Nikolai Kochetov
). | {"source_file": "2024.md"} | [
-0.040058329701423645,
0.06407982110977173,
-0.10059826076030731,
-0.008612750098109245,
-0.0552758052945137,
-0.0315711535513401,
0.000984317739494145,
-0.05800053849816322,
0.015092097222805023,
0.03924930468201637,
-0.009992307052016258,
-0.031910259276628494,
0.051031097769737244,
-0.0... |
a1476006-d8fe-4cb4-a3f1-e973c7117969 | Add a setting
parallel_replicas_allow_in_with_subquery = 1
which allows subqueries for IN work with parallel replicas.
#60950
(
Nikolai Kochetov
).
A change for the "zero-copy" replication: 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
).
Improvement {#improvement-9}
Use
MergeTree
as a default table engine.
#60524
(
Alexey Milovidov
)
Enable
output_format_pretty_row_numbers
by default. It is better for usability.
#61791
(
Alexey Milovidov
).
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
).
Add ability to override initial INSERT settings via
SYSTEM FLUSH DISTRIBUTED
.
#61832
(
Azat Khuzhin
).
Enable processors profiling (time spent/in and out bytes for sorting, aggregation, ...) by default.
#61096
(
Azat Khuzhin
).
Support files without format extension in Filesystem database.
#60795
(
Kruglov Pavel
).
Make all format names case insensitive, like Tsv, or TSV, or tsv, or even rowbinary.
#60420
(
豪肥肥
). I appreciate if you will continue to write it correctly, e.g.,
JSON
😇, not
Json
🤮, but we don't mind if you spell it as you prefer.
Added
none_only_active
mode for
distributed_ddl_output_mode
setting.
#60340
(
Alexander Tokmakov
).
The advanced dashboard has slightly better colors for multi-line graphs.
#60391
(
Alexey Milovidov
).
The Advanced dashboard now has controls always visible on scrolling. This allows you to add a new chart without scrolling up.
#60692
(
Alexey Milovidov
).
While running the
MODIFY COLUMN
query for materialized views, check the inner table's structure to ensure every column exists.
#47427
(
sunny
).
String types and Enums can be used in the same context, such as: arrays, UNION queries, conditional expressions. This closes
#60726
.
#60727
(
Alexey Milovidov
). | {"source_file": "2024.md"} | [
-0.04298517107963562,
-0.0013501307694241405,
-0.0363786555826664,
-0.04694979265332222,
-0.07362876832485199,
0.006081598345190287,
-0.06956324726343155,
0.01778317429125309,
-0.005363821052014828,
0.03469467908143997,
0.02239103801548481,
-0.04745122417807579,
0.07303336262702942,
-0.116... |
e78d3577-70ee-462f-a819-a2e8898cbb25 | String types and Enums can be used in the same context, such as: arrays, UNION queries, conditional expressions. This closes
#60726
.
#60727
(
Alexey Milovidov
).
Allow declaring Enums in the structure of external data for query processing (this is an immediate temporary table that you can provide for your query).
#57857
(
Duc Canh Le
).
Consider lightweight deleted rows when selecting parts to merge, so the disk size of the resulting part will be estimated better.
#58223
(
Zhuo Qiu
).
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
). 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
).
Instead of using a constant key, now object storage generates key for determining remove objects capability.
#59495
(
Sema Checherinda
).
Allow "local" as object storage type instead of "local_blob_storage".
#60165
(
Kseniia Sumarokova
).
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 a table (like everything in the Distributed engine right now)).
#60225
(
Azat Khuzhin
).
Add a setting to force read-through cache for merges.
#60308
(
Kseniia Sumarokova
).
An improvement for the MySQL compatibility protocol. The 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
).
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
).
Update tzdata to 2024a.
#60768
(
Raúl Marín
).
Keeper improvement: support
leadership_expiry_ms
in Keeper's settings.
#60806
(
Brokenice0415
). | {"source_file": "2024.md"} | [
0.03537799045443535,
0.021175872534513474,
-0.03562379255890846,
-0.034931480884552,
0.020027270540595055,
-0.0018266686238348484,
-0.03862901031970978,
0.08100391924381256,
-0.04044226557016373,
0.030346304178237915,
0.0037387560587376356,
-0.011919595301151276,
-0.028941212221980095,
-0.... |
6c7250ff-527c-41eb-a323-d057bb4453cb | Update tzdata to 2024a.
#60768
(
Raúl Marín
).
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 support for
START TRANSACTION
syntax typically used in MySQL syntax, resolving https://github.com/ClickHouse/ClickHouse/discussions/60865.
#60886
(
Zach Naimon
).
Add a flag for the full-sorting merge join algorithm to treat null as biggest/smallest. So the behavior can be compitable with other SQL systems, like Apache Spark.
#60896
(
loudongfeng
).
Support detect output format by file exctension in
clickhouse-client
and
clickhouse-local
.
#61036
(
豪肥肥
).
Update memory limit in runtime when Linux's CGroups value changed.
#61049
(
Han Fei
).
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:
GRANT SELECT ON *.* TO user1; REVOKE SELECT ON system.* FROM user1;
.
#61115
(
pufit
).
Fix
has()
function with
Nullable
column (fixes
#60214
).
#61249
(
Mikhail Koviazin
).
Now it's possible to specify the 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
).
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 the 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
). | {"source_file": "2024.md"} | [
-0.022001245990395546,
-0.018345175310969353,
-0.077934131026268,
-0.007460164837539196,
-0.05805908516049385,
-0.05527146905660629,
-0.02149769477546215,
0.05269072949886322,
-0.05146145448088646,
0.03222528100013733,
0.05428320914506912,
0.020011287182569504,
0.013513647019863129,
0.0461... |
d6ef2b1f-75d1-46f4-9e10-b99c6e6696ac | Fixed typo: from
use_leagcy_max_level
to
use_legacy_max_level
.
#61545
(
William Schoeffel
).
Remove some duplicate entries in
system.blob_storage_log
.
#61622
(
YenchangChan
).
Added
current_user
function as a compatibility alias for MySQL.
#61770
(
Yarik Briukhovetskyi
).
Fix inconsistent floating point aggregate function states in mixed x86-64 / ARM clusters
#60610
(
Harry Lee
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-5}
The real-time query profiler now works on AArch64. In previous versions, it worked only when a program didn't spend time inside a syscall.
#60807
(
Alexey Milovidov
).
ClickHouse version has been added to docker labels. Closes
#54224
.
#60949
(
Nikolay Monkov
).
Upgrade
prqlc
to 0.11.3.
#60616
(
Maximilian Roos
).
Add generic query text fuzzer in
clickhouse-local
.
#61508
(
Alexey Milovidov
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-7}
Fix finished_mutations_to_keep=0 for MergeTree (as docs says 0 is to keep everything)
#60031
(
Azat Khuzhin
).
Something was wrong with the FINAL optimization, here is how the author describes it: "PartsSplitter invalid ranges for the same part".
#60041
(
Maksim Kita
).
Something was wrong with Apache Hive, which is experimental and not supported.
#60262
(
shanfengp
).
An improvement for experimental parallel replicas: 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
).
Try to fix logical error 'Cannot capture column because it has incompatible type' in mapContainsKeyLike
#60451
(
Kruglov Pavel
).
Avoid calculation of scalar subqueries for CREATE TABLE.
#60464
(
Nikolai Kochetov
).
Fix deadlock in parallel parsing when lots of rows are skipped due to errors
#60516
(
Kruglov Pavel
).
Something was wrong with experimental KQL (Kusto) support: fix
max_query_size_for_kql_compound_operator
:
#60534
(
Yong Wang
).
Keeper fix: add timeouts when waiting for commit logs
#60544
(
Antonio Andelic
).
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(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
). | {"source_file": "2024.md"} | [
-0.03216718137264252,
-0.014123079366981983,
-0.07324478030204773,
0.025245487689971924,
-0.06832529604434967,
-0.09170752018690109,
0.014844832941889763,
0.08003915101289749,
-0.07703110575675964,
0.027786418795585632,
0.023115776479244232,
-0.10629667341709137,
0.06825827807188034,
0.024... |
c195386e-9b6c-498f-987b-077451552197 | 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 assertion 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
).
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 (experimental feature)
#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 consecutive keys optimization for nullable keys
#61393
(
Anton Popov
).
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 an inconsistency when reading system.parts using UUID.
#61479
(
Dan Wu
).
Fix ALTER QUERY MODIFY SQL SECURITY
#61480
(
pufit
).
Fix a crash in window view (experimental feature)
#61526
(
Alexey Milovidov
).
Fix
repeat
with non-native integers
#61527
(
Antonio Andelic
).
Fix client's
-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
).
Disallow LowCardinality input type for JSONExtract
#61617
(
Julia Kartseva
). | {"source_file": "2024.md"} | [
-0.03042610175907612,
-0.03245461732149124,
-0.05039772391319275,
-0.030750514939427376,
-0.0037113854195922613,
-0.023060351610183716,
-0.04106288030743599,
0.04908430203795433,
-0.03524574264883995,
0.046838488429784775,
0.003315220819786191,
-0.01582992821931839,
0.04123935475945473,
0.... |
7ace5b86-3b76-4219-af1f-804ab70b5a21 | Fix addDays cause an error when used DateTime64
#61561
(
Shuai li
).
Disallow LowCardinality input type for JSONExtract
#61617
(
Julia Kartseva
).
Fix
system.part_log
for async insert with deduplication
#61620
(
Antonio Andelic
).
Fix a
Non-ready set
exception for system.parts.
#61666
(
Nikolai Kochetov
).
Fix actual_part_name for REPLACE_RANGE (
Entry actual part isn't empty yet
)
#61675
(
Alexander Tokmakov
).
Fix a sanitizer report in
multiSearchAllPositionsCaseInsensitiveUTF8
for incorrect UTF-8
#61749
(
pufit
).
Fix an observation that the RANGE frame is not supported for Nullable columns.
#61766
(
YuanLiu
).
ClickHouse release 24.2, 2024-02-29 {#a-id242a-clickhouse-release-242-2024-02-29}
Backward Incompatible Change {#backward-incompatible-change-8}
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
).
Add sanity check for number of threads and block sizes.
#60138
(
Raúl Marín
).
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
).
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
).
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
#60439
(
pufit
).
New Feature {#new-feature-10}
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. So, a View will encapsulate the grants.
#54901
#60439
(
pufit
). | {"source_file": "2024.md"} | [
-0.05258233845233917,
0.010567239485681057,
0.029103538021445274,
0.001495209289714694,
-0.014744516462087631,
-0.0014368281699717045,
-0.09727119654417038,
-0.00018547913350630552,
-0.03303913399577141,
-0.048492733389139175,
0.04503437504172325,
-0.04031103849411011,
-0.0331888273358345,
... |
9a8cfc7c-40a8-4a8a-88d1-d09b13d1ebbf | 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
).
Implement auto-adjustment for asynchronous insert timeouts. The following settings are introduced: async_insert_poll_timeout_ms, async_insert_use_adaptive_busy_timeout, async_insert_busy_timeout_min_ms, async_insert_busy_timeout_max_ms, async_insert_busy_timeout_increase_rate, async_insert_busy_timeout_decrease_rate.
#58486
(
Julia Kartseva
).
Allow to set up a quota for maximum sequential login failures.
#54737
(
Alexey Gerasimchuck
).
A new aggregate function
groupArrayIntersect
. Follows up:
#49862
.
#59598
(
Yarik Briukhovetskyi
).
Backup & Restore support for
AzureBlobStorage
. Resolves
#50747
.
#56988
(
SmitaRKulkarni
).
The user can now specify the template string directly in the query using
format_schema_rows_template
as an alternative to
format_template_row
. Closes
#31363
.
#59088
(
Shaun Struwig
).
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 query
ALTER TABLE table FORGET PARTITION partition
that removes ZooKeeper nodes, related to an empty partition.
#59507
(
Sergei Trifonov
). This is an expert-level feature.
Support JWT credentials file for the NATS table engine.
#59543
(
Nickolaj Jepsen
).
Implemented
system.dns_cache
table, which can be useful for debugging DNS issues.
#59856
(
Kirill Nikiforov
).
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
).
Support single-argument version for the
merge
table function, as
merge(['db_name', ] 'tables_regexp')
.
#60372
(
豪肥肥
).
Support negative positional arguments. Closes
#57736
.
#58292
(
flynn
).
Support specifying a set of permitted users for specific S3 settings in config using
user
key.
#60144
(
Antonio Andelic
).
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
).
Experimental Feature {#experimental-feature-8} | {"source_file": "2024.md"} | [
-0.005264096427708864,
-0.05895119905471802,
-0.08085107803344727,
0.055553287267684937,
0.014803885482251644,
0.02621338702738285,
-0.0600595697760582,
-0.05750379338860512,
0.06293663382530212,
0.11870995163917542,
-0.013272274285554886,
-0.009327859617769718,
0.057352080941200256,
0.011... |
9a4e7669-ce03-47cb-bfea-874bdd2012e5 | Experimental Feature {#experimental-feature-8}
Added function
seriesOutliersDetectTukey
to detect outliers in series data using Tukey's fences algorithm.
#58632
(
Bhavna Jindal
). Keep in mind that the behavior will be changed in the next patch release.
Add function
variantType
that returns Enum with variant type name for each row.
#59398
(
Kruglov Pavel
).
Support
LEFT JOIN
,
ALL INNER JOIN
, and simple subqueries for parallel replicas (only with analyzer). New setting
parallel_replicas_prefer_local_join
chooses local
JOIN
execution (by default) vs
GLOBAL JOIN
. All tables should exist on every replica from
cluster_for_parallel_replicas
. New settings
min_external_table_block_size_rows
and
min_external_table_block_size_bytes
are used to squash small blocks that are sent for temporary tables (only with analyzer).
#58916
(
Nikolai Kochetov
).
Allow concurrent table creation in the
Replicated
database during adding or recovering a new replica.
#59277
(
Konstantin Bogdanov
).
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
).
Disable parallel replicas JOIN with CTE (not analyzer)
#59239
(
Raúl Marín
).
Performance Improvement {#performance-improvement-10}
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
).
Vectorized distance functions used in vector search.
#58866
(
Robert Schulze
).
Vectorized function
dotProduct
which is useful for vector search.
#60202
(
Robert Schulze
).
Add short-circuit ability for
dictGetOrDefault
function. Closes
#52098
.
#57767
(
jsc0218
).
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
).
Keeper improvement: reduce size of data node even more.
#59592
(
Antonio Andelic
). | {"source_file": "2024.md"} | [
-0.029057728126645088,
-0.014562750235199928,
-0.02430621162056923,
0.00833770353347063,
0.012348989956080914,
-0.08084259182214737,
-0.0645056888461113,
0.03254399821162224,
-0.030646806582808495,
0.06789276748895645,
0.02470662258565426,
-0.06000019609928131,
0.045413315296173096,
-0.046... |
5f1171a0-c1f7-49cd-978e-dd32c6ee6be3 | Keeper improvement: reduce size of data node even more.
#59592
(
Antonio Andelic
).
Continue optimizing branch miss of
if
function when result type is
Float*/Decimal*/*Int*
, follow up of https://github.com/ClickHouse/ClickHouse/pull/57885.
#59148
(
李扬
).
Optimize
if
function when the input type is
Map
, the speed-up is up to ~10x.
#59413
(
李扬
).
Improve performance of the
Int8
type by implementing strict aliasing (we already have it for
UInt8
and all other integer types).
#59485
(
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
).
Optimized function
isNotNull
with AVX2.
#59621
(
李扬
).
Improve ASOF JOIN performance for sorted or almost sorted data.
#59731
(
Maksim Kita
).
The previous default value equals to 1 MB for
async_insert_max_data_size
appeared to be too small. The new one would be 10 MiB.
#59536
(
Nikita Mikhaylov
).
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
).
Improvement {#improvement-10}
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.
#60379
(
rogeryk
).
Added settings
split_parts_ranges_into_intersecting_and_non_intersecting_final
and
split_intersecting_parts_ranges_into_layers_final
. These settings are needed to disable optimizations for queries with
FINAL
and needed for debug only.
#59705
(
Maksim Kita
). Actually not only for that - they can also lower memory usage at the expense of performance.
Rename the setting
extract_kvp_max_pairs_per_row
to
extract_key_value_pairs_max_pairs_per_row
. The issue (unnecessary abbreviation in the setting name) was introduced in https://github.com/ClickHouse/ClickHouse/pull/43606. Fix the documentation of this setting.
#59683
(
Alexey Milovidov
).
#59960
(
jsc0218
).
Running
ALTER COLUMN MATERIALIZE
on a column with
DEFAULT
or
MATERIALIZED
expression now precisely follows the semantics.
#58023
(
Duc Canh Le
).
Enabled an exponential backoff logic for errors during mutations. It will reduce the CPU usage, memory usage and log file sizes.
#58036
(
MikhailBurdukov
).
Add improvement to count the
InitialQuery
Profile Event.
#58195
(
Unalian
).
Allow to define
volume_priority
in
storage_configuration
.
#58533
(
Andrey Zvonov
).
Add support for the
Date32
type in the
T64
codec.
#58738
(
Hongbin Ma
).
Allow trailing commas in types with several items.
#59119
(
Aleksandr Musorin
). | {"source_file": "2024.md"} | [
-0.0029463607352226973,
0.11486387997865677,
0.00042764461250044405,
-0.02875743806362152,
-0.019821150228381157,
-0.04706506431102753,
0.06248214840888977,
0.06261730939149857,
-0.0611574612557888,
0.026822799816727638,
-0.02904025837779045,
-0.05743306875228882,
0.03685411810874939,
-0.0... |
95cad309-fcf9-4c64-a15a-41e37ea73b02 | Add support for the
Date32
type in the
T64
codec.
#58738
(
Hongbin Ma
).
Allow trailing commas in types with several items.
#59119
(
Aleksandr Musorin
).
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
).
Retry disconnects and expired sessions when reading
system.zookeeper
. This is helpful when reading many rows from
system.zookeeper
table especially in the presence of fault-injected disconnects.
#59388
(
Alexander Gololobov
).
Do not interpret numbers with leading zeroes as octals when
input_format_values_interpret_expressions=0
.
#59403
(
Joanna Hulboj
).
At startup and whenever config files are changed, ClickHouse updates the hard memory limits of its total memory tracker. These limits are computed based on various server settings and cgroups limits (on Linux). Previously, setting
/sys/fs/cgroup/memory.max
(for cgroups v2) was hard-coded. As a result, cgroup v2 memory limits configured for nested groups (hierarchies), e.g.
/sys/fs/cgroup/my/nested/group/memory.max
were ignored. This is now fixed. The behavior of v1 memory limits remains unchanged.
#59435
(
Robert Schulze
).
New profile events added to observe the time spent on calculating PK/projections/secondary indices during
INSERT
-s.
#59436
(
Nikita Taranov
).
Allow to define a starting point for S3Queue with Ordered mode at the creation using a setting
s3queue_last_processed_path
.
#59446
(
Kseniia Sumarokova
).
Made comments for system tables also available in
system.tables
in
clickhouse-local
.
#59493
(
Nikita Mikhaylov
).
system.zookeeper
table: previously the whole result was accumulated in memory and returned as one big chunk. This change should help to reduce memory consumption when reading many rows from
system.zookeeper
, allow showing intermediate progress (how many rows have been read so far) and avoid hitting connection timeout when result set is big.
#59545
(
Alexander Gololobov
).
Now dashboard understands both compressed and uncompressed state of URL's #hash (backward compatibility). Continuation of
#59124
.
#59548
(
Amos Bird
).
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
).
Do not show a warning about the server version in ClickHouse Cloud because ClickHouse Cloud handles seamless upgrades automatically.
#59657
(
Alexey Milovidov
).
After self-extraction temporary binary is moved instead copying.
#59661
(
Yakov Olkhovskiy
). | {"source_file": "2024.md"} | [
0.048262372612953186,
-0.013857734389603138,
-0.06974027305841446,
0.021419739350676537,
-0.03753170743584633,
-0.020474376156926155,
-0.053542591631412506,
0.0594991073012352,
-0.06375789642333984,
0.07588418573141098,
-0.039352647960186005,
-0.034483056515455246,
0.009969760663807392,
0.... |
7fb8ed17-779c-4969-a693-2d7dd7b852f8 | After self-extraction temporary binary is moved instead copying.
#59661
(
Yakov Olkhovskiy
).
Fix stack unwinding on Apple macOS. This closes
#53653
.
#59690
(
Nikita Mikhaylov
).
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
).
#60434
Unify XML and SQL created named collection behaviour in Kafka storage.
#59710
(
Pervakov Grigorii
).
In case when
merge_max_block_size_bytes
is small enough and tables contain wide rows (strings or tuples) background merges may stuck in an endless loop. This behaviour is fixed. Follow-up for https://github.com/ClickHouse/ClickHouse/pull/59340.
#59812
(
Nikita Mikhaylov
).
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: send only Keeper related metrics/events for Prometheus.
#59945
(
Antonio Andelic
).
The dashboard will display metrics across different ClickHouse versions even if the structure of system tables has changed after the upgrade.
#59967
(
Alexey Milovidov
).
Allow loading AZ info from a file.
#59976
(
Konstantin Bogdanov
).
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
).
Copy S3 file GCP fallback to buffer copy in case GCP returned
Internal Error
with
GATEWAY_TIMEOUT
HTTP error code.
#60164
(
Maksim Kita
).
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
).
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
).
Fix a race condition in JavaScript code leading to duplicate charts on top of each other.
#60392
(
Alexey Milovidov
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-6}
Added builds and tests with coverage collection with introspection. Continuation of
#56102
.
#58792
(
Alexey Milovidov
).
Update the Rust toolchain in
corrosion-cmake
when the CMake cross-compilation toolchain variable is set.
#59309
(
Aris Tritas
).
Add some fuzzing to ASTLiterals.
#59383
(
Raúl Marín
). | {"source_file": "2024.md"} | [
-0.05179038643836975,
-0.08049322664737701,
-0.06003723293542862,
-0.04999654367566109,
-0.045418888330459595,
-0.09719029814004898,
-0.0673418864607811,
-0.009782847948372364,
0.05595451593399048,
0.0692509338259697,
0.0526188500225544,
-0.03891587629914284,
-0.0629744678735733,
-0.078741... |
ce2515f2-0c37-483c-8d88-94f463f495fe | Update the Rust toolchain in
corrosion-cmake
when the CMake cross-compilation toolchain variable is set.
#59309
(
Aris Tritas
).
Add some fuzzing to ASTLiterals.
#59383
(
Raúl Marín
).
If you want to run initdb scripts every time when ClickHouse container is starting you shoud initialize environment varible CLICKHOUSE_ALWAYS_RUN_INITDB_SCRIPTS.
#59808
(
Alexander Nikolaev
).
Remove ability to disable generic clickhouse components (like server/client/...), but keep some that requires extra libraries (like ODBC or keeper).
#59857
(
Azat Khuzhin
).
Query fuzzer will fuzz SETTINGS inside queries.
#60087
(
Alexey Milovidov
).
Add support for building ClickHouse with clang-19 (master).
#60448
(
Alexey Milovidov
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-8}
Fix a "Non-ready set" error in TTL WHERE.
#57430
(
Nikolai Kochetov
).
Fix a bug in the
quantilesGK
function
#58216
(
李扬
).
Fix a wrong behavior with
intDiv
for Decimal arguments
#59243
(
Yarik Briukhovetskyi
).
Fix
translate
with FixedString input
#59356
(
Raúl Marín
).
Fix digest calculation in Keeper
#59439
(
Antonio Andelic
).
Fix stacktraces for binaries without debug symbols
#59444
(
Azat Khuzhin
).
Fix
ASTAlterCommand::formatImpl
in case of column specific settings...
#59445
(
János Benjamin Antal
).
Fix
SELECT * FROM [...] ORDER BY ALL
with Analyzer
#59462
(
zhongyuankai
).
Fix possible uncaught exception during distributed query cancellation
#59487
(
Azat Khuzhin
).
Make MAX use the same rules as permutation for complex types
#59498
(
Raúl Marín
).
Fix corner case when passing
update_insert_deduplication_token_in_dependent_materialized_views
#59544
(
Jordi Villar
).
Fix incorrect result of arrayElement / map on empty value
#59594
(
Raúl Marín
).
Fix crash in topK when merging empty states
#59603
(
Raúl Marín
).
Fix distributed table with a constant sharding key
#59606
(
Vitaly Baranov
).
Fix KQL issue found by WingFuzz
#59626
(
Yong Wang
).
Fix error "Read beyond last offset" for AsynchronousBoundedReadBuffer
#59630
(
Vitaly Baranov
).
Maintain function alias in RewriteSumFunctionWithSumAndCountVisitor
#59658
(
Raúl Marín
).
Fix query start time on non initial queries
#59662
(
Raúl Marín
).
Validate types of arguments for
minmax
skipping index
#59733
(
Anton Popov
).
Fix leftPad / rightPad function with FixedString input
#59739
(
Raúl Marín
).
Fix AST fuzzer issue in function
countMatches
#59752
(
Robert Schulze
).
RabbitMQ: fix having neither acked nor nacked messages
#59775
(
Kseniia Sumarokova
).
Fix StorageURL doing some of the query execution in single thread
#59833
(
Michael Kolupaev
).
S3Queue: fix uninitialized value
#59897
(
Kseniia Sumarokova
).
Fix parsing of partition expressions surrounded by parens
#59901
(
János Benjamin Antal
). | {"source_file": "2024.md"} | [
-0.07319194078445435,
0.013797677122056484,
-0.024674151092767715,
0.03956552594900131,
-0.02102925069630146,
-0.0372115895152092,
0.04144690930843353,
0.017809171229600906,
-0.0920267328619957,
-0.05763896927237511,
-0.02034873701632023,
-0.07817733287811279,
0.053085774183273315,
-0.0215... |
4a7e2cb5-54f1-4353-b3cb-b99cde15965f | S3Queue: fix uninitialized value
#59897
(
Kseniia Sumarokova
).
Fix parsing of partition expressions surrounded by parens
#59901
(
János Benjamin Antal
).
Fix crash in JSONColumnsWithMetadata format over HTTP
#59925
(
Kruglov Pavel
).
Do not rewrite sum to count if the return value differs in Analyzer
#59926
(
Azat Khuzhin
).
UniqExactSet read crash fix
#59928
(
Maksim Kita
).
ReplicatedMergeTree invalid metadata_version fix
#59946
(
Maksim Kita
).
Fix data race in
StorageDistributed
#59987
(
Nikita Taranov
).
Docker: run init scripts when option is enabled rather than disabled
#59991
(
jktng
).
Fix INSERT into
SQLite
with single quote (by escaping single quotes with a quote instead of backslash)
#60015
(
Azat Khuzhin
).
Fix several logical errors in
arrayFold
#60022
(
Raúl Marín
).
Fix optimize_uniq_to_count removing the column alias
#60026
(
Raúl Marín
).
Fix possible exception from S3Queue table on drop
#60036
(
Kseniia Sumarokova
).
Fix formatting of NOT with single literals
#60042
(
Raúl Marín
).
Use max_query_size from context in DDLLogEntry instead of hardcoded 4096
#60083
(
Kruglov Pavel
).
Fix inconsistent formatting of queries containing tables named
table
. Fix wrong formatting of queries with
UNION ALL
,
INTERSECT
, and
EXCEPT
when their structure wasn't linear. This closes #52349. Fix wrong formatting of
SYSTEM
queries, including
SYSTEM ... DROP FILESYSTEM CACHE
,
SYSTEM ... REFRESH/START/STOP/CANCEL/TEST VIEW
,
SYSTEM ENABLE/DISABLE FAILPOINT
. Fix formatting of parameterized DDL queries. Fix the formatting of the
DESCRIBE FILESYSTEM CACHE
query. Fix incorrect formatting of the
SET param_...
(a query setting a parameter). Fix incorrect formatting of
CREATE INDEX
queries. Fix inconsistent formatting of
CREATE USER
and similar queries. Fix inconsistent formatting of
CREATE SETTINGS PROFILE
. Fix incorrect formatting of
ALTER ... MODIFY REFRESH
. Fix inconsistent formatting of window functions if frame offsets were expressions. Fix inconsistent formatting of
RESPECT NULLS
and
IGNORE NULLS
if they were used after a function that implements an operator (such as
plus
). Fix idiotic formatting of
SYSTEM SYNC REPLICA ... LIGHTWEIGHT FROM ...
. Fix inconsistent formatting of invalid queries with
GROUP BY GROUPING SETS ... WITH ROLLUP/CUBE/TOTALS
. Fix inconsistent formatting of
GRANT CURRENT GRANTS
. Fix inconsistent formatting of
CREATE TABLE (... COLLATE)
. Additionally, I fixed the incorrect formatting of
EXPLAIN
in subqueries (#60102). Fixed incorrect formatting of lambda functions (#60012). Added a check so there is no way to miss these abominations in the future.
#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 true bools
#60160
(
Robert Schulze
). | {"source_file": "2024.md"} | [
-0.05206693708896637,
0.0024767189752310514,
-0.04799775406718254,
-0.03944581001996994,
-0.014278615824878216,
-0.04297856613993645,
-0.03489979729056358,
-0.007850080728530884,
-0.01487885694950819,
0.07286164164543152,
0.013857693411409855,
-0.045860759913921356,
0.020497066900134087,
-... |
e1c7e36b-9adf-4c8e-a34a-7d4b3ffb91fd | Fix cosineDistance crash with Nullable
#60150
(
Raúl Marín
).
Allow casting of bools in string representation 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
).
Hide sensitive info for
S3Queue
#60233
(
Kseniia Sumarokova
).
Fix http exception codes.
#60252
(
Austin Kothig
).
S3Queue: fix a 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
).
Fix OptimizeDateOrDateTimeConverterWithPreimageVisitor with null arguments
#60453
(
Raúl Marín
).
Fixed a minor bug that prevented distributed table queries sent from either KQL or PRQL dialect clients to be executed on replicas.
#59674
.
#60470
(
Alexey Milovidov
)
#59674
(
Austin Kothig
).
ClickHouse release 24.1, 2024-01-30 {#a-id241a-clickhouse-release-241-2024-01-30}
Backward Incompatible Change {#backward-incompatible-change-9}
The setting
print_pretty_type_names
is turned on by default. You can turn it off to keep the old behavior or
SET compatibility = '23.12'
.
#57726
(
Alexey Milovidov
).
The MergeTree setting
clean_deleted_rows
is deprecated, it has no effect anymore. The
CLEANUP
keyword for
OPTIMIZE
is not allowed by default (unless
allow_experimental_replacing_merge_with_cleanup
is enabled).
#58316
(
Alexander Tokmakov
).
The function
reverseDNSQuery
is no longer available. This closes
#58368
.
#58369
(
Alexey Milovidov
).
Enable various changes to improve the access control in the configuration file. These changes affect the behavior, and you check the
config.xml
in the
access_control_improvements
section. In case you are not confident, keep the values in the configuration file as they were in the previous version.
#58584
(
Alexey Milovidov
).
Improve the operation of
sumMapFiltered
with NaN values. NaN values are now placed at the end (instead of randomly) and considered different from any values.
-0
is now also treated as equal to
0
; since 0 values are discarded,
-0
values are discarded too.
#58959
(
Raúl Marín
).
The function
visibleWidth
will behave according to the docs. In previous versions, it simply counted code points after string serialization, like the
lengthUTF8
function, but didn't consider zero-width and combining characters, full-width characters, tabs, and deletes. Now the behavior is changed accordingly. If you want to keep the old behavior, set
function_visible_width_behavior
to
0
, or set
compatibility
to
23.12
or lower.
#59022
(
Alexey Milovidov
).
Kusto
dialect is disabled until these two bugs will be fixed:
#59037
and
#59036
.
#59305
(
Alexey Milovidov
). Any attempt to use
Kusto
will result in exception. | {"source_file": "2024.md"} | [
-0.013574172742664814,
-0.012957668863236904,
-0.09326430410146713,
0.004992367699742317,
-0.017267515882849693,
-0.060557298362255096,
-0.0376034639775753,
-0.030637139454483986,
-0.005535139702260494,
0.05888298153877258,
0.025324253365397453,
-0.0050116488710045815,
0.04036492109298706,
... |
f9ae136d-c50a-411e-ae44-4979be3e4c81 | Kusto
dialect is disabled until these two bugs will be fixed:
#59037
and
#59036
.
#59305
(
Alexey Milovidov
). Any attempt to use
Kusto
will result in exception.
More efficient implementation of the
FINAL
modifier no longer guarantees preserving the order even if
max_threads = 1
. If you counted on the previous behavior, set
enable_vertical_final
to 0 or
compatibility
to
23.12
.
New Feature {#new-feature-11}
Implement Variant data type that represents a union of other data types. Type
Variant(T1, T2, ..., TN)
means that each row of this type has a value of either type
T1
or
T2
or ... or
TN
or none of them (
NULL
value). Variant type is available under a setting
allow_experimental_variant_type
. Reference:
#54864
.
#58047
(
Kruglov Pavel
).
Certain settings (currently
min_compress_block_size
and
max_compress_block_size
) can now be specified at column-level where they take precedence over the corresponding table-level setting. Example:
CREATE TABLE tab (col String SETTINGS (min_compress_block_size = 81920, max_compress_block_size = 163840)) ENGINE = MergeTree ORDER BY tuple();
.
#55201
(
Duc Canh Le
).
Add
quantileDD
aggregate function as well as the corresponding
quantilesDD
and
medianDD
. It is based on the DDSketch https://www.vldb.org/pvldb/vol12/p2195-masson.pdf. ### Documentation entry for user-facing changes.
#56342
(
Srikanth Chekuri
).
Allow to configure any kind of object storage with any kind of metadata type.
#58357
(
Kseniia Sumarokova
).
Added
null_status_on_timeout_only_active
and
throw_only_active
modes for
distributed_ddl_output_mode
that allow to avoid waiting for inactive replicas.
#58350
(
Alexander Tokmakov
).
Add function
arrayShingles
to compute subarrays, e.g.
arrayShingles([1, 2, 3, 4, 5], 3)
returns
[[1,2,3],[2,3,4],[3,4,5]]
.
#58396
(
Zheng Miao
).
Added functions
punycodeEncode
,
punycodeDecode
,
idnaEncode
and
idnaDecode
which are useful for translating international domain names to an ASCII representation according to the IDNA standard.
#58454
(
Robert Schulze
).
Added string similarity functions
dramerauLevenshteinDistance
,
jaroSimilarity
and
jaroWinklerSimilarity
.
#58531
(
Robert Schulze
).
Add two settings
output_format_compression_level
to change output compression level and
output_format_compression_zstd_window_log
to explicitly set compression window size and enable long-range mode for zstd compression if output compression method is
zstd
. Applied for
INTO OUTFILE
and when writing to table functions
file
,
url
,
hdfs
,
s3
, and
azureBlobStorage
.
#58539
(
Duc Canh Le
).
Automatically disable ANSI escape sequences in Pretty formats if the output is not a terminal. Add new
auto
mode to setting
output_format_pretty_color
.
#58614
(
Shaun Struwig
).
Added function
sqidDecode
which decodes
Sqids
.
#58544
(
Robert Schulze
). | {"source_file": "2024.md"} | [
-0.0063482183031737804,
0.0041023483499884605,
0.03946291282773018,
-0.07711741328239441,
-0.09368783980607986,
0.033121488988399506,
-0.03791674226522446,
0.020285440608859062,
-0.029566485434770584,
0.008200547657907009,
0.014863112010061741,
-0.03343271464109421,
-0.03639142960309982,
-... |
9d32fc52-096e-40f7-b132-824a8719e75d | Added function
sqidDecode
which decodes
Sqids
.
#58544
(
Robert Schulze
).
Allow to read Bool values into String in JSON input formats. It's done under a setting
input_format_json_read_bools_as_strings
that is enabled by default.
#58561
(
Kruglov Pavel
).
Added function
seriesDecomposeSTL
which decomposes a time series into a season, a trend and a residual component.
#57078
(
Bhavna Jindal
).
Introduced MySQL Binlog Client for MaterializedMySQL: One binlog connection for many databases.
#57323
(
Val Doroshchuk
).
Intel QuickAssist Technology (QAT) provides hardware-accelerated compression and cryptograpy. ClickHouse got a new compression codec
ZSTD_QAT
which utilizes QAT for zstd compression. The codec uses
Intel's QATlib
and
Inte's QAT ZSTD Plugin
. Right now, only compression can be accelerated in hardware (a software fallback kicks in in case QAT could not be initialized), decompression always runs in software.
#57509
(
jasperzhu
).
Implementing the new way how object storage keys are generated for s3 disks. Now the format could be defined in terms of
re2
regex syntax with
key_template
option in disc description.
#57663
(
Sema Checherinda
).
Table system.dropped_tables_parts contains parts of system.dropped_tables tables (dropped but not yet removed tables).
#58038
(
Yakov Olkhovskiy
).
Add settings
max_materialized_views_size_for_table
to limit the number of materialized views attached to a table.
#58068
(
zhongyuankai
).
clickhouse-format
improvements: support INSERT queries with
VALUES
; support comments (use
--comments
to output them); support
--max_line_length
option to format only long queries in multiline.
#58246
(
vdimir
).
Attach all system tables in
clickhouse-local
, including
system.parts
. This closes
#58312
.
#58359
(
Alexey Milovidov
).
Support for
Enum
data types in function
transform
. This closes
#58241
.
#58360
(
Alexey Milovidov
).
Add table
system.database_engines
.
#58390
(
Bharat Nallan
). Allow registering database engines independently in the codebase.
#58365
(
Bharat Nallan
). Allow registering interpreters independently.
#58443
(
Bharat Nallan
).
Added
FROM <Replicas>
modifier for
SYSTEM SYNC REPLICA LIGHTWEIGHT
query. With the
FROM
modifier ensures we wait for fetches and drop-ranges only for the specified source replicas, as well as any replica not in zookeeper or with an empty source_replica.
#58393
(
Jayme Bird
).
Added setting
update_insert_deduplication_token_in_dependent_materialized_views
. This setting allows to update insert deduplication token with table identifier during insert in dependent materialized views. Closes
#59165
.
#59238
(
Maksim Kita
).
Added statement
SYSTEM RELOAD ASYNCHRONOUS METRICS
which updates the asynchronous metrics. Mostly useful for testing and development.
#53710
(
Robert Schulze
).
Performance Improvement {#performance-improvement-11} | {"source_file": "2024.md"} | [
-0.07189580053091049,
0.04521380737423897,
-0.09389305114746094,
0.01703672856092453,
-0.08422151207923889,
-0.06864060461521149,
0.006021930370479822,
0.011258489452302456,
0.005243613850325346,
0.026408830657601357,
-0.045075275003910065,
0.028973862528800964,
0.08424272388219833,
0.0968... |
a2e79d70-431d-47eb-86ea-437fe6e73c1b | Performance Improvement {#performance-improvement-11}
Coordination for parallel replicas is rewritten for better parallelism and cache locality. It has been tested for linear scalability on hundreds of replicas. It also got support for reading in order.
#57968
(
Nikita Taranov
).
Replace HTTP outgoing buffering based with the native ClickHouse buffers. Add bytes counting metrics for interfaces.
#56064
(
Yakov Olkhovskiy
).
Large aggregation states of
uniqExact
will be merged in parallel in distrubuted queries.
#59009
(
Nikita Taranov
).
Lower memory usage after reading from
MergeTree
tables.
#59290
(
Anton Popov
).
Lower memory usage in vertical merges.
#59340
(
Anton Popov
).
Avoid huge memory consumption during Keeper startup for more cases.
#58455
(
Antonio Andelic
).
Keeper improvement: reduce Keeper's memory usage for stored nodes.
#59002
(
Antonio Andelic
).
More cache-friendly final implementation. Note on the behaviour change: previously queries with
FINAL
modifier that read with a single stream (e.g.
max_threads = 1
) produced sorted output without explicitly provided
ORDER BY
clause. This is no longer guaranteed when
enable_vertical_final = true
(and it is so by default).
#54366
(
Duc Canh Le
).
Bypass extra copying in
ReadBufferFromIStream
which is used, e.g., for reading from S3.
#56961
(
Nikita Taranov
).
Optimize array element function when input is Array(Map)/Array(Array(Num)/Array(Array(String))/Array(BigInt)/Array(Decimal). The previous implementations did more allocations than needed. The optimization speed up is up to ~6x especially when input type is Array(Map).
#56403
(
李扬
).
Read column once while reading more than one subcolumn from it in compact parts.
#57631
(
Kruglov Pavel
).
Rewrite the AST of
sum(column + constant)
function. This is available as an optimization pass for Analyzer
#57853
(
Jiebin Sun
).
The evaluation of function
match
now utilizes skipping indices
ngrambf_v1
and
tokenbf_v1
.
#57882
(
凌涛
).
The evaluation of function
match
now utilizes inverted indices.
#58284
(
凌涛
).
MergeTree
FINAL
does not compare rows from same non-L0 part.
#58142
(
Duc Canh Le
).
Speed up iota calls (filling array with consecutive numbers).
#58271
(
Raúl Marín
).
Speedup MIN/MAX for non-numeric types.
#58334
(
Raúl Marín
).
Optimize the combination of filters (like in multi-stage PREWHERE) with BMI2/SSE intrinsics
#58800
(
Zhiguo Zhou
).
Use one thread less in
clickhouse-local
.
#58968
(
Alexey Milovidov
).
Improve the
multiIf
function performance when the type is Nullable.
#57745
(
KevinyhZou
). | {"source_file": "2024.md"} | [
-0.00196851696819067,
-0.0364530123770237,
-0.030628038570284843,
0.004044177010655403,
-0.03803189471364021,
-0.06993760913610458,
-0.057409051805734634,
0.044874560087919235,
0.012998710386455059,
0.05307567119598389,
-0.009612391702830791,
0.06716140359640121,
0.022628657519817352,
-0.0... |
78e4ea10-3385-4154-9a88-355f90de0159 | Use one thread less in
clickhouse-local
.
#58968
(
Alexey Milovidov
).
Improve the
multiIf
function performance when the type is Nullable.
#57745
(
KevinyhZou
).
Add
SYSTEM JEMALLOC PURGE
for purging unused jemalloc pages,
SYSTEM JEMALLOC [ ENABLE | DISABLE | FLUSH ] PROFILE
for controlling jemalloc profile if the profiler is enabled. Add jemalloc-related 4LW command in Keeper:
jmst
for dumping jemalloc stats,
jmfp
,
jmep
,
jmdp
for controlling jemalloc profile if the profiler is enabled.
#58665
(
Antonio Andelic
).
Lower memory consumption in backups to S3.
#58962
(
Vitaly Baranov
).
Improvement {#improvement-11}
Added comments (brief descriptions) to all columns of system tables. There are several reasons for this: - We use system tables a lot, and sometimes it could be very difficult for developer to understand the purpose and the meaning of a particular column. - We change (add new ones or modify existing) system tables a lot and the documentation for them is always outdated. For example take a look at the documentation page for
system.parts
. It misses a lot of columns - We would like to eventually generate documentation directly from ClickHouse.
#58356
(
Nikita Mikhaylov
).
Allow queries without aliases for subqueries for
PASTE JOIN
.
#58654
(
Yarik Briukhovetskyi
).
Enable
MySQL
/
MariaDB
integration on macOS. This closes
#21191
.
#46316
(
Alexey Milovidov
) (
Robert Schulze
).
Disable
max_rows_in_set_to_optimize_join
by default.
#56396
(
vdimir
).
Add
<host_name>
config parameter that allows avoiding resolving hostnames in ON CLUSTER DDL queries and Replicated database engines. This mitigates the possibility of the queue being stuck in case of a change in cluster definition. Closes
#57573
.
#57603
(
Nikolay Degterinsky
).
Increase
load_metadata_threads
to 16 for the filesystem cache. It will make the server start up faster.
#57732
(
Alexey Milovidov
).
Add ability to throttle merges/mutations (
max_mutations_bandwidth_for_server
/
max_merges_bandwidth_for_server
).
#57877
(
Azat Khuzhin
).
Replaced undocumented (boolean) column
is_hot_reloadable
in system table
system.server_settings
by (Enum8) column
changeable_without_restart
with possible values
No
,
Yes
,
IncreaseOnly
and
DecreaseOnly
. Also documented the column.
#58029
(
skyoct
).
Cluster discovery supports setting username and password, close
#58063
.
#58123
(
vdimir
).
Support query parameters in
ALTER TABLE ... PART
.
#58297
(
Azat Khuzhin
).
Create consumers for Kafka tables on the fly (but keep them for some period -
kafka_consumers_pool_ttl_ms
, since last used), this should fix problem with statistics for
system.kafka_consumers
(that does not consumed when nobody reads from Kafka table, which leads to live memory leak and slow table detach) and also this PR enables stats for
system.kafka_consumers
by default again.
#58310
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
0.013116834685206413,
-0.009462482295930386,
-0.08631996810436249,
-0.0559711828827858,
0.042109377682209015,
-0.016594430431723595,
-0.01300092227756977,
0.07426724582910538,
-0.11118341237306595,
0.04697645455598831,
-0.00528796436265111,
-0.013496593572199345,
0.020560337230563164,
-0.0... |
f7495a76-5f63-4e83-b590-5650f7bdfddf | sparkBar
as an alias to
sparkbar
.
#58335
(
凌涛
).
Avoid sending
ComposeObject
requests after upload to
GCS
.
#58343
(
Azat Khuzhin
).
Correctly handle keys with dot in the name in configurations XMLs.
#58354
(
Azat Khuzhin
).
Make function
format
return constant on constant arguments. This closes
#58355
.
#58358
(
Alexey Milovidov
).
Adding a setting
max_estimated_execution_time
to separate
max_execution_time
and
max_estimated_execution_time
.
#58402
(
Zhang Yifan
).
Provide a hint when an invalid database engine name is used.
#58444
(
Bharat Nallan
).
Add settings for better control of indexes type in Arrow dictionary. Use signed integer type for indexes by default as Arrow recommends. Closes
#57401
.
#58519
(
Kruglov Pavel
).
Implement
#58575
Support
CLICKHOUSE_PASSWORD_FILE
environment variable when running the docker image.
#58583
(
Eyal Halpern Shalev
).
When executing some queries, which require a lot of streams for reading data, the error
"Paste JOIN requires sorted tables only"
was previously thrown. Now the numbers of streams resize to 1 in that case.
#58608
(
Yarik Briukhovetskyi
).
Better message for INVALID_IDENTIFIER error.
#58703
(
Yakov Olkhovskiy
).
Improved handling of signed numeric literals in normalizeQuery.
#58710
(
Salvatore Mesoraca
).
Support Point data type for MySQL.
#58721
(
Kseniia Sumarokova
).
When comparing a Float32 column and a const string, read the string as Float32 (instead of Float64).
#58724
(
Raúl Marín
).
Improve S3 compatibility, add ECloud EOS storage support.
#58786
(
xleoken
).
Allow
KILL QUERY
to cancel backups / restores. This PR also makes running backups and restores visible in
system.processes
. Also, there is a new setting in the server configuration now -
shutdown_wait_backups_and_restores
(default=true) which makes the server either wait on shutdown for all running backups and restores to finish or just cancel them.
#58804
(
Vitaly Baranov
).
Avro format to support ZSTD codec. Closes
#58735
.
#58805
(
flynn
).
MySQL interface gained support for
net_write_timeout
and
net_read_timeout
settings.
net_write_timeout
is translated into the native
send_timeout
ClickHouse setting and, similarly,
net_read_timeout
into
receive_timeout
. Fixed an issue where it was possible to set MySQL
sql_select_limit
setting only if the entire statement was in upper case.
#58835
(
Serge Klochkov
).
A better exception message while conflict of creating dictionary and table with the same name.
#58841
(
Yarik Briukhovetskyi
). | {"source_file": "2024.md"} | [
-0.03709789738059044,
-0.009582947939634323,
-0.033781830221414566,
-0.01696178875863552,
-0.06388923525810242,
-0.031206164509058,
-0.01757170632481575,
0.0679256021976471,
-0.045690085738897324,
-0.0035551798064261675,
-0.07248525321483612,
-0.04799040034413338,
0.08583993464708328,
-0.1... |
71d77854-e806-4bba-9299-f7e3ed2f50a6 | A better exception message while conflict of creating dictionary and table with the same name.
#58841
(
Yarik Briukhovetskyi
).
Make sure that for custom (created from SQL) disks ether
filesystem_caches_path
(a common directory prefix for all filesystem caches) or
custom_cached_disks_base_directory
(a common directory prefix for only filesystem caches created from custom disks) is specified in server config.
custom_cached_disks_base_directory
has higher priority for custom disks over
filesystem_caches_path
, which is used if the former one is absent. Filesystem cache setting
path
must lie inside that directory, otherwise exception will be thrown preventing disk to be created. This will not affect disks created on an older version and server was upgraded - then the exception will not be thrown to allow the server to successfully start).
custom_cached_disks_base_directory
is added to default server config as
/var/lib/clickhouse/caches/
. Closes
#57825
.
#58869
(
Kseniia Sumarokova
).
MySQL interface gained compatibility with
SHOW WARNINGS
/
SHOW COUNT(*) WARNINGS
queries, though the returned result is always an empty set.
#58929
(
Serge Klochkov
).
Skip unavailable replicas when executing parallel distributed
INSERT SELECT
.
#58931
(
Alexander Tokmakov
).
Display word-descriptive log level while enabling structured log formatting in json.
#58936
(
Tim Liou
).
MySQL interface gained support for
CAST(x AS SIGNED)
and
CAST(x AS UNSIGNED)
statements via data type aliases:
SIGNED
for Int64, and
UNSIGNED
for UInt64. This improves compatibility with BI tools such as Looker Studio.
#58954
(
Serge Klochkov
).
Change working directory to the data path in docker container.
#58975
(
cangyin
).
Added setting for Azure Blob Storage
azure_max_unexpected_write_error_retries
, can also be set from config under azure section.
#59001
(
SmitaRKulkarni
).
Allow server to start with broken data lake table. Closes
#58625
.
#59080
(
Kseniia Sumarokova
).
Allow to ignore schema evolution in the
Iceberg
table engine and read all data using schema specified by the user on table creation or latest schema parsed from metadata on table creation. This is done under a setting
iceberg_engine_ignore_schema_evolution
that is disabled by default. Note that enabling this setting can lead to incorrect result as in case of evolved schema all data files will be read using the same schema.
#59133
(
Kruglov Pavel
).
Prohibit mutable operations (
INSERT
/
ALTER
/
OPTIMIZE
/...) on read-only/write-once storages with a proper
TABLE_IS_READ_ONLY
error (to avoid leftovers). Avoid leaving left-overs on write-once disks (
format_version.txt
) on
CREATE
/
ATTACH
. Ignore
DROP
for
ReplicatedMergeTree
(so as for
MergeTree
). Fix iterating over
s3_plain
(
MetadataStorageFromPlainObjectStorage::iterateDirectory
). Note read-only is
web
disk, and write-once is
s3_plain
.
#59170
(
Azat Khuzhin
). | {"source_file": "2024.md"} | [
0.03365711867809296,
-0.027886055409908295,
-0.07083842158317566,
-0.010588313452899456,
-0.07045909017324448,
-0.1125510036945343,
0.05695071816444397,
0.05872993916273117,
-0.02602507919073105,
0.06243063509464264,
0.10689569264650345,
0.0055868239142000675,
0.12038213014602661,
0.009132... |
91224c99-ab7c-4bab-b664-877bc565fc4c | Fix bug in the experimental
_block_number
column which could lead to logical error during complex combination of
ALTER
s and
merge
s. Fixes
#56202
. Replaces
#58601
.
#59295
(
alesapin
).
Play UI understands when an exception is returned inside JSON. Adjustment for
#52853
.
#59303
(
Alexey Milovidov
).
/binary
HTTP handler allows to specify user, host, and optionally, password in the query string.
#59311
(
Alexey Milovidov
).
Support backups for compressed in-memory tables. This closes
#57893
.
#59315
(
Alexey Milovidov
).
Support the
FORMAT
clause in
BACKUP
and
RESTORE
queries.
#59338
(
Vitaly Baranov
).
Function
concatWithSeparator
now supports arbitrary argument types (instead of only
String
and
FixedString
arguments). For example,
SELECT concatWithSeparator('.', 'number', 1)
now returns
number.1
.
#59341
(
Robert Schulze
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-7}
Improve aliases for clickhouse binary (now
ch
/
clickhouse
is
clickhouse-local
or
clickhouse
depends on the arguments) and add bash completion for new aliases.
#58344
(
Azat Khuzhin
).
Add settings changes check to CI to check that all settings changes are reflected in settings changes history.
#58555
(
Kruglov Pavel
).
Use tables directly attached from S3 in stateful tests.
#58791
(
Alexey Milovidov
).
Save the whole
fuzzer.log
as an archive instead of the last 100k lines.
tail -n 100000
often removes lines with table definitions. Example:.
#58821
(
Dmitry Novik
).
Enable Rust on macOS with Aarch64 (this will add fuzzy search in client with skim and the PRQL language, though I don't think that are people who host ClickHouse on darwin, so it is mostly for fuzzy search in client I would say).
#59272
(
Azat Khuzhin
).
Fix aggregation issue in mixed x86_64 and ARM clusters
#59132
(
Harry Lee
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-9}
Add join keys conversion for nested LowCardinality
#51550
(
vdimir
).
Flatten only true Nested type if flatten_nested=1, not all Array(Tuple)
#56132
(
Kruglov Pavel
).
Fix a bug with projections and the
aggregate_functions_null_for_empty
setting during insertion.
#56944
(
Amos Bird
).
Fixed potential exception due to stale profile UUID
#57263
(
Vasily Nemkov
).
Fix working with read buffers in StreamingFormatExecutor
#57438
(
Kruglov Pavel
).
Ignore MVs with dropped target table during pushing to views
#57520
(
Kruglov Pavel
).
Eliminate possible race between ALTER_METADATA and MERGE_PARTS
#57755
(
Azat Khuzhin
).
Fix the expressions order bug in group by with rollup
#57786
(
Chen768959
).
A fix for the obsolete "zero-copy" replication feature: Fix lost blobs after dropping a replica with broken detached parts
#58333
(
Alexander Tokmakov
). | {"source_file": "2024.md"} | [
-0.026988105848431587,
-0.006688215304166079,
-0.020408211275935173,
-0.030475089326500893,
-0.06531799584627151,
0.05383741855621338,
0.003457171143963933,
0.04600417986512184,
-0.035855673253536224,
-0.0031672967597842216,
-0.025409607216715813,
0.01784716546535492,
0.022466253489255905,
... |
d69cd96e-42d1-4d1d-a3ff-64c4698915d3 | A fix for the obsolete "zero-copy" replication feature: Fix lost blobs after dropping a replica with broken detached parts
#58333
(
Alexander Tokmakov
).
Allow users to work with symlinks in user_files_path
#58447
(
Duc Canh Le
).
Fix a crash when graphite table does not have an agg function
#58453
(
Duc Canh Le
).
Delay reading from StorageKafka to allow multiple reads in materialized views
#58477
(
János Benjamin Antal
).
Fix a stupid case of intersecting parts
#58482
(
Alexander Tokmakov
).
MergeTreePrefetchedReadPool disable for LIMIT only queries
#58505
(
Maksim Kita
).
Enable ordinary databases while restoration
#58520
(
Jihyuk Bok
).
Fix Apache Hive threadpool reading for ORC/Parquet/...
#58537
(
sunny
).
Hide credentials in
system.backup_log
's
base_backup_name
column
#58550
(
Daniel Pozo Escalona
).
toStartOfInterval
for milli- microsencods values rounding
#58557
(
Yarik Briukhovetskyi
).
Disable
max_joined_block_rows
in ConcurrentHashJoin
#58595
(
vdimir
).
Fix join using nullable in the old analyzer
#58596
(
vdimir
).
makeDateTime64
: Allow non-const fraction argument
#58597
(
Robert Schulze
).
Fix possible NULL dereference during symbolizing inline frames
#58607
(
Azat Khuzhin
).
Improve isolation of query cache entries under re-created users or role switches
#58611
(
Robert Schulze
).
Fix broken partition key analysis when doing projection optimization
#58638
(
Amos Bird
).
Query cache: Fix per-user quota
#58731
(
Robert Schulze
).
Fix stream partitioning in parallel window functions
#58739
(
Dmitry Novik
).
Fix double destroy call on exception throw in addBatchLookupTable8
#58745
(
Raúl Marín
).
Don't process requests in Keeper during shutdown
#58765
(
Antonio Andelic
).
Fix a null pointer dereference in
SlabsPolygonIndex::find
#58771
(
Yarik Briukhovetskyi
).
Fix JSONExtract function for LowCardinality(Nullable) columns
#58808
(
vdimir
).
A fix for unexpected accumulation of memory usage while creating a huge number of tables by CREATE and DROP.
#58831
(
Maksim Kita
).
Multiple read file log storage in mv
#58877
(
János Benjamin Antal
).
Restriction for the access key id for s3.
#58900
(
MikhailBurdukov
).
Fix possible crash in clickhouse-local during loading suggestions
#58907
(
Kruglov Pavel
).
Fix crash when
indexHint
is used
#58911
(
Dmitry Novik
).
Fix StorageURL forgetting headers on server restart
#58933
(
Michael Kolupaev
).
Analyzer: fix storage replacement with insertion block
#58958
(
Yakov Olkhovskiy
).
Fix seek in ReadBufferFromZipArchive
#58966
(
Michael Kolupaev
).
A fix for experimental inverted indices (don't use in production):
DROP INDEX
of inverted index now removes all relevant files from persistence
#59040
(
mochi
).
Fix data race on query_factories_info
#59049
(
Kseniia Sumarokova
).
Disable "Too many redirects" error retry
#59099
(
skyoct
). | {"source_file": "2024.md"} | [
-0.07791466265916824,
-0.02947044000029564,
0.034039802849292755,
-0.050359971821308136,
-0.012337391264736652,
-0.07212769240140915,
-0.07089526951313019,
0.006263768766075373,
-0.06694034487009048,
0.09233065694570541,
0.031688086688518524,
0.010680272243916988,
0.0355537012219429,
-0.02... |
b9e2880e-a0e8-4df1-b33e-60331139c5d4 | Fix data race on query_factories_info
#59049
(
Kseniia Sumarokova
).
Disable "Too many redirects" error retry
#59099
(
skyoct
).
Fix not started database shutdown deadlock
#59137
(
Sergei Trifonov
).
Fix: LIMIT BY and LIMIT in distributed query
#59153
(
Igor Nikonov
).
Fix crash with nullable timezone for
toString
#59190
(
Yarik Briukhovetskyi
).
Fix abort in iceberg metadata on bad file paths
#59275
(
Kruglov Pavel
).
Fix architecture name in select of Rust target
#59307
(
p1rattttt
).
Fix a logical error about "not-ready set" for querying from
system.tables
with a subquery in the IN clause.
#59351
(
Nikolai Kochetov
).
Changelog for 2023
{#changelog-for-2023} | {"source_file": "2024.md"} | [
-0.0203174389898777,
-0.02904336340725422,
-0.019369639456272125,
0.02888074330985546,
-0.002060979837551713,
-0.026859097182750702,
-0.011814219877123833,
0.057243648916482925,
-0.06390858441591263,
0.02074439637362957,
-0.021839966997504234,
0.010935204103589058,
-0.021633682772517204,
-... |
7e9da82c-9159-4774-adb3-f71006335e97 | slug: /whats-new/changelog/2023
sidebar_position: 4
sidebar_label: '2023'
title: '2023 Changelog'
description: 'Changelog for 2023'
keywords: ['ClickHouse 2023', 'changelog 2023', 'release notes', 'version history', 'performance improvements']
doc_type: 'changelog'
Table of Contents {#table-of-contents}
ClickHouse release v23.12, 2023-12-28
ClickHouse release v23.11, 2023-12-06
ClickHouse release v23.10, 2023-11-02
ClickHouse release v23.9, 2023-09-28
ClickHouse release v23.8 LTS, 2023-08-31
ClickHouse release v23.7, 2023-07-27
ClickHouse release v23.6, 2023-06-30
ClickHouse release v23.5, 2023-06-08
ClickHouse release v23.4, 2023-04-26
ClickHouse release v23.3 LTS, 2023-03-30
ClickHouse release v23.2, 2023-02-23
ClickHouse release v23.1, 2023-01-25
Changelog for 2022
ClickHouse release 23.12, 2023-12-28 {#2312}
Backward Incompatible Change {#backward-incompatible-change}
Fix check for non-deterministic functions in TTL expressions. Previously, you could create a TTL expression with non-deterministic functions in some cases, which could lead to undefined behavior later. This fixes
#37250
. Disallow TTL expressions that don't depend on any columns of a table by default. It can be allowed back by
SET allow_suspicious_ttl_expressions = 1
or
SET compatibility = '23.11'
. Closes
#37286
.
#51858
(
Alexey Milovidov
).
The MergeTree setting
clean_deleted_rows
is deprecated, it has no effect anymore. The
CLEANUP
keyword for the
OPTIMIZE
is not allowed by default (it can be unlocked with the
allow_experimental_replacing_merge_with_cleanup
setting).
#58267
(
Alexander Tokmakov
). This fixes
#57930
. This closes
#54988
. This closes
#54570
. This closes
#50346
. This closes
#47579
. The feature has to be removed because it is not good. We have to remove it as quickly as possible, because there is no other option.
#57932
(
Alexey Milovidov
).
New Feature {#new-feature}
Implement Refreshable Materialized Views, requested in
#33919
.
#56946
(
Michael Kolupaev
,
Michael Guzov
).
Introduce
PASTE JOIN
, which allows users to join tables without
ON
clause simply by row numbers. Example:
SELECT * FROM (SELECT number AS a FROM numbers(2)) AS t1 PASTE JOIN (SELECT number AS a FROM numbers(2) ORDER BY a DESC) AS t2
.
#57995
(
Yarik Briukhovetskyi
).
The
ORDER BY
clause now supports specifying
ALL
, meaning that ClickHouse sorts by all columns in the
SELECT
clause. Example:
SELECT col1, col2 FROM tab WHERE [...] ORDER BY ALL
.
#57875
(
zhongyuankai
).
Added a new mutation command
ALTER TABLE <table> APPLY DELETED MASK
, which allows to enforce applying of mask written by lightweight delete and to remove rows marked as deleted from disk.
#57433
(
Anton Popov
).
A handler
/binary
opens a visual viewer of symbols inside the ClickHouse binary.
#58211
(
Alexey Milovidov
). | {"source_file": "2023.md"} | [
-0.006204576697200537,
-0.02907002717256546,
0.08791322261095047,
-0.04446868970990181,
0.07356942445039749,
-0.001883647171780467,
-0.010731237009167671,
-0.03396854177117348,
-0.009281964972615242,
0.08824875950813293,
0.02588965743780136,
0.07170101255178452,
-0.018372468650341034,
-0.0... |
5c28ec1f-2d99-471b-803f-4b3f66e7281f | A handler
/binary
opens a visual viewer of symbols inside the ClickHouse binary.
#58211
(
Alexey Milovidov
).
Added a new SQL function
sqid
to generate Sqids (https://sqids.org/), example:
SELECT sqid(125, 126)
.
#57512
(
Robert Schulze
).
Add a new function
seriesPeriodDetectFFT
to detect series period using FFT.
#57574
(
Bhavna Jindal
).
Add an HTTP endpoint for checking if Keeper is ready to accept traffic.
#55876
(
Konstantin Bogdanov
).
Add 'union' mode for schema inference. In this mode the resulting table schema is the union of all files schemas (so schema is inferred from each file). The mode of schema inference is controlled by a setting
schema_inference_mode
with two possible values -
default
and
union
. Closes
#55428
.
#55892
(
Kruglov Pavel
).
Add new setting
input_format_csv_try_infer_numbers_from_strings
that allows to infer numbers from strings in CSV format. Closes
#56455
.
#56859
(
Kruglov Pavel
).
When the number of databases or tables exceeds a configurable threshold, show a warning to the user.
#57375
(
凌涛
).
Dictionary with
HASHED_ARRAY
(and
COMPLEX_KEY_HASHED_ARRAY
) layout supports
SHARDS
similarly to
HASHED
.
#57544
(
vdimir
).
Add asynchronous metrics for total primary key bytes and total allocated primary key bytes in memory.
#57551
(
Bharat Nallan
).
Add
SHA512_256
function.
#57645
(
Bharat Nallan
).
Add
FORMAT_BYTES
as an alias for
formatReadableSize
.
#57592
(
Bharat Nallan
).
Allow passing optional session token to the
s3
table function.
#57850
(
Shani Elharrar
).
Introduce a new setting
http_make_head_request
. If it is turned off, the URL table engine will not do a HEAD request to determine the file size. This is needed to support inefficient, misconfigured, or not capable HTTP servers.
#54602
(
Fionera
).
It is now possible to refer to ALIAS column in index (non-primary-key) definitions (issue
#55650
). Example:
CREATE TABLE tab(col UInt32, col_alias ALIAS col + 1, INDEX idx (col_alias) TYPE minmax) ENGINE = MergeTree ORDER BY col;
.
#57546
(
Robert Schulze
).
Added a new setting
readonly
which can be used to specify an S3 disk is read only. It can be useful to create a table on a disk of
s3_plain
type, while having read only access to the underlying S3 bucket.
#57977
(
Pengyuan Bian
).
The primary key analysis in MergeTree tables will now be applied to predicates that include the virtual column
_part_offset
(optionally with
_part
). This feature can serve as a special kind of a secondary index.
#58224
(
Amos Bird
).
Performance Improvement {#performance-improvement} | {"source_file": "2023.md"} | [
-0.0001783371699275449,
-0.07707254588603973,
-0.11379657685756683,
0.027372607961297035,
-0.0343208909034729,
0.010681405663490295,
-0.02023870125412941,
-0.04665151238441467,
0.057804081588983536,
0.032596077769994736,
-0.047926388680934906,
-0.07395189255475998,
0.019666165113449097,
0.... |
b615410d-59d7-41ad-90e9-f5defcc76701 | Performance Improvement {#performance-improvement}
Extract non-intersecting parts ranges from MergeTree table during FINAL processing. That way we can avoid additional FINAL logic for this non-intersecting parts ranges. In case when amount of duplicate values with same primary key is low, performance will be almost the same as without FINAL. Improve reading performance for MergeTree FINAL when
do_not_merge_across_partitions_select_final
setting is set.
#58120
(
Maksim Kita
).
Made copy between s3 disks using a s3-server-side copy instead of copying through the buffer. Improves
BACKUP/RESTORE
operations and
clickhouse-disks copy
command.
#56744
(
MikhailBurdukov
).
Hash JOIN respects setting
max_joined_block_size_rows
and do not produce large blocks for
ALL JOIN
.
#56996
(
vdimir
).
Release memory for aggregation earlier. This may avoid unnecessary external aggregation.
#57691
(
Nikolai Kochetov
).
Improve performance of string serialization.
#57717
(
Maksim Kita
).
Support trivial count optimization for
Merge
-engine tables.
#57867
(
skyoct
).
Optimized aggregation in some cases.
#57872
(
Anton Popov
).
The
hasAny
function can now take advantage of the full-text skipping indices.
#57878
(
Jpnock
).
Function
if(cond, then, else)
(and its alias
cond ? then : else
) were optimized to use branch-free evaluation.
#57885
(
zhanglistar
).
MergeTree automatically derive
do_not_merge_across_partitions_select_final
setting if partition key expression contains only columns from primary key expression.
#58218
(
Maksim Kita
).
Speedup
MIN
and
MAX
for native types.
#58231
(
Raúl Marín
).
Implement
SLRU
cache policy for filesystem cache.
#57076
(
Kseniia Sumarokova
).
The limit for the number of connections per endpoint for background fetches was raised from
15
to the value of
background_fetches_pool_size
setting. - MergeTree-level setting
replicated_max_parallel_fetches_for_host
became obsolete - MergeTree-level settings
replicated_fetches_http_connection_timeout
,
replicated_fetches_http_send_timeout
and
replicated_fetches_http_receive_timeout
are moved to the Server-level. - Setting
keep_alive_timeout
is added to the list of Server-level settings.
#57523
(
Nikita Mikhaylov
).
Make querying
system.filesystem_cache
not memory intensive.
#57687
(
Kseniia Sumarokova
).
Reduce memory usage on strings deserialization.
#57787
(
Maksim Kita
).
More efficient constructor for Enum - it makes sense when Enum has a boatload of values.
#57887
(
Duc Canh Le
).
An improvement for reading from the filesystem cache: always use
pread
method.
#57970
(
Nikita Taranov
).
Add optimization for AND notEquals chain in logical expression optimizer. This optimization is only available with the experimental Analyzer enabled.
#58214
(
Kevin Mingtarja
).
Improvement {#improvement} | {"source_file": "2023.md"} | [
-0.030371038243174553,
-0.0030681912321597338,
-0.019608736038208008,
-0.07884286344051361,
0.012964345514774323,
-0.09032007306814194,
-0.045395415276288986,
0.048609621822834015,
0.002451305976137519,
-0.009067943319678307,
0.025507505983114243,
0.04607023671269417,
0.03610405698418617,
... |
a940604a-581c-4b4b-b1ae-d2828e841580 | Improvement {#improvement}
Support for soft memory limit in Keeper. It will refuse requests if the memory usage is close to the maximum.
#57271
(
Han Fei
).
#57699
(
Han Fei
).
Make inserts into distributed tables handle updated cluster configuration properly. When the list of cluster nodes is dynamically updated, the Directory Monitor of the distribution table will update it.
#42826
(
zhongyuankai
).
Do not allow creating a replicated table with inconsistent merge parameters.
#56833
(
Duc Canh Le
).
Show uncompressed size in
system.tables
.
#56618
.
#57186
(
Chen Lixiang
).
Add
skip_unavailable_shards
as a setting for
Distributed
tables that is similar to the corresponding query-level setting. Closes
#43666
.
#57218
(
Gagan Goel
).
The function
substring
(aliases:
substr
,
mid
) can now be used with
Enum
types. Previously, the first function argument had to be a value of type
String
or
FixedString
. This improves compatibility with 3rd party tools such as Tableau via MySQL interface.
#57277
(
Serge Klochkov
).
Function
format
now supports arbitrary argument types (instead of only
String
and
FixedString
arguments). This is important to calculate
SELECT format('The {0} to all questions is {1}', 'answer', 42)
.
#57549
(
Robert Schulze
).
Allows to use the
date_trunc
function with a case-insensitive first argument. Both cases are now supported:
SELECT date_trunc('day', now())
and
SELECT date_trunc('DAY', now())
.
#57624
(
Yarik Briukhovetskyi
).
Better hints when a table doesn't exist.
#57342
(
Bharat Nallan
).
Allow to overwrite
max_partition_size_to_drop
and
max_table_size_to_drop
server settings in query time.
#57452
(
Jordi Villar
).
Slightly better inference of unnamed tupes in JSON formats.
#57751
(
Kruglov Pavel
).
Add support for read-only flag when connecting to Keeper (fixes
#53749
).
#57479
(
Mikhail Koviazin
).
Fix possible distributed sends stuck due to "No such file or directory" (during recovering a batch from disk). Fix possible issues with
error_count
from
system.distribution_queue
(in case of
distributed_directory_monitor_max_sleep_time_ms
>5min). Introduce profile event to track async INSERT failures -
DistributedAsyncInsertionFailures
.
#57480
(
Azat Khuzhin
).
Support PostgreSQL generated columns and default column values in
MaterializedPostgreSQL
(experimental feature). Closes
#40449
.
#57568
(
Kseniia Sumarokova
).
Allow to apply some filesystem cache config settings changes without server restart.
#57578
(
Kseniia Sumarokova
).
Properly handling PostgreSQL table structure with empty array.
#57618
(
Mike Kot
).
Expose the total number of errors occurred since last server restart as a
ClickHouseErrorMetric_ALL
metric.
#57627
(
Nikita Mikhaylov
).
Allow nodes in the configuration file with
from_env
/
from_zk
reference and non empty element with replace=1.
#57628
(
Azat Khuzhin
). | {"source_file": "2023.md"} | [
0.040012191981077194,
-0.048099126666784286,
-0.06084663048386574,
0.04625336825847626,
-0.020010264590382576,
-0.05702558159828186,
-0.06769025325775146,
0.058964695781469345,
-0.033328235149383545,
0.028344502672553062,
0.066802978515625,
-0.004398432094603777,
0.10687202215194702,
-0.06... |
0d3de96d-fca0-40af-bc91-1df5c9d400a8 | Allow nodes in the configuration file with
from_env
/
from_zk
reference and non empty element with replace=1.
#57628
(
Azat Khuzhin
).
A table function
fuzzJSON
which allows generating a lot of malformed JSON for fuzzing.
#57646
(
Julia Kartseva
).
Allow IPv6 to UInt128 conversion and binary arithmetic.
#57707
(
Yakov Olkhovskiy
).
Add a setting for
async inserts deduplication cache
- how long we wait for cache update. Deprecate setting
async_block_ids_cache_min_update_interval_ms
. Now cache is updated only in case of conflicts.
#57743
(
alesapin
).
sleep()
function now can be cancelled with
KILL QUERY
.
#57746
(
Vitaly Baranov
).
Forbid
CREATE TABLE ... AS SELECT
queries for
Replicated
table engines in the experimental
Replicated
database because they are not supported. Reference
#35408
.
#57796
(
Nikolay Degterinsky
).
Fix and improve transforming queries for external databases, to recursively obtain all compatible predicates.
#57888
(
flynn
).
Support dynamic reloading of the filesystem cache size. Closes
#57866
.
#57897
(
Kseniia Sumarokova
).
Correctly support
system.stack_trace
for threads with blocked SIGRTMIN (these threads can exist in low-quality external libraries such as Apache rdkafka).
#57907
(
Azat Khuzhin
). Aand also send signal to the threads only if it is not blocked to avoid waiting
storage_system_stack_trace_pipe_read_timeout_ms
when it does not make any sense.
#58136
(
Azat Khuzhin
).
Tolerate keeper failures in the quorum inserts' check.
#57986
(
Raúl Marín
).
Add max/peak RSS (
MemoryResidentMax
) into system.asynchronous_metrics.
#58095
(
Azat Khuzhin
).
This PR allows users to use s3-style links (
https://
and
s3://
) without mentioning region if it's not default. Also find the correct region if the user mentioned the wrong one.
#58148
(
Yarik Briukhovetskyi
).
clickhouse-format --obfuscate
will know about Settings, MergeTreeSettings, and time zones and keep their names unchanged.
#58179
(
Alexey Milovidov
).
Added explicit
finalize()
function in
ZipArchiveWriter
. Simplify too complicated code in
ZipArchiveWriter
. This fixes
#58074
.
#58202
(
Vitaly Baranov
).
Make caches with the same path use the same cache objects. This behaviour existed before, but was broken in 23.4. If such caches with the same path have different set of cache settings, an exception will be thrown, that this is not allowed.
#58264
(
Kseniia Sumarokova
).
Parallel replicas (experimental feature): friendly settings
#57542
(
Igor Nikonov
).
Parallel replicas (experimental feature): announcement response handling improvement
#57749
(
Igor Nikonov
).
Parallel replicas (experimental feature): give more respect to
min_number_of_marks
in
ParallelReplicasReadingCoordinator
#57763
(
Nikita Taranov
).
Parallel replicas (experimental feature): disable parallel replicas with IN (subquery)
#58133
(
Igor Nikonov
). | {"source_file": "2023.md"} | [
-0.08928735554218292,
0.03776806965470314,
-0.11423303931951523,
0.03036116436123848,
-0.06043442338705063,
-0.10215948522090912,
-0.040121082216501236,
0.018008776009082794,
-0.030882257968187332,
-0.0004512588493525982,
0.003651227569207549,
0.0421920083463192,
0.030022602528333664,
-0.0... |
6b3174bd-5905-418c-8530-d484da7a5a28 | Parallel replicas (experimental feature): disable parallel replicas with IN (subquery)
#58133
(
Igor Nikonov
).
Parallel replicas (experimental feature): add profile event 'ParallelReplicasUsedCount'
#58173
(
Igor Nikonov
).
Non POST requests such as HEAD will be readonly similar to GET.
#58060
(
San
).
Add
bytes_uncompressed
column to
system.part_log
#58167
(
Jordi Villar
).
Add base backup name to
system.backups
and
system.backup_log
tables
#58178
(
Pradeep Chhetri
).
Add support for specifying query parameters in the command line in clickhouse-local
#58210
(
Pradeep Chhetri
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement}
Randomize more settings
#39663
(
Anton Popov
).
Randomize disabled optimizations in CI
#57315
(
Raúl Marín
).
Allow usage of Azure-related table engines/functions on macOS.
#51866
(
Alexey Milovidov
).
ClickHouse Fast Test now uses Musl instead of GLibc.
#57711
(
Alexey Milovidov
). The fully-static Musl build is available to download from the CI.
Run ClickBench for every commit. This closes
#57708
.
#57712
(
Alexey Milovidov
).
Remove the usage of a harmful C/POSIX
select
function from external libraries.
#57467
(
Igor Nikonov
).
Settings only available in ClickHouse Cloud will be also present in the open-source ClickHouse build for convenience.
#57638
(
Nikita Mikhaylov
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release}
Fixed a possibility of sorting order breakage in TTL GROUP BY
#49103
(
Nikita Mikhaylov
).
Fix: split
lttb
bucket strategy, first bucket and last bucket should only contain single point
#57003
(
FFish
).
Fix possible deadlock in the
Template
format during sync after error
#57004
(
Kruglov Pavel
).
Fix early stop while parsing a file with skipping lots of errors
#57006
(
Kruglov Pavel
).
Prevent dictionary's ACL bypass via the
dictionary
table function
#57362
(
Salvatore Mesoraca
).
Fix another case of a "non-ready set" error found by Fuzzer.
#57423
(
Nikolai Kochetov
).
Fix several issues regarding PostgreSQL
array_ndims
usage.
#57436
(
Ryan Jacobs
).
Fix RWLock inconsistency after write lock timeout
#57454
(
Vitaly Baranov
). Fix RWLock inconsistency after write lock timeout (again)
#57733
(
Vitaly Baranov
).
Fix: don't exclude ephemeral column when building pushing to view chain
#57461
(
Yakov Olkhovskiy
).
MaterializedPostgreSQL (experimental issue): fix issue
#41922
, add test for
#41923
#57515
(
Kseniia Sumarokova
).
Ignore ON CLUSTER clause in grant/revoke queries for management of replicated access entities.
#57538
(
MikhailBurdukov
).
Fix crash in clickhouse-local
#57553
(
Nikolay Degterinsky
).
A fix for Hash JOIN.
#57564
(
vdimir
).
Fix possible error in PostgreSQL source
#57567
(
Kseniia Sumarokova
). | {"source_file": "2023.md"} | [
-0.048309359699487686,
-0.01993531547486782,
-0.08987215906381607,
-0.006544505245983601,
-0.022719761356711388,
-0.08061613142490387,
-0.04639637470245361,
-0.02346423827111721,
-0.0218945425003767,
0.11446911841630936,
0.03679788112640381,
-0.08259101957082748,
0.09873716533184052,
-0.06... |
5ec7f457-de8a-46dd-848b-5a8f0f5cd663 | Fix crash in clickhouse-local
#57553
(
Nikolay Degterinsky
).
A fix for Hash JOIN.
#57564
(
vdimir
).
Fix possible error in PostgreSQL source
#57567
(
Kseniia Sumarokova
).
Fix type correction in Hash JOIN for nested LowCardinality.
#57614
(
vdimir
).
Avoid hangs of
system.stack_trace
by correctly prohibiting parallel reading from it.
#57641
(
Azat Khuzhin
).
Fix an error for aggregation of sparse columns with
any(...) RESPECT NULL
#57710
(
Azat Khuzhin
).
Fix unary operators parsing
#57713
(
Nikolay Degterinsky
).
Fix dependency loading for the experimental table engine
MaterializedPostgreSQL
.
#57754
(
Kseniia Sumarokova
).
Fix retries for disconnected nodes for BACKUP/RESTORE ON CLUSTER
#57764
(
Vitaly Baranov
).
Fix result of external aggregation in case of partially materialized projection
#57790
(
Anton Popov
).
Fix merge in aggregation functions with
*Map
combinator
#57795
(
Anton Popov
).
Disable
system.kafka_consumers
because it has a bug.
#57822
(
Azat Khuzhin
).
Fix LowCardinality keys support in Merge JOIN.
#57827
(
vdimir
).
A fix for
InterpreterCreateQuery
related to the sample block.
#57855
(
Maksim Kita
).
addresses_expr
were ignored for named collections from PostgreSQL.
#57874
(
joelynch
).
Fix invalid memory access in BLAKE3 (Rust)
#57876
(
Raúl Marín
). Then it was rewritten from Rust to C++ for better
memory-safety
.
#57994
(
Raúl Marín
).
Normalize function names in
CREATE INDEX
#57906
(
Alexander Tokmakov
).
Fix handling of unavailable replicas before first request happened
#57933
(
Nikita Taranov
).
Fix literal alias misclassification
#57988
(
Chen768959
).
Fix invalid preprocessing on Keeper
#58069
(
Antonio Andelic
).
Fix integer overflow in the
Poco
library, related to
UTF32Encoding
#58073
(
Andrey Fedotov
).
Fix parallel replicas (experimental feature) in presence of a scalar subquery with a big integer value
#58118
(
Alexey Milovidov
).
Fix
accurateCastOrNull
for out-of-range
DateTime
#58139
(
Andrey Zvonov
).
Fix possible
PARAMETER_OUT_OF_BOUND
error during subcolumns reading from a wide part in MergeTree
#58175
(
Kruglov Pavel
).
Fix a slow-down of CREATE VIEW with an enormous number of subqueries
#58220
(
Tao Wang
).
Fix parallel parsing for JSONCompactEachRow
#58181
(
Alexey Milovidov
).
#58250
(
Kruglov Pavel
).
ClickHouse release 23.11, 2023-12-06 {#2311}
Backward Incompatible Change {#backward-incompatible-change-1}
The default ClickHouse server configuration file has enabled
access_management
(user manipulation by SQL queries) and
named_collection_control
(manipulation of named collection by SQL queries) for the
default
user by default. This closes
#56482
.
#56619
(
Alexey Milovidov
). | {"source_file": "2023.md"} | [
-0.021471858024597168,
-0.045619938522577286,
0.008630947209894657,
0.02385362610220909,
-0.02421111986041069,
-0.07019302248954773,
-0.04874657094478607,
0.005879292264580727,
-0.05947112292051315,
0.026579581201076508,
0.033468034118413925,
0.00937665719538927,
-0.011868827044963837,
-0.... |
d9714f38-46d5-4d2c-b1cf-1b7e6a92153a | Multiple improvements for
RESPECT NULLS
/
IGNORE NULLS
for window functions. If you use them as aggregate functions and store the states of aggregate functions with these modifiers, they might become incompatible.
#57189
(
Raúl Marín
).
Remove optimization
optimize_move_functions_out_of_any
.
#57190
(
Raúl Marín
).
Formatters
%l
/
%k
/
%c
in function
parseDateTime
are now able to parse hours/months without leading zeros, e.g.
select parseDateTime('2023-11-26 8:14', '%F %k:%i')
now works. Set
parsedatetime_parse_without_leading_zeros = 0
to restore the previous behavior which required two digits. Function
formatDateTime
is now also able to print hours/months without leading zeros. This is controlled by setting
formatdatetime_format_without_leading_zeros
but off by default to not break existing use cases.
#55872
(
Azat Khuzhin
).
You can no longer use the aggregate function
avgWeighted
with arguments of type
Decimal
. Workaround: convert arguments to
Float64
. This closes
#43928
. This closes
#31768
. This closes
#56435
. If you have used this function inside materialized views or projections with
Decimal
arguments, contact support@clickhouse.com. Fixed error in aggregate function
sumMap
and made it slower around 1.5..2 times. It does not matter because the function is garbage anyway. This closes
#54955
. This closes
#53134
. This closes
#55148
. Fix a bug in function
groupArraySample
- it used the same random seed in case more than one aggregate state is generated in a query.
#56350
(
Alexey Milovidov
).
New Feature {#new-feature-1}
Added server setting
async_load_databases
for asynchronous loading of databases and tables. Speeds up the server start time. Applies to databases with
Ordinary
,
Atomic
and
Replicated
engines. Their tables load metadata asynchronously. Query to a table increases the priority of the load job and waits for it to be done. Added a new table
system.asynchronous_loader
for introspection.
#49351
(
Sergei Trifonov
).
Add system table
blob_storage_log
. It allows auditing all the data written to S3 and other object storages.
#52918
(
vdimir
).
Use statistics to order prewhere conditions better.
#53240
(
Han Fei
).
Added support for compression in the Keeper's protocol. It can be enabled on the ClickHouse side by using this flag
use_compression
inside
zookeeper
section. Keep in mind that only ClickHouse Keeper supports compression, while Apache ZooKeeper does not. Resolves
#49507
.
#54957
(
SmitaRKulkarni
).
Introduce the feature
storage_metadata_write_full_object_key
. If it is set as
true
then metadata files are written with the new format. With that format ClickHouse stores full remote object key in the metadata file which allows better flexibility and optimization.
#55566
(
Sema Checherinda
). | {"source_file": "2023.md"} | [
-0.017298588529229164,
0.06794518977403641,
-0.018298976123332977,
0.06703048944473267,
-0.037542104721069336,
0.0228106752038002,
0.0019779561553150415,
0.06516318023204803,
-0.014987865462899208,
0.01775694452226162,
-0.027000831440091133,
-0.10677436739206314,
-0.040168169885873795,
-0.... |
f98f2eef-4308-4538-b8b1-6e01e1e8f045 | Add new settings and syntax to protect named collections' fields from being overridden. This is meant to prevent a malicious user from obtaining unauthorized access to secrets.
#55782
(
Salvatore Mesoraca
).
Add
hostname
column to all system log tables - it is useful if you make the system tables replicated, shared, or distributed.
#55894
(
Bharat Nallan
).
Add
CHECK ALL TABLES
query.
#56022
(
vdimir
).
Added function
fromDaysSinceYearZero
which is similar to MySQL's
FROM_DAYS
. E.g.
SELECT fromDaysSinceYearZero(739136)
returns
2023-09-08
.
#56088
(
Joanna Hulboj
).
Add an external Python tool to view backups and to extract information from them without using ClickHouse.
#56268
(
Vitaly Baranov
).
Implement a new setting called
preferred_optimize_projection_name
. If it is set to a non-empty string, the specified projection would be used if possible instead of choosing from all the candidates.
#56309
(
Yarik Briukhovetskyi
).
Add 4-letter command for yielding/resigning leadership (https://github.com/ClickHouse/ClickHouse/issues/56352).
#56354
(
Pradeep Chhetri
).
#56620
(
Pradeep Chhetri
).
Added a new SQL function,
arrayRandomSample(arr, k)
which returns a sample of k elements from the input array. Similar functionality could previously be achieved only with less convenient syntax, e.g.
SELECT arrayReduce('groupArraySample(3)', range(10))
.
#56416
(
Robert Schulze
).
Added support for
Float16
type data to use in
.npy
files. Closes
#56344
.
#56424
(
Yarik Briukhovetskyi
).
Added a system view
information_schema.statistics
for better compatibility with Tableau Online.
#56425
(
Serge Klochkov
).
Add
system.symbols
table useful for introspection of the binary.
#56548
(
Alexey Milovidov
).
Configurable dashboards. Queries for charts are now loaded using a query, which by default uses a new
system.dashboards
table.
#56771
(
Sergei Trifonov
).
Introduce
fileCluster
table function - it is useful if you mount a shared filesystem (NFS and similar) into the
user_files
directory.
#56868
(
Andrey Zvonov
).
Add
_size
virtual column with file size in bytes to
s3/file/hdfs/url/azureBlobStorage
engines.
#57126
(
Kruglov Pavel
).
Expose the number of errors for each error code occurred on a server since last restart from the Prometheus endpoint.
#57209
(
Nikita Mikhaylov
).
ClickHouse keeper reports its running availability zone at
/keeper/availability-zone
path. This can be configured via
<availability_zone><value>us-west-1a</value></availability_zone>
.
#56715
(
Jianfei Hu
).
Make ALTER materialized_view MODIFY QUERY non experimental and deprecate
allow_experimental_alter_materialized_view_structure
setting. Fixes
#15206
.
#57311
(
alesapin
).
Setting
join_algorithm
respects specified order
#51745
(
vdimir
).
Add support for the
well-known Protobuf types
in the Protobuf format.
#56741
(
János Benjamin Antal
). | {"source_file": "2023.md"} | [
-0.03747723624110222,
0.056102439761161804,
-0.05702251195907593,
-0.004319487139582634,
-0.04952418804168701,
-0.07762032002210617,
0.004601482301950455,
-0.003768683411180973,
-0.015089881606400013,
0.010085553862154484,
-0.008838445879518986,
-0.06222059577703476,
0.1332024186849594,
-0... |
99a66ef0-f081-4499-b36b-c5057acc22d7 | Setting
join_algorithm
respects specified order
#51745
(
vdimir
).
Add support for the
well-known Protobuf types
in the Protobuf format.
#56741
(
János Benjamin Antal
).
Performance Improvement {#performance-improvement-1}
Adaptive timeouts for interacting with S3. The first attempt is made with low send and receive timeouts.
#56314
(
Sema Checherinda
).
Increase the default value of
max_concurrent_queries
from 100 to 1000. This makes sense when there is a large number of connecting clients, which are slowly sending or receiving data, so the server is not limited by CPU, or when the number of CPU cores is larger than 100. Also, enable the concurrency control by default, and set the desired number of query processing threads in total as twice the number of CPU cores. It improves performance in scenarios with a very large number of concurrent queries.
#46927
(
Alexey Milovidov
).
Support parallel evaluation of window functions. Fixes
#34688
.
#39631
(
Dmitry Novik
).
Numbers
table engine (of the
system.numbers
table) now analyzes the condition to generate the needed subset of data, like table's index.
#50909
(
JackyWoo
).
Improved the performance of filtering by
IN (...)
condition for
Merge
table engine.
#54905
(
Nikita Taranov
).
An improvement which takes place when the filesystem cache is full and there are big reads.
#55158
(
Kseniia Sumarokova
).
Add ability to disable checksums for S3 to avoid excessive pass over the file (this is controlled by the setting
s3_disable_checksum
).
#55559
(
Azat Khuzhin
).
Now we read synchronously from remote tables when data is in page cache (like we do for local tables). It is faster, it doesn't require synchronisation inside the thread pool, and doesn't hesitate to do
seek
-s on local FS, and reduces CPU wait.
#55841
(
Nikita Taranov
).
Optimization for getting value from
map
,
arrayElement
. It will bring about 30% speedup. - reduce the reserved memory - reduce the
resize
call.
#55957
(
lgbo
).
Optimization of multi-stage filtering with AVX-512. The performance experiments of the OnTime dataset on the ICX device (Intel Xeon Platinum 8380 CPU, 80 cores, 160 threads) show that this change could bring the improvements of 7.4%, 5.9%, 4.7%, 3.0%, and 4.6% to the QPS of the query Q2, Q3, Q4, Q5 and Q6 respectively while having no impact on others.
#56079
(
Zhiguo Zhou
).
Limit the number of threads busy inside the query profiler. If there are more - they will skip profiling.
#56105
(
Alexey Milovidov
).
Decrease the amount of virtual function calls in window functions.
#56120
(
Maksim Kita
).
Allow recursive Tuple field pruning in ORC data format to speed up scaning.
#56122
(
李扬
).
Trivial count optimization for
Npy
data format: queries like
select count() from 'data.npy'
will work much more fast because of caching the results.
#56304
(
Yarik Briukhovetskyi
). | {"source_file": "2023.md"} | [
-0.04104995355010033,
0.009960087016224861,
-0.0856018215417862,
-0.04482559114694595,
-0.033984921872615814,
-0.07566255331039429,
-0.01932227984070778,
0.015102737583220005,
-0.04229050129652023,
-0.004100339021533728,
-0.06166766211390495,
0.006378775462508202,
0.03405025601387024,
-0.1... |
a7361feb-dbd4-45f6-834d-8e737026d03d | Trivial count optimization for
Npy
data format: queries like
select count() from 'data.npy'
will work much more fast because of caching the results.
#56304
(
Yarik Briukhovetskyi
).
Queries with aggregation and a large number of streams will use less amount of memory during the plan's construction.
#57074
(
Alexey Milovidov
).
Improve performance of executing queries for use cases with many users and highly concurrent queries (>2000 QPS) by optimizing the access to ProcessList.
#57106
(
Andrej Hoos
).
Trivial improvement on array join, reuse some intermediate results.
#57183
(
李扬
).
There are cases when stack unwinding was slow. Not anymore.
#57221
(
Alexey Milovidov
).
Now we use default read pool for reading from external storage when
max_streams = 1
. It is beneficial when read prefetches are enabled.
#57334
(
Nikita Taranov
).
Keeper improvement: improve memory-usage during startup by delaying log preprocessing.
#55660
(
Antonio Andelic
).
Improved performance of glob matching for
File
and
HDFS
storages.
#56141
(
Andrey Zvonov
).
Posting lists in experimental full text indexes are now compressed which reduces their size by 10-30%.
#56226
(
Harry Lee
).
Parallelise
BackupEntriesCollector
in backups.
#56312
(
Kseniia Sumarokova
).
Improvement {#improvement-1}
Add a new
MergeTree
setting
add_implicit_sign_column_constraint_for_collapsing_engine
(disabled by default). When enabled, it adds an implicit CHECK constraint for
CollapsingMergeTree
tables that restricts the value of the
Sign
column to be only -1 or 1.
#56701
.
#56986
(
Kevin Mingtarja
).
Enable adding new disk to storage configuration without restart.
#56367
(
Duc Canh Le
).
Support creating and materializing index in the same alter query, also support "modify TTL" and "materialize TTL" in the same query. Closes
#55651
.
#56331
(
flynn
).
Add a new table function named
fuzzJSON
with rows containing perturbed versions of the source JSON string with random variations.
#56490
(
Julia Kartseva
).
Engine
Merge
filters the records according to the row policies of the underlying tables, so you don't have to create another row policy on a
Merge
table.
#50209
(
Ilya Golshtein
).
Add a setting
max_execution_time_leaf
to limit the execution time on shard for distributed query, and
timeout_overflow_mode_leaf
to control the behaviour if timeout happens.
#51823
(
Duc Canh Le
).
Add ClickHouse setting to disable tunneling for HTTPS requests over HTTP proxy.
#55033
(
Arthur Passos
).
Set
background_fetches_pool_size
to 16, background_schedule_pool_size to 512 that is better for production usage with frequent small insertions.
#54327
(
Denny Crane
). | {"source_file": "2023.md"} | [
-0.020310193300247192,
0.04113967716693878,
-0.0658128410577774,
0.06125640869140625,
-0.04336639866232872,
-0.012411885894834995,
-0.0017625289037823677,
0.07957374304533005,
-0.00278594926930964,
0.0643315315246582,
-0.08033958077430725,
0.06575232744216919,
-0.0010306754847988486,
0.022... |
6dd664b9-d6b6-41ad-92ba-1a92d970a70c | Set
background_fetches_pool_size
to 16, background_schedule_pool_size to 512 that is better for production usage with frequent small insertions.
#54327
(
Denny Crane
).
While read data from a csv format file, and at end of line is
\r
, which not followed by
\n
, then we will enconter the exception as follows
Cannot parse CSV format: found \r (CR) not followed by \n (LF). Line must end by \n (LF) or \r\n (CR LF) or \n\r.
In clickhouse, the csv end of line must be
\n
or
\r\n
or
\n\r
, so the
\r
must be followed by
\n
, but in some situation, the csv input data is abnormal, like above,
\r
is at end of line.
#54340
(
KevinyhZou
).
Update Arrow library to release-13.0.0 that supports new encodings. Closes
#44505
.
#54800
(
Kruglov Pavel
).
Improve performance of ON CLUSTER queries by removing heavy system calls to get all network interfaces when looking for local ip address in the DDL entry hosts list.
#54909
(
Duc Canh Le
).
Fixed accounting of memory allocated before attaching a thread to a query or a user.
#56089
(
Nikita Taranov
).
Add support for
LARGE_LIST
in Apache Arrow formats.
#56118
(
edef
).
Allow manual compaction of
EmbeddedRocksDB
via
OPTIMIZE
query.
#56225
(
Azat Khuzhin
).
Add ability to specify BlockBasedTableOptions for
EmbeddedRocksDB
tables.
#56264
(
Azat Khuzhin
).
SHOW COLUMNS
now displays MySQL's equivalent data type name when the connection was made through the MySQL protocol. Previously, this was the case when setting
use_mysql_types_in_show_columns = 1
. The setting is retained but made obsolete.
#56277
(
Robert Schulze
).
Fixed possible
The local set of parts of table doesn't look like the set of parts in ZooKeeper
error if server was restarted just after
TRUNCATE
or
DROP PARTITION
.
#56282
(
Alexander Tokmakov
).
Fixed handling of non-const query strings in functions
formatQuery
/
formatQuerySingleLine
. Also added
OrNull
variants of both functions that return a NULL when a query cannot be parsed instead of throwing an exception.
#56327
(
Robert Schulze
).
Allow backup of materialized view with dropped inner table instead of failing the backup.
#56387
(
Kseniia Sumarokova
).
Queries to
system.replicas
initiate requests to ZooKeeper when certain columns are queried. When there are thousands of tables these requests might produce a considerable load on ZooKeeper. If there are multiple simultaneous queries to
system.replicas
they do same requests multiple times. The change is to "deduplicate" requests from concurrent queries.
#56420
(
Alexander Gololobov
).
Fix translation to MySQL compatible query for querying external databases.
#56456
(
flynn
).
Add support for backing up and restoring tables using
KeeperMap
engine.
#56460
(
Antonio Andelic
). | {"source_file": "2023.md"} | [
-0.02359504997730255,
-0.023181574419140816,
-0.05517890676856041,
0.02170148864388466,
-0.00905581470578909,
-0.04587848111987114,
-0.01812305860221386,
0.002923516323789954,
0.002089714864268899,
-0.025185829028487206,
-0.02560211531817913,
-0.02303144708275795,
-0.011679230257868767,
-0... |
76ebb420-9cbf-495c-97e1-6161bb119f8a | Add support for backing up and restoring tables using
KeeperMap
engine.
#56460
(
Antonio Andelic
).
404 response for CompleteMultipartUpload has to be rechecked. Operation could be done on server even if client got timeout or other network errors. The next retry of CompleteMultipartUpload receives 404 response. If the object key exists that operation is considered as successful.
#56475
(
Sema Checherinda
).
Enable the HTTP OPTIONS method by default - it simplifies requesting ClickHouse from a web browser.
#56483
(
Alexey Milovidov
).
The value for
dns_max_consecutive_failures
was changed by mistake in
#46550
- this is reverted and adjusted to a better value. Also, increased the HTTP keep-alive timeout to a reasonable value from production.
#56485
(
Alexey Milovidov
).
Load base backups lazily (a base backup won't be loaded until it's needed). Also add some log message and profile events for backups.
#56516
(
Vitaly Baranov
).
Setting
query_cache_store_results_of_queries_with_nondeterministic_functions
(with values
false
or
true
) was marked obsolete. It was replaced by setting
query_cache_nondeterministic_function_handling
, a three-valued enum that controls how the query cache handles queries with non-deterministic functions: a) throw an exception (default behavior), b) save the non-deterministic query result regardless, or c) ignore, i.e. don't throw an exception and don't cache the result.
#56519
(
Robert Schulze
).
Rewrite equality with
is null
check in JOIN ON section. Experimental
Analyzer only
.
#56538
(
vdimir
).
Function
concat
now supports arbitrary argument types (instead of only String and FixedString arguments). This makes it behave more similar to MySQL
concat
implementation. For example,
SELECT concat('ab', 42)
now returns
ab42
.
#56540
(
Serge Klochkov
).
Allow getting cache configuration from 'named_collection' section in config or from SQL created named collections.
#56541
(
Kseniia Sumarokova
).
PostgreSQL database engine: Make the removal of outdated tables less aggressive with unsuccessful postgres connection.
#56609
(
jsc0218
).
It took too much time to connnect to PG when URL is not right, so the relevant query stucks there and get cancelled.
#56648
(
jsc0218
).
Keeper improvement: disable compressed logs by default in Keeper.
#56763
(
Antonio Andelic
).
Add config setting
wait_dictionaries_load_at_startup
.
#56782
(
Vitaly Baranov
). | {"source_file": "2023.md"} | [
-0.04275054484605789,
-0.011292006820440292,
0.015805566683411598,
-0.015558945946395397,
-0.09600088000297546,
-0.0941786915063858,
-0.08964389562606812,
-0.0393696129322052,
-0.034752558916807175,
0.045113567262887955,
0.002819895977154374,
0.026290906593203545,
0.05503816157579422,
-0.0... |
4f8e6988-ef68-41c3-8bce-f82fad14201b | Keeper improvement: disable compressed logs by default in Keeper.
#56763
(
Antonio Andelic
).
Add config setting
wait_dictionaries_load_at_startup
.
#56782
(
Vitaly Baranov
).
There was a potential vulnerability in previous ClickHouse versions: if a user has connected and unsuccessfully tried to authenticate with the "interserver secret" method, the server didn't terminate the connection immediately but continued to receive and ignore the leftover packets from the client. While these packets are ignored, they are still parsed, and if they use a compression method with another known vulnerability, it will lead to exploitation of it without authentication. This issue was found with
ClickHouse Bug Bounty Program
by https://twitter.com/malacupa.
#56794
(
Alexey Milovidov
).
Fetching a part waits when that part is fully committed on remote replica. It is better not send part in PreActive state. In case of zero copy this is mandatory restriction.
#56808
(
Sema Checherinda
).
Fix possible postgresql logical replication conversion error when using experimental
MaterializedPostgreSQL
.
#53721
(
takakawa
).
Implement user-level setting
alter_move_to_space_execute_async
which allow to execute queries
ALTER TABLE ... MOVE PARTITION|PART TO DISK|VOLUME
asynchronously. The size of pool for background executions is controlled by
background_move_pool_size
. Default behavior is synchronous execution. Fixes
#47643
.
#56809
(
alesapin
).
Able to filter by engine when scanning system.tables, avoid unnecessary (potentially time-consuming) connection.
#56813
(
jsc0218
).
Show
total_bytes
and
total_rows
in system tables for RocksDB storage.
#56816
(
Aleksandr Musorin
).
Allow basic commands in ALTER for TEMPORARY tables.
#56892
(
Sergey
).
LZ4 compression. Buffer compressed block in a rare case when out buffer capacity is not enough for writing compressed block directly to out's buffer.
#56938
(
Sema Checherinda
).
Add metrics for the number of queued jobs, which is useful for the IO thread pool.
#56958
(
Alexey Milovidov
).
Add a setting for PostgreSQL table engine setting in the config file. Added a check for the setting Added documentation around the additional setting.
#56959
(
Peignon Melvyn
).
Function
concat
can now be called with a single argument, e.g.,
SELECT concat('abc')
. This makes its behavior more consistent with MySQL's concat implementation.
#57000
(
Serge Klochkov
).
Signs all
x-amz-*
headers as required by AWS S3 docs.
#57001
(
Arthur Passos
).
Function
fromDaysSinceYearZero
(alias:
FROM_DAYS
) can now be used with unsigned and signed integer types (previously, it had to be an unsigned integer). This improve compatibility with 3rd party tools such as Tableau Online.
#57002
(
Serge Klochkov
).
Add
system.s3queue_log
to default config.
#57036
(
Kseniia Sumarokova
). | {"source_file": "2023.md"} | [
-0.07363153994083405,
0.053480442613363266,
-0.046980202198028564,
-0.03934994712471962,
-0.03481422737240791,
-0.09237215667963028,
-0.03515301272273064,
-0.08132223784923553,
0.030977526679635048,
0.07630405575037003,
0.007123705931007862,
0.03906824812293053,
0.027358803898096085,
-0.00... |
beb4e737-e9df-44e8-b381-f442e31cf7a4 | Add
system.s3queue_log
to default config.
#57036
(
Kseniia Sumarokova
).
Change the default for
wait_dictionaries_load_at_startup
to true, and use this setting only if
dictionaries_lazy_load
is false.
#57133
(
Vitaly Baranov
).
Check dictionary source type on creation even if
dictionaries_lazy_load
is enabled.
#57134
(
Vitaly Baranov
).
Plan-level optimizations can now be enabled/disabled individually. Previously, it was only possible to disable them all. The setting which previously did that (
query_plan_enable_optimizations
) is retained and can still be used to disable all optimizations.
#57152
(
Robert Schulze
).
The server's exit code will correspond to the exception code. For example, if the server cannot start due to memory limit, it will exit with the code 241 = MEMORY_LIMIT_EXCEEDED. In previous versions, the exit code for exceptions was always 70 = Poco::Util::ExitCode::EXIT_SOFTWARE.
#57153
(
Alexey Milovidov
).
Do not demangle and symbolize stack frames from
functional
C++ header.
#57201
(
Mike Kot
).
HTTP server page
/dashboard
now supports charts with multiple lines.
#57236
(
Sergei Trifonov
).
The
max_memory_usage_in_client
command line option supports a string value with a suffix (K, M, G, etc). Closes
#56879
.
#57273
(
Yarik Briukhovetskyi
).
Bumped Intel QPL (used by codec
DEFLATE_QPL
) from v1.2.0 to v1.3.1 . Also fixed a bug in case of BOF (Block On Fault) = 0, changed to handle page faults by falling back to SW path.
#57291
(
jasperzhu
).
Increase default
replicated_deduplication_window
of MergeTree settings from 100 to 1k.
#57335
(
sichenzhao
).
Stop using
INCONSISTENT_METADATA_FOR_BACKUP
that much. If possible prefer to continue scanning instead of stopping and starting the scanning for backup from the beginning.
#57385
(
Vitaly Baranov
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-1}
Add SQLLogic test.
#56078
(
Han Fei
).
Make
clickhouse-local
and
clickhouse-client
available under short names (
ch
,
chl
,
chc
) for usability.
#56634
(
Alexey Milovidov
).
Optimized build size further by removing unused code from external libraries.
#56786
(
Alexey Milovidov
).
Add automatic check that there are no large translation units.
#56559
(
Alexey Milovidov
).
Lower the size of the single-binary distribution. This closes
#55181
.
#56617
(
Alexey Milovidov
).
Information about the sizes of every translation unit and binary file after each build will be sent to the CI database in ClickHouse Cloud. This closes
#56107
.
#56636
(
Alexey Milovidov
).
Certain files of "Apache Arrow" library (which we use only for non-essential things like parsing the arrow format) were rebuilt all the time regardless of the build cache. This is fixed.
#56657
(
Alexey Milovidov
).
Avoid recompiling translation units depending on the autogenerated source file about version.
#56660
(
Alexey Milovidov
). | {"source_file": "2023.md"} | [
0.015454812906682491,
0.021282292902469635,
-0.0974685549736023,
0.03514542430639267,
-0.035492297261953354,
-0.025006143376231194,
-0.03116283379495144,
-0.025743680074810982,
-0.03853975236415863,
0.013802609406411648,
-0.03160742670297623,
0.04908004775643349,
-0.010894089937210083,
-0.... |
6f44517c-e616-4867-9882-619805ab52b2 | Avoid recompiling translation units depending on the autogenerated source file about version.
#56660
(
Alexey Milovidov
).
Tracing data of the linker invocations will be sent to the CI database in ClickHouse Cloud.
#56725
(
Alexey Milovidov
).
Use DWARF 5 debug symbols for the clickhouse binary (was DWARF 4 previously).
#56770
(
Michael Kolupaev
).
Add a new build option
SANITIZE_COVERAGE
. If it is enabled, the code is instrumented to track the coverage. The collected information is available inside ClickHouse with: (1) a new function
coverage
that returns an array of unique addresses in the code found after the previous coverage reset; (2)
SYSTEM RESET COVERAGE
query that resets the accumulated data. This allows us to compare the coverage of different tests, including differential code coverage. Continuation of
#20539
.
#56102
(
Alexey Milovidov
).
Some of the stack frames might not be resolved when collecting stacks. In such cases the raw address might be helpful.
#56267
(
Alexander Gololobov
).
Add an option to disable
libssh
.
#56333
(
Alexey Milovidov
).
Enable temporary_data_in_cache in S3 tests in CI.
#48425
(
vdimir
).
Set the max memory usage for clickhouse-client (
1G
) in the CI.
#56873
(
Nikita Mikhaylov
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-1}
Fix exerimental Analyzer - insertion from select with subquery referencing insertion table should process only insertion block.
#50857
(
Yakov Olkhovskiy
).
Fix a bug in
str_to_map
function.
#56423
(
Arthur Passos
).
Keeper
reconfig
: add timeout before yielding/taking leadership
#53481
(
Mike Kot
).
Fix incorrect header in grace hash join and filter pushdown
#53922
(
vdimir
).
Select from system tables when table based on table function.
#55540
(
MikhailBurdukov
).
RFC: Fix "Cannot find column X in source stream" for Distributed queries with LIMIT BY
#55836
(
Azat Khuzhin
).
Fix 'Cannot read from file:' while running client in a background
#55976
(
Kruglov Pavel
).
Fix clickhouse-local exit on bad send_logs_level setting
#55994
(
Kruglov Pavel
).
Bug fix explain ast with parameterized view
#56004
(
SmitaRKulkarni
).
Fix a crash during table loading on startup
#56232
(
Nikolay Degterinsky
).
Fix ClickHouse-sourced dictionaries with an explicit query
#56236
(
Nikolay Degterinsky
).
Fix segfault in signal handler for Keeper
#56266
(
Antonio Andelic
).
Fix incomplete query result for UNION in view() function.
#56274
(
Nikolai Kochetov
).
Fix inconsistency of "cast('0' as DateTime64(3))" and "cast('0' as Nullable(DateTime64(3)))"
#56286
(
李扬
).
Fix rare race condition related to Memory allocation failure
#56303
(
alesapin
).
Fix restore from backup with
flatten_nested
and
data_type_default_nullable
#56306
(
Kseniia Sumarokova
). | {"source_file": "2023.md"} | [
-0.06610090285539627,
-0.015244357287883759,
-0.013821539469063282,
-0.007954634726047516,
0.04001685604453087,
-0.06365857273340225,
-0.036134734749794006,
-0.04501272737979889,
-0.06891071051359177,
0.01969621516764164,
0.01887136697769165,
-0.050305433571338654,
0.028646262362599373,
-0... |
75793346-cc23-45bf-8b8f-25e2e419b9b3 | Fix rare race condition related to Memory allocation failure
#56303
(
alesapin
).
Fix restore from backup with
flatten_nested
and
data_type_default_nullable
#56306
(
Kseniia Sumarokova
).
Fix crash in case of adding a column with type Object(JSON)
#56307
(
Nikita Mikhaylov
).
Fix crash in filterPushDown
#56380
(
vdimir
).
Fix restore from backup with mat view and dropped source table
#56383
(
Kseniia Sumarokova
).
Fix segfault during Kerberos initialization
#56401
(
Nikolay Degterinsky
).
Fix buffer overflow in T64
#56434
(
Alexey Milovidov
).
Fix nullable primary key in final (2)
#56452
(
Amos Bird
).
Fix ON CLUSTER queries without database on initial node
#56484
(
Nikolay Degterinsky
).
Fix startup failure due to TTL dependency
#56489
(
Nikolay Degterinsky
).
Fix ALTER COMMENT queries ON CLUSTER
#56491
(
Nikolay Degterinsky
).
Fix ALTER COLUMN with ALIAS
#56493
(
Nikolay Degterinsky
).
Fix empty NAMED COLLECTIONs
#56494
(
Nikolay Degterinsky
).
Fix two cases of projection analysis.
#56502
(
Amos Bird
).
Fix handling of aliases in query cache
#56545
(
Robert Schulze
).
Fix conversion from
Nullable(Enum)
to
Nullable(String)
#56644
(
Nikolay Degterinsky
).
More reliable log handling in Keeper
#56670
(
Antonio Andelic
).
Fix configuration merge for nodes with substitution attributes
#56694
(
Konstantin Bogdanov
).
Fix duplicate usage of table function input().
#56695
(
Nikolai Kochetov
).
Fix: RabbitMQ OpenSSL dynamic loading issue
#56703
(
Igor Nikonov
).
Fix crash in GCD codec in case when zeros present in data
#56704
(
Nikita Mikhaylov
).
Fix 'mutex lock failed: Invalid argument' in clickhouse-local during insert into function
#56710
(
Kruglov Pavel
).
Fix Date text parsing in optimistic path
#56765
(
Kruglov Pavel
).
Fix crash in FPC codec
#56795
(
Alexey Milovidov
).
DatabaseReplicated: fix DDL query timeout after recovering a replica
#56796
(
Alexander Tokmakov
).
Fix incorrect nullable columns reporting in MySQL binary protocol
#56799
(
Serge Klochkov
).
Support Iceberg metadata files for metastore tables
#56810
(
Kruglov Pavel
).
Fix TSAN report under transform
#56817
(
Raúl Marín
).
Fix SET query and SETTINGS formatting
#56825
(
Nikolay Degterinsky
).
Fix failure to start due to table dependency in joinGet
#56828
(
Nikolay Degterinsky
).
Fix flattening existing Nested columns during ADD COLUMN
#56830
(
Nikolay Degterinsky
).
Fix allow cr end of line for csv
#56901
(
KevinyhZou
).
Fix
tryBase64Decode
with invalid input
#56913
(
Robert Schulze
).
Fix generating deep nested columns in CapnProto/Protobuf schemas
#56941
(
Kruglov Pavel
).
Prevent incompatible ALTER of projection columns
#56948
(
Amos Bird
).
Fix sqlite file path validation
#56984
(
San
).
S3Queue: fix metadata reference increment
#56990
(
Kseniia Sumarokova
).
S3Queue minor fix
#56999
(
Kseniia Sumarokova
). | {"source_file": "2023.md"} | [
0.016925137490034103,
-0.012311676517128944,
-0.02688622660934925,
0.012950316071510315,
-0.04468823969364166,
-0.026555435732007027,
-0.04940132051706314,
0.01844523474574089,
-0.04139917343854904,
0.03488248214125633,
-0.003298710100352764,
-0.016335884109139442,
-0.09059283137321472,
-0... |
d833561f-f77f-433f-acf6-2157875f19fd | Fix sqlite file path validation
#56984
(
San
).
S3Queue: fix metadata reference increment
#56990
(
Kseniia Sumarokova
).
S3Queue minor fix
#56999
(
Kseniia Sumarokova
).
Fix file path validation for DatabaseFileSystem
#57029
(
San
).
Fix
fuzzBits
with
ARRAY JOIN
#57033
(
Antonio Andelic
).
Fix Nullptr dereference in partial merge join with joined_subquery_re...
#57048
(
vdimir
).
Fix race condition in RemoteSource
#57052
(
Raúl Marín
).
Implement
bitHammingDistance
for big integers
#57073
(
Alexey Milovidov
).
S3-style links bug fix
#57075
(
Yarik Briukhovetskyi
).
Fix JSON_QUERY function with multiple numeric paths
#57096
(
KevinyhZou
).
Fix buffer overflow in Gorilla codec
#57107
(
Nikolay Degterinsky
).
Close interserver connection on any exception before authentication
#57142
(
Antonio Andelic
).
Fix segfault after ALTER UPDATE with Nullable MATERIALIZED column
#57147
(
Nikolay Degterinsky
).
Fix incorrect JOIN plan optimization with partially materialized normal projection
#57196
(
Amos Bird
).
Ignore comments when comparing column descriptions
#57259
(
Antonio Andelic
).
Fix
ReadonlyReplica
metric for all cases
#57267
(
Antonio Andelic
).
Background merges correctly use temporary data storage in the cache
#57275
(
vdimir
).
Keeper fix for changelog and snapshots
#57299
(
Antonio Andelic
).
Ignore finished ON CLUSTER tasks if hostname changed
#57339
(
Alexander Tokmakov
).
MergeTree mutations reuse source part index granularity
#57352
(
Maksim Kita
).
FS cache: add a limit for background download
#57424
(
Kseniia Sumarokova
).
ClickHouse release 23.10, 2023-11-02 {#2310}
Backward Incompatible Change {#backward-incompatible-change-2}
There is no longer an option to automatically remove broken data parts. This closes
#55174
.
#55184
(
Alexey Milovidov
).
#55557
(
Jihyuk Bok
).
The obsolete in-memory data parts can no longer be read from the write-ahead log. If you have configured in-memory parts before, they have to be removed before the upgrade.
#55186
(
Alexey Milovidov
).
Remove the integration with Meilisearch. Reason: it was compatible only with the old version 0.18. The recent version of Meilisearch changed the protocol and does not work anymore. Note: we would appreciate it if you help to return it back.
#55189
(
Alexey Milovidov
).
Rename directory monitor concept into background INSERT. All the settings
*directory_monitor*
had been renamed to
distributed_background_insert*
.
Backward compatibility should be preserved
(since old settings had been added as an alias).
#55978
(
Azat Khuzhin
).
Do not interpret the
send_timeout
set on the client side as the
receive_timeout
on the server side and vise-versa.
#56035
(
Azat Khuzhin
). | {"source_file": "2023.md"} | [
-0.04169066250324249,
-0.02781728282570839,
-0.0427735298871994,
-0.04933449253439903,
-0.05920906364917755,
-0.08029229938983917,
-0.02266669273376465,
0.0013592093018814921,
-0.08831115812063217,
0.03523924574255943,
0.0006949025555513799,
-0.03284721449017525,
-0.01194713730365038,
-0.0... |
e3cbed7c-e937-46e7-b61d-42255c7de927 | Do not interpret the
send_timeout
set on the client side as the
receive_timeout
on the server side and vise-versa.
#56035
(
Azat Khuzhin
).
Comparison of time intervals with different units will throw an exception. This closes
#55942
. You might have occasionally rely on the previous behavior when the underlying numeric values were compared regardless of the units.
#56090
(
Alexey Milovidov
).
Rewrited the experimental
S3Queue
table engine completely: changed the way we keep information in zookeeper which allows to make less zookeeper requests, added caching of zookeeper state in cases when we know the state will not change, improved the polling from s3 process to make it less aggressive, changed the way ttl and max set for trached files is maintained, now it is a background process. Added
system.s3queue
and
system.s3queue_log
tables. Closes
#54998
.
#54422
(
Kseniia Sumarokova
).
Arbitrary paths on HTTP endpoint are no longer interpreted as a request to the
/query
endpoint.
#55521
(
Konstantin Bogdanov
).
New Feature {#new-feature-2}
Add function
arrayFold(accumulator, x1, ..., xn -> expression, initial, array1, ..., arrayn)
which applies a lambda function to multiple arrays of the same cardinality and collects the result in an accumulator.
#49794
(
Lirikl
).
Support for
Npy
format.
SELECT * FROM file('example_array.npy', Npy)
.
#55982
(
Yarik Briukhovetskyi
).
If a table has a space-filling curve in its key, e.g.,
ORDER BY mortonEncode(x, y)
, the conditions on its arguments, e.g.,
x >= 10 AND x <= 20 AND y >= 20 AND y <= 30
can be used for indexing. A setting
analyze_index_with_space_filling_curves
is added to enable or disable this analysis. This closes
#41195
. Continuation of
#4538
. Continuation of
#6286
. Continuation of
#28130
. Continuation of
#41753
.
#55642
(
Alexey Milovidov
).
A new setting called
force_optimize_projection_name
, it takes a name of projection as an argument. If it's value set to a non-empty string, ClickHouse checks that this projection is used in the query at least once. Closes
#55331
.
#56134
(
Yarik Briukhovetskyi
).
Support asynchronous inserts with external data via native protocol. Previously it worked only if data is inlined into query.
#54730
(
Anton Popov
).
Added aggregation function
lttb
which uses the
Largest-Triangle-Three-Buckets
algorithm for downsampling data for visualization.
#53145
(
Sinan
).
Query
CHECK TABLE
has better performance and usability (sends progress updates, cancellable). Support checking particular part with
CHECK TABLE ... PART 'part_name'
.
#53404
(
vdimir
).
Added function
jsonMergePatch
. When working with JSON data as strings, it provides a way to merge these strings (of JSON objects) together to form a single string containing a single JSON object.
#54364
(
Memo
). | {"source_file": "2023.md"} | [
-0.013392382301390171,
0.007390293292701244,
-0.08079143613576889,
0.009366068989038467,
0.004007422830909491,
-0.060623835772275925,
0.0014883781550452113,
-0.022191161289811134,
0.06603618711233139,
0.050997812300920486,
-0.06729691475629807,
-0.01025787740945816,
0.05684691667556763,
-0... |
b14d892c-821b-4165-9028-3117acf03021 | The second part of Kusto Query Language dialect support.
Phase 1 implementation
has been merged.
#42510
(
larryluogit
).
Added a new SQL function,
arrayRandomSample(arr, k)
which returns a sample of k elements from the input array. Similar functionality could previously be achieved only with less convenient syntax, e.g. "SELECT arrayReduce('groupArraySample(3)', range(10))".
#54391
(
itayisraelov
).
Introduce
-ArgMin
/
-ArgMax
aggregate combinators which allow to aggregate by min/max values only. One use case can be found in
#54818
. This PR also reorganize combinators into dedicated folder.
#54947
(
Amos Bird
).
Allow to drop cache for Protobuf format with
SYSTEM DROP SCHEMA FORMAT CACHE [FOR Protobuf]
.
#55064
(
Aleksandr Musorin
).
Add external HTTP Basic authenticator.
#55199
(
Aleksei Filatov
).
Added function
byteSwap
which reverses the bytes of unsigned integers. This is particularly useful for reversing values of types which are represented as unsigned integers internally such as IPv4.
#55211
(
Priyansh Agrawal
).
Added function
formatQuery
which returns a formatted version (possibly spanning multiple lines) of a SQL query string. Also added function
formatQuerySingleLine
which does the same but the returned string will not contain linebreaks.
#55239
(
Salvatore Mesoraca
).
Added
DWARF
input format that reads debug symbols from an ELF executable/library/object file.
#55450
(
Michael Kolupaev
).
Allow to save unparsed records and errors in RabbitMQ, NATS and FileLog engines. Add virtual columns
_error
and
_raw_message
(for NATS and RabbitMQ),
_raw_record
(for FileLog) that are filled when ClickHouse fails to parse new record. The behaviour is controlled under storage settings
nats_handle_error_mode
for NATS,
rabbitmq_handle_error_mode
for RabbitMQ,
handle_error_mode
for FileLog similar to
kafka_handle_error_mode
. If it's set to
default
, en exception will be thrown when ClickHouse fails to parse a record, if it's set to
stream
, erorr and raw record will be saved into virtual columns. Closes
#36035
.
#55477
(
Kruglov Pavel
).
Keeper client improvement: add
get_all_children_number command
that returns number of all children nodes under a specific path.
#55485
(
guoxiaolong
).
Keeper client improvement: add
get_direct_children_number
command that returns number of direct children nodes under a path.
#55898
(
xuzifu666
).
Add statement
SHOW SETTING setting_name
which is a simpler version of existing statement
SHOW SETTINGS
.
#55979
(
Maksim Kita
).
Added fields
substreams
and
filenames
to the
system.parts_columns
table.
#55108
(
Anton Popov
).
Add support for
SHOW MERGES
query.
#55815
(
megao
).
Introduce a setting
create_table_empty_primary_key_by_default
for default
ORDER BY ()
.
#55899
(
Srikanth Chekuri
).
Performance Improvement {#performance-improvement-2} | {"source_file": "2023.md"} | [
-0.013301283121109009,
0.042183421552181244,
-0.05854169651865959,
-0.06898408383131027,
-0.10980920493602753,
0.006757022347301245,
0.07292985916137695,
-0.04198046401143074,
0.010094561614096165,
0.023034928366541862,
-0.08004889637231827,
-0.030119208618998528,
0.02027049846947193,
-0.0... |
ffb21587-621d-4600-855a-d6674213c93d | Introduce a setting
create_table_empty_primary_key_by_default
for default
ORDER BY ()
.
#55899
(
Srikanth Chekuri
).
Performance Improvement {#performance-improvement-2}
Add option
query_plan_preserve_num_streams_after_window_functions
to preserve the number of streams after evaluating window functions to allow parallel stream processing.
#50771
(
frinkr
).
Release more streams if data is small.
#53867
(
Jiebin Sun
).
RoaringBitmaps being optimized before serialization.
#55044
(
UnamedRus
).
Posting lists in inverted indexes are now optimized to use the smallest possible representation for internal bitmaps. Depending on the repetitiveness of the data, this may significantly reduce the space consumption of inverted indexes.
#55069
(
Harry Lee
).
Fix contention on Context lock, this significantly improves performance for a lot of short-running concurrent queries.
#55121
(
Maksim Kita
).
Improved the performance of inverted index creation by 30%. This was achieved by replacing
std::unordered_map
with
absl::flat_hash_map
.
#55210
(
Harry Lee
).
Support ORC filter push down (rowgroup level).
#55330
(
李扬
).
Improve performance of external aggregation with a lot of temporary files.
#55489
(
Maksim Kita
).
Set a reasonable size for the marks cache for secondary indices by default to avoid loading the marks over and over again.
#55654
(
Alexey Milovidov
).
Avoid unnecessary reconstruction of index granules when reading skip indexes. This addresses
#55653
.
#55683
(
Amos Bird
).
Cache CAST function in set during execution to improve the performance of function
IN
when set element type doesn't exactly match column type.
#55712
(
Duc Canh Le
).
Performance improvement for
ColumnVector::insertMany
and
ColumnVector::insertManyFrom
.
#55714
(
frinkr
).
Optimized Map subscript operations by predicting the next row's key position and reduce the comparisons.
#55929
(
lgbo
).
Support struct fields pruning in Parquet (in previous versions it didn't work in some cases).
#56117
(
lgbo
).
Add the ability to tune the number of parallel replicas used in a query execution based on the estimation of rows to read.
#51692
(
Raúl Marín
).
Optimized external aggregation memory consumption in case many temporary files were generated.
#54798
(
Nikita Taranov
).
Distributed queries executed in
async_socket_for_remote
mode (default) now respect
max_threads
limit. Previously, some queries could create excessive threads (up to
max_distributed_connections
), causing server performance issues.
#53504
(
filimonov
).
Caching skip-able entries while executing DDL from Zookeeper distributed DDL queue.
#54828
(
Duc Canh Le
). | {"source_file": "2023.md"} | [
-0.020854059606790543,
0.07375101745128632,
-0.00723748654127121,
0.01691494695842266,
-0.04589508846402168,
-0.05399367958307266,
-0.055028852075338364,
0.010795958340168,
-0.036028046160936356,
0.02504304051399231,
-0.03280216455459595,
0.031389690935611725,
0.006357347592711449,
-0.0719... |
d13c1f7b-62c7-45fa-b925-7bba8626d048 | Caching skip-able entries while executing DDL from Zookeeper distributed DDL queue.
#54828
(
Duc Canh Le
).
Experimental inverted indexes do not store tokens with too many matches (i.e. row ids in the posting list). This saves space and avoids ineffective index lookups when sequential scans would be equally fast or faster. The previous heuristics (
density
parameter passed to the index definition) that controlled when tokens would not be stored was too confusing for users. A much simpler heuristics based on parameter
max_rows_per_postings_list
(default: 64k) is introduced which directly controls the maximum allowed number of row ids in a postings list.
#55616
(
Harry Lee
).
Improve write performance to
EmbeddedRocksDB
tables.
#55732
(
Duc Canh Le
).
Improved overall resilience for ClickHouse in case of many parts within partition (more than 1000). It might reduce the number of
TOO_MANY_PARTS
errors.
#55526
(
Nikita Mikhaylov
).
Reduced memory consumption during loading of hierarchical dictionaries.
#55838
(
Nikita Taranov
).
All dictionaries support setting
dictionary_use_async_executor
.
#55839
(
vdimir
).
Prevent excesive memory usage when deserializing AggregateFunctionTopKGenericData.
#55947
(
Raúl Marín
).
On a Keeper with lots of watches AsyncMetrics threads can consume 100% of CPU for noticable time in
DB::KeeperStorage::getSessionsWithWatchesCount
. The fix is to avoid traversing heavy
watches
and
list_watches
sets.
#56054
(
Alexander Gololobov
).
Add setting
optimize_trivial_approximate_count_query
to use
count
approximation for storage EmbeddedRocksDB. Enable trivial count for StorageJoin.
#55806
(
Duc Canh Le
).
Improvement {#improvement-2}
Functions
toDayOfWeek
(MySQL alias:
DAYOFWEEK
),
toYearWeek
(
YEARWEEK
) and
toWeek
(
WEEK
) now supports
String
arguments. This makes its behavior consistent with MySQL's behavior.
#55589
(
Robert Schulze
).
Introduced setting
date_time_overflow_behavior
with possible values
ignore
,
throw
,
saturate
that controls the overflow behavior when converting from Date, Date32, DateTime64, Integer or Float to Date, Date32, DateTime or DateTime64.
#55696
(
Andrey Zvonov
).
Implement query parameters support for
ALTER TABLE ... ACTION PARTITION [ID] {parameter_name:ParameterType}
. Merges
#49516
. Closes
#49449
.
#55604
(
alesapin
).
Print processor ids in a prettier manner in EXPLAIN.
#48852
(
Vlad Seliverstov
).
Creating a direct dictionary with a lifetime field will be rejected at create time (as the lifetime does not make sense for direct dictionaries). Fixes:
#27861
.
#49043
(
Rory Crispin
).
Allow parameters in queries with partitions like
ALTER TABLE t DROP PARTITION
. Closes
#49449
.
#49516
(
Nikolay Degterinsky
).
Add a new column
xid
for
system.zookeeper_connection
.
#50702
(
helifu
). | {"source_file": "2023.md"} | [
-0.06060250848531723,
0.013755380176007748,
-0.03397132456302643,
-0.02786417119204998,
-0.011419462040066719,
-0.11834754794836044,
-0.007818830199539661,
-0.03867735713720322,
-0.029169026762247086,
0.015607531182467937,
-0.018497556447982788,
0.05525103583931923,
0.07968327403068542,
-0... |
eec60f2b-bd5e-4ea1-bb66-4e07991fca9f | Add a new column
xid
for
system.zookeeper_connection
.
#50702
(
helifu
).
Display the correct server settings in
system.server_settings
after configuration reload.
#53774
(
helifu
).
Add support for mathematical minus
−
character in queries, similar to
-
.
#54100
(
Alexey Milovidov
).
Add replica groups to the experimental
Replicated
database engine. Closes
#53620
.
#54421
(
Nikolay Degterinsky
).
It is better to retry retriable s3 errors than totally fail the query. Set bigger value to the s3_retry_attempts by default.
#54770
(
Sema Checherinda
).
Add load balancing mode
hostname_levenshtein_distance
.
#54826
(
JackyWoo
).
Improve hiding secrets in logs.
#55089
(
Vitaly Baranov
).
For now the projection analysis will be performed only on top of query plan. The setting
query_plan_optimize_projection
became obsolete (it was enabled by default long time ago).
#55112
(
Nikita Mikhaylov
).
When function
untuple
is now called on a tuple with named elements and itself has an alias (e.g.
select untuple(tuple(1)::Tuple(element_alias Int)) AS untuple_alias
), then the result column name is now generated from the untuple alias and the tuple element alias (in the example: "untuple_alias.element_alias").
#55123
(
garcher22
).
Added setting
describe_include_virtual_columns
, which allows to include virtual columns of table into result of
DESCRIBE
query. Added setting
describe_compact_output
. If it is set to
true
,
DESCRIBE
query returns only names and types of columns without extra information.
#55129
(
Anton Popov
).
Sometimes
OPTIMIZE
with
optimize_throw_if_noop=1
may fail with an error
unknown reason
while the real cause of it - different projections in different parts. This behavior is fixed.
#55130
(
Nikita Mikhaylov
).
Allow to have several
MaterializedPostgreSQL
tables following the same Postgres table. By default this behaviour is not enabled (for compatibility, because it is a backward-incompatible change), but can be turned on with setting
materialized_postgresql_use_unique_replication_consumer_identifier
. Closes
#54918
.
#55145
(
Kseniia Sumarokova
).
Allow to parse negative
DateTime64
and
DateTime
with fractional part from short strings.
#55146
(
Andrey Zvonov
).
To improve compatibility with MySQL, 1.
information_schema.tables
now includes the new field
table_rows
, and 2.
information_schema.columns
now includes the new field
extra
.
#55215
(
Robert Schulze
).
Clickhouse-client won't show "0 rows in set" if it is zero and if exception was thrown.
#55240
(
Salvatore Mesoraca
).
Support rename table without keyword
TABLE
like
RENAME db.t1 to db.t2
.
#55373
(
凌涛
).
Add
internal_replication
to
system.clusters
.
#55377
(
Konstantin Morozov
).
Select remote proxy resolver based on request protocol, add proxy feature docs and remove
DB::ProxyConfiguration::Protocol::ANY
.
#55430
(
Arthur Passos
). | {"source_file": "2023.md"} | [
-0.03860963135957718,
-0.02777947299182415,
-0.04587983712553978,
0.005150134209543467,
-0.018928905948996544,
-0.05384497344493866,
-0.050546012818813324,
-0.02667112648487091,
0.0043807257898151875,
0.046523772180080414,
-0.038139134645462036,
-0.057619769126176834,
0.0873652994632721,
-... |
8bee44cb-f197-4a57-a386-fad6886e87e4 | Select remote proxy resolver based on request protocol, add proxy feature docs and remove
DB::ProxyConfiguration::Protocol::ANY
.
#55430
(
Arthur Passos
).
Avoid retrying keeper operations on INSERT after table shutdown.
#55519
(
Azat Khuzhin
).
SHOW COLUMNS
now correctly reports type
FixedString
as
BLOB
if setting
use_mysql_types_in_show_columns
is on. Also added two new settings,
mysql_map_string_to_text_in_show_columns
and
mysql_map_fixed_string_to_text_in_show_columns
to switch the output for types
String
and
FixedString
as
TEXT
or
BLOB
.
#55617
(
Serge Klochkov
).
During ReplicatedMergeTree tables startup clickhouse server checks set of parts for unexpected parts (exists locally, but not in zookeeper). All unexpected parts move to detached directory and instead of them server tries to restore some ancestor (covered) parts. Now server tries to restore closest ancestors instead of random covered parts.
#55645
(
alesapin
).
The advanced dashboard now supports draggable charts on touch devices. This closes
#54206
.
#55649
(
Alexey Milovidov
).
Use the default query format if declared when outputting exception with
http_write_exception_in_output_format
.
#55739
(
Raúl Marín
).
Provide a better message for common MATERIALIZED VIEW pitfalls.
#55826
(
Raúl Marín
).
If you dropped the current database, you will still be able to run some queries in
clickhouse-local
and switch to another database. This makes the behavior consistent with
clickhouse-client
. This closes
#55834
.
#55853
(
Alexey Milovidov
).
Functions
(add|subtract)(Year|Quarter|Month|Week|Day|Hour|Minute|Second|Millisecond|Microsecond|Nanosecond)
now support string-encoded date arguments, e.g.
SELECT addDays('2023-10-22', 1)
. This increases compatibility with MySQL and is needed by Tableau Online.
#55869
(
Robert Schulze
).
The setting
apply_deleted_mask
when disabled allows to read rows that where marked as deleted by lightweight DELETE queries. This is useful for debugging.
#55952
(
Alexander Gololobov
).
Allow skipping
null
values when serailizing Tuple to json objects, which makes it possible to keep compatibility with Spark's
to_json
function, which is also useful for gluten.
#55956
(
李扬
).
Functions
(add|sub)Date
now support string-encoded date arguments, e.g.
SELECT addDate('2023-10-22 11:12:13', INTERVAL 5 MINUTE)
. The same support for string-encoded date arguments is added to the plus and minus operators, e.g.
SELECT '2023-10-23' + INTERVAL 1 DAY
. This increases compatibility with MySQL and is needed by Tableau Online.
#55960
(
Robert Schulze
).
Allow unquoted strings with CR (
\r
) in CSV format. Closes
#39930
.
#56046
(
Kruglov Pavel
).
Allow to run
clickhouse-keeper
using embedded config.
#56086
(
Maksim Kita
).
Set limit of the maximum configuration value for
queued.min.messages
to avoid problem with start fetching data with Kafka.
#56121
(
Stas Morozov
). | {"source_file": "2023.md"} | [
-0.01393036637455225,
-0.004928990732878447,
-0.012042172253131866,
0.0335560105741024,
-0.055819250643253326,
-0.04384496808052063,
0.03299996629357338,
0.012962320819497108,
-0.022127225995063782,
0.09579294919967651,
0.01665768399834633,
-0.0067744022235274315,
0.10084430873394012,
0.04... |
05e91b1b-ed7f-4aec-80d8-8500f31361b2 | Set limit of the maximum configuration value for
queued.min.messages
to avoid problem with start fetching data with Kafka.
#56121
(
Stas Morozov
).
Fixed a typo in SQL function
minSampleSizeContinous
(renamed
minSampleSizeContinuous
). Old name is preserved for backward compatibility. This closes:
#56139
.
#56143
(
Dorota Szeremeta
).
Print path for broken parts on disk before shutting down the server. Before this change if a part is corrupted on disk and server cannot start, it was almost impossible to understand which part is broken. This is fixed.
#56181
(
Duc Canh Le
).
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-2}
If the database in Docker is already initialized, it doesn't need to be initialized again upon subsequent launches. This can potentially fix the issue of infinite container restarts when the database fails to load within 1000 attempts (relevant for very large databases and multi-node setups).
#50724
(
Alexander Nikolaev
).
Resource with source code including submodules is built in Darwin special build task. It may be used to build ClickHouse without checking out the submodules.
#51435
(
Ilya Yatsishin
).
An error was occuring when building ClickHouse with the AVX series of instructions enabled globally (which isn't recommended). The reason is that snappy does not enable
SNAPPY_HAVE_X86_CRC32
.
#55049
(
monchickey
).
Solve issue with launching standalone
clickhouse-keeper
from
clickhouse-server
package.
#55226
(
Mikhail f. Shiryaev
).
In the tests, RabbitMQ version is updated to 3.12.6. Improved logs collection for RabbitMQ tests.
#55424
(
Ilya Yatsishin
).
Modified the error message difference between openssl and boringssl to fix the functional test.
#55975
(
MeenaRenganathan22
).
Use upstream repo for apache datasketches.
#55787
(
Nikita Taranov
).
Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-2}
Skip hardlinking inverted index files in mutation
#47663
(
cangyin
).
Fixed bug of
match
function (regex) with pattern containing alternation produces incorrect key condition. Closes #53222.
#54696
(
Yakov Olkhovskiy
).
Fix 'Cannot find column' in read-in-order optimization with ARRAY JOIN
#51746
(
Nikolai Kochetov
).
Support missed experimental
Object(Nullable(json))
subcolumns in query.
#54052
(
zps
).
Re-add fix for
accurateCastOrNull
#54629
(
Salvatore Mesoraca
).
Fix detecting
DEFAULT
for columns of a Distributed table created without AS
#55060
(
Vitaly Baranov
).
Proper cleanup in case of exception in ctor of ShellCommandSource
#55103
(
Alexander Gololobov
).
Fix deadlock in LDAP assigned role update
#55119
(
Julian Maicher
).
Suppress error statistics update for internal exceptions
#55128
(
Robert Schulze
).
Fix deadlock in backups
#55132
(
alesapin
). | {"source_file": "2023.md"} | [
-0.03845207020640373,
0.01214470062404871,
-0.01930283010005951,
-0.010339897125959396,
-0.007862516678869724,
-0.061455950140953064,
-0.06906075030565262,
0.03725966438651085,
-0.03674693405628204,
0.03748065605759621,
0.004178441129624844,
-0.03499866649508476,
-0.01629471778869629,
-0.0... |
c0a87ecf-2f8b-4d3f-93c2-a45c0a48a970 | Suppress error statistics update for internal exceptions
#55128
(
Robert Schulze
).
Fix deadlock in backups
#55132
(
alesapin
).
Fix storage Iceberg files retrieval
#55144
(
Kseniia Sumarokova
).
Fix partition pruning of extra columns in set.
#55172
(
Amos Bird
).
Fix recalculation of skip indexes in ALTER UPDATE queries when table has adaptive granularity
#55202
(
Duc Canh Le
).
Fix for background download in fs cache
#55252
(
Kseniia Sumarokova
).
Avoid possible memory leaks in compressors in case of missing buffer finalization
#55262
(
Azat Khuzhin
).
Fix functions execution over sparse columns
#55275
(
Azat Khuzhin
).
Fix incorrect merging of Nested for SELECT FINAL FROM SummingMergeTree
#55276
(
Azat Khuzhin
).
Fix bug with inability to drop detached partition in replicated merge tree on top of S3 without zero copy
#55309
(
alesapin
).
Fix a crash in MergeSortingPartialResultTransform (due to zero chunks after
remerge
)
#55335
(
Azat Khuzhin
).
Fix data-race in CreatingSetsTransform (on errors) due to throwing shared exception
#55338
(
Azat Khuzhin
).
Fix trash optimization (up to a certain extent)
#55353
(
Alexey Milovidov
).
Fix leak in StorageHDFS
#55370
(
Azat Khuzhin
).
Fix parsing of arrays in cast operator
#55417
(
Anton Popov
).
Fix filtering by virtual columns with OR filter in query
#55418
(
Azat Khuzhin
).
Fix MongoDB connection issues
#55419
(
Nikolay Degterinsky
).
Fix MySQL interface boolean representation
#55427
(
Serge Klochkov
).
Fix MySQL text protocol DateTime formatting and LowCardinality(Nullable(T)) types reporting
#55479
(
Serge Klochkov
).
Make
use_mysql_types_in_show_columns
affect only
SHOW COLUMNS
#55481
(
Robert Schulze
).
Fix stack symbolizer parsing
DW_FORM_ref_addr
incorrectly and sometimes crashing
#55483
(
Michael Kolupaev
).
Destroy fiber in case of exception in cancelBefore in AsyncTaskExecutor
#55516
(
Kruglov Pavel
).
Fix Query Parameters not working with custom HTTP handlers
#55521
(
Konstantin Bogdanov
).
Fix checking of non handled data for Values format
#55527
(
Azat Khuzhin
).
Fix 'Invalid cursor state' in odbc interacting with MS SQL Server
#55558
(
vdimir
).
Fix max execution time and 'break' overflow mode
#55577
(
Alexander Gololobov
).
Fix crash in QueryNormalizer with cyclic aliases
#55602
(
vdimir
).
Disable wrong optimization and add a test
#55609
(
Alexey Milovidov
).
Merging
#52352
#55621
(
Alexey Milovidov
).
Add a test to avoid incorrect decimal sorting
#55662
(
Amos Bird
).
Fix progress bar for s3 and azure Cluster functions with url without globs
#55666
(
Kruglov Pavel
).
Fix filtering by virtual columns with OR filter in query (resubmit)
#55678
(
Azat Khuzhin
).
Fixes and improvements for Iceberg storage
#55695
(
Kruglov Pavel
).
Fix data race in CreatingSetsTransform (v2)
#55786
(
Azat Khuzhin
). | {"source_file": "2023.md"} | [
-0.014634585939347744,
0.0012358658714219928,
-0.0018158294260501862,
0.029821248725056648,
0.031522687524557114,
-0.06157013028860092,
-0.04277312010526657,
0.01024650502949953,
-0.008487177081406116,
0.06155310571193695,
0.022581996396183968,
-0.011359157040715218,
-0.02967667765915394,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.