id
stringlengths
36
36
document
stringlengths
3
3k
metadata
stringlengths
23
69
embeddings
listlengths
384
384
41ae9034-d944-484c-aafa-265aac616160
Show MaterializeMySQL tables in system.parts . #19770 ( Stig Bakken ). Add separate config directive for Buffer profile. #19721 ( Azat Khuzhin ). Move conditions that are not related to JOIN to WHERE clause. #18720 . #19685 ( hexiaoting ). Add ability to throttle INSERT into Distributed based on amount of pending bytes for async send ( bytes_to_delay_insert / max_delay_to_insert and bytes_to_throw_insert settings for Distributed engine has been added). #19673 ( Azat Khuzhin ). Fix some rare cases when write errors can be ignored in destructors. #19451 ( Azat Khuzhin ). Print inline frames in stack traces for fatal errors. #19317 ( Ivan ). Bug Fix {#bug-fix-7} Fix redundant reconnects to ZooKeeper and the possibility of two active sessions for a single clickhouse server. Both problems introduced in #14678. #21264 ( alesapin ). Fix error Bad cast from type ... to DB::ColumnLowCardinality while inserting into table with LowCardinality column from Values format. Fixes #21140 #21357 ( Nikolai Kochetov ). Fix a deadlock in ALTER DELETE mutations for non replicated MergeTree table engines when the predicate contains the table itself. Fixes #20558 . #21477 ( alesapin ). Fix SIGSEGV for distributed queries on failures. #21434 ( Azat Khuzhin ). Now ALTER MODIFY COLUMN queries will correctly affect changes in partition key, skip indices, TTLs, and so on. Fixes #13675 . #21334 ( alesapin ). Fix bug with join_use_nulls and joining TOTALS from subqueries. This closes #19362 and #21137 . #21248 ( vdimir ). Fix crash in EXPLAIN for query with UNION . Fixes #20876 , #21170 . #21246 ( flynn ). Now mutations allowed only for table engines that support them (MergeTree family, Memory, MaterializedView). Other engines will report a more clear error. Fixes #21168 . #21183 ( alesapin ). Fixes #21112 . Fixed bug that could cause duplicates with insert query (if one of the callbacks came a little too late). #21138 ( Kseniia Sumarokova ). Fix input_format_null_as_default take effective when types are nullable. This fixes #21116 . #21121 ( Amos Bird ). fix bug related to cast Tuple to Map. Closes #21029 . #21120 ( hexiaoting ). Fix the metadata leak when the Replicated*MergeTree with custom (non default) ZooKeeper cluster is dropped. #21119 ( fastio ). Fix type mismatch issue when using LowCardinality keys in joinGet. This fixes #21114 . #21117 ( Amos Bird ). fix default_replica_path and default_replica_name values are useless on Replicated(*)MergeTree engine when the engine needs specify other parameters. #21060 ( mxzlxy ). Out of bound memory access was possible when formatting specifically crafted out of range value of type DateTime64 . This closes #20494 . This closes #20543 . #21023 ( alexey-milovidov ). Block parallel insertions into storage join. #21009 ( vdimir ).
{"source_file": "2021.md"}
[ -0.014580038376152515, -0.004194367211312056, -0.060406554490327835, 0.034457556903362274, -0.06155245751142502, -0.07041417062282562, 0.036681242287158966, 0.03474084287881851, -0.094919852912426, 0.10352328419685364, -0.017940755933523178, -0.02155262604355812, 0.12831050157546997, -0.00...
80323f24-6d4c-4d7a-9bb0-7082c438c82a
Block parallel insertions into storage join. #21009 ( vdimir ). Fixed behaviour, when ALTER MODIFY COLUMN created mutation, that will knowingly fail. #21007 ( Anton Popov ). Closes #9969 . Fixed Brotli http compression error, which reproduced for large data sizes, slightly complicated structure and with json output format. Update Brotli to the latest version to include the "fix rare access to uninitialized data in ring-buffer". #20991 ( Kseniia Sumarokova ). Fix 'Empty task was returned from async task queue' on query cancellation. #20881 ( Azat Khuzhin ). USE database; query did not work when using MySQL 5.7 client to connect to ClickHouse server, it's fixed. Fixes #18926 . #20878 ( tavplubix ). Fix usage of -Distinct combinator with -State combinator in aggregate functions. #20866 ( Anton Popov ). Fix subquery with union distinct and limit clause. close #20597 . #20610 ( flynn ). Fixed inconsistent behavior of dictionary in case of queries where we look for absent keys in dictionary. #20578 ( Nikita Mikhaylov ). Fix the number of threads for scalar subqueries and subqueries for index (after #19007 single thread was always used). Fixes #20457 , #20512 . #20550 ( Nikolai Kochetov ). Fix crash which could happen if unknown packet was received from remove query (was introduced in #17868 ). #20547 ( Azat Khuzhin ). Add proper checks while parsing directory names for async INSERT (fixes SIGSEGV). #20498 ( Azat Khuzhin ). Fix function transform does not work properly for floating point keys. Closes #20460 . #20479 ( flynn ). Fix infinite loop when propagating WITH aliases to subqueries. This fixes #20388 . #20476 ( Amos Bird ). Fix abnormal server termination when http client goes away. #20464 ( Azat Khuzhin ). Fix LOGICAL_ERROR for join_use_nulls=1 when JOIN contains const from SELECT. #20461 ( Azat Khuzhin ). Check if table function view is used in expression list and throw an error. This fixes #20342 . #20350 ( Amos Bird ). Avoid invalid dereference in RANGE_HASHED() dictionary. #20345 ( Azat Khuzhin ). Fix null dereference with join_use_nulls=1 . #20344 ( Azat Khuzhin ). Fix incorrect result of binary operations between two constant decimals of different scale. Fixes #20283 . #20339 ( Maksim Kita ). Fix too often retries of failed background tasks for ReplicatedMergeTree table engines family. This could lead to too verbose logging and increased CPU load. Fixes #20203 . #20335 ( alesapin ). Restrict to DROP or RENAME version column of *CollapsingMergeTree and ReplacingMergeTree table engines. #20300 ( alesapin ). Fixed the behavior when in case of broken JSON we tried to read the whole file into memory which leads to exception from the allocator. Fixes #19719 . #20286 ( Nikita Mikhaylov ).
{"source_file": "2021.md"}
[ -0.09563865512609482, 0.014278937131166458, -0.06220674142241478, 0.020270172506570816, -0.09771271795034409, -0.12588362395763397, -0.009391863830387592, -0.07197810709476471, 0.04732270538806915, -0.015229555778205395, 0.040472835302352905, 0.004653504583984613, 0.07849730551242828, -0.0...
f2be7fa0-eae6-4b1a-8336-ffc9b176abe4
Fixed the behavior when in case of broken JSON we tried to read the whole file into memory which leads to exception from the allocator. Fixes #19719 . #20286 ( Nikita Mikhaylov ). Fix exception during vertical merge for MergeTree table engines family which don't allow to perform vertical merges. Fixes #20259 . #20279 ( alesapin ). Fix rare server crash on config reload during the shutdown. Fixes #19689 . #20224 ( alesapin ). Fix CTE when using in INSERT SELECT. This fixes #20187 , fixes #20195 . #20211 ( Amos Bird ). Fixes #19314 . #20156 ( Ivan ). fix toMinute function to handle special timezone correctly. #20149 ( keenwolf ). Fix server crash after query with if function with Tuple type of then/else branches result. Tuple type must contain Array or another complex type. Fixes #18356 . #20133 ( alesapin ). The MongoDB table engine now establishes connection only when it's going to read data. ATTACH TABLE won't try to connect anymore. #20110 ( Vitaly Baranov ). Bugfix in StorageJoin. #20079 ( vdimir ). Fix the case when calculating modulo of division of negative number by small divisor, the resulting data type was not large enough to accomodate the negative result. This closes #20052 . #20067 ( alexey-milovidov ). MaterializeMySQL: Fix replication for statements that update several tables. #20066 ( Håvard Kvålen ). Prevent "Connection refused" in docker during initialization script execution. #20012 ( filimonov ). EmbeddedRocksDB is an experimental storage. Fix the issue with lack of proper type checking. Simplified code. This closes #19967 . #19972 ( alexey-milovidov ). Fix a segfault in function fromModifiedJulianDay when the argument type is Nullable(T) for any integral types other than Int32. #19959 ( PHO ). BloomFilter index crash fix. Fixes #19757 . #19884 ( Maksim Kita ). Deadlock was possible if system.text_log is enabled. This fixes #19874 . #19875 ( alexey-milovidov ). Fix starting the server with tables having default expressions containing dictGet(). Allow getting return type of dictGet() without loading dictionary. #19805 ( Vitaly Baranov ). Fix clickhouse-client abort exception while executing only select . #19790 ( taiyang-li ). Fix a bug that moving pieces to destination table may failed in case of launching multiple clickhouse-copiers. #19743 ( madianjun ). Background thread which executes ON CLUSTER queries might hang waiting for dropped replicated table to do something. It's fixed. #19684 ( yiguolei ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-8} Allow to build ClickHouse with AVX-2 enabled globally. It gives slight performance benefits on modern CPUs. Not recommended for production and will not be supported as official build for now. #20180 ( alexey-milovidov ). Fix some of the issues found by Coverity. See #19964 . #20010 ( alexey-milovidov ).
{"source_file": "2021.md"}
[ -0.011058328673243523, -0.02026943676173687, 0.031040605157613754, 0.054206062108278275, -0.06453945487737656, -0.03775813803076744, -0.07336973398923874, 0.03791069611907005, -0.02458217740058899, 0.05548277869820595, 0.014557739719748497, 0.06976407021284103, -0.0718008279800415, -0.0284...
3fa179da-8e3d-42ae-9d7b-823bf0b8eee1
Fix some of the issues found by Coverity. See #19964 . #20010 ( alexey-milovidov ). Allow to start up with modified binary under gdb. In previous version if you set up breakpoint in gdb before start, server will refuse to start up due to failed integrity check. #21258 ( alexey-milovidov ). Add a test for different compression methods in Kafka. #21111 ( filimonov ). Fixed port clash from test_storage_kerberized_hdfs test. #19974 ( Ilya Yatsishin ). Print stdout and stderr to log when failed to start docker in integration tests. Before this PR there was a very short error message in this case which didn't help to investigate the problems. #20631 ( Vitaly Baranov ). ClickHouse release 21.2 {#clickhouse-release-212} ClickHouse release v21.2.2.8-stable, 2021-02-07 {#clickhouse-release-v21228-stable-2021-02-07} Backward Incompatible Change {#backward-incompatible-change-9} Bitwise functions ( bitAnd , bitOr , etc) are forbidden for floating point arguments. Now you have to do explicit cast to integer. #19853 ( Azat Khuzhin ). Forbid lcm / gcd for floats. #19532 ( Azat Khuzhin ). Fix memory tracking for OPTIMIZE TABLE /merges; account query memory limits and sampling for OPTIMIZE TABLE /merges. #18772 ( Azat Khuzhin ). Disallow floating point column as partition key, see #18421 . #18464 ( hexiaoting ). Excessive parenthesis in type definitions no longer supported, example: Array((UInt8)) . New Feature {#new-feature-9} Added PostgreSQL table engine (both select/insert, with support for multidimensional arrays), also as table function. Added PostgreSQL dictionary source. Added PostgreSQL database engine. #18554 ( Kseniia Sumarokova ). Data type Nested now supports arbitrary levels of nesting. Introduced subcolumns of complex types, such as size0 in Array , null in Nullable , names of Tuple elements, which can be read without reading of whole column. #17310 ( Anton Popov ). Added Nullable support for FlatDictionary , HashedDictionary , ComplexKeyHashedDictionary , DirectDictionary , ComplexKeyDirectDictionary , RangeHashedDictionary . #18236 ( Maksim Kita ). Adds a new table called system.distributed_ddl_queue that displays the queries in the DDL worker queue. #17656 ( Bharat Nallan ). Added support of mapping LDAP group names, and attribute values in general, to local roles for users from ldap user directories. #17211 ( Denis Glazachev ). Support insert into table function cluster , and for both table functions remote and cluster , support distributing data across nodes by specify sharding key. Close #16752 . #18264 ( flynn ). Add function decodeXMLComponent to decode characters for XML. Example: SELECT decodeXMLComponent('Hello,"world"!') #17659 . #18542 ( nauta ). Added functions parseDateTimeBestEffortUSOrZero , parseDateTimeBestEffortUSOrNull . #19712 ( Maksim Kita ).
{"source_file": "2021.md"}
[ -0.01710909977555275, -0.03252045810222626, -0.014889545738697052, -0.04735257104039192, 0.008571219630539417, -0.041457004845142365, -0.12570878863334656, 0.0011969716288149357, -0.05751720070838928, 0.08317204564809799, -0.055322058498859406, -0.052824992686510086, -0.02720542997121811, ...
84573bd0-f630-4814-8427-da1862735306
Added functions parseDateTimeBestEffortUSOrZero , parseDateTimeBestEffortUSOrNull . #19712 ( Maksim Kita ). Add sign math function. #19527 ( flynn ). Add information about used features (functions, table engines, etc) into system.query_log. #18495 . #19371 ( Kseniia Sumarokova ). Function formatDateTime support the %Q modification to format date to quarter. #19224 ( Jianmei Zhang ). Support MetaKey+Enter hotkey binding in play UI. #19012 ( sundyli ). Add three functions for map data type: 1. mapContains(map, key) to check weather map.keys include the second parameter key. 2. mapKeys(map) return all the keys in Array format 3. mapValues(map) return all the values in Array format. #18788 ( hexiaoting ). Add log_comment setting related to #18494 . #18549 ( Zijie Lu ). Add support of tuple argument to argMin and argMax functions. #17359 ( Ildus Kurbangaliev ). Support EXISTS VIEW syntax. #18552 ( Du Chuan ). Add SELECT ALL syntax. closes #18706 . #18723 ( flynn ). Performance Improvement {#performance-improvement-9} Faster parts removal by lowering the number of stat syscalls. This returns the optimization that existed while ago. More safe interface of IDisk . This closes #19065 . #19086 ( alexey-milovidov ). Aliases declared in WITH statement are properly used in index analysis. Queries like WITH column AS alias SELECT ... WHERE alias = ... may use index now. #18896 ( Amos Bird ). Add optimize_alias_column_prediction (on by default), that will: - Respect aliased columns in WHERE during partition pruning and skipping data using secondary indexes; - Respect aliased columns in WHERE for trivial count queries for optimize_trivial_count; - Respect aliased columns in GROUP BY/ORDER BY for optimize_aggregation_in_order/optimize_read_in_order. #16995 ( sundyli ). Speed up aggregate function sum . Improvement only visible on synthetic benchmarks and not very practical. #19216 ( alexey-milovidov ). Update libc++ and use another ABI to provide better performance. #18914 ( Danila Kutenin ). Rewrite sumIf() and sum(if()) function to countIf() function when logically equivalent. #17041 ( flynn ). Use a connection pool for S3 connections, controlled by the s3_max_connections settings. #13405 ( Vladimir Chebotarev ). Add support for zstd long option for better compression of string columns to save space. #17184 ( ygrek ). Slightly improve server latency by removing access to configuration on every connection. #19863 ( alexey-milovidov ). Reduce lock contention for multiple layers of the Buffer engine. #19379 ( Azat Khuzhin ). Support splitting Filter step of query plan into Expression + Filter pair. Together with Expression + Expression merging optimization ( #17458 ) it may delay execution for some expressions after Filter step. #19253 ( Nikolai Kochetov ). Improvement {#improvement-9}
{"source_file": "2021.md"}
[ 0.05735894292593002, 0.022184928879141808, -0.0021998118609189987, -0.041982412338256836, -0.06536144018173218, 0.04023716598749161, 0.04729818180203438, 0.05924966558814049, -0.029885295778512955, 0.043591950088739395, -0.035837262868881226, -0.10125692188739777, 0.004496667999774218, -0....
84c227a0-b80e-4c5d-970c-2a9f5b132c9a
Improvement {#improvement-9} SELECT count() FROM table now can be executed if only one any column can be selected from the table . This PR fixes #10639 . #18233 ( Vitaly Baranov ). Set charset to utf8mb4 when interacting with remote MySQL servers. Fixes #19795 . #19800 ( alexey-milovidov ). S3 table function now supports auto compression mode (autodetect). This closes #18754 . #19793 ( Vladimir Chebotarev ). Correctly output infinite arguments for formatReadableTimeDelta function. In previous versions, there was implicit conversion to implementation specific integer value. #19791 ( alexey-milovidov ). Table function S3 will use global region if the region can't be determined exactly. This closes #10998 . #19750 ( Vladimir Chebotarev ). In distributed queries if the setting async_socket_for_remote is enabled, it was possible to get stack overflow at least in debug build configuration if very deeply nested data type is used in table (e.g. Array(Array(Array(...more...))) ). This fixes #19108 . This change introduces minor backward incompatibility: excessive parenthesis in type definitions no longer supported, example: Array((UInt8)) . #19736 ( alexey-milovidov ). Add separate pool for message brokers (RabbitMQ and Kafka). #19722 ( Azat Khuzhin ). Fix rare max_number_of_merges_with_ttl_in_pool limit overrun (more merges with TTL can be assigned) for non-replicated MergeTree. #19708 ( alesapin ). Dictionary: better error message during attribute parsing. #19678 ( Maksim Kita ). Add an option to disable validation of checksums on reading. Should never be used in production. Please do not expect any benefits in disabling it. It may only be used for experiments and benchmarks. The setting only applicable for tables of MergeTree family. Checksums are always validated for other table engines and when receiving data over network. In my observations there is no performance difference or it is less than 0.5%. #19588 ( alexey-milovidov ). Support constant result in function multiIf . #19533 ( Maksim Kita ). Enable function length/empty/notEmpty for datatype Map, which returns keys number in Map. #19530 ( taiyang-li ). Add --reconnect option to clickhouse-benchmark . When this option is specified, it will reconnect before every request. This is needed for testing. #19872 ( alexey-milovidov ). Support using the new location of .debug file. This fixes #19348 . #19520 ( Amos Bird ). toIPv6 function parses IPv4 addresses. #19518 ( Bharat Nallan ). Add http_referer field to system.query_log , system.processes , etc. This closes #19389 . #19390 ( alexey-milovidov ). Improve MySQL compatibility by making more functions case insensitive and adding aliases. #19387 ( Daniil Kondratyev ). Add metrics for MergeTree parts (Wide/Compact/InMemory) types. #19381 ( Azat Khuzhin ). Allow docker to be executed with arbitrary uid. #19374 ( filimonov ).
{"source_file": "2021.md"}
[ 0.012673947960138321, -0.024530334398150444, -0.03718360885977745, 0.04955606535077095, -0.030209433287382126, -0.049759622663259506, -0.02205839939415455, 0.023646194487810135, 0.035501960664987564, 0.031498849391937256, 0.0009176222374662757, -0.031204449012875557, 0.06658559292554855, -...
3f0870c4-51be-4e27-9582-fdc18ded8758
Add metrics for MergeTree parts (Wide/Compact/InMemory) types. #19381 ( Azat Khuzhin ). Allow docker to be executed with arbitrary uid. #19374 ( filimonov ). Fix wrong alignment of values of IPv4 data type in Pretty formats. They were aligned to the right, not to the left. This closes #19184 . #19339 ( alexey-milovidov ). Allow change max_server_memory_usage without restart. This closes #18154 . #19186 ( alexey-milovidov ). The exception when function bar is called with certain NaN argument may be slightly misleading in previous versions. This fixes #19088 . #19107 ( alexey-milovidov ). Explicitly set uid / gid of clickhouse user & group to the fixed values (101) in clickhouse-server images. #19096 ( filimonov ). Fixed PeekableReadBuffer: Memory limit exceed error when inserting data with huge strings. Fixes #18690 . #18979 ( tavplubix ). Docker image: several improvements for clickhouse-server entrypoint. #18954 ( filimonov ). Add normalizeQueryKeepNames and normalizedQueryHashKeepNames to normalize queries without masking long names with ? . This helps better analyze complex query logs. #18910 ( Amos Bird ). Check per-block checksum of the distributed batch on the sender before sending (without reading the file twice, the checksums will be verified while reading), this will avoid stuck of the INSERT on the receiver (on truncated .bin file on the sender). Avoid reading .bin files twice for batched INSERT (it was required to calculate rows/bytes to take squashing into account, now this information included into the header, backward compatible is preserved). #18853 ( Azat Khuzhin ). Fix issues with RIGHT and FULL JOIN of tables with aggregate function states. In previous versions exception about cloneResized method was thrown. #18818 ( templarzq ). Added prefix-based S3 endpoint settings. #18812 ( Vladimir Chebotarev ). Add [UInt8, UInt16, UInt32, UInt64] arguments types support for bitmapTransform, bitmapSubsetInRange, bitmapSubsetLimit, bitmapContains functions. This closes #18713 . #18791 ( sundyli ). Allow CTE (Common Table Expressions) to be further aliased. Propagate CSE (Common Subexpressions Elimination) to subqueries in the same level when enable_global_with_statement = 1 . This fixes #17378 . This fixes https://github.com/ClickHouse/ClickHouse/pull/16575#issuecomment-753416235 . #18684 ( Amos Bird ). Update librdkafka to v1.6.0-RC2. Fixes #18668 . #18671 ( filimonov ). In case of unexpected exceptions automatically restart background thread which is responsible for execution of distributed DDL queries. Fixes #17991 . #18285 ( 徐炘 ). Updated AWS C++ SDK in order to utilize global regions in S3. #17870 ( Vladimir Chebotarev ). Added support for WITH ... [AND] [PERIODIC] REFRESH [interval_in_sec] clause when creating LIVE VIEW tables. #14822 ( vzakaznikov ).
{"source_file": "2021.md"}
[ 0.020631592720746994, -0.013320091180503368, 0.01682567596435547, -0.05950894206762314, -0.027939436957240105, -0.08650439977645874, -0.03279072791337967, 0.01358934585005045, -0.032947879284620285, 0.05013696476817131, 0.02559523656964302, 0.0068918075412511826, -0.009243408218026161, -0....
0e22fc7e-1e92-4111-909c-ada99c9cc1ba
Added support for WITH ... [AND] [PERIODIC] REFRESH [interval_in_sec] clause when creating LIVE VIEW tables. #14822 ( vzakaznikov ). Restrict MODIFY TTL queries for MergeTree tables created in old syntax. Previously the query succeeded, but actually it had no effect. #19064 ( Anton Popov ). Bug Fix {#bug-fix-8} Fix index analysis of binary functions with constant argument which leads to wrong query results. This fixes #18364 . #18373 ( Amos Bird ). Fix starting the server with tables having default expressions containing dictGet(). Allow getting return type of dictGet() without loading dictionary. #19805 ( Vitaly Baranov ). Fix server crash after query with if function with Tuple type of then/else branches result. Tuple type must contain Array or another complex type. Fixes #18356 . #20133 ( alesapin ). MaterializeMySQL (experimental feature): Fix replication for statements that update several tables. #20066 ( Håvard Kvålen ). Prevent "Connection refused" in docker during initialization script execution. #20012 ( filimonov ). EmbeddedRocksDB is an experimental storage. Fix the issue with lack of proper type checking. Simplified code. This closes #19967 . #19972 ( alexey-milovidov ). Fix a segfault in function fromModifiedJulianDay when the argument type is Nullable(T) for any integral types other than Int32. #19959 ( PHO ). The function greatCircleAngle returned inaccurate results in previous versions. This closes #19769 . #19789 ( alexey-milovidov ). Fix rare bug when some replicated operations (like mutation) cannot process some parts after data corruption. Fixes #19593 . #19702 ( alesapin ). Background thread which executes ON CLUSTER queries might hang waiting for dropped replicated table to do something. It's fixed. #19684 ( yiguolei ). Fix wrong deserialization of columns description. It makes INSERT into a table with a column named \ impossible. #19479 ( alexey-milovidov ). Mark distributed batch as broken in case of empty data block in one of files. #19449 ( Azat Khuzhin ). Fixed very rare bug that might cause mutation to hang after DROP/DETACH/REPLACE/MOVE PARTITION . It was partially fixed by #15537 for the most cases. #19443 ( tavplubix ). Fix possible error Extremes transform was already added to pipeline . Fixes #14100 . #19430 ( Nikolai Kochetov ). Fix default value in join types with non-zero default (e.g. some Enums). Closes #18197 . #19360 ( vdimir ). Do not mark file for distributed send as broken on EOF. #19290 ( Azat Khuzhin ). Fix leaking of pipe fd for async_socket_for_remote . #19153 ( Azat Khuzhin ). Fix infinite reading from file in ORC format (was introduced in #10580 ). Fixes #19095 . #19134 ( Nikolai Kochetov ). Fix issue in merge tree data writer which can lead to marks with bigger size than fixed granularity size. Fixes #18913 . #19123 ( alesapin ).
{"source_file": "2021.md"}
[ 0.02628760226070881, -0.007158860098570585, 0.03194046393036842, 0.034976087510585785, -0.02888679876923561, -0.11452063918113708, 0.006582962814718485, -0.01551616471260786, -0.06805219501256943, 0.0958421528339386, -0.013665474951267242, -0.04265712574124336, 0.03381280228495598, -0.0135...
139bc97d-82a4-4a83-9009-e4ffcce22588
Fix issue in merge tree data writer which can lead to marks with bigger size than fixed granularity size. Fixes #18913 . #19123 ( alesapin ). Fix startup bug when clickhouse was not able to read compression codec from LowCardinality(Nullable(...)) and throws exception Attempt to read after EOF . Fixes #18340 . #19101 ( alesapin ). Simplify the implementation of tupleHammingDistance . Support for tuples of any equal length. Fixes #19029 . #19084 ( Nikolai Kochetov ). Make sure groupUniqArray returns correct type for argument of Enum type. This closes #17875 . #19019 ( alexey-milovidov ). Fix possible error Expected single dictionary argument for function if use function ignore with LowCardinality argument. Fixes #14275 . #19016 ( Nikolai Kochetov ). Fix inserting of LowCardinality column to table with TinyLog engine. Fixes #18629 . #19010 ( Nikolai Kochetov ). Fix minor issue in JOIN: Join tries to materialize const columns, but our code waits for them in other places. #18982 ( Nikita Mikhaylov ). Disable optimize_move_functions_out_of_any because optimization is not always correct. This closes #18051 . This closes #18973 . #18981 ( alexey-milovidov ). Fix possible exception QueryPipeline stream: different number of columns caused by merging of query plan's Expression steps. Fixes #18190 . #18980 ( Nikolai Kochetov ). Fixed very rare deadlock at shutdown. #18977 ( tavplubix ). Fixed rare crashes when server run out of memory. #18976 ( tavplubix ). Fix incorrect behavior when ALTER TABLE ... DROP PART 'part_name' query removes all deduplication blocks for the whole partition. Fixes #18874 . #18969 ( alesapin ). Fixed issue #18894 Add a check to avoid exception when long column alias('table.column' style, usually auto-generated by BI tools like Looker) equals to long table name. #18968 ( Daniel Qin ). Fix error Task was not found in task queue (possible only for remote queries, with async_socket_for_remote = 1 ). #18964 ( Nikolai Kochetov ). Fix bug when mutation with some escaped text (like ALTER ... UPDATE e = CAST('foo', 'Enum8(\'foo\' = 1') serialized incorrectly. Fixes #18878 . #18944 ( alesapin ). ATTACH PARTITION will reset mutations. #18804 . #18935 ( fastio ). Fix issue with bitmapOrCardinality that may lead to nullptr dereference. This closes #18911 . #18912 ( sundyli ). Fixed Attempt to read after eof error when trying to CAST NULL from Nullable(String) to Nullable(Decimal(P, S)) . Now function CAST returns NULL when it cannot parse decimal from nullable string. Fixes #7690 . #18718 ( Winter Zhang ). Fix data type convert issue for MySQL engine. #18124 ( bo zeng ). Fix clickhouse-client abort exception while executing only select . #19790 ( taiyang-li ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-9}
{"source_file": "2021.md"}
[ -0.000844260212033987, 0.015706339851021767, -0.011891542002558708, 0.008173186331987381, 0.008456756360828876, -0.048538483679294586, -0.02613714709877968, 0.049659326672554016, -0.1046733409166336, 0.03966211900115013, 0.038868460804224014, -0.018690641969442368, -0.005538125056773424, -...
e8c9f867-42c0-426d-b0cb-cb79d2f06189
Fix clickhouse-client abort exception while executing only select . #19790 ( taiyang-li ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-9} Run SQLancer (logical SQL fuzzer) in CI. #19006 ( Ilya Yatsishin ). Query Fuzzer will fuzz newly added tests more extensively. This closes #18916 . #19185 ( alexey-milovidov ). Integrate with Big List of Naughty Strings for better fuzzing. #19480 ( alexey-milovidov ). Add integration tests run with MSan. #18974 ( alesapin ). Fixed MemorySanitizer errors in cyrus-sasl and musl. #19821 ( Ilya Yatsishin ). Insuffiient arguments check in positionCaseInsensitiveUTF8 function triggered address sanitizer. #19720 ( alexey-milovidov ). Remove --project-directory for docker-compose in integration test. Fix logs formatting from docker container. #19706 ( Ilya Yatsishin ). Made generation of macros.xml easier for integration tests. No more excessive logging from dicttoxml. dicttoxml project is not active for 5+ years. #19697 ( Ilya Yatsishin ). Allow to explicitly enable or disable watchdog via environment variable CLICKHOUSE_WATCHDOG_ENABLE . By default it is enabled if server is not attached to terminal. #19522 ( alexey-milovidov ). Allow building ClickHouse with Kafka support on arm64. #19369 ( filimonov ). Allow building librdkafka without ssl. #19337 ( filimonov ). Restore Kafka input in FreeBSD builds. #18924 ( Alexandre Snarskii ). Fix potential nullptr dereference in table function VALUES . #19357 ( alexey-milovidov ). Avoid UBSan reports in arrayElement function, substring and arraySum . Fixes #19305 . Fixes #19287 . This closes #19336 . #19347 ( alexey-milovidov ). ClickHouse release 21.1 {#clickhouse-release-211} ClickHouse release v21.1.3.32-stable, 2021-02-03 {#clickhouse-release-v211332-stable-2021-02-03} Bug Fix {#bug-fix-9} BloomFilter index crash fix. Fixes #19757 . #19884 ( Maksim Kita ). Fix crash when pushing down predicates to union distinct subquery. This fixes #19855 . #19861 ( Amos Bird ). Fix filtering by UInt8 greater than 127. #19799 ( Anton Popov ). In previous versions, unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop. This closes #19787 . #19788 ( alexey-milovidov ). Fixed stack overflow when using accurate comparison of arithmetic type with string type. #19773 ( tavplubix ). Fix crash when nested column name was used in WHERE or PREWHERE . Fixes #19755 . #19763 ( Nikolai Kochetov ). Fix a segmentation fault in bitmapAndnot function. Fixes #19668 . #19713 ( Maksim Kita ). Some functions with big integers may cause segfault. Big integers is experimental feature. This closes #19667 . #19672 ( alexey-milovidov ). Fix wrong result of function neighbor for LowCardinality argument. Fixes #10333 . #19617 ( Nikolai Kochetov ).
{"source_file": "2021.md"}
[ 0.03415621444582939, 0.00498339906334877, -0.0072410753928124905, -0.04407947510480881, -0.0003470401861704886, -0.1247493326663971, 0.019602995365858078, 0.01574227213859558, -0.07343574613332748, 0.018506230786442757, 0.03059336170554161, -0.04311534762382507, 0.034644704312086105, 0.021...
6461722d-a4f5-4c11-9c38-23e906c0892c
Fix wrong result of function neighbor for LowCardinality argument. Fixes #10333 . #19617 ( Nikolai Kochetov ). Fix use-after-free of the CompressedWriteBuffer in Connection after disconnect. #19599 ( Azat Khuzhin ). DROP/DETACH TABLE table ON CLUSTER cluster SYNC query might hang, it's fixed. Fixes #19568 . #19572 ( tavplubix ). Query CREATE DICTIONARY id expression fix. #19571 ( Maksim Kita ). Fix SIGSEGV with merge_tree_min_rows_for_concurrent_read/merge_tree_min_bytes_for_concurrent_read=0/UINT64_MAX. #19528 ( Azat Khuzhin ). Buffer overflow (on memory read) was possible if addMonth function was called with specifically crafted arguments. This fixes #19441 . This fixes #19413 . #19472 ( alexey-milovidov ). Uninitialized memory read was possible in encrypt/decrypt functions if empty string was passed as IV. This closes #19391 . #19397 ( alexey-milovidov ). Fix possible buffer overflow in Uber H3 library. See https://github.com/uber/h3/issues/392. This closes #19219 . #19383 ( alexey-milovidov ). Fix system.parts _state column (LOGICAL_ERROR when querying this column, due to incorrect order). #19346 ( Azat Khuzhin ). Fixed possible wrong result or segfault on aggregation when materialized view and its target table have different structure. Fixes #18063 . #19322 ( tavplubix ). Fix error Cannot convert column now64() because it is constant but values of constants are different in source and result . Continuation of #7156 . #19316 ( Nikolai Kochetov ). Fix bug when concurrent ALTER and DROP queries may hang while processing ReplicatedMergeTree table. #19237 ( alesapin ). Fixed There is no checkpoint error when inserting data through http interface using Template or CustomSeparated format. Fixes #19021 . #19072 ( tavplubix ). Disable constant folding for subqueries on the analysis stage, when the result cannot be calculated. #18446 ( Azat Khuzhin ). Mutation might hang waiting for some non-existent part after MOVE or REPLACE PARTITION or, in rare cases, after DETACH or DROP PARTITION . It's fixed. #15537 ( tavplubix ). ClickHouse release v21.1.2.15-stable 2021-01-18 {#clickhouse-release-v211215-stable-2021-01-18} Backward Incompatible Change {#backward-incompatible-change-10} The setting input_format_null_as_default is enabled by default. #17525 ( alexey-milovidov ). Check settings constraints for profile settings from config. Server will fail to start if users.xml contain settings that do not meet corresponding constraints. #18486 ( tavplubix ). Restrict ALTER MODIFY SETTING from changing storage settings that affects data parts ( write_final_mark and enable_mixed_granularity_parts ). #18306 ( Amos Bird ).
{"source_file": "2021.md"}
[ 0.000496768276207149, -0.03932029381394386, -0.038469962775707245, 0.0778183713555336, -0.021341240033507347, -0.06225186586380005, -0.0413629449903965, 0.026793045923113823, -0.03422798961400986, 0.03419261425733566, 0.04512549936771393, -0.003655673936009407, 0.008477087132632732, -0.064...
91e69711-e5a9-45aa-aa5c-d9dadb40ff68
Restrict ALTER MODIFY SETTING from changing storage settings that affects data parts ( write_final_mark and enable_mixed_granularity_parts ). #18306 ( Amos Bird ). Set insert_quorum_parallel to 1 by default. It is significantly more convenient to use than "sequential" quorum inserts. But if you rely to sequential consistency, you should set the setting back to zero. #17567 ( alexey-milovidov ). Remove sumburConsistentHash function. This closes #18120 . #18656 ( alexey-milovidov ). Removed aggregate functions timeSeriesGroupSum , timeSeriesGroupRateSum because a friend of mine said they never worked. This fixes #16869 . If you have luck using these functions, write a email to feedback@clickhouse.com. #17423 ( alexey-milovidov ). Prohibit toUnixTimestamp(Date()) (before it just returns UInt16 representation of Date). #17376 ( Azat Khuzhin ). Allow using extended integer types ( Int128 , Int256 , UInt256 ) in avg and avgWeighted functions. Also allow using different types (integer, decimal, floating point) for value and for weight in avgWeighted function. This is a backward-incompatible change: now the avg and avgWeighted functions always return Float64 (as documented). Before this change the return type for Decimal arguments was also Decimal . #15419 ( Mike ). Expression toUUID(N) no longer works. Replace with toUUID('00000000-0000-0000-0000-000000000000') . This change is motivated by non-obvious results of toUUID(N) where N is non zero. SSL Certificates with incorrect "key usage" are rejected. In previous versions they are used to work. See #19262 . incl references to substitutions file ( /etc/metrika.xml ) were removed from the default config ( <remote_servers> , <zookeeper> , <macros> , <compression> , <networks> ). If you were using substitutions file and were relying on those implicit references, you should put them back manually and explicitly by adding corresponding sections with incl="..." attributes before the update. See #18740 ( alexey-milovidov ). New Feature {#new-feature-10} Implement gRPC protocol in ClickHouse. #15111 ( Vitaly Baranov ). Allow to use multiple zookeeper clusters. #17070 ( fastio ). Implemented REPLACE TABLE and CREATE OR REPLACE TABLE queries. #18521 ( tavplubix ). Implement UNION DISTINCT and treat the plain UNION clause as UNION DISTINCT by default. Add a setting union_default_mode that allows to treat it as UNION ALL or require explicit mode specification. #16338 ( flynn ). Added function accurateCastOrNull . This closes #10290 . Add type conversions in x IN (subquery) expressions. This closes #10266 . #16724 ( Maksim Kita ). IP Dictionary supports IPv4 / IPv6 types directly. #17571 ( vdimir ). IP Dictionary supports key fetching. Resolves #18241 . #18480 ( vdimir ).
{"source_file": "2021.md"}
[ -0.019797688350081444, -0.012846493162214756, 0.023876501247286797, 0.04269792512059212, -0.1464945524930954, 0.02652188390493393, -0.08968062698841095, -0.000995200709439814, -0.002949300454929471, 0.03707877919077873, 0.002325961133465171, -0.09748848527669907, -0.024482233449816704, -0....
b26ee8f3-b87e-47d7-a869-14d59cb15345
IP Dictionary supports IPv4 / IPv6 types directly. #17571 ( vdimir ). IP Dictionary supports key fetching. Resolves #18241 . #18480 ( vdimir ). Add *.zst compression/decompression support for data import and export. It enables using *.zst in file() function and Content-encoding: zstd in HTTP client. This closes #16791 . #17144 ( Abi Palagashvili ). Added mannWitneyUTest , studentTTest and welchTTest aggregate functions. Refactored rankCorr a bit. #16883 ( Nikita Mikhaylov ). Add functions countMatches / countMatchesCaseInsensitive . #17459 ( Azat Khuzhin ). Implement countSubstrings() / countSubstringsCaseInsensitive() / countSubstringsCaseInsensitiveUTF8() (Count the number of substring occurrences). #17347 ( Azat Khuzhin ). Add information about used databases, tables and columns in system.query_log. Add query_kind and normalized_query_hash fields. #17726 ( Amos Bird ). Add a setting optimize_on_insert . When enabled, do the same transformation for INSERTed block of data as if merge was done on this block (e.g. Replacing, Collapsing, Aggregating...). This setting is enabled by default. This can influence materialized view and MaterializeMySQL behaviour (see detailed description). This closes #10683 . #16954 ( Kruglov Pavel ). Kerberos Authenticaiton for HDFS. #16621 ( Ilya Golshtein ). Support SHOW SETTINGS statement to show parameters in system.settings. SHOW CHANGED SETTINGS and LIKE/ILIKE clause are also supported. #18056 ( Jianmei Zhang ). Function position now supports POSITION(needle IN haystack) synax for SQL compatibility. This closes #18701 . ... #18779 ( Jianmei Zhang ). Now we have a new storage setting max_partitions_to_read for tables in the MergeTree family. It limits the max number of partitions that can be accessed in one query. A user setting force_max_partition_limit is also added to enforce this constraint. #18712 ( Amos Bird ). Add query_id column to system.part_log for inserted parts. Closes #10097 . #18644 ( flynn ). Allow create table as select with columns specification. Example CREATE TABLE t1 (x String) ENGINE = Memory AS SELECT 1; . #18060 ( Maksim Kita ). Added arrayMin , arrayMax , arrayAvg aggregation functions. #18032 ( Maksim Kita ). Implemented ATTACH TABLE name FROM 'path/to/data/' (col1 Type1, ... query. It creates new table with provided structure and attaches table data from provided directory in user_files . #17903 ( tavplubix ). Add mutation support for StorageMemory. This closes #9117 . #15127 ( flynn ). Support syntax EXISTS DATABASE name . #18458 ( Du Chuan ). Support builtin function isIPv4String && isIPv6String like MySQL . #18349 ( Du Chuan ). Add a new setting insert_distributed_one_random_shard = 1 to allow insertion into multi-sharded distributed table without any distributed key. #18294 ( Amos Bird ).
{"source_file": "2021.md"}
[ -0.008161872625350952, 0.0343903973698616, -0.10619516670703888, 0.000656641146633774, -0.06666325777769089, 0.0036723772063851357, -0.023624088615179062, 0.047025833278894424, -0.020084336400032043, 0.05256858468055725, 0.011541401967406273, 0.0379272885620594, 0.11825747787952423, -0.059...
0a00c1e1-c27b-4c24-beac-80f2c5fe44f5
Add a new setting insert_distributed_one_random_shard = 1 to allow insertion into multi-sharded distributed table without any distributed key. #18294 ( Amos Bird ). Add settings min_compress_block_size and max_compress_block_size to MergeTreeSettings, which have higher priority than the global settings and take effect when they are set. close 13890 . #17867 ( flynn ). Add support for 64bit roaring bitmaps. #17858 ( Andy Yang ). Extended OPTIMIZE ... DEDUPLICATE syntax to allow explicit (or implicit with asterisk/column transformers) list of columns to check for duplicates on. ... #17846 ( Vasily Nemkov ). Added functions toModifiedJulianDay , fromModifiedJulianDay , toModifiedJulianDayOrNull , and fromModifiedJulianDayOrNull . These functions convert between Proleptic Gregorian calendar date and Modified Julian Day number. #17750 ( PHO ). Add ability to use custom TLD list: added functions firstSignificantSubdomainCustom , cutToFirstSignificantSubdomainCustom . #17748 ( Azat Khuzhin ). Add support for PROXYv1 protocol to wrap native TCP interface. Allow quotas to be keyed by proxy-forwarded IP address (applied for PROXYv1 address and for X-Forwarded-For from HTTP interface). This is useful when you provide access to ClickHouse only via trusted proxy (e.g. CloudFlare) but want to account user resources by their original IP addresses. This fixes #17268 . #17707 ( alexey-milovidov ). Now clickhouse-client supports opening EDITOR to edit commands. Alt-Shift-E . #17665 ( Amos Bird ). Add function encodeXMLComponent to escape characters to place string into XML text node or attribute. #17659 ( nauta ). Introduce DETACH TABLE/VIEW ... PERMANENTLY syntax, so that after restarting the table does not reappear back automatically on restart (only by explicit request). The table can still be attached back using the short syntax ATTACH TABLE. Implements #5555 . Fixes #13850 . #17642 ( filimonov ). Add asynchronous metrics on total amount of rows, bytes and parts in MergeTree tables. This fix #11714 . #17639 ( flynn ). Add settings limit and offset for out-of-SQL pagination: #16176 They are useful for building APIs. These two settings will affect SELECT query as if it is added like select * from (your_original_select_query) t limit xxx offset xxx; . #17633 ( hexiaoting ). Provide a new aggregator combinator : -SimpleState to build SimpleAggregateFunction types via query. It's useful for defining MaterializedView of AggregatingMergeTree engine, and will benefit projections too. #16853 ( Amos Bird ). Added queries-file parameter for clickhouse-client and clickhouse-local . #15930 ( Maksim Kita ). Added query parameter for clickhouse-benchmark . #17832 ( Maksim Kita ). EXPLAIN AST now support queries other then SELECT . #18136 ( taiyang-li ). Experimental Feature {#experimental-feature-8}
{"source_file": "2021.md"}
[ -0.03153767064213753, 0.03963511437177658, -0.004262892529368401, -0.029393767938017845, -0.07654425501823425, -0.06269142776727676, -0.06196217238903046, -0.0325646810233593, -0.06529835611581802, 0.019980350509285927, 0.012891390360891819, -0.06002787500619888, 0.02357947826385498, -0.04...
b63a1fa4-a58d-4d4f-a51e-17a6d80c865b
EXPLAIN AST now support queries other then SELECT . #18136 ( taiyang-li ). Experimental Feature {#experimental-feature-8} Added functions for calculation of minHash and simHash of text n-grams and shingles. They are intended for semi-duplicate search. Also functions bitHammingDistance and tupleHammingDistance are added. #7649 ( flynn ). Add new data type Map . See #1841 . First version for Map only supports String type of key and value. #15806 ( hexiaoting ). Implement alternative SQL parser based on ANTLR4 runtime and generated from EBNF grammar. #11298 ( Ivan ). Performance Improvement {#performance-improvement-10} New IP Dictionary implementation with lower memory consumption, improved performance for some cases, and fixed bugs. #16804 ( vdimir ). Parallel formatting for data export. #11617 ( Nikita Mikhaylov ). LDAP integration: Added verification_cooldown parameter in LDAP server connection configuration to allow caching of successful "bind" attempts for configurable period of time. #15988 ( Denis Glazachev ). Add --no-system-table option for clickhouse-local to run without system tables. This avoids initialization of DateLUT that may take noticeable amount of time (tens of milliseconds) at startup. #18899 ( alexey-milovidov ). Replace PODArray with PODArrayWithStackMemory in AggregateFunctionWindowFunnelData to improve windowFunnel function performance. #18817 ( flynn ). Don't send empty blocks to shards on synchronous INSERT into Distributed table. This closes #14571 . #18775 ( alexey-milovidov ). Optimized read for StorageMemory. #18052 ( Maksim Kita ). Using Dragonbox algorithm for float to string conversion instead of ryu. This improves performance of float to string conversion significantly. #17831 ( Maksim Kita ). Speedup IPv6CIDRToRange implementation. #17569 ( vdimir ). Add remerge_sort_lowered_memory_bytes_ratio setting (If memory usage after remerge does not reduced by this ratio, remerge will be disabled). #17539 ( Azat Khuzhin ). Improve performance of AggregatingMergeTree with SimpleAggregateFunction(String) in PK. #17109 ( Azat Khuzhin ). Now the -If combinator is devirtualized, and count is properly vectorized. It is for this PR . #17043 ( Amos Bird ). Fix performance of reading from Merge tables over huge number of MergeTree tables. Fixes #7748 . #16988 ( Anton Popov ). Improved performance of function repeat . #16937 ( satanson ). Slightly improved performance of float parsing. #16809 ( Maksim Kita ). Add possibility to skip merged partitions for OPTIMIZE TABLE ... FINAL . #15939 ( Kruglov Pavel ). Integrate with fast_float from Daniel Lemire to parse floating point numbers. #16787 ( Maksim Kita ). It is not enabled, because performance its performance is still lower than rough float parser in ClickHouse.
{"source_file": "2021.md"}
[ 0.009007113054394722, -0.022169219329953194, -0.038896918296813965, 0.0025368263013660908, -0.047301776707172394, -0.026636429131031036, 0.027986129745841026, 0.055702075362205505, -0.12095687538385391, -0.007140237372368574, 0.061178259551525116, -0.010028853081166744, 0.02213352732360363, ...
e3c22eb5-963e-4486-9237-0995b58d1025
Fix max_distributed_connections (affects prefer_localhost_replica = 1 and max_threads != max_distributed_connections ). #17848 ( Azat Khuzhin ). Adaptive choice of single/multi part upload when sending data to S3. Single part upload is controlled by a new setting max_single_part_upload_size . #17934 ( Pavel Kovalenko ). Support for async tasks in PipelineExecutor . Initial support of async sockets for remote queries. #17868 ( Nikolai Kochetov ). Allow to use optimize_move_to_prewhere optimization with compact parts, when sizes of columns are unknown. #17330 ( Anton Popov ). Improvement {#improvement-10} Avoid deadlock when executing INSERT SELECT into itself from a table with TinyLog or Log table engines. This closes #6802 . This closes #18691 . This closes #16812 . This closes #14570 . #15260 ( alexey-milovidov ). Support SHOW CREATE VIEW name syntax like MySQL . #18095 ( Du Chuan ). All queries of type Decimal * Float or vice versa are allowed, including aggregate ones (e.g. SELECT sum(decimal_field * 1.1) or SELECT dec_col * float_col ), the result type is Float32 or Float64. #18145 ( Mike ). Improved minimal Web UI: add history; add sharing support; avoid race condition of different requests; add request in-flight and ready indicators; add favicon; detect Ctrl+Enter if textarea is not in focus. #17293 #17770 ( alexey-milovidov ). clickhouse-server didn't send close request to ZooKeeper server. #16837 ( alesapin ). Avoid server abnormal termination in case of too low memory limits ( max_memory_usage = 1 / max_untracked_memory = 1 ). #17453 ( Azat Khuzhin ). Fix non-deterministic result of windowFunnel function in case of same timestamp for different events. #18884 ( Fuwang Hu ). Docker: Explicitly set uid / gid of clickhouse user & group to the fixed values (101) in clickhouse-server Docker images. #19096 ( filimonov ). Asynchronous INSERTs to Distributed tables: Two new settings (by analogy with MergeTree family) has been added: - fsync_after_insert - Do fsync for every inserted. Will decreases performance of inserts. - fsync_directories - Do fsync for temporary directory (that is used for async INSERT only) after all operations (writes, renames, etc.). #18864 ( Azat Khuzhin ). SYSTEM KILL command started to work in Docker. This closes #18847 . #18848 ( alexey-milovidov ). Expand macros in the zk path when executing FETCH PARTITION . #18839 ( fastio ). Apply ALTER TABLE <replicated_table> ON CLUSTER MODIFY SETTING ... to all replicas. Because we don't replicate such alter commands. #18789 ( Amos Bird ). Allow column transformer EXCEPT to accept a string as regular expression matcher. This resolves #18685 . #18699 ( Amos Bird ).
{"source_file": "2021.md"}
[ -0.03676016628742218, -0.06955216825008392, -0.08330943435430527, 0.010751206427812576, -0.008756394498050213, -0.08860339224338531, -0.0667470172047615, -0.014717048965394497, 0.001488021807745099, 0.07395618408918381, -0.01986125484108925, 0.03396851569414139, 0.03701178357005119, -0.080...
d2b6059c-50b1-4947-af4f-82a0f51072a8
Allow column transformer EXCEPT to accept a string as regular expression matcher. This resolves #18685 . #18699 ( Amos Bird ). Fix SimpleAggregateFunction in SummingMergeTree. Now it works like AggregateFunction. In previous versions values were summed together regardless to the aggregate function. This fixes #18564 . #8052 . #18637 ( Amos Bird ). Another fix of using SimpleAggregateFunction in SummingMergeTree . This fixes #18676 . #18677 ( Amos Bird ). Fixed assertion error inside allocator in case when last argument of function bar is NaN. Now simple ClickHouse's exception is being thrown. This fixes #17876 . #18520 ( Nikita Mikhaylov ). Fix usability issue: no newline after exception message in some tools. #18444 ( alexey-milovidov ). Add ability to modify primary and partition key column type from LowCardinality(Type) to Type and vice versa. Also add an ability to modify primary key column type from EnumX to IntX type. Fixes #5604 . #18362 ( alesapin ). Implement untuple field access. #18133 . #18309 ( hexiaoting ). Allow to parse Array fields from CSV if it is represented as a string containing array that was serialized as nested CSV. Example: "[""Hello"", ""world"", ""42"""" TV""]" will parse as ['Hello', 'world', '42" TV'] . Allow to parse array in CSV in a string without enclosing braces. Example: "'Hello', 'world', '42"" TV'" will parse as ['Hello', 'world', '42" TV'] . #18271 ( alexey-milovidov ). Make better adaptive granularity calculation for merge tree wide parts. #18223 ( alesapin ). Now clickhouse install could work on Mac. The problem was that there is no procfs on this platform. #18201 ( Nikita Mikhaylov ). Better hints for SHOW ... query syntax. #18183 ( Du Chuan ). Array aggregation arrayMin , arrayMax , arraySum , arrayAvg support for Int128 , Int256 , UInt256 . #18147 ( Maksim Kita ). Add disk to Set and Join storage settings. #18112 ( Grigory Pervakov ). Access control: Now table function merge() requires current user to have SELECT privilege on each table it receives data from. This PR fixes #16964 . #18104 #17983 ( Vitaly Baranov ). Temporary tables are visible in the system tables system.tables and system.columns now only in those session where they have been created. The internal database _temporary_and_external_tables is now hidden in those system tables; temporary tables are shown as tables with empty database with the is_temporary flag set instead. #18014 ( Vitaly Baranov ). Fix clickhouse-client rendering issue when the size of terminal window changes. #18009 ( Amos Bird ). Decrease log verbosity of the events when the client drops the connection from Warning to Information. #18005 ( filimonov ). Forcibly removing empty or bad metadata files from filesystem for DiskS3. S3 is an experimental feature. #17935 ( Pavel Kovalenko ).
{"source_file": "2021.md"}
[ -0.0462975800037384, 0.018961764872074127, 0.0006691988091915846, -0.005126412957906723, -0.047325249761343, 0.014751526527106762, -0.0028291712515056133, 0.026102056726813316, -0.06652072817087173, 0.05559013783931732, 0.0016526724211871624, -0.08138241618871689, 0.0027352136094123125, -0...
a8a250c8-f08f-4342-ad5c-d2026400984f
Forcibly removing empty or bad metadata files from filesystem for DiskS3. S3 is an experimental feature. #17935 ( Pavel Kovalenko ). Access control: allow_introspection_functions=0 prohibits usage of introspection functions but doesn't prohibit giving grants for them anymore (the grantee will need to set allow_introspection_functions=1 for himself to be able to use that grant). Similarly allow_ddl=0 prohibits usage of DDL commands but doesn't prohibit giving grants for them anymore. #17908 ( Vitaly Baranov ). Usability improvement: hints for column names. #17112 . #17857 ( fastio ). Add diagnostic information when two merge tables try to read each other's data. #17854 ( 徐炘 ). Let the possibility to override timeout value for running script using the ClickHouse docker image. #17818 ( Guillaume Tassery ). Check system log tables' engine definition grammar to prevent some configuration errors. Notes that this grammar check is not semantical, that means such mistakes as non-existent columns / expression functions would be not found out util the table is created. #17739 ( Du Chuan ). Removed exception throwing at RabbitMQ table initialization if there was no connection (it will be reconnecting in the background). #17709 ( Kseniia Sumarokova ). Do not ignore server memory limits during Buffer flush. #17646 ( Azat Khuzhin ). Switch to patched version of RocksDB (from ClickHouse-Extras) to fix use-after-free error. #17643 ( Nikita Mikhaylov ). Added an offset to exception message for parallel parsing. This fixes #17457 . #17641 ( Nikita Mikhaylov ). Don't throw "Too many parts" error in the middle of INSERT query. #17566 ( alexey-milovidov ). Allow query parameters in UPDATE statement of ALTER query. Fixes #10976 . #17563 ( alexey-milovidov ). Query obfuscator: avoid usage of some SQL keywords for identifier names. #17526 ( alexey-milovidov ). Export current max ddl entry executed by DDLWorker via server metric. It's useful to check if DDLWorker hangs somewhere. #17464 ( Amos Bird ). Export asynchronous metrics of all servers current threads. It's useful to track down issues like this . #17463 ( Amos Bird ). Include dynamic columns like MATERIALIZED / ALIAS for wildcard query when settings asterisk_include_materialized_columns and asterisk_include_alias_columns are turned on. #17462 ( Ken Chen ). Allow specifying TTL to remove old entries from system log tables , using the <ttl> attribute in config.xml . #17438 ( Du Chuan ). Now queries coming to the server via MySQL and PostgreSQL protocols have distinctive interface types (which can be seen in the interface column of the table system.query_log ): 4 for MySQL, and 5 for PostgreSQL, instead of formerly used 1 which is now used for the native protocol only. #17437 ( Vitaly Baranov ). Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query. #17414 ( Azat Khuzhin ).
{"source_file": "2021.md"}
[ -0.0010084083769470453, -0.018927503377199173, -0.05318285524845123, -0.05496508628129959, 0.05788794532418251, -0.106195367872715, -0.009287026710808277, 0.01872400753200054, 0.0157291479408741, 0.05727533996105194, 0.06690313667058945, -0.001803359016776085, 0.045548003166913986, -0.0484...
34063c1b-d618-4b7d-a1ba-8e0857bdacc6
Fix parsing of SETTINGS clause of the INSERT ... SELECT ... SETTINGS query. #17414 ( Azat Khuzhin ). Correctly account memory in RadixSort. #17412 ( Nikita Mikhaylov ). Add eof check in receiveHello in server to prevent getting Attempt to read after eof exception. #17365 ( Kruglov Pavel ). Avoid possible stack overflow in bigint conversion. Big integers are experimental. #17269 ( flynn ). Now set indices will work with GLOBAL IN . This fixes #17232 , #5576 . #17253 ( Amos Bird ). Add limit for http redirects in request to S3 storage ( s3_max_redirects ). #17220 ( ianton-ru ). When -OrNull combinator combined -If , -Merge , -MergeState , -State combinators, we should put -OrNull in front. #16935 ( flynn ). Support HTTP proxy and HTTPS S3 endpoint configuration. #16861 ( Pavel Kovalenko ). Added proper authentication using environment, ~/.aws and AssumeRole for S3 client. #16856 ( Vladimir Chebotarev ). Add more OpenTelemetry spans. Add an example of how to export the span data to Zipkin. #16535 ( Alexander Kuzmenkov ). Cache dictionaries: Completely eliminate callbacks and locks for acquiring them. Keys are not divided into "not found" and "expired", but stored in the same map during query. #14958 ( Nikita Mikhaylov ). Fix never worked fsync_part_directory / fsync_after_insert / in_memory_parts_insert_sync (experimental feature). #18845 ( Azat Khuzhin ). Allow using Atomic engine for nested database of MaterializeMySQL engine. #14849 ( tavplubix ). Bug Fix {#bug-fix-10} Fix the issue when server can stop accepting connections in very rare cases. #17542 (Amos Bird, alexey-milovidov ). Fix index analysis of binary functions with constant argument which leads to wrong query results. This fixes #18364 . #18373 ( Amos Bird ). Fix possible wrong index analysis when the types of the index comparison are different. This fixes #17122 . #17145 ( Amos Bird ). Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. #18481 ( alesapin ). Restrict merges from wide to compact parts. In case of vertical merge it led to broken result part. #18381 ( Anton Popov ). Fix possible incomplete query result while reading from MergeTree* in case of read backoff (message <Debug> MergeTreeReadPool: Will lower number of threads in logs). Was introduced in #16423 . Fixes #18137 . #18216 ( Nikolai Kochetov ). Fix use after free bug in rocksdb library. #18862 ( sundyli ). Fix infinite reading from file in ORC format (was introduced in #10580 ). Fixes #19095 . #19134 ( Nikolai Kochetov ). Fix bug in merge tree data writer which can lead to marks with bigger size than fixed granularity size. Fixes #18913 . #19123 ( alesapin ).
{"source_file": "2021.md"}
[ 0.02067931741476059, -0.01260480098426342, -0.06287775188684464, 0.03882669284939766, -0.024586543440818787, -0.018543196842074394, 0.012112628668546677, -0.05862969905138016, 0.004124955274164677, 0.07401222735643387, -0.03901126608252525, -0.030127426609396935, 0.07760205119848251, -0.07...
953e58df-a6df-464b-b22e-117e5c0d554b
Fix bug in merge tree data writer which can lead to marks with bigger size than fixed granularity size. Fixes #18913 . #19123 ( alesapin ). Fix startup bug when clickhouse was not able to read compression codec from LowCardinality(Nullable(...)) and throws exception Attempt to read after EOF . Fixes #18340 . #19101 ( alesapin ). Restrict MODIFY TTL queries for MergeTree tables created in old syntax. Previously the query succeeded, but actually it had no effect. #19064 ( Anton Popov ). Make sure groupUniqArray returns correct type for argument of Enum type. This closes #17875 . #19019 ( alexey-milovidov ). Fix possible error Expected single dictionary argument for function if use function ignore with LowCardinality argument. Fixes #14275 . #19016 ( Nikolai Kochetov ). Fix inserting of LowCardinality column to table with TinyLog engine. Fixes #18629 . #19010 ( Nikolai Kochetov ). Join tries to materialize const columns, but our code wants them in other places. #18982 ( Nikita Mikhaylov ). Disable optimize_move_functions_out_of_any because optimization is not always correct. This closes #18051 . This closes #18973 . #18981 ( alexey-milovidov ). Fix possible exception QueryPipeline stream: different number of columns caused by merging of query plan's Expression steps. Fixes #18190 . #18980 ( Nikolai Kochetov ). Fixed very rare deadlock at shutdown. #18977 ( tavplubix ). Fix incorrect behavior when ALTER TABLE ... DROP PART 'part_name' query removes all deduplication blocks for the whole partition. Fixes #18874 . #18969 ( alesapin ). Attach partition should reset the mutation. #18804 . #18935 ( fastio ). Fix issue with bitmapOrCardinality that may lead to nullptr dereference. This closes #18911 . #18912 ( sundyli ). Fix possible hang at shutdown in clickhouse-local . This fixes #18891 . #18893 ( alexey-milovidov ). Queries for external databases (MySQL, ODBC, JDBC) were incorrectly rewritten if there was an expression in form of x IN table . This fixes #9756 . #18876 ( alexey-milovidov ). Fix *If combinator with unary function and Nullable types. #18806 ( Azat Khuzhin ). Fix the issue that asynchronous distributed INSERTs can be rejected by the server if the setting network_compression_method is globally set to non-default value. This fixes #18741 . #18776 ( alexey-milovidov ). Fixed Attempt to read after eof error when trying to CAST NULL from Nullable(String) to Nullable(Decimal(P, S)) . Now function CAST returns NULL when it cannot parse decimal from nullable string. Fixes #7690 . #18718 ( Winter Zhang ). Fix minor issue with logging. #18717 ( sundyli ). Fix removing of empty parts in ReplicatedMergeTree tables, created with old syntax. Fixes #18582 . #18614 ( Anton Popov ).
{"source_file": "2021.md"}
[ 0.0070963348262012005, 0.011317940428853035, -0.006588496267795563, 0.020056171342730522, -0.020561696961522102, -0.06000446528196335, -0.012636225670576096, 0.05746115744113922, -0.07552202045917511, 0.04820457473397255, 0.04856288805603981, -0.028251023963093758, -0.002899500774219632, -...
86a6413c-ccf8-4149-b6e2-e5fdb8026a17
Fix minor issue with logging. #18717 ( sundyli ). Fix removing of empty parts in ReplicatedMergeTree tables, created with old syntax. Fixes #18582 . #18614 ( Anton Popov ). Fix previous bug when date overflow with different values. Strict Date value limit to "2106-02-07", cast date > "2106-02-07" to value 0. #18565 ( hexiaoting ). Add FixedString data type support for replication from MySQL. Replication from MySQL is an experimental feature. This patch fixes #18450 Also fixes #6556 . #18553 ( awesomeleo ). Fix possible Pipeline stuck error while using ORDER BY after subquery with RIGHT or FULL join. #18550 ( Nikolai Kochetov ). Fix bug which may lead to ALTER queries hung after corresponding mutation kill. Found by thread fuzzer. #18518 ( alesapin ). Proper support for 12AM in parseDateTimeBestEffort function. This fixes #18402 . #18449 ( vladimir-golovchenko ). Fixed value is too short error when executing toType(...) functions ( toDate , toUInt32 , etc) with argument of type Nullable(String) . Now such functions return NULL on parsing errors instead of throwing exception. Fixes #7673 . #18445 ( tavplubix ). Fix the unexpected behaviour of SHOW TABLES . #18431 ( fastio ). Fix -SimpleState combinator generates incompatible arugment type and return type. #18404 ( Amos Bird ). Fix possible race condition in concurrent usage of Set or Join tables and selects from system.tables . #18385 ( alexey-milovidov ). Fix filling table system.settings_profile_elements . This PR fixes #18231 . #18379 ( Vitaly Baranov ). Fix possible crashes in aggregate functions with combinator Distinct , while using two-level aggregation. Fixes #17682 . #18365 ( Anton Popov ). Fixed issue when clickhouse-odbc-bridge process is unreachable by server on machines with dual IPv4/IPv6 stack; Fixed issue when ODBC dictionary updates are performed using malformed queries and/or cause crashes of the odbc-bridge process; Possibly closes #14489 . #18278 ( Denis Glazachev ). Access control: SELECT count() FROM table now can be executed if the user has access to at least single column from a table. This PR fixes #10639 . #18233 ( Vitaly Baranov ). Access control: SELECT JOIN now requires the SELECT privilege on each of the joined tables. This PR fixes #17654 . #18232 ( Vitaly Baranov ). Fix key comparison between Enum and Int types. This fixes #17989 . #18214 ( Amos Bird ). Replication from MySQL (experimental feature). Fixes #18186 Fixes #16372 Fix unique key convert issue in MaterializeMySQL database engine. #18211 ( Winter Zhang ). Fix inconsistency for queries with both WITH FILL and WITH TIES #17466 . #18188 ( hexiaoting ). Fix inserting a row with default value in case of parsing error in the last column. Fixes #17712 . #18182 ( Jianmei Zhang ). Fix Unknown setting profile error on attempt to set settings profile. #18167 ( tavplubix ).
{"source_file": "2021.md"}
[ -0.014366334304213524, -0.01296947617083788, 0.063524529337883, 0.0031386008486151695, -0.07180541753768921, -0.1183498203754425, -0.048760201781988144, 0.04713637754321098, -0.06774869561195374, 0.05896381288766861, 0.02369598299264908, 0.00893639400601387, 0.06838695704936981, -0.0251539...
ad6e9014-aa30-4686-8660-5dae71bd8170
Fix Unknown setting profile error on attempt to set settings profile. #18167 ( tavplubix ). Fix error when query MODIFY COLUMN ... REMOVE TTL doesn't actually remove column TTL. #18130 ( alesapin ). Fixed std::out_of_range: basic_string in S3 URL parsing. #18059 ( Vladimir Chebotarev ). Fix comparison of DateTime64 and Date . Fixes #13804 and #11222 . ... #18050 ( Vasily Nemkov ). Replication from MySQL (experimental feature): Fixes #15187 Fixes #17912 support convert MySQL prefix index for MaterializeMySQL. #17944 ( Winter Zhang ). When server log rotation was configured using logger.size parameter with numeric value larger than 2^32, the logs were not rotated properly. This is fixed. #17905 ( Alexander Kuzmenkov ). Trivial query optimization was producing wrong result if query contains ARRAY JOIN (so query is actually non trivial). #17887 ( sundyli ). Fix possible segfault in topK aggregate function. This closes #17404 . #17845 ( Maksim Kita ). WAL (experimental feature): Do not restore parts from WAL if in_memory_parts_enable_wal is disabled. #17802 ( detailyang ). Exception message about max table size to drop was displayed incorrectly. #17764 ( alexey-milovidov ). Fixed possible segfault when there is not enough space when inserting into Distributed table. #17737 ( tavplubix ). Fixed problem when ClickHouse fails to resume connection to MySQL servers. #17681 ( Alexander Kazakov ). Windows: Fixed Function not implemented error when executing RENAME query in Atomic database with ClickHouse running on Windows Subsystem for Linux. Fixes #17661 . #17664 ( tavplubix ). In might be determined incorrectly if cluster is circular- (cross-) replicated or not when executing ON CLUSTER query due to race condition when pool_size > 1. It's fixed. #17640 ( tavplubix ). Fix empty system.stack_trace table when server is running in daemon mode. #17630 ( Amos Bird ). Exception fmt::v7::format_error can be logged in background for MergeTree tables. This fixes #17613 . #17615 ( alexey-milovidov ). When clickhouse-client is used in interactive mode with multiline queries, single line comment was erronously extended till the end of query. This fixes #13654 . #17565 ( alexey-milovidov ). Fix alter query hang when the corresponding mutation was killed on the different replica. Fixes #16953 . #17499 ( alesapin ). Fix issue with memory accounting when mark cache size was underestimated by clickhouse. It may happen when there are a lot of tiny files with marks. #17496 ( alesapin ). Fix ORDER BY with enabled setting optimize_redundant_functions_in_order_by . #17471 ( Anton Popov ). Fix duplicates after DISTINCT which were possible because of incorrect optimization. Fixes #17294 . #17296 ( li chengxiang ). #17439 ( Nikolai Kochetov ). Fixed high CPU usage in background tasks of *MergeTree tables. #17416 ( tavplubix ).
{"source_file": "2021.md"}
[ 0.01663958467543125, 0.03868502378463745, -0.011731847189366817, 0.02550695836544037, -0.05068785324692726, -0.06004483997821808, -0.01472054235637188, 0.05140351876616478, -0.04821612685918808, 0.012868141755461693, 0.0049297260120511055, 0.007605804596096277, 0.078595831990242, -0.046737...
df41c615-5e6f-4450-96f3-f17608cdb34f
Fixed high CPU usage in background tasks of *MergeTree tables. #17416 ( tavplubix ). Fix possible crash while reading from JOIN table with LowCardinality types. Fixes #17228 . #17397 ( Nikolai Kochetov ). Replication from MySQL (experimental feature): Fixes #16835 try fix miss match header with MySQL SHOW statement. #17366 ( Winter Zhang ). Fix nondeterministic functions with predicate optimizer. This fixes #17244 . #17273 ( Winter Zhang ). Fix possible Unexpected packet Data received from client error for Distributed queries with LIMIT . #17254 ( Azat Khuzhin ). Fix set index invalidation when there are const columns in the subquery. This fixes #17246 . #17249 ( Amos Bird ). clickhouse-copier: Fix for non-partitioned tables #15235 . #17248 ( Qi Chen ). Fixed possible not-working mutations for parts stored on S3 disk (experimental feature). #17227 ( Pavel Kovalenko ). Bug fix for funciton fuzzBits , related issue: #16980 . #17051 ( hexiaoting ). Fix optimize_distributed_group_by_sharding_key for query with OFFSET only. #16996 ( Azat Khuzhin ). Fix queries from Merge tables over Distributed tables with JOINs. #16993 ( Azat Khuzhin ). Fix order by optimization with monotonic functions. Fixes #16107 . #16956 ( Anton Popov ). Fix incorrect comparison of types DateTime64 with different scales. Fixes #16655 ... #16952 ( Vasily Nemkov ). Fix optimization of group by with enabled setting optimize_aggregators_of_group_by_keys and joins. Fixes #12604 . #16951 ( Anton Popov ). Minor fix in SHOW ACCESS query. #16866 ( tavplubix ). Fix the behaviour with enabled optimize_trivial_count_query setting with partition predicate. #16767 ( Azat Khuzhin ). Return number of affected rows for INSERT queries via MySQL wire protocol. Previously ClickHouse used to always return 0, it's fixed. Fixes #16605 . #16715 ( Winter Zhang ). Fix inconsistent behavior caused by select_sequential_consistency for optimized trivial count query and system tables. #16309 ( Hao Chen ). Throw error when REPLACE column transformer operates on non existing column. #16183 ( hexiaoting ). Throw exception in case of not equi-join ON expression in RIGH|FULL JOIN. #15162 ( Artem Zuikov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-10} Add simple integrity check for ClickHouse binary. It allows to detect corruption due to faulty hardware (bit rot on storage media or bit flips in RAM). #18811 ( alexey-milovidov ). Change OpenSSL to BoringSSL . It allows to avoid issues with sanitizers. This fixes #12490 . This fixes #17502 . This fixes #12952 . #18129 ( alexey-milovidov ). Simplify Sys/V init script. It was not working on Ubuntu 12.04 or older. #17428 ( alexey-milovidov ). Multiple improvements in ./clickhouse install script. #17421 ( alexey-milovidov ).
{"source_file": "2021.md"}
[ 0.0021707883570343256, -0.01974930800497532, 0.021174807101488113, 0.029533114284276962, -0.017168816179037094, -0.1733534187078476, 0.01808779314160347, 0.01521328091621399, -0.04549572616815567, 0.02734600193798542, 0.001136972801759839, -0.011060350574553013, 0.030955025926232338, -0.04...
ce98c7be-597f-469f-b7c8-2df5a5500033
Simplify Sys/V init script. It was not working on Ubuntu 12.04 or older. #17428 ( alexey-milovidov ). Multiple improvements in ./clickhouse install script. #17421 ( alexey-milovidov ). Now ClickHouse can pretend to be a fake ZooKeeper. Currently, storage implementation is just stored in-memory hash-table, and server partially support ZooKeeper protocol. #16877 ( alesapin ). Fix dead list watches removal for TestKeeperStorage (a mock for ZooKeeper). #18065 ( alesapin ). Add SYSTEM SUSPEND command for fault injection. It can be used to faciliate failover tests. This closes #15979 . #18850 ( alexey-milovidov ). Generate build id when ClickHouse is linked with lld . It's appeared that lld does not generate it by default on my machine. Build id is used for crash reports and introspection. #18808 ( alexey-milovidov ). Fix shellcheck errors in style check. #18566 ( Ilya Yatsishin ). Update timezones info to 2020e. #18531 ( alesapin ). Fix codespell warnings. Split style checks into separate parts. Update style checks docker image. #18463 ( Ilya Yatsishin ). Automated check for leftovers of conflict markers in docs. #18332 ( alexey-milovidov ). Enable Thread Fuzzer for stateless tests flaky check. #18299 ( alesapin ). Do not use non thread-safe function strerror . #18204 ( alexey-milovidov ). Update anchore/scan-action@main workflow action (was moved from master to main ). #18192 ( Stig Bakken ). Now clickhouse-test does DROP/CREATE databases with a timeout. #18098 ( alesapin ). Enable experimental support for Pytest framework for stateless tests. #17902 ( Ivan ). Now we use the fresh docker daemon version in integration tests. #17671 ( alesapin ). Send info about official build, memory, cpu and free disk space to Sentry if it is enabled. Sentry is opt-in feature to help ClickHouse developers. This closes #17279 . #17543 ( alexey-milovidov ). There was an uninitialized variable in the code of clickhouse-copier. #17363 ( Nikita Mikhaylov ). Fix one MSan report from #17309 . #17344 ( Nikita Mikhaylov ). Fix for the issue with IPv6 in Arrow Flight library. See the comments for details. #16664 ( Zhanna ). Add a library that replaces some libc functions to traps that will terminate the process. #16366 ( alexey-milovidov ). Provide diagnostics in server logs in case of stack overflow, send error message to clickhouse-client. This closes #14840 . #16346 ( alexey-milovidov ). Now we can run almost all stateless functional tests in parallel. #15236 ( alesapin ). Fix corruption in librdkafka snappy decompression (was a problem only for gcc10 builds, but official builds uses clang already, so at least recent official releases are not affected). #18053 ( Azat Khuzhin ). If server was terminated by OOM killer, print message in log. #13516 ( alexey-milovidov ).
{"source_file": "2021.md"}
[ -0.028595708310604095, 0.006452500354498625, -0.041248273104429245, -0.0312618725001812, 0.06987741589546204, -0.030626455321907997, 0.0010558480862528086, 0.02448001690208912, -0.08184529095888138, 0.054407451301813126, -0.009852733463048935, 0.026574252173304558, 0.0018625790253281593, 0...
7cdc22be-8b48-42e5-8e96-5f9f1cf132d9
If server was terminated by OOM killer, print message in log. #13516 ( alexey-milovidov ). PODArray: Avoid call to memcpy with (nullptr, 0) arguments (Fix UBSan report). This fixes #18525 . #18526 ( alexey-milovidov ). Minor improvement for path concatenation of zookeeper paths inside DDLWorker. #17767 ( Bharat Nallan ). Allow to reload symbols from debug file. This PR also fixes a build-id issue. #17637 ( Amos Bird ). Changelog for 2020 {#changelog-for-2020}
{"source_file": "2021.md"}
[ 0.019878562539815903, 0.04316401109099388, 0.040569860488176346, 0.003954574000090361, 0.058756787329912186, -0.12182746827602386, -0.0047524855472147465, -0.05845901370048523, 0.036186493933200836, 0.05157090723514557, -0.04539038985967636, 0.021057700738310814, -0.03285595029592514, 0.01...
1eb111a8-a0c3-4b20-bbc5-4cb8aa0e38de
slug: /whats-new/changelog/2020 sidebar_position: 7 sidebar_label: '2020' title: '2020 Changelog' description: 'Changelog for 2020' doc_type: 'changelog' keywords: ['ClickHouse 2020', 'changelog 2020', 'release notes', 'version history', 'bug fixes'] ClickHouse release 20.12 {#clickhouse-release-2012} ClickHouse release v20.12.5.14-stable, 2020-12-28 {#clickhouse-release-v2012514-stable-2020-12-28} Bug Fix {#bug-fix} Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. #18481 ( alesapin ). Fixed value is too short error when executing toType(...) functions ( toDate , toUInt32 , etc) with argument of type Nullable(String) . Now such functions return NULL on parsing errors instead of throwing exception. Fixes #7673 . #18445 ( tavplubix ). Restrict merges from wide to compact parts. In case of vertical merge it led to broken result part. #18381 ( Anton Popov ). Fix filling table system.settings_profile_elements . This PR fixes #18231 . #18379 ( Vitaly Baranov ). Fix possible crashes in aggregate functions with combinator Distinct , while using two-level aggregation. Fixes #17682 . #18365 ( Anton Popov ). Fix error when query MODIFY COLUMN ... REMOVE TTL does not actually remove column TTL. #18130 ( alesapin ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement} Update timezones info to 2020e. #18531 ( alesapin ). ClickHouse release v20.12.4.5-stable, 2020-12-24 {#clickhouse-release-v201245-stable-2020-12-24} Bug Fix {#bug-fix-1} Fixed issue when clickhouse-odbc-bridge process is unreachable by server on machines with dual IPv4/IPv6 stack; - Fixed issue when ODBC dictionary updates are performed using malformed queries and/or cause crashes; Possibly closes #14489 . #18278 ( Denis Glazachev ). Fixed key comparison between Enum and Int types. This fixes #17989 . #18214 ( Amos Bird ). Fixed unique key convert crash in MaterializeMySQL database engine. This fixes #18186 and fixes #16372 #18211 ( Winter Zhang ). Fixed std::out_of_range: basic_string in S3 URL parsing. #18059 ( Vladimir Chebotarev ). Fixed the issue when some tables not synchronized to ClickHouse from MySQL caused by the fact that convertion MySQL prefix index wasn't supported for MaterializeMySQL. This fixes #15187 and fixes #17912 #17944 ( Winter Zhang ). Fixed the issue when query optimization was producing wrong result if query contains ARRAY JOIN . #17887 ( sundyli ). Fixed possible segfault in topK aggregate function. This closes #17404 . #17845 ( Maksim Kita ). Fixed empty system.stack_trace table when server is running in daemon mode. #17630 ( Amos Bird ). ClickHouse release v20.12.3.3-stable, 2020-12-13 {#clickhouse-release-v201233-stable-2020-12-13} Backward Incompatible Change {#backward-incompatible-change}
{"source_file": "2020.md"}
[ -0.0014750950504094362, -0.019486844539642334, 0.07231879979372025, -0.011118864640593529, 0.010870560072362423, -0.035186007618904114, -0.0019148741848766804, 0.002417444484308362, -0.07730920612812042, 0.06574995815753937, 0.08200349658727646, 0.03438062220811844, -0.026157252490520477, ...
2480bb9f-8e94-4a80-93cb-bf7ecff3cbe1
ClickHouse release v20.12.3.3-stable, 2020-12-13 {#clickhouse-release-v201233-stable-2020-12-13} Backward Incompatible Change {#backward-incompatible-change} Enable use_compact_format_in_distributed_parts_names by default (see the documentation for the reference). #16728 ( Azat Khuzhin ). Accept user settings related to file formats (e.g. format_csv_delimiter ) in the SETTINGS clause when creating a table that uses File engine, and use these settings in all INSERT s and SELECT s. The file format settings changed in the current user session, or in the SETTINGS clause of a DML query itself, no longer affect the query. #16591 ( Alexander Kuzmenkov ). New Feature {#new-feature} add *.xz compression/decompression support.It enables using *.xz in file() function. This closes #8828 . #16578 ( Abi Palagashvili ). Introduce the query ALTER TABLE ... DROP|DETACH PART 'part_name' . #15511 ( nvartolomei ). Added new ALTER UPDATE/DELETE IN PARTITION syntax. #13403 ( Vladimir Chebotarev ). Allow formatting named tuples as JSON objects when using JSON input/output formats, controlled by the output_format_json_named_tuples_as_objects setting, disabled by default. #17175 ( Alexander Kuzmenkov ). Add a possibility to input enum value as it's id in TSV and CSV formats by default. #16834 ( Kruglov Pavel ). Add COLLATE support for Nullable, LowCardinality, Array and Tuple, where nested type is String. Also refactor the code associated with collations in ColumnString.cpp. #16273 ( Kruglov Pavel ). New tcpPort function returns TCP port listened by this server. #17134 ( Ivan ). Add new math functions: acosh , asinh , atan2 , atanh , cosh , hypot , log1p , sinh . #16636 ( Konstantin Malanchev ). Possibility to distribute the merges between different replicas. Introduces the execute_merges_on_single_replica_time_threshold mergetree setting. #16424 ( filimonov ). Add setting aggregate_functions_null_for_empty for SQL standard compatibility. This option will rewrite all aggregate functions in a query, adding -OrNull suffix to them. Implements 10273 . #16123 ( flynn ). Updated DateTime, DateTime64 parsing to accept string Date literal format. #16040 ( Maksim Kita ). Make it possible to change the path to history file in clickhouse-client using the --history_file parameter. #15960 ( Maksim Kita ). Bug Fix {#bug-fix-2} Fix the issue when server can stop accepting connections in very rare cases. #17542 ( Amos Bird ). Fixed Function not implemented error when executing RENAME query in Atomic database with ClickHouse running on Windows Subsystem for Linux. Fixes #17661 . #17664 ( tavplubix ). Do not restore parts from WAL if in_memory_parts_enable_wal is disabled. #17802 ( detailyang ). fix incorrect initialization of max_compress_block_size of MergeTreeWriterSettings with min_compress_block_size . #17833 ( flynn ).
{"source_file": "2020.md"}
[ -0.042341504245996475, 0.016240909695625305, -0.03581945598125458, 0.018330438062548637, -0.05485766381025314, -0.024193016812205315, -0.03513346239924431, -0.005514650139957666, -0.03739694505929947, 0.05416962504386902, 0.01205930020660162, 0.02660030871629715, 0.006857310887426138, -0.0...
63a16427-20cc-4269-a963-1835409dfddd
fix incorrect initialization of max_compress_block_size of MergeTreeWriterSettings with min_compress_block_size . #17833 ( flynn ). Exception message about max table size to drop was displayed incorrectly. #17764 ( alexey-milovidov ). Fixed possible segfault when there is not enough space when inserting into Distributed table. #17737 ( tavplubix ). Fixed problem when ClickHouse fails to resume connection to MySQL servers. #17681 ( Alexander Kazakov ). In might be determined incorrectly if cluster is circular- (cross-) replicated or not when executing ON CLUSTER query due to race condition when pool_size > 1. It's fixed. #17640 ( tavplubix ). Exception fmt::v7::format_error can be logged in background for MergeTree tables. This fixes #17613 . #17615 ( alexey-milovidov ). When clickhouse-client is used in interactive mode with multiline queries, single line comment was erronously extended till the end of query. This fixes #13654 . #17565 ( alexey-milovidov ). Fix alter query hang when the corresponding mutation was killed on the different replica. Fixes #16953 . #17499 ( alesapin ). Fix issue when mark cache size was underestimated by clickhouse. It may happen when there are a lot of tiny files with marks. #17496 ( alesapin ). Fix ORDER BY with enabled setting optimize_redundant_functions_in_order_by . #17471 ( Anton Popov ). Fix duplicates after DISTINCT which were possible because of incorrect optimization. Fixes #17294 . #17296 ( li chengxiang ). #17439 ( Nikolai Kochetov ). Fix crash while reading from JOIN table with LowCardinality types. Fixes #17228 . #17397 ( Nikolai Kochetov ). fix toInt256(inf) stack overflow. Int256 is an experimental feature. Closed #17235 . #17257 ( flynn ). Fix possible Unexpected packet Data received from client error logged for Distributed queries with LIMIT . #17254 ( Azat Khuzhin ). Fix set index invalidation when there are const columns in the subquery. This fixes #17246 . #17249 ( Amos Bird ). Fix possible wrong index analysis when the types of the index comparison are different. This fixes #17122 . #17145 ( Amos Bird ). Fix ColumnConst comparison which leads to crash. This fixed #17088 . #17135 ( Amos Bird ). Multiple fixed for MaterializeMySQL (experimental feature). Fixes #16923 Fixes #15883 Fix MaterializeMySQL SYNC failure when the modify MySQL binlog_checksum. #17091 ( Winter Zhang ). Fix bug when ON CLUSTER queries may hang forever for non-leader ReplicatedMergeTreeTables. #17089 ( alesapin ). Fixed crash on CREATE TABLE ... AS some_table query when some_table was created AS table_function() Fixes #16944 . #17072 ( tavplubix ). Bug unfinished implementation for funciton fuzzBits, related issue: #16980 . #17051 ( hexiaoting ).
{"source_file": "2020.md"}
[ 0.008153503760695457, -0.05255113169550896, 0.007489367853850126, 0.029721150174736977, -0.03635534271597862, -0.07705718278884888, -0.04866744577884674, 0.042402591556310654, -0.04070267081260681, 0.02737564407289028, 0.02112915739417076, -0.009633313864469528, 0.02688554860651493, -0.051...
80c95a0f-4312-4aea-a160-ca433357c433
Bug unfinished implementation for funciton fuzzBits, related issue: #16980 . #17051 ( hexiaoting ). Fix LLVM's libunwind in the case when CFA register is RAX. This is the bug in LLVM's libunwind . We already have workarounds for this bug. #17046 ( alexey-milovidov ). Avoid unnecessary network errors for remote queries which may be cancelled while execution, like queries with LIMIT . #17006 ( Azat Khuzhin ). Fix optimize_distributed_group_by_sharding_key setting (that is disabled by default) for query with OFFSET only. #16996 ( Azat Khuzhin ). Fix for Merge tables over Distributed tables with JOIN. #16993 ( Azat Khuzhin ). Fixed wrong result in big integers (128, 256 bit) when casting from double. Big integers support is experimental. #16986 ( Mike ). Fix possible server crash after ALTER TABLE ... MODIFY COLUMN ... NewType when SELECT have WHERE expression on altering column and alter does not finished yet. #16968 ( Amos Bird ). Blame info was not calculated correctly in clickhouse-git-import . #16959 ( alexey-milovidov ). Fix order by optimization with monotonous functions. Fixes #16107 . #16956 ( Anton Popov ). Fix optimization of group by with enabled setting optimize_aggregators_of_group_by_keys and joins. Fixes #12604 . #16951 ( Anton Popov ). Fix possible error Illegal type of argument for queries with ORDER BY . Fixes #16580 . #16928 ( Nikolai Kochetov ). Fix strange code in InterpreterShowAccessQuery. #16866 ( tavplubix ). Prevent clickhouse server crashes when using the function timeSeriesGroupSum . The function is removed from newer ClickHouse releases. #16865 ( filimonov ). Fix rare silent crashes when query profiler is on and ClickHouse is installed on OS with glibc version that has (supposedly) broken asynchronous unwind tables for some functions. This fixes #15301 . This fixes #13098 . #16846 ( alexey-milovidov ). Fix crash when using any without any arguments. This is for #16803 . cc @azat. #16826 ( Amos Bird ). If no memory can be allocated while writing table metadata on disk, broken metadata file can be written. #16772 ( alexey-milovidov ). Fix trivial query optimization with partition predicate. #16767 ( Azat Khuzhin ). Fix IN operator over several columns and tuples with enabled transform_null_in setting. Fixes #15310 . #16722 ( Anton Popov ). Return number of affected rows for INSERT queries via MySQL protocol. Previously ClickHouse used to always return 0, it's fixed. Fixes #16605 . #16715 ( Winter Zhang ). Fix remote query failure when using 'if' suffix aggregate function. Fixes #16574 Fixes #16231 #16610 ( Winter Zhang ). Fix inconsistent behavior caused by select_sequential_consistency for optimized trivial count query and system.tables. #16309 ( Hao Chen ). Improvement {#improvement}
{"source_file": "2020.md"}
[ 0.024382280185818672, -0.056948043406009674, -0.061746884137392044, 0.022399865090847015, -0.023890024051070213, -0.047801487147808075, -0.014359680935740471, 0.014370518736541271, -0.07117226719856262, 0.023085881024599075, 0.04534904658794403, -0.003712165867909789, 0.0022370971273630857, ...
8281d956-b3a0-475b-936d-bbf3b53b4cef
Fix inconsistent behavior caused by select_sequential_consistency for optimized trivial count query and system.tables. #16309 ( Hao Chen ). Improvement {#improvement} Remove empty parts after they were pruned by TTL, mutation, or collapsing merge algorithm. #16895 ( Anton Popov ). Enable compact format of directories for asynchronous sends in Distributed tables: use_compact_format_in_distributed_parts_names is set to 1 by default. #16788 ( Azat Khuzhin ). Abort multipart upload if no data was written to S3. #16840 ( Pavel Kovalenko ). Reresolve the IP of the format_avro_schema_registry_url in case of errors. #16985 ( filimonov ). Mask password in data_path in the system.distribution_queue. #16727 ( Azat Khuzhin ). Throw error when use column transformer replaces non existing column. #16183 ( hexiaoting ). Turn off parallel parsing when there is no enough memory for all threads to work simultaneously. Also there could be exceptions like "Memory limit exceeded" when somebody will try to insert extremely huge rows (> min_chunk_bytes_for_parallel_parsing), because each piece to parse has to be independent set of strings (one or more). #16721 ( Nikita Mikhaylov ). Install script should always create subdirs in config folders. This is only relevant for Docker build with custom config. #16936 ( filimonov ). Correct grammar in error message in JSONEachRow, JSONCompactEachRow, and RegexpRow input formats. #17205 ( nico piderman ). Set default host and port parameters for SOURCE(CLICKHOUSE(...)) to current instance and set default user value to 'default' . #16997 ( vdimir ). Throw an informative error message when doing ATTACH/DETACH TABLE <DICTIONARY> . Before this PR, detach table <dict> works but leads to an ill-formed in-memory metadata. #16885 ( Amos Bird ). Add cutToFirstSignificantSubdomainWithWWW(). #16845 ( Azat Khuzhin ). Server refused to startup with exception message if wrong config is given ( metric_log . collect_interval_milliseconds is missing). #16815 ( Ivan ). Better exception message when configuration for distributed DDL is absent. This fixes #5075 . #16769 ( Nikita Mikhaylov ). Usability improvement: better suggestions in syntax error message when CODEC expression is misplaced in CREATE TABLE query. This fixes #12493 . #16768 ( alexey-milovidov ). Remove empty directories for async INSERT at start of Distributed engine. #16729 ( Azat Khuzhin ). Workaround for use S3 with nginx server as proxy. Nginx currenty does not accept urls with empty path like http://domain.com?delete , but vanilla aws-sdk-cpp produces this kind of urls. This commit uses patched aws-sdk-cpp version, which makes urls with "/" as path in this cases, like http://domain.com/?delete . #16709 ( ianton-ru ). Allow reinterpretAs* functions to work for integers and floats of the same size. Implements 16640 . #16657 ( flynn ).
{"source_file": "2020.md"}
[ -0.018438296392560005, -0.06598088145256042, -0.07723572850227356, 0.020076578482985497, -0.04109177365899086, -0.09216716140508652, -0.09938328713178635, 0.0338207483291626, 0.01924864761531353, 0.047854647040367126, 0.07598739862442017, 0.018841059878468513, 0.034156572073698044, -0.0843...
a8c1be41-a988-463c-9bbf-acad900123ba
Allow reinterpretAs* functions to work for integers and floats of the same size. Implements 16640 . #16657 ( flynn ). Now, <auxiliary_zookeepers> configuration can be changed in config.xml and reloaded without server startup. #16627 ( Amos Bird ). Support SNI in https connections to remote resources. This will allow to connect to Cloudflare servers that require SNI. This fixes #10055 . #16252 ( alexey-milovidov ). Make it possible to connect to clickhouse-server secure endpoint which requires SNI. This is possible when clickhouse-server is hosted behind TLS proxy. #16938 ( filimonov ). Fix possible stack overflow if a loop of materialized views is created. This closes #15732 . #16048 ( alexey-milovidov ). Simplify the implementation of background tasks processing for the MergeTree table engines family. There should be no visible changes for user. #15983 ( alesapin ). Improvement for MaterializeMySQL (experimental feature). Throw exception about right sync privileges when MySQL sync user has error privileges. #15977 ( TCeason ). Made indexOf() use BloomFilter. #14977 ( achimbab ). Performance Improvement {#performance-improvement} Use Floyd-Rivest algorithm, it is the best for the ClickHouse use case of partial sorting. Bechmarks are in https://github.com/danlark1/miniselect and here . #16825 ( Danila Kutenin ). Now ReplicatedMergeTree tree engines family uses a separate thread pool for replicated fetches. Size of the pool limited by setting background_fetches_pool_size which can be tuned with a server restart. The default value of the setting is 3 and it means that the maximum amount of parallel fetches is equal to 3 (and it allows to utilize 10G network). Fixes #520. #16390 ( alesapin ). Fixed uncontrolled growth of the state of quantileTDigest . #16680 ( hrissan ). Add VIEW subquery description to EXPLAIN . Limit push down optimisation for VIEW . Add local replicas of Distributed to query plan. #14936 ( Nikolai Kochetov ). Fix optimize_read_in_order/optimize_aggregation_in_order with max_threads > 0 and expression in ORDER BY. #16637 ( Azat Khuzhin ). Fix performance of reading from Merge tables over huge number of MergeTree tables. Fixes #7748 . #16988 ( Anton Popov ). Now we can safely prune partitions with exact match. Useful case: Suppose table is partitioned by intHash64(x) % 100 and the query has condition on intHash64(x) % 100 verbatim, not on x. #16253 ( Amos Bird ). Experimental Feature {#experimental-feature} Add EmbeddedRocksDB table engine (can be used for dictionaries). #15073 ( sundyli ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-1} Improvements in test coverage building images. #17233 ( alesapin ). Update embedded timezone data to version 2020d (also update cctz to the latest master). #17204 ( filimonov ).
{"source_file": "2020.md"}
[ -0.019375691190361977, -0.047367069870233536, -0.04161672294139862, -0.008345943875610828, -0.050808414816856384, -0.08020631223917007, -0.026179002597928047, -0.06811424344778061, -0.032003145664930344, 0.08241629600524902, -0.05195313319563866, -0.029867341741919518, 0.051213424652814865, ...
cff4b51c-a03f-4c08-bd17-c461465f6cba
Improvements in test coverage building images. #17233 ( alesapin ). Update embedded timezone data to version 2020d (also update cctz to the latest master). #17204 ( filimonov ). Fix UBSan report in Poco. This closes #12719 . #16765 ( alexey-milovidov ). Do not instrument 3rd-party libraries with UBSan. #16764 ( alexey-milovidov ). Fix UBSan report in cache dictionaries. This closes #12641 . #16763 ( alexey-milovidov ). Fix UBSan report when trying to convert infinite floating point number to integer. This closes #14190 . #16677 ( alexey-milovidov ). ClickHouse release 20.11 {#clickhouse-release-2011} ClickHouse release v20.11.7.16-stable, 2021-03-02 {#clickhouse-release-v2011716-stable-2021-03-02} Improvement {#improvement-1} Explicitly set uid / gid of clickhouse user & group to the fixed values (101) in clickhouse-server images. #19096 ( filimonov ). Bug Fix {#bug-fix-3} BloomFilter index crash fix. Fixes #19757 . #19884 ( Maksim Kita ). Deadlock was possible if system.text_log is enabled. This fixes #19874 . #19875 ( alexey-milovidov ). In previous versions, unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop. This closes #19787 . #19788 ( alexey-milovidov ). Fixed stack overflow when using accurate comparison of arithmetic type with string type. #19773 ( tavplubix ). Fix a segmentation fault in bitmapAndnot function. Fixes #19668 . #19713 ( Maksim Kita ). Some functions with big integers may cause segfault. Big integers is experimental feature. This closes #19667 . #19672 ( alexey-milovidov ). Fix wrong result of function neighbor for LowCardinality argument. Fixes #10333 . #19617 ( Nikolai Kochetov ). Fix use-after-free of the CompressedWriteBuffer in Connection after disconnect. #19599 ( Azat Khuzhin ). DROP/DETACH TABLE table ON CLUSTER cluster SYNC query might hang, it's fixed. Fixes #19568 . #19572 ( tavplubix ). Query CREATE DICTIONARY id expression fix. #19571 ( Maksim Kita ). Fix SIGSEGV with merge_tree_min_rows_for_concurrent_read/merge_tree_min_bytes_for_concurrent_read=0/UINT64_MAX. #19528 ( Azat Khuzhin ). Buffer overflow (on memory read) was possible if addMonth function was called with specifically crafted arguments. This fixes #19441 . This fixes #19413 . #19472 ( alexey-milovidov ). Mark distributed batch as broken in case of empty data block in one of files. #19449 ( Azat Khuzhin ). Fix possible buffer overflow in Uber H3 library. See https://github.com/uber/h3/issues/392. This closes #19219 . #19383 ( alexey-milovidov ). Fix system.parts _state column (LOGICAL_ERROR when querying this column, due to incorrect order). #19346 ( Azat Khuzhin ). Fix error Cannot convert column now64() because it is constant but values of constants are different in source and result . Continuation of #7156 . #19316 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.07282012701034546, 0.024951884523034096, -0.09046711027622223, 0.006057342980057001, 0.01591889001429081, -0.08477654308080673, -0.03530217334628105, -0.024747753515839577, -0.038184549659490585, -0.006973962765187025, -0.002235376974567771, -0.061247359961271286, -0.031813543289899826, ...
788428da-5495-421b-9cb4-028bb63b5a09
Fix error Cannot convert column now64() because it is constant but values of constants are different in source and result . Continuation of #7156 . #19316 ( Nikolai Kochetov ). Fix bug when concurrent ALTER and DROP queries may hang while processing ReplicatedMergeTree table. #19237 ( alesapin ). Fix infinite reading from file in ORC format (was introduced in #10580 ). Fixes #19095 . #19134 ( Nikolai Kochetov ). Fix startup bug when clickhouse was not able to read compression codec from LowCardinality(Nullable(...)) and throws exception Attempt to read after EOF . Fixes #18340 . #19101 ( alesapin ). Fixed There is no checkpoint error when inserting data through http interface using Template or CustomSeparated format. Fixes #19021 . #19072 ( tavplubix ). Restrict MODIFY TTL queries for MergeTree tables created in old syntax. Previously the query succeeded, but actually it had no effect. #19064 ( Anton Popov ). Make sure groupUniqArray returns correct type for argument of Enum type. This closes #17875 . #19019 ( alexey-milovidov ). Fix possible error Expected single dictionary argument for function if use function ignore with LowCardinality argument. Fixes #14275 . #19016 ( Nikolai Kochetov ). Fix inserting of LowCardinality column to table with TinyLog engine. Fixes #18629 . #19010 ( Nikolai Kochetov ). Disable optimize_move_functions_out_of_any because optimization is not always correct. This closes #18051 . This closes #18973 . #18981 ( alexey-milovidov ). Fixed very rare deadlock at shutdown. #18977 ( tavplubix ). Fix bug when mutation with some escaped text (like ALTER ... UPDATE e = CAST('foo', 'Enum8(\'foo\' = 1') serialized incorrectly. Fixes #18878 . #18944 ( alesapin ). Attach partition should reset the mutation. #18804 . #18935 ( fastio ). Fix possible hang at shutdown in clickhouse-local. This fixes #18891 . #18893 ( alexey-milovidov ). Fix *If combinator with unary function and Nullable types. #18806 ( Azat Khuzhin ). Asynchronous distributed INSERTs can be rejected by the server if the setting network_compression_method is globally set to non-default value. This fixes #18741 . #18776 ( alexey-milovidov ). Fixed Attempt to read after eof error when trying to CAST NULL from Nullable(String) to Nullable(Decimal(P, S)) . Now function CAST returns NULL when it cannot parse decimal from nullable string. Fixes #7690 . #18718 ( Winter Zhang ). Fix Logger with unmatched arg size. #18717 ( sundyli ). Add FixedString Data type support. I'll get this exception "Code: 50, e.displayText() = DB::Exception: Unsupported type FixedString(1)" when replicating data from MySQL to ClickHouse. This patch fixes bug #18450 Also fixes #6556 . #18553 ( awesomeleo ). Fix possible Pipeline stuck error while using ORDER BY after subquery with RIGHT or FULL join. #18550 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.03693302720785141, 0.004573674872517586, -0.06634583324193954, -0.009487495757639408, -0.04925776645541191, -0.0546671599149704, -0.08494920283555984, 0.01801432855427265, -0.06102810427546501, 0.07828643918037415, 0.06866917014122009, -0.024282939732074738, 0.0008456927025690675, -0.07...
e2003eda-f875-4ca0-afe6-1e8b63cc9a5c
Fix possible Pipeline stuck error while using ORDER BY after subquery with RIGHT or FULL join. #18550 ( Nikolai Kochetov ). Fix bug which may lead to ALTER queries hung after corresponding mutation kill. Found by thread fuzzer. #18518 ( alesapin ). Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. #18481 ( alesapin ). Disable constant folding for subqueries on the analysis stage, when the result cannot be calculated. #18446 ( Azat Khuzhin ). Fixed value is too short error when executing toType(...) functions ( toDate , toUInt32 , etc) with argument of type Nullable(String) . Now such functions return NULL on parsing errors instead of throwing exception. Fixes #7673 . #18445 ( tavplubix ). Restrict merges from wide to compact parts. In case of vertical merge it led to broken result part. #18381 ( Anton Popov ). Fix filling table system.settings_profile_elements . This PR fixes #18231 . #18379 ( Vitaly Baranov ). Fix index analysis of binary functions with constant argument which leads to wrong query results. This fixes #18364 . #18373 ( Amos Bird ). Fix possible crashes in aggregate functions with combinator Distinct , while using two-level aggregation. Fixes #17682 . #18365 ( Anton Popov ). SELECT count() FROM table now can be executed if only one any column can be selected from the table . This PR fixes #10639 . #18233 ( Vitaly Baranov ). SELECT JOIN now requires the SELECT privilege on each of the joined tables. This PR fixes #17654 . #18232 ( Vitaly Baranov ). Fix possible incomplete query result while reading from MergeTree* in case of read backoff (message <Debug> MergeTreeReadPool: Will lower number of threads in logs). Was introduced in #16423 . Fixes #18137 . #18216 ( Nikolai Kochetov ). Fix error when query MODIFY COLUMN ... REMOVE TTL does not actually remove column TTL. #18130 ( alesapin ). Fix indeterministic functions with predicate optimizer. This fixes #17244 . #17273 ( Winter Zhang ). Mutation might hang waiting for some non-existent part after MOVE or REPLACE PARTITION or, in rare cases, after DETACH or DROP PARTITION . It's fixed. #15537 ( tavplubix ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-2} Update timezones info to 2020e. #18531 ( alesapin ). ClickHouse release v20.11.6.6-stable, 2020-12-24 {#clickhouse-release-v201166-stable-2020-12-24} Bug Fix {#bug-fix-4} Fixed issue when clickhouse-odbc-bridge process is unreachable by server on machines with dual IPv4/IPv6 stack and fixed issue when ODBC dictionary updates are performed using malformed queries and/or cause crashes. This possibly closes #14489 . #18278 ( Denis Glazachev ). Fixed key comparison between Enum and Int types. This fixes #17989 . #18214 ( Amos Bird ).
{"source_file": "2020.md"}
[ -0.011032880283892155, 0.003513474715873599, 0.021658355370163918, 0.00004940140206599608, -0.09060480445623398, -0.032576460391283035, -0.006920843385159969, 0.10866540670394897, -0.10034491866827011, 0.015560886822640896, 0.028957318514585495, -0.003703847760334611, -0.009588099084794521, ...
80a8e868-3ad5-4645-8dfd-ee17ce0ceb29
Fixed key comparison between Enum and Int types. This fixes #17989 . #18214 ( Amos Bird ). Fixed unique key convert crash in MaterializeMySQL database engine. This fixes #18186 and fixes #16372 #18211 ( Winter Zhang ). Fixed std::out_of_range: basic_string in S3 URL parsing. #18059 ( Vladimir Chebotarev ). Fixed the issue when some tables not synchronized to ClickHouse from MySQL caused by the fact that convertion MySQL prefix index wasn't supported for MaterializeMySQL. This fixes #15187 and fixes #17912 #17944 ( Winter Zhang ). Fixed the issue when query optimization was producing wrong result if query contains ARRAY JOIN . #17887 ( sundyli ). Fix possible segfault in topK aggregate function. This closes #17404 . #17845 ( Maksim Kita ). Do not restore parts from WAL if in_memory_parts_enable_wal is disabled. #17802 ( detailyang ). Fixed problem when ClickHouse fails to resume connection to MySQL servers. #17681 ( Alexander Kazakov ). Fixed inconsistent behaviour of optimize_trivial_count_query with partition predicate. #17644 ( Azat Khuzhin ). Fixed empty system.stack_trace table when server is running in daemon mode. #17630 ( Amos Bird ). Fixed the behaviour when xxception fmt::v7::format_error can be logged in background for MergeTree tables. This fixes #17613 . #17615 ( alexey-milovidov ). Fixed the behaviour when clickhouse-client is used in interactive mode with multiline queries and single line comment was erronously extended till the end of query. This fixes #13654 . #17565 ( alexey-milovidov ). Fixed the issue when server can stop accepting connections in very rare cases. #17542 ( alexey-milovidov ). Fixed alter query hang when the corresponding mutation was killed on the different replica. This fixes #16953 . #17499 ( alesapin ). Fixed bug when mark cache size was underestimated by clickhouse. It may happen when there are a lot of tiny files with marks. #17496 ( alesapin ). Fixed ORDER BY with enabled setting optimize_redundant_functions_in_order_by . #17471 ( Anton Popov ). Fixed duplicates after DISTINCT which were possible because of incorrect optimization. This fixes #17294 . #17296 ( li chengxiang ). #17439 ( Nikolai Kochetov ). Fixed crash while reading from JOIN table with LowCardinality types. This fixes #17228 . #17397 ( Nikolai Kochetov ). Fixed set index invalidation when there are const columns in the subquery. This fixes #17246 . #17249 ( Amos Bird ). Fixed possible wrong index analysis when the types of the index comparison are different. This fixes #17122 . #17145 ( Amos Bird ). Fixed ColumnConst comparison which leads to crash. This fixes #17088 . #17135 ( Amos Bird ). Fixed bug when ON CLUSTER queries may hang forever for non-leader ReplicatedMergeTreeTables . #17089 ( alesapin ). Fixed fuzzer-found bug in funciton fuzzBits . This fixes #16980 . #17051 ( hexiaoting ).
{"source_file": "2020.md"}
[ 0.029995204880833626, -0.0268704853951931, 0.022136550396680832, 0.009616769850254059, -0.030751261860132217, -0.05488668009638786, 0.022399861365556717, -0.010810114443302155, -0.13256771862506866, 0.05075191706418991, -0.040568530559539795, -0.001654806430451572, 0.09348975867033005, -0....
deb3d081-577a-4594-8a9d-227e08aa4f7a
Fixed fuzzer-found bug in funciton fuzzBits . This fixes #16980 . #17051 ( hexiaoting ). Avoid unnecessary network errors for remote queries which may be cancelled while execution, like queries with LIMIT . #17006 ( Azat Khuzhin ). Fixed wrong result in big integers (128, 256 bit) when casting from double. #16986 ( Mike ). Reresolve the IP of the format_avro_schema_registry_url in case of errors. #16985 ( filimonov ). Fixed possible server crash after ALTER TABLE ... MODIFY COLUMN ... NewType when SELECT have WHERE expression on altering column and alter does not finished yet. #16968 ( Amos Bird ). Blame info was not calculated correctly in clickhouse-git-import . #16959 ( alexey-milovidov ). Fixed order by optimization with monotonous functions. Fixes #16107 . #16956 ( Anton Popov ). Fixed optimization of group by with enabled setting optimize_aggregators_of_group_by_keys and joins. This fixes #12604 . #16951 ( Anton Popov ). Install script should always create subdirs in config folders. This is only relevant for Docker build with custom config. #16936 ( filimonov ). Fixed possible error Illegal type of argument for queries with ORDER BY . This fixes #16580 . #16928 ( Nikolai Kochetov ). Abort multipart upload if no data was written to WriteBufferFromS3. #16840 ( Pavel Kovalenko ). Fixed crash when using any without any arguments. This fixes #16803 . #16826 ( Amos Bird ). Fixed the behaviour when ClickHouse used to always return 0 insted of a number of affected rows for INSERT queries via MySQL protocol. This fixes #16605 . #16715 ( Winter Zhang ). Fixed uncontrolled growth of TDigest. #16680 ( hrissan ). Fixed remote query failure when using suffix if in Aggregate function. This fixes #16574 fixes #16231 #16610 ( Winter Zhang ). Fixed inconsistent behavior caused by select_sequential_consistency for optimized trivial count query and system.tables. #16309 ( Hao Chen ). Throw error when use ColumnTransformer replace non exist column. #16183 ( hexiaoting ). ClickHouse release v20.11.3.3-stable, 2020-11-13 {#clickhouse-release-v201133-stable-2020-11-13} Bug Fix {#bug-fix-5} Fix rare silent crashes when query profiler is on and ClickHouse is installed on OS with glibc version that has (supposedly) broken asynchronous unwind tables for some functions. This fixes #15301 . This fixes #13098 . #16846 ( alexey-milovidov ). ClickHouse release v20.11.2.1, 2020-11-11 {#clickhouse-release-v201121-2020-11-11} Backward Incompatible Change {#backward-incompatible-change-1} If some profile was specified in distributed_ddl config section, then this profile could overwrite settings of default profile on server startup. It's fixed, now settings of distributed DDL queries should not affect global server settings. #16635 ( tavplubix ).
{"source_file": "2020.md"}
[ -0.023635920137166977, -0.027767423540353775, -0.019746271893382072, 0.041173048317432404, -0.04484936222434044, -0.06650103628635406, 0.01689208298921585, 0.002069188514724374, -0.06298425048589706, 0.04881403222680092, 0.0324697270989418, -0.005788784474134445, -0.0028191006276756525, -0...
a9ded6bd-4472-4bb2-b47e-ca9a3503801f
Restrict to use of non-comparable data types (like AggregateFunction ) in keys (Sorting key, Primary key, Partition key, and so on). #16601 ( alesapin ). Remove ANALYZE and AST queries, and make the setting enable_debug_queries obsolete since now it is the part of full featured EXPLAIN query. #16536 ( Ivan ). Aggregate functions boundingRatio , rankCorr , retention , timeSeriesGroupSum , timeSeriesGroupRateSum , windowFunnel were erroneously made case-insensitive. Now their names are made case sensitive as designed. Only functions that are specified in SQL standard or made for compatibility with other DBMS or functions similar to those should be case-insensitive. #16407 ( alexey-milovidov ). Make rankCorr function return nan on insufficient data #16124 . #16135 ( hexiaoting ). When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-1} Added support of LDAP as a user directory for locally non-existent users. #12736 ( Denis Glazachev ). Add system.replicated_fetches table which shows currently running background fetches. #16428 ( alesapin ). Added setting date_time_output_format . #15845 ( Maksim Kita ). Added minimal web UI to ClickHouse. #16158 ( alexey-milovidov ). Allows to read/write Single protobuf message at once (w/o length-delimiters). #15199 ( filimonov ). Added initial OpenTelemetry support. ClickHouse now accepts OpenTelemetry traceparent headers over Native and HTTP protocols, and passes them downstream in some cases. The trace spans for executed queries are saved into the system.opentelemetry_span_log table. #14195 ( Alexander Kuzmenkov ). Allow specify primary key in column list of CREATE TABLE query. This is needed for compatibility with other SQL dialects. #15823 ( Maksim Kita ). Implement OFFSET offset_row_count {ROW | ROWS} FETCH {FIRST | NEXT} fetch_row_count {ROW | ROWS} {ONLY | WITH TIES} in SELECT query with ORDER BY. This is the SQL-standard way to specify LIMIT . #15855 ( hexiaoting ). errorCodeToName function - return variable name of the error (useful for analyzing query_log and similar). system.errors table - shows how many times errors has been happened (respects system_events_show_zero_values ). #16438 ( Azat Khuzhin ). Added function untuple which is a special function which can introduce new columns to the SELECT list by expanding a named tuple. #16242 ( Nikolai Kochetov , Amos Bird ).
{"source_file": "2020.md"}
[ 0.023409809917211533, -0.0444815568625927, 0.020794209092855453, 0.06476928293704987, -0.033820852637290955, -0.03687332198023796, -0.025455037131905556, 0.06674841046333313, -0.050529491156339645, 0.02314877137541771, 0.03613121435046196, -0.01021320279687643, 0.01749873347580433, -0.0048...
6a9678bb-8fc2-47b7-90db-48ed630c70b9
Added function untuple which is a special function which can introduce new columns to the SELECT list by expanding a named tuple. #16242 ( Nikolai Kochetov , Amos Bird ). Now we can provide identifiers via query parameters. And these parameters can be used as table objects or columns. #16594 ( Amos Bird ). Added big integers (UInt256, Int128, Int256) and UUID data types support for MergeTree BloomFilter index. Big integers is an experimental feature. #16642 ( Maksim Kita ). Add farmFingerprint64 function (non-cryptographic string hashing). #16570 ( Jacob Hayes ). Add log_queries_min_query_duration_ms , only queries slower than the value of this setting will go to query_log / query_thread_log (i.e. something like slow_query_log in mysql). #16529 ( Azat Khuzhin ). Ability to create a docker image on the top of Alpine . Uses precompiled binary and glibc components from ubuntu 20.04. #16479 ( filimonov ). Added toUUIDOrNull , toUUIDOrZero cast functions. #16337 ( Maksim Kita ). Add max_concurrent_queries_for_all_users setting, see #6636 for use cases. #16154 ( nvartolomei ). Add a new option print_query_id to clickhouse-client. It helps generate arbitrary strings with the current query id generated by the client. Also print query id in clickhouse-client by default. #15809 ( Amos Bird ). Add tid and logTrace functions. This closes #9434 . #15803 ( flynn ). Add function formatReadableTimeDelta that format time delta to human readable string ... #15497 ( Filipe Caixeta ). Added disable_merges option for volumes in multi-disk configuration. #13956 ( Vladimir Chebotarev ). Experimental Feature {#experimental-feature-1} New functions encrypt , aes_encrypt_mysql , decrypt , aes_decrypt_mysql . These functions are working slowly, so we consider it as an experimental feature. #11844 ( Vasily Nemkov ). Bug Fix {#bug-fix-6} Mask password in data_path in the system.distribution_queue . #16727 ( Azat Khuzhin ). Fix IN operator over several columns and tuples with enabled transform_null_in setting. Fixes #15310 . #16722 ( Anton Popov ). The setting max_parallel_replicas worked incorrectly if the queried table has no sampling. This fixes #5733 . #16675 ( alexey-milovidov ). Fix optimize_read_in_order/optimize_aggregation_in_order with max_threads > 0 and expression in ORDER BY. #16637 ( Azat Khuzhin ). Calculation of DEFAULT expressions was involving possible name collisions (that was very unlikely to encounter). This fixes #9359 . #16612 ( alexey-milovidov ). Fix query_thread_log.query_duration_ms unit. #16563 ( Azat Khuzhin ). Fix a bug when using MySQL Master -> MySQL Slave -> ClickHouse MaterializeMySQL Engine. MaterializeMySQL is an experimental feature. #16504 ( TCeason ).
{"source_file": "2020.md"}
[ 0.029205992817878723, 0.052893321961164474, -0.04739294946193695, 0.03636252135038376, 0.027996733784675598, -0.08882033079862595, 0.05150564759969711, -0.0011152932420372963, -0.03899222984910011, 0.04052146151661873, -0.0357639342546463, -0.02487730234861374, 0.033579498529434204, -0.067...
286842a9-1982-4e0f-8095-d770e2ac4e60
Fix a bug when using MySQL Master -> MySQL Slave -> ClickHouse MaterializeMySQL Engine. MaterializeMySQL is an experimental feature. #16504 ( TCeason ). Specifically crafted argument of round function with Decimal was leading to integer division by zero. This fixes #13338 . #16451 ( alexey-milovidov ). Fix DROP TABLE for Distributed (racy with INSERT). #16409 ( Azat Khuzhin ). Fix processing of very large entries in replication queue. Very large entries may appear in ALTER queries if table structure is extremely large (near 1 MB). This fixes #16307 . #16332 ( alexey-milovidov ). Fixed the inconsistent behaviour when a part of return data could be dropped because the set for its filtration wasn't created. #16308 ( Nikita Mikhaylov ). Fix dictGet in sharding_key (and similar places, i.e. when the function context is stored permanently). #16205 ( Azat Khuzhin ). Fix the exception thrown in clickhouse-local when trying to execute OPTIMIZE command. Fixes #16076 . #16192 ( filimonov ). Fixes #15780 regression, e.g. indexOf([1, 2, 3], toLowCardinality(1)) now is prohibited but it should not be. #16038 ( Mike ). Fix bug with MySQL database. When MySQL server used as database engine is down some queries raise Exception, because they try to get tables from disabled server, while it's unnecessary. For example, query SELECT ... FROM system.parts should work only with MergeTree tables and don't touch MySQL database at all. #16032 ( Kruglov Pavel ). Now exception will be thrown when ALTER MODIFY COLUMN ... DEFAULT ... has incompatible default with column type. Fixes #15854 . #15858 ( alesapin ). Fixed IPv4CIDRToRange/IPv6CIDRToRange functions to accept const IP-column values. #15856 ( vladimir-golovchenko ). Improvement {#improvement-2} Treat INTERVAL '1 hour' as equivalent to INTERVAL 1 HOUR , to be compatible with Postgres and similar. This fixes #15637 . #15978 ( flynn ). Enable parsing enum values by their numeric ids for CSV, TSV and JSON input formats. #15685 ( vivarum ). Better read task scheduling for JBOD architecture and MergeTree storage. New setting read_backoff_min_concurrency which serves as the lower limit to the number of reading threads. #16423 ( Amos Bird ). Add missing support for LowCardinality in Avro format. #16521 ( Mike ). Workaround for use S3 with nginx server as proxy. Nginx currenty does not accept urls with empty path like http://domain.com?delete , but vanilla aws-sdk-cpp produces this kind of urls. This commit uses patched aws-sdk-cpp version, which makes urls with "/" as path in this cases, like http://domain.com/?delete . #16814 ( ianton-ru ). Better diagnostics on parse errors in input data. Provide row number on Cannot read all data errors. #16644 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.02124154008924961, 0.023555587977170944, -0.00848042406141758, 0.02052048034965992, -0.03558625280857086, -0.1284237951040268, 0.02946082316339016, -0.016630277037620544, -0.05879870429635048, 0.10065948218107224, -0.011854376643896103, -0.04213818907737732, 0.13762174546718597, -0.0105...
5b3fa7a0-63f7-4348-ba68-23f844055ea7
Better diagnostics on parse errors in input data. Provide row number on Cannot read all data errors. #16644 ( alexey-milovidov ). Make the behaviour of minMap and maxMap more desireable. It will not skip zero values in the result. Fixes #16087 . #16631 ( Ildus Kurbangaliev ). Better update of ZooKeeper configuration in runtime. #16630 ( sundyli ). Apply SETTINGS clause as early as possible. It allows to modify more settings in the query. This closes #3178 . #16619 ( alexey-milovidov ). Now event_time_microseconds field stores in Decimal64, not UInt64. #16617 ( Nikita Mikhaylov ). Now paratmeterized functions can be used in APPLY column transformer. #16589 ( Amos Bird ). Improve scheduling of background task which removes data of dropped tables in Atomic databases. Atomic databases do not create broken symlink to table data directory if table actually has no data directory. #16584 ( tavplubix ). Subqueries in WITH section (CTE) can reference previous subqueries in WITH section by their name. #16575 ( Amos Bird ). Add current_database into system.query_thread_log . #16558 ( Azat Khuzhin ). Allow to fetch parts that are already committed or outdated in the current instance into the detached directory. It's useful when migrating tables from another cluster and having N to 1 shards mapping. It's also consistent with the current fetchPartition implementation. #16538 ( Amos Bird ). Multiple improvements for RabbitMQ : Fixed bug for #16263 . Also minimized event loop lifetime. Added more efficient queues setup. #16426 ( Kseniia Sumarokova ). Fix debug assertion in quantileDeterministic function. In previous version it may also transfer up to two times more data over the network. Although no bug existed. This fixes #15683 . #16410 ( alexey-milovidov ). Add TablesToDropQueueSize metric. It's equal to number of dropped tables, that are waiting for background data removal. #16364 ( tavplubix ). Better diagnostics when client has dropped connection. In previous versions, Attempt to read after EOF and Broken pipe exceptions were logged in server. In new version, it's information message Client has dropped the connection, cancel the query. . #16329 ( alexey-milovidov ). Add total_rows/total_bytes (from system.tables) support for Set/Join table engines. #16306 ( Azat Khuzhin ). Now it's possible to specify PRIMARY KEY without ORDER BY for MergeTree table engines family. Closes #15591 . #16284 ( alesapin ). If there is no tmp folder in the system (chroot, misconfigutation etc) clickhouse-local will create temporary subfolder in the current directory. #16280 ( filimonov ). Add support for nested data types (like named tuple) as sub-types. Fixes #15587 . #16262 ( Ivan ). Support for database_atomic_wait_for_drop_and_detach_synchronously / NO DELAY / SYNC for DROP DATABASE . #16127 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ 0.016096070408821106, 0.043499622493982315, 0.031580161303281784, -0.0019692808855324984, -0.019283056259155273, -0.06630788743495941, 0.007401143200695515, 0.10609927773475647, -0.04805120825767517, 0.04469496011734009, 0.025211233645677567, -0.1010168194770813, 0.011739947833120823, -0.0...
d9d29b0f-1711-4e69-9b42-80f795242ef7
Support for database_atomic_wait_for_drop_and_detach_synchronously / NO DELAY / SYNC for DROP DATABASE . #16127 ( Azat Khuzhin ). Add allow_nondeterministic_optimize_skip_unused_shards (to allow non deterministic like rand() or dictGet() in sharding key). #16105 ( Azat Khuzhin ). Fix memory_profiler_step / max_untracked_memory for queries via HTTP (test included). Fix the issue that adjusting this value globally in xml config does not help either, since those settings are not applied anyway, only default (4MB) value is used . Fix query_id for the most root ThreadStatus of the http query (by initializing QueryScope after reading query_id). #16101 ( Azat Khuzhin ). Now it's allowed to execute ALTER ... ON CLUSTER queries regardless of the <internal_replication> setting in cluster config. #16075 ( alesapin ). Fix rare issue when clickhouse-client may abort on exit due to loading of suggestions. This fixes #16035 . #16047 ( alexey-milovidov ). Add support of cache layout for Redis dictionaries with complex key. #15985 ( Anton Popov ). Fix query hang (endless loop) in case of misconfiguration ( connections_with_failover_max_tries set to 0). #15876 ( Azat Khuzhin ). Change level of some log messages from information to debug, so information messages will not appear for every query. This closes #5293 . #15816 ( alexey-milovidov ). Remove MemoryTrackingInBackground* metrics to avoid potentially misleading results. This fixes #15684 . #15813 ( alexey-milovidov ). Add reconnects to zookeeper-dump-tree tool. #15711 ( alexey-milovidov ). Allow explicitly specify columns list in CREATE TABLE table AS table_function(...) query. Fixes #9249 Fixes #14214 . #14295 ( tavplubix ). Performance Improvement {#performance-improvement-1} Do not merge parts across partitions in SELECT FINAL. #15938 ( Kruglov Pavel ). Improve performance of -OrNull and -OrDefault aggregate functions. #16661 ( alexey-milovidov ). Improve performance of quantileMerge . In previous versions it was obnoxiously slow. This closes #1463 . #16643 ( alexey-milovidov ). Improve performance of logical functions a little. #16347 ( alexey-milovidov ). Improved performance of merges assignment in MergeTree table engines. Shouldn't be visible for the user. #16191 ( alesapin ). Speedup hashed/sparse_hashed dictionary loading by preallocating the hash table. #15454 ( Azat Khuzhin ). Now trivial count optimization becomes slightly non-trivial. Predicates that contain exact partition expr can be optimized too. This also fixes #11092 which returns wrong count when max_parallel_replicas > 1 . #15074 ( Amos Bird ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-3} Add flaky check for stateless tests. It will detect potentially flaky functional tests in advance, before they are merged. #16238 ( alesapin ).
{"source_file": "2020.md"}
[ 0.029584182426333427, -0.009331385605037212, -0.01113143190741539, 0.06357094645500183, -0.018103530630469322, -0.04440315440297127, -0.027476120740175247, -0.010572250932455063, -0.016027847304940224, 0.013018584810197353, 0.06934548169374466, -0.03763199970126152, 0.05891699716448784, -0...
51e068a1-4afe-4640-b772-941eaf799212
Add flaky check for stateless tests. It will detect potentially flaky functional tests in advance, before they are merged. #16238 ( alesapin ). Use proper version for croaring instead of amalgamation. #16285 ( sundyli ). Improve generation of build files for ya.make build system (Arcadia). #16700 ( alexey-milovidov ). Add MySQL BinLog file check tool for MaterializeMySQL database engine. MaterializeMySQL is an experimental feature. #16223 ( Winter Zhang ). Check for executable bit on non-executable files. People often accidentially commit executable files from Windows. #15843 ( alexey-milovidov ). Check for #pragma once in headers. #15818 ( alexey-milovidov ). Fix illegal code style &vector[idx] in libhdfs3. This fixes libcxx debug build. See also https://github.com/ClickHouse-Extras/libhdfs3/pull/8 . #15815 ( Amos Bird ). Fix build of one miscellaneous example tool on Mac OS. Note that we don't build examples on Mac OS in our CI (we build only ClickHouse binary), so there is zero chance it will not break again. This fixes #15804 . #15808 ( alexey-milovidov ). Simplify Sys/V init script. #14135 ( alexey-milovidov ). Added boost::program_options to db_generator in order to increase its usability. This closes #15940 . #15973 ( Nikita Mikhaylov ). ClickHouse release 20.10 {#clickhouse-release-2010} ClickHouse release v20.10.7.4-stable, 2020-12-24 {#clickhouse-release-v201074-stable-2020-12-24} Bug Fix {#bug-fix-7} Fixed issue when clickhouse-odbc-bridge process is unreachable by server on machines with dual IPv4/IPv6 stack and fixed issue when ODBC dictionary updates are performed using malformed queries and/or cause crashes. This possibly closes #14489 . #18278 ( Denis Glazachev ). Fix key comparison between Enum and Int types. This fixes #17989 . #18214 ( Amos Bird ). Fixed unique key convert crash in MaterializeMySQL database engine. This fixes #18186 and fixes #16372 #18211 ( Winter Zhang ). Fixed std::out_of_range: basic_string in S3 URL parsing. #18059 ( Vladimir Chebotarev ). Fixed the issue when some tables not synchronized to ClickHouse from MySQL caused by the fact that convertion MySQL prefix index wasn't supported for MaterializeMySQL. This fixes #15187 and fixes #17912 #17944 ( Winter Zhang ). Fix possible segfault in topK aggregate function. This closes #17404 . #17845 ( Maksim Kita ). Do not restore parts from WAL if in_memory_parts_enable_wal is disabled. #17802 ( detailyang ). Fixed problem when ClickHouse fails to resume connection to MySQL servers. #17681 ( Alexander Kazakov ). Fixed empty system.stack_trace table when server is running in daemon mode. #17630 ( Amos Bird ). Fixed the behaviour when clickhouse-client is used in interactive mode with multiline queries and single line comment was erronously extended till the end of query. This fixes #13654 . #17565 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ 0.027638360857963562, -0.04394800215959549, -0.030261920765042305, -0.027959398925304413, 0.018268121406435966, -0.06269094347953796, -0.0023657572455704212, -0.04610547050833702, -0.0848836749792099, 0.012293625622987747, -0.029258791357278824, -0.039174266159534454, 0.04662705957889557, ...
e648356a-24b3-4d0f-86c0-f2da26e777de
Fixed the issue when server can stop accepting connections in very rare cases. #17542 ( alexey-milovidov ). Fixed ALTER query hang when the corresponding mutation was killed on the different replica. This fixes #16953 . #17499 ( alesapin ). Fixed bug when mark cache size was underestimated by clickhouse. It may happen when there are a lot of tiny files with marks. #17496 ( alesapin ). Fixed ORDER BY with enabled setting optimize_redundant_functions_in_order_by . #17471 ( Anton Popov ). Fixed duplicates after DISTINCT which were possible because of incorrect optimization. Fixes #17294 . #17296 ( li chengxiang ). #17439 ( Nikolai Kochetov ). Fixed crash while reading from JOIN table with LowCardinality types. This fixes #17228 . #17397 ( Nikolai Kochetov ). Fixed set index invalidation when there are const columns in the subquery. This fixes #17246 . #17249 ( Amos Bird ). Fixed ColumnConst comparison which leads to crash. This fixed #17088 . #17135 ( Amos Bird ). Fixed bug when ON CLUSTER queries may hang forever for non-leader ReplicatedMergeTreeTables . #17089 ( alesapin ). Fixed fuzzer-found bug in function fuzzBits . This fixes #16980 . #17051 ( hexiaoting ). Avoid unnecessary network errors for remote queries which may be cancelled while execution, like queries with LIMIT . #17006 ( Azat Khuzhin ). Fixed wrong result in big integers (128, 256 bit) when casting from double. #16986 ( Mike ). Reresolve the IP of the format_avro_schema_registry_url in case of errors. #16985 ( filimonov ). Fixed possible server crash after ALTER TABLE ... MODIFY COLUMN ... NewType when SELECT have WHERE expression on altering column and alter does not finished yet. #16968 ( Amos Bird ). Blame info was not calculated correctly in clickhouse-git-import . #16959 ( alexey-milovidov ). Fixed order by optimization with monotonous functions. This fixes #16107 . #16956 ( Anton Popov ). Fixrf optimization of group by with enabled setting optimize_aggregators_of_group_by_keys and joins. This fixes #12604 . #16951 ( Anton Popov ). Install script should always create subdirs in config folders. This is only relevant for Docker build with custom config. #16936 ( filimonov ). Fixrf possible error Illegal type of argument for queries with ORDER BY . This fixes #16580 . #16928 ( Nikolai Kochetov ). Abort multipart upload if no data was written to WriteBufferFromS3 . #16840 ( Pavel Kovalenko ). Fixed crash when using any without any arguments. This fixes #16803 . #16826 ( Amos Bird ). Fixed the behaviour when ClickHouse used to always return 0 insted of a number of affected rows for INSERT queries via MySQL protocol. This fixes #16605 . #16715 ( Winter Zhang ). Fixed uncontrolled growth of TDigest . #16680 ( hrissan ).
{"source_file": "2020.md"}
[ -0.004919037222862244, -0.05726611986756325, 0.01781965233385563, 0.05620186775922775, -0.010669502429664135, -0.050638116896152496, -0.004190292675048113, -0.004394125193357468, -0.023475538939237595, 0.012619786895811558, -0.009231120347976685, 0.05761599913239479, 0.004252615850418806, ...
e3f0a45f-457e-44cd-b83b-d27e08cc6f7a
Fixed uncontrolled growth of TDigest . #16680 ( hrissan ). Fixed remote query failure when using suffix if in Aggregate function. This fixes #16574 fixes #16231 #16610 ( Winter Zhang ). ClickHouse release v20.10.4.1-stable, 2020-11-13 {#clickhouse-release-v201041-stable-2020-11-13} Bug Fix {#bug-fix-8} Fix rare silent crashes when query profiler is on and ClickHouse is installed on OS with glibc version that has (supposedly) broken asynchronous unwind tables for some functions. This fixes #15301 . This fixes #13098 . #16846 ( alexey-milovidov ). Fix IN operator over several columns and tuples with enabled transform_null_in setting. Fixes #15310 . #16722 ( Anton Popov ). This will fix optimize_read_in_order/optimize_aggregation_in_order with max_threads>0 and expression in ORDER BY. #16637 ( Azat Khuzhin ). Now when parsing AVRO from input the LowCardinality is removed from type. Fixes #16188 . #16521 ( Mike ). Fix rapid growth of metadata when using MySQL Master -> MySQL Slave -> ClickHouse MaterializeMySQL Engine, and slave_parallel_worker enabled on MySQL Slave, by properly shrinking GTID sets. This fixes #15951 . #16504 ( TCeason ). Fix DROP TABLE for Distributed (racy with INSERT). #16409 ( Azat Khuzhin ). Fix processing of very large entries in replication queue. Very large entries may appear in ALTER queries if table structure is extremely large (near 1 MB). This fixes #16307 . #16332 ( alexey-milovidov ). Fix bug with MySQL database. When MySQL server used as database engine is down some queries raise Exception, because they try to get tables from disabled server, while it's unnecessary. For example, query SELECT ... FROM system.parts should work only with MergeTree tables and don't touch MySQL database at all. #16032 ( Kruglov Pavel ). Improvement {#improvement-3} Workaround for use S3 with nginx server as proxy. Nginx currenty does not accept urls with empty path like http://domain.com?delete, but vanilla aws-sdk-cpp produces this kind of urls. This commit uses patched aws-sdk-cpp version, which makes urls with "/" as path in this cases, like http://domain.com/?delete. #16813 ( ianton-ru ). ClickHouse release v20.10.3.30, 2020-10-28 {#clickhouse-release-v2010330-2020-10-28} Backward Incompatible Change {#backward-incompatible-change-2} Make multiple_joins_rewriter_version obsolete. Remove first version of joins rewriter. #15472 ( Artem Zuikov ). Change default value of format_regexp_escaping_rule setting (it's related to Regexp format) to Raw (it means - read whole subpattern as a value) to make the behaviour more like to what users expect. #15426 ( alexey-milovidov ). Add support for nested multiline comments /* comment /* comment */ */ in SQL. This conforms to the SQL standard. #14655 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.04004555195569992, -0.0991409495472908, 0.004037849139422178, 0.04034283012151718, -0.017611166462302208, -0.041827768087387085, -0.011643308214843273, 0.02164456620812416, -0.07143418490886688, -0.0013079183408990502, 0.03661801293492317, 0.004059548489749432, -0.0195708516985178, -0.0...
ff81db79-1c15-4b40-b5c4-76b90ea307dc
Add support for nested multiline comments /* comment /* comment */ */ in SQL. This conforms to the SQL standard. #14655 ( alexey-milovidov ). Added MergeTree settings ( max_replicated_merges_with_ttl_in_queue and max_number_of_merges_with_ttl_in_pool ) to control the number of merges with TTL in the background pool and replicated queue. This change breaks compatibility with older versions only if you use delete TTL. Otherwise, replication will stay compatible. You can avoid incompatibility issues if you update all shard replicas at once or execute SYSTEM STOP TTL MERGES until you finish the update of all replicas. If you'll get an incompatible entry in the replication queue, first of all, execute SYSTEM STOP TTL MERGES and after ALTER TABLE ... DETACH PARTITION ... the partition where incompatible TTL merge was assigned. Attach it back on a single replica. #14490 ( alesapin ). When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-2} Background data recompression. Add the ability to specify TTL ... RECOMPRESS codec_name for MergeTree table engines family. #14494 ( alesapin ). Add parallel quorum inserts. This closes #15601 . #15601 ( Latysheva Alexandra ). Settings for additional enforcement of data durability. Useful for non-replicated setups. #11948 ( Anton Popov ). When duplicate block is written to replica where it does not exist locally (has not been fetched from replicas), don't ignore it and write locally to achieve the same effect as if it was successfully replicated. #11684 ( alexey-milovidov ). Now we support WITH <identifier> AS (subquery) ... to introduce named subqueries in the query context. This closes #2416 . This closes #4967 . #14771 ( Amos Bird ). Introduce enable_global_with_statement setting which propagates the first select's WITH statements to other select queries at the same level, and makes aliases in WITH statements visible to subqueries. #15451 ( Amos Bird ). Secure inter-cluster query execution (with initial_user as current query user). #13156 ( Azat Khuzhin ). #15551 ( Azat Khuzhin ). Add the ability to remove column properties and table TTLs. Introduced queries ALTER TABLE MODIFY COLUMN col_name REMOVE what_to_remove and ALTER TABLE REMOVE TTL . Both operations are lightweight and executed at the metadata level. #14742 ( alesapin ).
{"source_file": "2020.md"}
[ -0.0046866158954799175, -0.13998666405677795, 0.003166132140904665, -0.06865456700325012, -0.0834735631942749, -0.052589308470487595, -0.08171619474887848, -0.032477155327796936, -0.0006718560471199453, 0.012941576540470123, 0.037714745849370956, 0.06007332727313042, 0.05875541269779205, -...
d5729989-2494-4f51-9c40-869d60cf7f11
Added format RawBLOB . It is intended for input or output a single value without any escaping and delimiters. This closes #15349 . #15364 ( alexey-milovidov ). Add the reinterpretAsUUID function that allows to convert a big-endian byte string to UUID. #15480 ( Alexander Kuzmenkov ). Implement force_data_skipping_indices setting. #15642 ( Azat Khuzhin ). Add a setting output_format_pretty_row_numbers to numerate the result in Pretty formats. This closes #15350 . #15443 ( flynn ). Added query obfuscation tool. It allows to share more queries for better testing. This closes #15268 . #15321 ( alexey-milovidov ). Add table function null('structure') . #14797 ( vxider ). Added formatReadableQuantity function. It is useful for reading big numbers by human. #14725 ( Artem Hnilov ). Add format LineAsString that accepts a sequence of lines separated by newlines, every line is parsed as a whole as a single String field. #14703 ( Nikita Mikhaylov ), #13846 ( hexiaoting ). Add JSONStrings format which output data in arrays of strings. #14333 ( hcz ). Add support for "Raw" column format for Regexp format. It allows to simply extract subpatterns as a whole without any escaping rules. #15363 ( alexey-milovidov ). Allow configurable NULL representation for TSV output format. It is controlled by the setting output_format_tsv_null_representation which is \N by default. This closes #9375 . Note that the setting only controls output format and \N is the only supported NULL representation for TSV input format. #14586 ( Kruglov Pavel ). Support Decimal data type for MaterializeMySQL . MaterializeMySQL is an experimental feature. #14535 ( Winter Zhang ). Add new feature: SHOW DATABASES LIKE 'xxx' . #14521 ( hexiaoting ). Added a script to import (arbitrary) git repository to ClickHouse as a sample dataset. #14471 ( alexey-milovidov ). Now insert statements can have asterisk (or variants) with column transformers in the column list. #14453 ( Amos Bird ). New query complexity limit settings max_rows_to_read_leaf , max_bytes_to_read_leaf for distributed queries to limit max rows/bytes read on the leaf nodes. Limit is applied for local reads only, excluding the final merge stage on the root node. #14221 ( Roman Khavronenko ). Allow user to specify settings for ReplicatedMergeTree* storage in <replicated_merge_tree> section of config file. It works similarly to <merge_tree> section. For ReplicatedMergeTree* storages settings from <merge_tree> and <replicated_merge_tree> are applied together, but settings from <replicated_merge_tree> has higher priority. Added system.replicated_merge_tree_settings table. #13573 ( Amos Bird ). Add mapPopulateSeries function. #13166 ( Ildus Kurbangaliev ). Supporting MySQL types: decimal (as ClickHouse Decimal ) and datetime with sub-second precision (as DateTime64 ). #11512 ( Vasily Nemkov ).
{"source_file": "2020.md"}
[ 0.007605729624629021, 0.03661171346902847, -0.05627773702144623, -0.008710512891411781, -0.03910868242383003, -0.03275758773088455, -0.011103580705821514, 0.03763581067323685, -0.039697445929050446, 0.035272084176540375, -0.06041234731674194, -0.03836464881896973, 0.010998808778822422, -0....
96fd19c8-e1c6-431f-a580-81082f68bc57
Supporting MySQL types: decimal (as ClickHouse Decimal ) and datetime with sub-second precision (as DateTime64 ). #11512 ( Vasily Nemkov ). Introduce event_time_microseconds field to system.text_log , system.trace_log , system.query_log and system.query_thread_log tables. #14760 ( Bharat Nallan ). Add event_time_microseconds to system.asynchronous_metric_log & system.metric_log tables. #14514 ( Bharat Nallan ). Add query_start_time_microseconds field to system.query_log & system.query_thread_log tables. #14252 ( Bharat Nallan ). Bug Fix {#bug-fix-9} Fix the case when memory can be overallocated regardless to the limit. This closes #14560 . #16206 ( alexey-milovidov ). Fix executable dictionary source hang. In previous versions, when using some formats (e.g. JSONEachRow ) data was not feed to a child process before it outputs at least something. This closes #1697 . This closes #2455 . #14525 ( alexey-milovidov ). Fix double free in case of exception in function dictGet . It could have happened if dictionary was loaded with error. #16429 ( Nikolai Kochetov ). Fix group by with totals/rollup/cube modifers and min/max functions over group by keys. Fixes #16393 . #16397 ( Anton Popov ). Fix async Distributed INSERT with prefer_localhost_replica=0 and internal_replication. #16358 ( Azat Khuzhin ). Fix a very wrong code in TwoLevelStringHashTable implementation, which might lead to memory leak. #16264 ( Amos Bird ). Fix segfault in some cases of wrong aggregation in lambdas. #16082 ( Anton Popov ). Fix ALTER MODIFY ... ORDER BY query hang for ReplicatedVersionedCollapsingMergeTree . This fixes #15980 . #16011 ( alesapin ). MaterializeMySQL (experimental feature): Fix collate name & charset name parser and support length = 0 for string type. #16008 ( Winter Zhang ). Allow to use direct layout for dictionaries with complex keys. #16007 ( Anton Popov ). Prevent replica hang for 5-10 mins when replication error happens after a period of inactivity. #15987 ( filimonov ). Fix rare segfaults when inserting into or selecting from MaterializedView and concurrently dropping target table (for Atomic database engine). #15984 ( tavplubix ). Fix ambiguity in parsing of settings profiles: CREATE USER ... SETTINGS profile readonly is now considered as using a profile named readonly , not a setting named profile with the readonly constraint. This fixes #15628 . #15982 ( Vitaly Baranov ). MaterializeMySQL (experimental feature): Fix crash on create database failure. #15954 ( Winter Zhang ).
{"source_file": "2020.md"}
[ 0.011112581007182598, -0.03712500259280205, -0.05244961008429527, 0.03210626170039177, -0.012987671419978142, -0.09059453755617142, 0.011157987639307976, 0.057289935648441315, 0.004213233944028616, 0.059894729405641556, 0.0004673802759498358, -0.02096731960773468, 0.023702843114733696, 0.0...
066d6be3-846e-4160-902b-a42e401046db
MaterializeMySQL (experimental feature): Fix crash on create database failure. #15954 ( Winter Zhang ). Fixed DROP TABLE IF EXISTS failure with Table ... does not exist error when table is concurrently renamed (for Atomic database engine). Fixed rare deadlock when concurrently executing some DDL queries with multiple tables (like DROP DATABASE and RENAME TABLE ) - Fixed DROP/DETACH DATABASE failure with Table ... does not exist when concurrently executing DROP/DETACH TABLE . #15934 ( tavplubix ). Fix incorrect empty result for query from Distributed table if query has WHERE , PREWHERE and GLOBAL IN . Fixes #15792 . #15933 ( Nikolai Kochetov ). Fixes #12513 : difference expressions with same alias when query is reanalyzed. #15886 ( Winter Zhang ). Fix possible very rare deadlocks in RBAC implementation. #15875 ( Vitaly Baranov ). Fix exception Block structure mismatch in SELECT ... ORDER BY DESC queries which were executed after ALTER MODIFY COLUMN query. Fixes #15800 . #15852 ( alesapin ). MaterializeMySQL (experimental feature): Fix select count() inaccuracy. #15767 ( tavplubix ). Fix some cases of queries, in which only virtual columns are selected. Previously Not found column _nothing in block exception may be thrown. Fixes #12298 . #15756 ( Anton Popov ). Fix drop of materialized view with inner table in Atomic database (hangs all subsequent DROP TABLE due to hang of the worker thread, due to recursive DROP TABLE for inner table of MV). #15743 ( Azat Khuzhin ). Possibility to move part to another disk/volume if the first attempt was failed. #15723 ( Pavel Kovalenko ). Fix error Cannot find column which may happen at insertion into MATERIALIZED VIEW in case if query for MV containes ARRAY JOIN . #15717 ( Nikolai Kochetov ). Fixed too low default value of max_replicated_logs_to_keep setting, which might cause replicas to become lost too often. Improve lost replica recovery process by choosing the most up-to-date replica to clone. Also do not remove old parts from lost replica, detach them instead. #15701 ( tavplubix ). Fix rare race condition in dictionaries and tables from MySQL. #15686 ( alesapin ). Fix (benign) race condition in AMQP-CPP. #15667 ( alesapin ). Fix error Cannot add simple transform to empty Pipe which happened while reading from Buffer table which has different structure than destination table. It was possible if destination table returned empty result for query. Fixes #15529 . #15662 ( Nikolai Kochetov ). Proper error handling during insert into MergeTree with S3. MergeTree over S3 is an experimental feature. #15657 ( Pavel Kovalenko ). Fixed bug with S3 table function: region from URL was not applied to S3 client configuration. #15646 ( Vladimir Chebotarev ).
{"source_file": "2020.md"}
[ -0.07709765434265137, -0.08705145865678787, 0.03027017042040825, 0.03044019639492035, -0.014843221753835678, -0.06942816078662872, 0.006521887145936489, -0.020329417660832405, -0.06088454648852348, 0.06917703151702881, 0.055199671536684036, -0.020890973508358, 0.09953755140304565, -0.02908...
aa254d22-95df-4e20-b4a8-0e5a070f2bf4
Fixed bug with S3 table function: region from URL was not applied to S3 client configuration. #15646 ( Vladimir Chebotarev ). Fix the order of destruction for resources in ReadFromStorage step of query plan. It might cause crashes in rare cases. Possibly connected with #15610 . #15645 ( Nikolai Kochetov ). Subtract ReadonlyReplica metric when detach readonly tables. #15592 ( sundyli ). Fixed Element ... is not a constant expression error when using JSON* function result in VALUES , LIMIT or right side of IN operator. #15589 ( tavplubix ). Query will finish faster in case of exception. Cancel execution on remote replicas if exception happens. #15578 ( Azat Khuzhin ). Prevent the possibility of error message Could not calculate available disk space (statvfs), errno: 4, strerror: Interrupted system call . This fixes #15541 . #15557 ( alexey-milovidov ). Fix Database <db> does not exist. in queries with IN and Distributed table when there's no database on initiator. #15538 ( Artem Zuikov ). Mutation might hang waiting for some non-existent part after MOVE or REPLACE PARTITION or, in rare cases, after DETACH or DROP PARTITION . It's fixed. #15537 ( tavplubix ). Fix bug when ILIKE operator stops being case insensitive if LIKE with the same pattern was executed. #15536 ( alesapin ). Fix Missing columns errors when selecting columns which absent in data, but depend on other columns which also absent in data. Fixes #15530 . #15532 ( alesapin ). Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it. #15516 ( nvartolomei ). Fix bug with event subscription in DDLWorker which rarely may lead to query hangs in ON CLUSTER . Introduced in #13450 . #15477 ( alesapin ). Report proper error when the second argument of boundingRatio aggregate function has a wrong type. #15407 ( detailyang ). Fixes #15365 : attach a database with MySQL engine throws exception (no query context). #15384 ( Winter Zhang ). Fix the case of multiple occurrences of column transformers in a select query. #15378 ( Amos Bird ). Fixed compression in S3 storage. #15376 ( Vladimir Chebotarev ). Fix bug where queries like SELECT toStartOfDay(today()) fail complaining about empty time_zone argument. #15319 ( Bharat Nallan ). Fix race condition during MergeTree table rename and background cleanup. #15304 ( alesapin ). Fix rare race condition on server startup when system logs are enabled. #15300 ( alesapin ). Fix hang of queries with a lot of subqueries to same table of MySQL engine. Previously, if there were more than 16 subqueries to same MySQL table in query, it hang forever. #15299 ( Anton Popov ). Fix MSan report in QueryLog. Uninitialized memory can be used for the field memory_usage . #15258 ( alexey-milovidov ). Fix 'Unknown identifier' in GROUP BY when query has JOIN over Merge table. #15242 ( Artem Zuikov ).
{"source_file": "2020.md"}
[ -0.032785363495349884, -0.007701181340962648, -0.06175975501537323, 0.04098556935787201, -0.01811436004936695, -0.0725695937871933, -0.051979485899209976, 0.03985429182648659, 0.02931254915893078, 0.04718812555074692, 0.032154977321624756, 0.0491219237446785, 0.09370436519384384, -0.042510...
2c445fd5-9c15-4b63-a7cc-aab8ec6ba953
Fix 'Unknown identifier' in GROUP BY when query has JOIN over Merge table. #15242 ( Artem Zuikov ). Fix instance crash when using joinGet with LowCardinality types. This fixes #15214 . #15220 ( Amos Bird ). Fix bug in table engine Buffer which does not allow to insert data of new structure into Buffer after ALTER query. Fixes #15117 . #15192 ( alesapin ). Adjust Decimal field size in MySQL column definition packet. #15152 ( maqroll ). Fixes Data compressed with different methods in join_algorithm='auto' . Keep LowCardinality as type for left table join key in join_algorithm='partial_merge' . #15088 ( Artem Zuikov ). Update jemalloc to fix percpu_arena with affinity mask. #15035 ( Azat Khuzhin ). #14957 ( Azat Khuzhin ). We already use padded comparison between String and FixedString (https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h#L333). This PR applies the same logic to field comparison which corrects the usage of FixedString as primary keys. This fixes #14908 . #15033 ( Amos Bird ). If function bar was called with specifically crafted arguments, buffer overflow was possible. This closes #13926 . #15028 ( alexey-milovidov ). Fixed Cannot rename ... errno: 22, strerror: Invalid argument error on DDL query execution in Atomic database when running clickhouse-server in Docker on Mac OS. #15024 ( tavplubix ). Fix crash in RIGHT or FULL JOIN with join_algorith='auto' when memory limit exceeded and we should change HashJoin with MergeJoin. #15002 ( Artem Zuikov ). Now settings number_of_free_entries_in_pool_to_execute_mutation and number_of_free_entries_in_pool_to_lower_max_size_of_merge can be equal to background_pool_size . #14975 ( alesapin ). Fix to make predicate push down work when subquery contains finalizeAggregation function. Fixes #14847 . #14937 ( filimonov ). Publish CPU frequencies per logical core in system.asynchronous_metrics . This fixes #14923 . #14924 ( Alexander Kuzmenkov ). MaterializeMySQL (experimental feature): Fixed .metadata.tmp File exists error. #14898 ( Winter Zhang ). Fix the issue when some invocations of extractAllGroups function may trigger "Memory limit exceeded" error. This fixes #13383 . #14889 ( alexey-milovidov ). Fix SIGSEGV for an attempt to INSERT into StorageFile with file descriptor. #14887 ( Azat Khuzhin ). Fixed segfault in cache dictionary #14837 . #14879 ( Nikita Mikhaylov ). MaterializeMySQL (experimental feature): Fixed bug in parsing MySQL binlog events, which causes Attempt to read after eof and Packet payload is not fully read in MaterializeMySQL database engine. #14852 ( Winter Zhang ). Fix rare error in SELECT queries when the queried column has DEFAULT expression which depends on the other column which also has DEFAULT and not present in select query and not exists on disk. Partially fixes #14531 . #14845 ( alesapin ).
{"source_file": "2020.md"}
[ 0.02699792943894863, 0.054875023663043976, 0.005839372519403696, 0.027936356142163277, -0.04954875260591507, -0.06531878560781479, 0.07404569536447525, 0.0030158318113535643, -0.06710793823003769, -0.01940290629863739, 0.01108497940003872, -0.06788863986730576, -0.005406699143350124, -0.06...
f4a492c1-716b-4967-8fee-a7bc7a6a373b
Fix a problem where the server may get stuck on startup while talking to ZooKeeper, if the configuration files have to be fetched from ZK (using the from_zk include option). This fixes #14814 . #14843 ( Alexander Kuzmenkov ). Fix wrong monotonicity detection for shrunk Int -> Int cast of signed types. It might lead to incorrect query result. This bug is unveiled in #14513 . #14783 ( Amos Bird ). Replace column transformer should replace identifiers with cloned ASTs. This fixes #14695 . #14734 ( Amos Bird ). Fixed missed default database name in metadata of materialized view when executing ALTER ... MODIFY QUERY . #14664 ( tavplubix ). Fix bug when ALTER UPDATE mutation with Nullable column in assignment expression and constant value (like UPDATE x = 42 ) leads to incorrect value in column or segfault. Fixes #13634 , #14045 . #14646 ( alesapin ). Fix wrong Decimal multiplication result caused wrong decimal scale of result column. #14603 ( Artem Zuikov ). Fix function has with LowCardinality of Nullable . #14591 ( Mike ). Cleanup data directory after Zookeeper exceptions during CreateQuery for StorageReplicatedMergeTree Engine. #14563 ( Bharat Nallan ). Fix rare segfaults in functions with combinator -Resample , which could appear in result of overflow with very large parameters. #14562 ( Anton Popov ). Fix a bug when converting Nullable(String) to Enum. Introduced by #12745 . This fixes #14435 . #14530 ( Amos Bird ). Fixed the incorrect sorting order of Nullable column. This fixes #14344 . #14495 ( Nikita Mikhaylov ). Fix currentDatabase() function cannot be used in ON CLUSTER ddl query. #14211 ( Winter Zhang ). MaterializeMySQL (experimental feature): Fixed Packet payload is not fully read error in MaterializeMySQL database engine. #14696 ( BohuTANG ). Improvement {#improvement-4} Enable Atomic database engine by default for newly created databases. #15003 ( tavplubix ). Add the ability to specify specialized codecs like Delta , T64 , etc. for columns with subtypes. Implements #12551 , fixes #11397 , fixes #4609 . #15089 ( alesapin ). Dynamic reload of zookeeper config. #14678 ( sundyli ). Now it's allowed to execute ALTER ... ON CLUSTER queries regardless of the <internal_replication> setting in cluster config. #16075 ( alesapin ). Now joinGet supports multi-key lookup. Continuation of #12418 . #13015 ( Amos Bird ). Wait for DROP/DETACH TABLE to actually finish if NO DELAY or SYNC is specified for Atomic database. #15448 ( tavplubix ). Now it's possible to change the type of version column for VersionedCollapsingMergeTree with ALTER query. #15442 ( alesapin ). Unfold {database} , {table} and {uuid} macros in zookeeper_path on replicated table creation. Do not allow RENAME TABLE if it may break zookeeper_path after server restart. Fixes #6917 . #15348 ( tavplubix ).
{"source_file": "2020.md"}
[ -0.010026350617408752, 0.03457789123058319, -0.02075383998453617, 0.023900894448161125, -0.011504045687615871, -0.08486184477806091, -0.02316172979772091, 0.019672628492116928, -0.034944042563438416, 0.0414741076529026, -0.02878548763692379, -0.05313684046268463, -0.007230657618492842, 0.0...
a6f8fcad-6d39-4985-91a4-b49422c7ad66
The function now allows an argument with timezone. This closes 15264 . #15285 ( flynn ). Do not allow connections to ClickHouse server until all scripts in /docker-entrypoint-initdb.d/ are executed. #15244 ( Aleksei Kozharin ). Added optimize setting to EXPLAIN PLAN query. If enabled, query plan level optimisations are applied. Enabled by default. #15201 ( Nikolai Kochetov ). Proper exception message for wrong number of arguments of CAST. This closes #13992 . #15029 ( alexey-milovidov ). Add option to disable TTL move on data part insert. #15000 ( Pavel Kovalenko ). Ignore key constraints when doing mutations. Without this pull request, it's not possible to do mutations when force_index_by_date = 1 or force_primary_key = 1 . #14973 ( Amos Bird ). Allow to drop Replicated table if previous drop attempt was failed due to ZooKeeper session expiration. This fixes #11891 . #14926 ( alexey-milovidov ). Fixed excessive settings constraint violation when running SELECT with SETTINGS from a distributed table. #14876 ( Amos Bird ). Provide a load_balancing_first_offset query setting to explicitly state what the first replica is. It's used together with FIRST_OR_RANDOM load balancing strategy, which allows to control replicas workload. #14867 ( Amos Bird ). Show subqueries for SET and JOIN in EXPLAIN result. #14856 ( Nikolai Kochetov ). Allow using multi-volume storage configuration in storage Distributed . #14839 ( Pavel Kovalenko ). Construct query_start_time and query_start_time_microseconds from the same timespec. #14831 ( Bharat Nallan ). Support for disabling persistency for StorageJoin and StorageSet , this feature is controlled by setting disable_set_and_join_persistency . And this PR solved issue #6318 . #14776 ( vxider ). Now COLUMNS can be used to wrap over a list of columns and apply column transformers afterwards. #14775 ( Amos Bird ). Add merge_algorithm to system.merges table to improve merging inspections. #14705 ( Amos Bird ). Fix potential memory leak caused by zookeeper exists watch. #14693 ( hustnn ). Allow parallel execution of distributed DDL. #14684 ( Azat Khuzhin ). Add QueryMemoryLimitExceeded event counter. This closes #14589 . #14647 ( fastio ). Fix some trailing whitespaces in query formatting. #14595 ( Azat Khuzhin ). ClickHouse treats partition expr and key expr differently. Partition expr is used to construct an minmax index containing related columns, while primary key expr is stored as an expr. Sometimes user might partition a table at coarser levels, such as partition by i / 1000 . However, binary operators are not monotonic and this PR tries to fix that. It might also benifit other use cases. #14513 ( Amos Bird ). Add an option to skip access checks for DiskS3 . s3 disk is an experimental feature. #14497 ( Pavel Kovalenko ).
{"source_file": "2020.md"}
[ -0.03765776380896568, 0.017449544742703438, -0.0222867950797081, -0.0035188619513064623, -0.002477425616234541, -0.05607638880610466, -0.022759022191166878, -0.02171705849468708, -0.021857768297195435, 0.056930337101221085, -0.057852018624544144, -0.03756803274154663, 0.01449691504240036, ...
9f547c36-ec1e-4e99-8209-fe991380f948
Add an option to skip access checks for DiskS3 . s3 disk is an experimental feature. #14497 ( Pavel Kovalenko ). Speed up server shutdown process if there are ongoing S3 requests. #14496 ( Pavel Kovalenko ). SYSTEM RELOAD CONFIG now throws an exception if failed to reload and continues using the previous users.xml. The background periodic reloading also continues using the previous users.xml if failed to reload. #14492 ( Vitaly Baranov ). For INSERTs with inline data in VALUES format in the script mode of clickhouse-client , support semicolon as the data terminator, in addition to the new line. Closes #12288 . #13192 ( Alexander Kuzmenkov ). Support custom codecs in compact parts. #12183 ( Anton Popov ). Performance Improvement {#performance-improvement-2} Enable compact parts by default for small parts. This will allow to process frequent inserts slightly more efficiently (4..100 times). #11913 ( alexey-milovidov ). Improve quantileTDigest performance. This fixes #2668 . #15542 ( Kruglov Pavel ). Significantly reduce memory usage in AggregatingInOrderTransform/optimize_aggregation_in_order. #15543 ( Azat Khuzhin ). Faster 256-bit multiplication. #15418 ( Artem Zuikov ). Improve performance of 256-bit types using (u)int64_t as base type for wide integers. Original wide integers use 8-bit types as base. #14859 ( Artem Zuikov ). Explicitly use a temporary disk to store vertical merge temporary data. #15639 ( Grigory Pervakov ). Use one S3 DeleteObjects request instead of multiple DeleteObject in a loop. No any functionality changes, so covered by existing tests like integration/test_log_family_s3. #15238 ( ianton-ru ). Fix DateTime <op> DateTime mistakenly choosing the slow generic implementation. This fixes #15153 . #15178 ( Amos Bird ). Improve performance of GROUP BY key of type FixedString . #15034 ( Amos Bird ). Only mlock code segment when starting clickhouse-server. In previous versions, all mapped regions were locked in memory, including debug info. Debug info is usually splitted to a separate file but if it isn't, it led to +2..3 GiB memory usage. #14929 ( alexey-milovidov ). ClickHouse binary become smaller due to link time optimization. Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-4} Now we use clang-11 for production ClickHouse build. #15239 ( alesapin ). Now we use clang-11 to build ClickHouse in CI. #14846 ( alesapin ). Switch binary builds (Linux, Darwin, AArch64, FreeDSD) to clang-11. #15622 ( Ilya Yatsishin ). Now all test images use llvm-symbolizer-11 . #15069 ( alesapin ). Allow to build with llvm-11. #15366 ( alexey-milovidov ). Switch from clang-tidy-10 to clang-tidy-11 . #14922 ( alexey-milovidov ). Use LLVM's experimental pass manager by default. #15608 ( Danila Kutenin ).
{"source_file": "2020.md"}
[ -0.010527672246098518, -0.032551899552345276, -0.07915434241294861, -0.03245796635746956, -0.03868630528450012, -0.03687681257724762, 0.003997798077762127, -0.044385965913534164, 0.004944906570017338, 0.05046703666448593, 0.042968399822711945, 0.060765452682971954, 0.0735616609454155, -0.0...
7471d008-0eaa-4fe4-aa58-cb19faa49fa6
Switch from clang-tidy-10 to clang-tidy-11 . #14922 ( alexey-milovidov ). Use LLVM's experimental pass manager by default. #15608 ( Danila Kutenin ). Don't allow any C++ translation unit to build more than 10 minutes or to use more than 10 GB or memory. This fixes #14925 . #15060 ( alexey-milovidov ). Make performance test more stable and representative by splitting test runs and profile runs. #15027 ( alexey-milovidov ). Attempt to make performance test more reliable. It is done by remapping the executable memory of the process on the fly with madvise to use transparent huge pages - it can lower the number of iTLB misses which is the main source of instabilities in performance tests. #14685 ( alexey-milovidov ). Convert to python3. This closes #14886 . #15007 ( Azat Khuzhin ). Fail early in functional tests if server failed to respond. This closes #15262 . #15267 ( alexey-milovidov ). Allow to run AArch64 version of clickhouse-server without configs. This facilitates #15174 . #15266 ( alexey-milovidov ). Improvements in CI docker images: get rid of ZooKeeper and single script for test configs installation. #15215 ( alesapin ). Fix CMake options forwarding in fast test script. Fixes error in #14711 . #15155 ( alesapin ). Added a script to perform hardware benchmark in a single command. #15115 ( alexey-milovidov ). Splitted huge test test_dictionaries_all_layouts_and_sources into smaller ones. #15110 ( Nikita Mikhaylov ). Maybe fix MSan report in base64 (on servers with AVX-512). This fixes #14006 . #15030 ( alexey-milovidov ). Reformat and cleanup code in all integration test *.py files. #14864 ( Bharat Nallan ). Fix MaterializeMySQL empty transaction unstable test case found in CI. #14854 ( Winter Zhang ). Attempt to speed up build a little. #14808 ( alexey-milovidov ). Speed up build a little by removing unused headers. #14714 ( alexey-milovidov ). Fix build failure in OSX. #14761 ( Winter Zhang ). Enable ccache by default in cmake if it's found in OS. #14575 ( alesapin ). Control CI builds configuration from the ClickHouse repository. #14547 ( alesapin ). In CMake files: - Moved some options' descriptions' parts to comments above. - Replace 0 -> OFF , 1 -> ON in option s default values. - Added some descriptions and links to docs to the options. - Replaced FUZZER option (there is another option ENABLE_FUZZING which also enables same functionality). - Removed ENABLE_GTEST_LIBRARY option as there is ENABLE_TESTS . See the full description in PR: #14711 ( Mike ). Make binary a bit smaller (~50 Mb for debug version). #14555 ( Artem Zuikov ). Use std::filesystem::path in ConfigProcessor for concatenating file paths. #14558 ( Bharat Nallan ). Fix debug assertion in bitShiftLeft() when called with negative big integer. #14697 ( Artem Zuikov ). ClickHouse release 20.9 {#clickhouse-release-209}
{"source_file": "2020.md"}
[ -0.028883488848805428, -0.007813438773155212, -0.0717381164431572, 0.008971819654107094, -0.04863724485039711, -0.09865118563175201, -0.09844240546226501, 0.05475037544965744, -0.06780592352151871, 0.02955540642142296, -0.030366284772753716, -0.04364526644349098, -0.014208661392331123, -0....
361b3bb2-bbfe-4ec7-986e-af11aac70cba
Fix debug assertion in bitShiftLeft() when called with negative big integer. #14697 ( Artem Zuikov ). ClickHouse release 20.9 {#clickhouse-release-209} ClickHouse release v20.9.7.11-stable, 2020-12-07 {#clickhouse-release-v209711-stable-2020-12-07} Performance Improvement {#performance-improvement-3} Fix performance of reading from Merge tables over huge number of MergeTree tables. Fixes #7748 . #16988 ( Anton Popov ). Bug Fix {#bug-fix-10} Do not restore parts from WAL if in_memory_parts_enable_wal is disabled. #17802 ( detailyang ). Fixed segfault when there is not enough space when inserting into Distributed table. #17737 ( tavplubix ). Fixed problem when ClickHouse fails to resume connection to MySQL servers. #17681 ( Alexander Kazakov ). Fixed Function not implemented error when executing RENAME query in Atomic database with ClickHouse running on Windows Subsystem for Linux. Fixes #17661 . #17664 ( tavplubix ). When clickhouse-client is used in interactive mode with multiline queries, single line comment was erronously extended till the end of query. This fixes #13654 . #17565 ( alexey-milovidov ). Fix the issue when server can stop accepting connections in very rare cases. #17542 ( alexey-milovidov ). Fix alter query hang when the corresponding mutation was killed on the different replica. Fixes #16953 . #17499 ( alesapin ). Fix bug when mark cache size was underestimated by clickhouse. It may happen when there are a lot of tiny files with marks. #17496 ( alesapin ). Fix ORDER BY with enabled setting optimize_redundant_functions_in_order_by . #17471 ( Anton Popov ). Fix duplicates after DISTINCT which were possible because of incorrect optimization. Fixes #17294 . #17296 ( li chengxiang ). #17439 ( Nikolai Kochetov ). Fix crash while reading from JOIN table with LowCardinality types. Fixes #17228 . #17397 ( Nikolai Kochetov ). Fix set index invalidation when there are const columns in the subquery. This fixes #17246 . #17249 ( Amos Bird ). Fix ColumnConst comparison which leads to crash. This fixed #17088 . #17135 ( Amos Bird ). Fixed crash on CREATE TABLE ... AS some_table query when some_table was created AS table_function() Fixes #16944 . #17072 ( tavplubix ). Bug fix for funciton fuzzBits, related issue: #16980 . #17051 ( hexiaoting ). Avoid unnecessary network errors for remote queries which may be cancelled while execution, like queries with LIMIT . #17006 ( Azat Khuzhin ). TODO. #16866 ( tavplubix ). Return number of affected rows for INSERT queries via MySQL protocol. Previously ClickHouse used to always return 0, it's fixed. Fixes #16605 . #16715 ( Winter Zhang ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-5} Update embedded timezone data to version 2020d (also update cctz to the latest master). #17204 ( filimonov ).
{"source_file": "2020.md"}
[ 0.025047041475772858, -0.06502113491296768, -0.0013907672837376595, 0.0187519621104002, -0.023491457104682922, -0.09551417827606201, 0.024735981598496437, 0.03184094652533531, -0.08318816870450974, 0.06566572189331055, 0.05169105529785156, 0.006177139934152365, -0.00294482265599072, -0.040...
38430704-a8d2-4718-9088-01015d0d5fc5
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-5} Update embedded timezone data to version 2020d (also update cctz to the latest master). #17204 ( filimonov ). ClickHouse release v20.9.6.14-stable, 2020-11-20 {#clickhouse-release-v209614-stable-2020-11-20} Improvement {#improvement-5} Make it possible to connect to clickhouse-server secure endpoint which requires SNI. This is possible when clickhouse-server is hosted behind TLS proxy. #16938 ( filimonov ). Conditional aggregate functions (for example: avgIf , sumIf , maxIf ) should return NULL when miss rows and use nullable arguments. #13964 ( Winter Zhang ). Bug Fix {#bug-fix-11} Fix bug when ON CLUSTER queries may hang forever for non-leader ReplicatedMergeTreeTables. #17089 ( alesapin ). Reresolve the IP of the format_avro_schema_registry_url in case of errors. #16985 ( filimonov ). Fix possible server crash after ALTER TABLE ... MODIFY COLUMN ... NewType when SELECT have WHERE expression on altering column and alter does not finished yet. #16968 ( Amos Bird ). Install script should always create subdirs in config folders. This is only relevant for Docker build with custom config. #16936 ( filimonov ). Fix possible error Illegal type of argument for queries with ORDER BY . Fixes #16580 . #16928 ( Nikolai Kochetov ). Abort multipart upload if no data was written to WriteBufferFromS3. #16840 ( Pavel Kovalenko ). Fix crash when using any without any arguments. This is for #16803 . cc @azat. #16826 ( Amos Bird ). Fix IN operator over several columns and tuples with enabled transform_null_in setting. Fixes #15310 . #16722 ( Anton Popov ). This will fix optimize_read_in_order/optimize_aggregation_in_order with max_threads>0 and expression in ORDER BY. #16637 ( Azat Khuzhin ). fixes #16574 fixes #16231 fix remote query failure when using 'if' suffix aggregate function. #16610 ( Winter Zhang ). Query is finished faster in case of exception. Cancel execution on remote replicas if exception happens. #15578 ( Azat Khuzhin ). ClickHouse release v20.9.5.5-stable, 2020-11-13 {#clickhouse-release-v20955-stable-2020-11-13} Bug Fix {#bug-fix-12} Fix rare silent crashes when query profiler is on and ClickHouse is installed on OS with glibc version that has (supposedly) broken asynchronous unwind tables for some functions. This fixes #15301 . This fixes #13098 . #16846 ( alexey-milovidov ). Now when parsing AVRO from input the LowCardinality is removed from type. Fixes #16188 . #16521 ( Mike ). Fix rapid growth of metadata when using MySQL Master -> MySQL Slave -> ClickHouse MaterializeMySQL Engine, and slave_parallel_worker enabled on MySQL Slave, by properly shrinking GTID sets. This fixes #15951 . #16504 ( TCeason ). Fix DROP TABLE for Distributed (racy with INSERT). #16409 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.03659309446811676, -0.020683180540800095, -0.01146398764103651, -0.011539454571902752, -0.0037121621426194906, -0.06968402117490768, -0.058721814304590225, -0.07155095040798187, -0.08263285458087921, 0.03490337356925011, 0.04374049976468086, -0.036267124116420746, 0.0009775891667231917, ...
db66f87d-cda0-4c9b-b875-af79a3f6a3da
Fix DROP TABLE for Distributed (racy with INSERT). #16409 ( Azat Khuzhin ). Fix processing of very large entries in replication queue. Very large entries may appear in ALTER queries if table structure is extremely large (near 1 MB). This fixes #16307 . #16332 ( alexey-milovidov ). Fixed the inconsistent behaviour when a part of return data could be dropped because the set for its filtration wasn't created. #16308 ( Nikita Mikhaylov ). Fix bug with MySQL database. When MySQL server used as database engine is down some queries raise Exception, because they try to get tables from disabled server, while it's unnecessary. For example, query SELECT ... FROM system.parts should work only with MergeTree tables and don't touch MySQL database at all. #16032 ( Kruglov Pavel ). ClickHouse release v20.9.4.76-stable (2020-10-29) {#clickhouse-release-v209476-stable-2020-10-29} Bug Fix {#bug-fix-13} Fix double free in case of exception in function dictGet . It could have happened if dictionary was loaded with error. #16429 ( Nikolai Kochetov ). Fix group by with totals/rollup/cube modifers and min/max functions over group by keys. Fixes #16393 . #16397 ( Anton Popov ). Fix async Distributed INSERT w/ prefer_localhost_replica=0 and internal_replication. #16358 ( Azat Khuzhin ). Fix a very wrong code in TwoLevelStringHashTable implementation, which might lead to memory leak. I'm suprised how this bug can lurk for so long.... #16264 ( Amos Bird ). Fix the case when memory can be overallocated regardless to the limit. This closes #14560 . #16206 ( alexey-milovidov ). Fix ALTER MODIFY ... ORDER BY query hang for ReplicatedVersionedCollapsingMergeTree . This fixes #15980 . #16011 ( alesapin ). Fix collate name & charset name parser and support length = 0 for string type. #16008 ( Winter Zhang ). Allow to use direct layout for dictionaries with complex keys. #16007 ( Anton Popov ). Prevent replica hang for 5-10 mins when replication error happens after a period of inactivity. #15987 ( filimonov ). Fix rare segfaults when inserting into or selecting from MaterializedView and concurrently dropping target table (for Atomic database engine). #15984 ( tavplubix ). Fix ambiguity in parsing of settings profiles: CREATE USER ... SETTINGS profile readonly is now considered as using a profile named readonly , not a setting named profile with the readonly constraint. This fixes #15628 . #15982 ( Vitaly Baranov ). Fix a crash when database creation fails. #15954 ( Winter Zhang ). Fixed DROP TABLE IF EXISTS failure with Table ... does not exist error when table is concurrently renamed (for Atomic database engine). Fixed rare deadlock when concurrently executing some DDL queries with multiple tables (like DROP DATABASE and RENAME TABLE ) Fixed DROP/DETACH DATABASE failure with Table ... does not exist when concurrently executing DROP/DETACH TABLE . #15934 ( tavplubix ).
{"source_file": "2020.md"}
[ -0.005916101858019829, -0.015052405185997486, 0.05112195014953613, 0.03931914642453194, -0.013557158410549164, -0.1385185718536377, 0.0030916505493223667, 0.04838196933269501, -0.04570295289158821, 0.08217404037714005, 0.05166841670870781, 0.0536574088037014, 0.12419388443231583, -0.024740...
838ba2b4-9da7-4595-9d3d-6afbb390f139
Fix incorrect empty result for query from Distributed table if query has WHERE , PREWHERE and GLOBAL IN . Fixes #15792 . #15933 ( Nikolai Kochetov ). Fix possible deadlocks in RBAC. #15875 ( Vitaly Baranov ). Fix exception Block structure mismatch in SELECT ... ORDER BY DESC queries which were executed after ALTER MODIFY COLUMN query. Fixes #15800 . #15852 ( alesapin ). Fix select count() inaccuracy for MaterializeMySQL. #15767 ( tavplubix ). Fix some cases of queries, in which only virtual columns are selected. Previously Not found column _nothing in block exception may be thrown. Fixes #12298 . #15756 ( Anton Popov ). Fixed too low default value of max_replicated_logs_to_keep setting, which might cause replicas to become lost too often. Improve lost replica recovery process by choosing the most up-to-date replica to clone. Also do not remove old parts from lost replica, detach them instead. #15701 ( tavplubix ). Fix error Cannot add simple transform to empty Pipe which happened while reading from Buffer table which has different structure than destination table. It was possible if destination table returned empty result for query. Fixes #15529 . #15662 ( Nikolai Kochetov ). Fixed bug with globs in S3 table function, region from URL was not applied to S3 client configuration. #15646 ( Vladimir Chebotarev ). Decrement the ReadonlyReplica metric when detaching read-only tables. This fixes #15598 . #15592 ( sundyli ). Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it. #15516 ( nvartolomei ). Improvement {#improvement-6} Now it's allowed to execute ALTER ... ON CLUSTER queries regardless of the <internal_replication> setting in cluster config. #16075 ( alesapin ). Unfold {database} , {table} and {uuid} macros in ReplicatedMergeTree arguments on table creation. #16160 ( tavplubix ). ClickHouse release v20.9.3.45-stable (2020-10-09) {#clickhouse-release-v209345-stable-2020-10-09} Bug Fix {#bug-fix-14} Fix error Cannot find column which may happen at insertion into MATERIALIZED VIEW in case if query for MV containes ARRAY JOIN . #15717 ( Nikolai Kochetov ). Fix race condition in AMQP-CPP. #15667 ( alesapin ). Fix the order of destruction for resources in ReadFromStorage step of query plan. It might cause crashes in rare cases. Possibly connected with #15610 . #15645 ( Nikolai Kochetov ). Fixed Element ... is not a constant expression error when using JSON* function result in VALUES , LIMIT or right side of IN operator. #15589 ( tavplubix ). Prevent the possibility of error message Could not calculate available disk space (statvfs), errno: 4, strerror: Interrupted system call . This fixes #15541 . #15557 ( alexey-milovidov ). Significantly reduce memory usage in AggregatingInOrderTransform/optimize_aggregation_in_order. #15543 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.03268140181899071, -0.01684565097093582, -0.02438518963754177, 0.027752650901675224, -0.005527013912796974, -0.044074367731809616, -0.08589710295200348, 0.004580265376716852, -0.006464341655373573, 0.11247000098228455, 0.06245765462517738, -0.049939438700675964, 0.07907648384571075, -0....
c522923a-65eb-41f5-bb13-6fbccda63acd
Significantly reduce memory usage in AggregatingInOrderTransform/optimize_aggregation_in_order. #15543 ( Azat Khuzhin ). Mutation might hang waiting for some non-existent part after MOVE or REPLACE PARTITION or, in rare cases, after DETACH or DROP PARTITION . It's fixed. #15537 ( tavplubix ). Fix bug when ILIKE operator stops being case insensitive if LIKE with the same pattern was executed. #15536 ( alesapin ). Fix Missing columns errors when selecting columns which absent in data, but depend on other columns which also absent in data. Fixes #15530 . #15532 ( alesapin ). Fix bug with event subscription in DDLWorker which rarely may lead to query hangs in ON CLUSTER . Introduced in #13450 . #15477 ( alesapin ). Report proper error when the second argument of boundingRatio aggregate function has a wrong type. #15407 ( detailyang ). Fix bug where queries like SELECT toStartOfDay(today()) fail complaining about empty time_zone argument. #15319 ( Bharat Nallan ). Fix race condition during MergeTree table rename and background cleanup. #15304 ( alesapin ). Fix rare race condition on server startup when system.logs are enabled. #15300 ( alesapin ). Fix MSan report in QueryLog. Uninitialized memory can be used for the field memory_usage . #15258 ( alexey-milovidov ). Fix instance crash when using joinGet with LowCardinality types. This fixes #15214 . #15220 ( Amos Bird ). Fix bug in table engine Buffer which does not allow to insert data of new structure into Buffer after ALTER query. Fixes #15117 . #15192 ( alesapin ). Adjust decimals field size in mysql column definition packet. #15152 ( maqroll ). Fixed Cannot rename ... errno: 22, strerror: Invalid argument error on DDL query execution in Atomic database when running clickhouse-server in docker on Mac OS. #15024 ( tavplubix ). Fix to make predicate push down work when subquery contains finalizeAggregation function. Fixes #14847 . #14937 ( filimonov ). Fix a problem where the server may get stuck on startup while talking to ZooKeeper, if the configuration files have to be fetched from ZK (using the from_zk include option). This fixes #14814 . #14843 ( Alexander Kuzmenkov ). Improvement {#improvement-7} Now it's possible to change the type of version column for VersionedCollapsingMergeTree with ALTER query. #15442 ( alesapin ). ClickHouse release v20.9.2.20, 2020-09-22 {#clickhouse-release-v209220-2020-09-22} Backward Incompatible Change {#backward-incompatible-change-3}
{"source_file": "2020.md"}
[ -0.05015522986650467, -0.032509420067071915, 0.059295304119586945, 0.032370489090681076, -0.003449440700933337, -0.050219208002090454, -0.058830082416534424, 0.05281238257884979, -0.01017295103520155, -0.008726514875888824, 0.016713814809918404, -0.005106861237436533, -0.023560184985399246, ...
a66b9509-1172-4753-9e28-5ea80021807a
ClickHouse release v20.9.2.20, 2020-09-22 {#clickhouse-release-v209220-2020-09-22} Backward Incompatible Change {#backward-incompatible-change-3} When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-3} Added column transformers EXCEPT , REPLACE , APPLY , which can be applied to the list of selected columns (after * or COLUMNS(...) ). For example, you can write SELECT * EXCEPT(URL) REPLACE(number + 1 AS number) . Another example: select * apply(length) apply(max) from wide_string_table to find out the maxium length of all string columns. #14233 ( Amos Bird ). Added an aggregate function rankCorr which computes a rank correlation coefficient. #11769 ( antikvist ) #14411 ( Nikita Mikhaylov ). Added table function view which turns a subquery into a table object. This helps passing queries around. For instance, it can be used in remote/cluster table functions. #12567 ( Amos Bird ). Bug Fix {#bug-fix-15} Fix bug when ALTER UPDATE mutation with Nullable column in assignment expression and constant value (like UPDATE x = 42 ) leads to incorrect value in column or segfault. Fixes #13634 , #14045 . #14646 ( alesapin ). Fix wrong Decimal multiplication result caused wrong decimal scale of result column. #14603 ( Artem Zuikov ). Fixed the incorrect sorting order of Nullable column. This fixes #14344 . #14495 ( Nikita Mikhaylov ). Fixed inconsistent comparison with primary key of type FixedString on index analysis if they're compered with a string of less size. This fixes #14908 . #15033 ( Amos Bird ). Fix bug which leads to wrong merges assignment if table has partitions with a single part. #14444 ( alesapin ). If function bar was called with specifically crafted arguments, buffer overflow was possible. This closes #13926 . #15028 ( alexey-milovidov ). Publish CPU frequencies per logical core in system.asynchronous_metrics . This fixes #14923 . #14924 ( Alexander Kuzmenkov ). Fixed .metadata.tmp File exists error when using MaterializeMySQL database engine. #14898 ( Winter Zhang ). Fix the issue when some invocations of extractAllGroups function may trigger "Memory limit exceeded" error. This fixes #13383 . #14889 ( alexey-milovidov ). Fix SIGSEGV for an attempt to INSERT into StorageFile(fd). #14887 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ 0.04154663532972336, -0.07423624396324158, 0.04453285411000252, -0.016547903418540955, 0.04714056849479675, -0.033849988132715225, -0.09700567275285721, -0.0887896865606308, -0.10114562511444092, 0.02194877155125141, 0.07198843359947205, 0.01249569933861494, -0.01977238431572914, -0.013586...
4e5fcfce-df95-4332-acd8-9dd012db107b
Fix SIGSEGV for an attempt to INSERT into StorageFile(fd). #14887 ( Azat Khuzhin ). Fix rare error in SELECT queries when the queried column has DEFAULT expression which depends on the other column which also has DEFAULT and not present in select query and not exists on disk. Partially fixes #14531 . #14845 ( alesapin ). Fix wrong monotonicity detection for shrunk Int -> Int cast of signed types. It might lead to incorrect query result. This bug is unveiled in #14513 . #14783 ( Amos Bird ). Fixed missed default database name in metadata of materialized view when executing ALTER ... MODIFY QUERY . #14664 ( tavplubix ). Fix possibly incorrect result of function has when LowCardinality and Nullable types are involved. #14591 ( Mike ). Cleanup data directory after Zookeeper exceptions during CREATE query for tables with ReplicatedMergeTree Engine. #14563 ( Bharat Nallan ). Fix rare segfaults in functions with combinator -Resample , which could appear in result of overflow with very large parameters. #14562 ( Anton Popov ). Check for array size overflow in topK aggregate function. Without this check the user may send a query with carefully crafted parameters that will lead to server crash. This closes #14452 . #14467 ( alexey-milovidov ). Proxy restart/start/stop/reload of SysVinit to systemd (if it is used). #14460 ( Azat Khuzhin ). Stop query execution if exception happened in PipelineExecutor itself. This could prevent rare possible query hung. #14334 #14402 ( Nikolai Kochetov ). Fix crash during ALTER query for table which was created AS table_function . Fixes #14212 . #14326 ( alesapin ). Fix exception during ALTER LIVE VIEW query with REFRESH command. LIVE VIEW is an experimental feature. #14320 ( Bharat Nallan ). Fix QueryPlan lifetime (for EXPLAIN PIPELINE graph=1) for queries with nested interpreter. #14315 ( Azat Khuzhin ). Better check for tuple size in SSD cache complex key external dictionaries. This fixes #13981 . #14313 ( alexey-milovidov ). Disallows CODEC on ALIAS column type. Fixes #13911 . #14263 ( Bharat Nallan ). Fix GRANT ALL statement when executed on a non-global level. #13987 ( Vitaly Baranov ). Fix arrayJoin() capturing in lambda (exception with logical error message was thrown). #13792 ( Azat Khuzhin ). Experimental Feature {#experimental-feature-2} Added db-generator tool for random database generation by given SELECT queries. It may faciliate reproducing issues when there is only incomplete bug report from the user. #14442 ( Nikita Mikhaylov ) #10973 ( ZeDRoman ). Improvement {#improvement-8} Allow using multi-volume storage configuration in storage Distributed. #14839 ( Pavel Kovalenko ). Disallow empty time_zone argument in toStartOf* type of functions. #14509 ( Bharat Nallan ).
{"source_file": "2020.md"}
[ -0.03755854070186615, -0.03121281787753105, 0.04272567853331566, 0.04164537042379379, -0.03335551545023918, -0.1014082133769989, -0.014859487302601337, 0.07289552688598633, 0.013661714270710945, 0.07103602588176727, -0.002285833703354001, -0.06304198503494263, -0.0018180548213422298, -0.00...
ec8b64f9-33ae-48eb-8c3d-9f69952d8b51
Disallow empty time_zone argument in toStartOf* type of functions. #14509 ( Bharat Nallan ). MySQL handler returns OK for queries like SET @@var = value . Such statement is ignored. It is needed because some MySQL drivers send SET @@ query for setup after handshake https://github.com/ClickHouse/ClickHouse/issues/9336#issuecomment-686222422 . #14469 ( BohuTANG ). Now TTLs will be applied during merge if they were not previously materialized. #14438 ( alesapin ). Now clickhouse-obfuscator supports UUID type as proposed in #13163 . #14409 ( dimarub2000 ). Added new setting system_events_show_zero_values as proposed in #11384 . #14404 ( dimarub2000 ). Implicitly convert primary key to not null in MaterializeMySQL (Same as MySQL ). Fixes #14114 . #14397 ( Winter Zhang ). Replace wide integers (256 bit) from boost multiprecision with implementation from https://github.com/cerevra/int. 256bit integers are experimental. #14229 ( Artem Zuikov ). Add default compression codec for parts in system.part_log with the name default_compression_codec . #14116 ( alesapin ). Add precision argument for DateTime type. It allows to use DateTime name instead of DateTime64 . #13761 ( Winter Zhang ). Added requirepass authorization for Redis external dictionary. #13688 ( Ivan Torgashov ). Improvements in RabbitMQ engine: added connection and channels failure handling, proper commits, insert failures handling, better exchanges, queue durability and queue resume opportunity, new queue settings. Fixed tests. #12761 ( Kseniia Sumarokova ). Support custom codecs in compact parts. #12183 ( Anton Popov ). Performance Improvement {#performance-improvement-4} Optimize queries with LIMIT/LIMIT BY/ORDER BY for distributed with GROUP BY sharding_key (under optimize_skip_unused_shards and optimize_distributed_group_by_sharding_key ). #10373 ( Azat Khuzhin ). Creating sets for multiple JOIN and IN in parallel. It may slightly improve performance for queries with several different IN subquery expressions. #14412 ( Nikolai Kochetov ). Improve Kafka engine performance by providing independent thread for each consumer. Separate thread pool for streaming engines (like Kafka). #13939 ( fastio ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-6} Lower binary size in debug build by removing debug info from Functions . This is needed only for one internal project in Yandex who is using very old linker. #14549 ( alexey-milovidov ). Prepare for build with clang 11. #14455 ( alexey-milovidov ). Fix the logic in backport script. In previous versions it was triggered for any labels of 100% red color. It was strange. #14433 ( alexey-milovidov ). Integration tests use default base config. All config changes are explicit with main_configs, user_configs and dictionaries parameters for instance. #13647 ( Ilya Yatsishin ).
{"source_file": "2020.md"}
[ -0.03438389301300049, 0.017162267118692398, -0.005864337552338839, 0.00350266438908875, 0.007133862003684044, -0.053299225866794586, 0.06802606582641602, 0.0016544577665627003, 0.0004605237045325339, -0.0029797067400068045, -0.02556554041802883, -0.08939517289400101, 0.09465830773115158, 0...
2ebbff10-e4d2-4ce2-b8ff-e5bba82362d7
Integration tests use default base config. All config changes are explicit with main_configs, user_configs and dictionaries parameters for instance. #13647 ( Ilya Yatsishin ). ClickHouse release 20.8 {#clickhouse-release-208} ClickHouse release v20.8.12.2-lts, 2021-01-16 {#clickhouse-release-v208122-lts-2021-01-16} Bug Fix {#bug-fix-16} Fix *If combinator with unary function and Nullable types. #18806 ( Azat Khuzhin ). Restrict merges from wide to compact parts. In case of vertical merge it led to broken result part. #18381 ( Anton Popov ). ClickHouse release v20.8.11.17-lts, 2020-12-25 {#clickhouse-release-v2081117-lts-2020-12-25} Bug Fix {#bug-fix-17} Disable write with AIO during merges because it can lead to extremely rare data corruption of primary key columns during merge. #18481 ( alesapin ). Fixed value is too short error when executing toType(...) functions ( toDate , toUInt32 , etc) with argument of type Nullable(String) . Now such functions return NULL on parsing errors instead of throwing exception. Fixes #7673 . #18445 ( tavplubix ). Fix possible crashes in aggregate functions with combinator Distinct , while using two-level aggregation. Fixes #17682 . #18365 ( Anton Popov ). ClickHouse release v20.8.10.13-lts, 2020-12-24 {#clickhouse-release-v2081013-lts-2020-12-24} Bug Fix {#bug-fix-18} When server log rotation was configured using logger.size parameter with numeric value larger than 2^32, the logs were not rotated properly. #17905 ( Alexander Kuzmenkov ). Fixed incorrect initialization of max_compress_block_size in MergeTreeWriterSettings with min_compress_block_size . #17833 ( flynn ). Fixed problem when ClickHouse fails to resume connection to MySQL servers. #17681 ( Alexander Kazakov ). Fixed ALTER query hang when the corresponding mutation was killed on the different replica. This fixes #16953 . #17499 ( alesapin ). Fixed a bug when mark cache size was underestimated by ClickHouse. It may happen when there are a lot of tiny files with marks. #17496 ( alesapin ). Fixed ORDER BY with enabled setting optimize_redundant_functions_in_order_by . #17471 ( Anton Popov ). Fixed ColumnConst comparison which leads to crash. This fixed #17088 . #17135 ( Amos Bird ). Fixed bug when ON CLUSTER queries may hang forever for non-leader ReplicatedMergeTreeTables. #17089 ( alesapin ). Avoid unnecessary network errors for remote queries which may be cancelled while execution, like queries with LIMIT . #17006 ( Azat Khuzhin ). Reresolve the IP of the format_avro_schema_registry_url in case of errors. #16985 ( filimonov ). Fixed possible server crash after ALTER TABLE ... MODIFY COLUMN ... NewType when SELECT have WHERE expression on altering column and alter does not finished yet. #16968 ( Amos Bird ).
{"source_file": "2020.md"}
[ -0.026699574664235115, -0.0320969820022583, 0.007402956485748291, -0.042330946773290634, -0.021239764988422394, -0.08492647856473923, -0.019610803574323654, 0.04113773629069328, -0.07797569036483765, 0.029944557696580887, 0.11917787045240402, 0.06432298570871353, -0.02670908533036709, -0.0...
75765cd4-afde-4634-b955-13732072475f
Fixed possible server crash after ALTER TABLE ... MODIFY COLUMN ... NewType when SELECT have WHERE expression on altering column and alter does not finished yet. #16968 ( Amos Bird ). Install script should always create subdirs in config folders. This is only relevant for Docker build with custom config. #16936 ( filimonov ). Fixed possible error Illegal type of argument for queries with ORDER BY . Fixes #16580 . #16928 ( Nikolai Kochetov ). Abort multipart upload if no data was written to WriteBufferFromS3. #16840 ( Pavel Kovalenko ). Fixed crash when using any without any arguments. This fixes #16803 . #16826 ( Amos Bird ). Fixed IN operator over several columns and tuples with enabled transform_null_in setting. Fixes #15310 . #16722 ( Anton Popov ). Fixed inconsistent behaviour of optimize_read_in_order/optimize_aggregation_in_order with max_threads > 0 and expression in ORDER BY. #16637 ( Azat Khuzhin ). Fixed the issue when query optimization was producing wrong result if query contains ARRAY JOIN . #17887 ( sundyli ). Query is finished faster in case of exception. Cancel execution on remote replicas if exception happens. #15578 ( Azat Khuzhin ). ClickHouse release v20.8.6.6-lts, 2020-11-13 {#clickhouse-release-v20866-lts-2020-11-13} Bug Fix {#bug-fix-19} Fix rare silent crashes when query profiler is on and ClickHouse is installed on OS with glibc version that has (supposedly) broken asynchronous unwind tables for some functions. This fixes #15301 . This fixes #13098 . #16846 ( alexey-milovidov ). Now when parsing AVRO from input the LowCardinality is removed from type. Fixes #16188 . #16521 ( Mike ). Fix rapid growth of metadata when using MySQL Master -> MySQL Slave -> ClickHouse MaterializeMySQL Engine, and slave_parallel_worker enabled on MySQL Slave, by properly shrinking GTID sets. This fixes #15951 . #16504 ( TCeason ). Fix DROP TABLE for Distributed (racy with INSERT). #16409 ( Azat Khuzhin ). Fix processing of very large entries in replication queue. Very large entries may appear in ALTER queries if table structure is extremely large (near 1 MB). This fixes #16307 . #16332 ( alexey-milovidov ). Fixed the inconsistent behaviour when a part of return data could be dropped because the set for its filtration wasn't created. #16308 ( Nikita Mikhaylov ). Fix bug with MySQL database. When MySQL server used as database engine is down some queries raise Exception, because they try to get tables from disabled server, while it's unnecessary. For example, query SELECT ... FROM system.parts should work only with MergeTree tables and don't touch MySQL database at all. #16032 ( Kruglov Pavel ). ClickHouse release v20.8.5.45-lts, 2020-10-29 {#clickhouse-release-v208545-lts-2020-10-29} Bug Fix {#bug-fix-20}
{"source_file": "2020.md"}
[ 0.02983294427394867, -0.004212241619825363, 0.034183040261268616, 0.012463589198887348, -0.013330595567822456, -0.06545354425907135, -0.055605459958314896, 0.038660936057567596, -0.011914944276213646, 0.09208343178033829, -0.02478911355137825, -0.022005658596754074, -0.012375316582620144, ...
aec09adb-823b-4062-82e5-e779d350a13f
ClickHouse release v20.8.5.45-lts, 2020-10-29 {#clickhouse-release-v208545-lts-2020-10-29} Bug Fix {#bug-fix-20} Fix double free in case of exception in function dictGet . It could have happened if dictionary was loaded with error. #16429 ( Nikolai Kochetov ). Fix group by with totals/rollup/cube modifers and min/max functions over group by keys. Fixes #16393 . #16397 ( Anton Popov ). Fix async Distributed INSERT w/ prefer_localhost_replica=0 and internal_replication. #16358 ( Azat Khuzhin ). Fix a possible memory leak during GROUP BY with string keys, caused by an error in TwoLevelStringHashTable implementation. #16264 ( Amos Bird ). Fix the case when memory can be overallocated regardless to the limit. This closes #14560 . #16206 ( alexey-milovidov ). Fix ALTER MODIFY ... ORDER BY query hang for ReplicatedVersionedCollapsingMergeTree . This fixes #15980 . #16011 ( alesapin ). Fix collate name & charset name parser and support length = 0 for string type. #16008 ( Winter Zhang ). Allow to use direct layout for dictionaries with complex keys. #16007 ( Anton Popov ). Prevent replica hang for 5-10 mins when replication error happens after a period of inactivity. #15987 ( filimonov ). Fix rare segfaults when inserting into or selecting from MaterializedView and concurrently dropping target table (for Atomic database engine). #15984 ( tavplubix ). Fix ambiguity in parsing of settings profiles: CREATE USER ... SETTINGS profile readonly is now considered as using a profile named readonly , not a setting named profile with the readonly constraint. This fixes #15628 . #15982 ( Vitaly Baranov ). Fix a crash when database creation fails. #15954 ( Winter Zhang ). Fixed DROP TABLE IF EXISTS failure with Table ... does not exist error when table is concurrently renamed (for Atomic database engine). Fixed rare deadlock when concurrently executing some DDL queries with multiple tables (like DROP DATABASE and RENAME TABLE ) Fixed DROP/DETACH DATABASE failure with Table ... does not exist when concurrently executing DROP/DETACH TABLE . #15934 ( tavplubix ). Fix incorrect empty result for query from Distributed table if query has WHERE , PREWHERE and GLOBAL IN . Fixes #15792 . #15933 ( Nikolai Kochetov ). Fix possible deadlocks in RBAC. #15875 ( Vitaly Baranov ). Fix exception Block structure mismatch in SELECT ... ORDER BY DESC queries which were executed after ALTER MODIFY COLUMN query. Fixes #15800 . #15852 ( alesapin ). Fix some cases of queries, in which only virtual columns are selected. Previously Not found column _nothing in block exception may be thrown. Fixes #12298 . #15756 ( Anton Popov ). Fix error Cannot find column which may happen at insertion into MATERIALIZED VIEW in case if query for MV containes ARRAY JOIN . #15717 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.05378873646259308, -0.04710010439157486, -0.01821981929242611, 0.033892955631017685, -0.025317691266536713, -0.1145000159740448, -0.05128147080540657, -0.04149126261472702, -0.01452889945358038, 0.07824829965829849, 0.07211843878030777, 0.02829555608332157, 0.03169728443026543, -0.03146...
76ce3f30-e6ed-460e-8448-fd6aa2b2c873
Fix error Cannot find column which may happen at insertion into MATERIALIZED VIEW in case if query for MV containes ARRAY JOIN . #15717 ( Nikolai Kochetov ). Fixed too low default value of max_replicated_logs_to_keep setting, which might cause replicas to become lost too often. Improve lost replica recovery process by choosing the most up-to-date replica to clone. Also do not remove old parts from lost replica, detach them instead. #15701 ( tavplubix ). Fix error Cannot add simple transform to empty Pipe which happened while reading from Buffer table which has different structure than destination table. It was possible if destination table returned empty result for query. Fixes #15529 . #15662 ( Nikolai Kochetov ). Fixed bug with globs in S3 table function, region from URL was not applied to S3 client configuration. #15646 ( Vladimir Chebotarev ). Decrement the ReadonlyReplica metric when detaching read-only tables. This fixes #15598 . #15592 ( sundyli ). Throw an error when a single parameter is passed to ReplicatedMergeTree instead of ignoring it. #15516 ( nvartolomei ). Improvement {#improvement-9} Now it's allowed to execute ALTER ... ON CLUSTER queries regardless of the <internal_replication> setting in cluster config. #16075 ( alesapin ). Unfold {database} , {table} and {uuid} macros in ReplicatedMergeTree arguments on table creation. #16159 ( tavplubix ). ClickHouse release v20.8.4.11-lts, 2020-10-09 {#clickhouse-release-v208411-lts-2020-10-09} Bug Fix {#bug-fix-21} Fix the order of destruction for resources in ReadFromStorage step of query plan. It might cause crashes in rare cases. Possibly connected with #15610 . #15645 ( Nikolai Kochetov ). Fixed Element ... is not a constant expression error when using JSON* function result in VALUES , LIMIT or right side of IN operator. #15589 ( tavplubix ). Prevent the possibility of error message Could not calculate available disk space (statvfs), errno: 4, strerror: Interrupted system call . This fixes #15541 . #15557 ( alexey-milovidov ). Significantly reduce memory usage in AggregatingInOrderTransform/optimize_aggregation_in_order. #15543 ( Azat Khuzhin ). Mutation might hang waiting for some non-existent part after MOVE or REPLACE PARTITION or, in rare cases, after DETACH or DROP PARTITION . It's fixed. #15537 ( tavplubix ). Fix bug when ILIKE operator stops being case insensitive if LIKE with the same pattern was executed. #15536 ( alesapin ). Fix Missing columns errors when selecting columns which absent in data, but depend on other columns which also absent in data. Fixes #15530 . #15532 ( alesapin ). Fix bug with event subscription in DDLWorker which rarely may lead to query hangs in ON CLUSTER . Introduced in #13450 . #15477 ( alesapin ).
{"source_file": "2020.md"}
[ -0.021082956343889236, -0.07150952517986298, -0.03973943367600441, -0.021750355139374733, -0.021190783008933067, -0.03425423055887222, -0.048633020371198654, -0.03183571249246597, 0.027543198317289352, 0.029085759073495865, 0.03159553185105324, -0.02033800072968006, 0.08551152795553207, -0...
dd581462-8242-4769-9f48-69c4a443e083
Fix bug with event subscription in DDLWorker which rarely may lead to query hangs in ON CLUSTER . Introduced in #13450 . #15477 ( alesapin ). Report proper error when the second argument of boundingRatio aggregate function has a wrong type. #15407 ( detailyang ). Fix race condition during MergeTree table rename and background cleanup. #15304 ( alesapin ). Fix rare race condition on server startup when system.logs are enabled. #15300 ( alesapin ). Fix MSan report in QueryLog. Uninitialized memory can be used for the field memory_usage . #15258 ( alexey-milovidov ). Fix instance crash when using joinGet with LowCardinality types. This fixes #15214 . #15220 ( Amos Bird ). Fix bug in table engine Buffer which does not allow to insert data of new structure into Buffer after ALTER query. Fixes #15117 . #15192 ( alesapin ). Adjust decimals field size in mysql column definition packet. #15152 ( maqroll ). We already use padded comparison between String and FixedString (https://github.com/ClickHouse/ClickHouse/blob/master/src/Functions/FunctionsComparison.h#L333). This PR applies the same logic to field comparison which corrects the usage of FixedString as primary keys. This fixes #14908 . #15033 ( Amos Bird ). If function bar was called with specifically crafted arguments, buffer overflow was possible. This closes #13926 . #15028 ( alexey-milovidov ). Fixed Cannot rename ... errno: 22, strerror: Invalid argument error on DDL query execution in Atomic database when running clickhouse-server in docker on Mac OS. #15024 ( tavplubix ). Now settings number_of_free_entries_in_pool_to_execute_mutation and number_of_free_entries_in_pool_to_lower_max_size_of_merge can be equal to background_pool_size . #14975 ( alesapin ). Fix to make predicate push down work when subquery contains finalizeAggregation function. Fixes #14847 . #14937 ( filimonov ). Publish CPU frequencies per logical core in system.asynchronous_metrics . This fixes #14923 . #14924 ( Alexander Kuzmenkov ). Fixed .metadata.tmp File exists error when using MaterializeMySQL database engine. #14898 ( Winter Zhang ). Fix a problem where the server may get stuck on startup while talking to ZooKeeper, if the configuration files have to be fetched from ZK (using the from_zk include option). This fixes #14814 . #14843 ( Alexander Kuzmenkov ). Fix wrong monotonicity detection for shrunk Int -> Int cast of signed types. It might lead to incorrect query result. This bug is unveiled in #14513 . #14783 ( Amos Bird ). Fixed the incorrect sorting order of Nullable column. This fixes #14344 . #14495 ( Nikita Mikhaylov ). Improvement {#improvement-10} Now it's possible to change the type of version column for VersionedCollapsingMergeTree with ALTER query. #15442 ( alesapin ). ClickHouse release v20.8.3.18-stable, 2020-09-18 {#clickhouse-release-v208318-stable-2020-09-18}
{"source_file": "2020.md"}
[ 0.01251631323248148, -0.018037786707282066, 0.015571611002087593, 0.05464489758014679, -0.05104760080575943, -0.0359068289399147, 0.006660973187536001, -0.0058976104483008385, -0.037085313349962234, 0.007879722863435745, -0.030413981527090073, -0.03625110909342766, -0.018440458923578262, -...
6922e439-8519-43ea-8faa-0f8757c203b3
ClickHouse release v20.8.3.18-stable, 2020-09-18 {#clickhouse-release-v208318-stable-2020-09-18} Bug Fix {#bug-fix-22} Fix the issue when some invocations of extractAllGroups function may trigger "Memory limit exceeded" error. This fixes #13383 . #14889 ( alexey-milovidov ). Fix SIGSEGV for an attempt to INSERT into StorageFile(fd). #14887 ( Azat Khuzhin ). Fix rare error in SELECT queries when the queried column has DEFAULT expression which depends on the other column which also has DEFAULT and not present in select query and not exists on disk. Partially fixes #14531 . #14845 ( alesapin ). Fixed missed default database name in metadata of materialized view when executing ALTER ... MODIFY QUERY . #14664 ( tavplubix ). Fix bug when ALTER UPDATE mutation with Nullable column in assignment expression and constant value (like UPDATE x = 42 ) leads to incorrect value in column or segfault. Fixes #13634 , #14045 . #14646 ( alesapin ). Fix wrong Decimal multiplication result caused wrong decimal scale of result column. #14603 ( Artem Zuikov ). Added the checker as neither calling lc->isNullable() nor calling ls->getDictionaryPtr()->isNullable() would return the correct result. #14591 ( myrrc ). Cleanup data directory after Zookeeper exceptions during CreateQuery for StorageReplicatedMergeTree Engine. #14563 ( Bharat Nallan ). Fix rare segfaults in functions with combinator -Resample, which could appear in result of overflow with very large parameters. #14562 ( Anton Popov ). Improvement {#improvement-11} Speed up server shutdown process if there are ongoing S3 requests. #14858 ( Pavel Kovalenko ). Allow using multi-volume storage configuration in storage Distributed. #14839 ( Pavel Kovalenko ). Speed up server shutdown process if there are ongoing S3 requests. #14496 ( Pavel Kovalenko ). Support custom codecs in compact parts. #12183 ( Anton Popov ). ClickHouse release v20.8.2.3-stable, 2020-09-08 {#clickhouse-release-v20823-stable-2020-09-08} Backward Incompatible Change {#backward-incompatible-change-4} Now OPTIMIZE FINAL query does not recalculate TTL for parts that were added before TTL was created. Use ALTER TABLE ... MATERIALIZE TTL once to calculate them, after that OPTIMIZE FINAL will evaluate TTL's properly. This behavior never worked for replicated tables. #14220 ( alesapin ). Extend parallel_distributed_insert_select setting, adding an option to run INSERT into local table. The setting changes type from Bool to UInt64 , so the values false and true are no longer supported. If you have these values in server configuration, the server will not start. Please replace them with 0 and 1 , respectively. #14060 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.043387435376644135, -0.04235432296991348, -0.05369608849287033, 0.056424330919981, -0.014908176846802235, -0.039244599640369415, -0.011281518265604973, -0.006592735182493925, 0.009787454269826412, 0.04834061488509178, 0.09612533450126648, -0.01922730728983879, 0.0018289642175659537, -0....
c33243cf-8be7-4dbd-a1d1-c522df596e8a
Remove support for the ODBCDriver input/output format. This was a deprecated format once used for communication with the ClickHouse ODBC driver, now long superseded by the ODBCDriver2 format. Resolves #13629 . #13847 ( hexiaoting ). When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-4} Add the ability to specify Default compression codec for columns that correspond to settings specified in config.xml . Implements: #9074 . #14049 ( alesapin ). Support Kerberos authentication in Kafka, using krb5 and cyrus-sasl libraries. #12771 ( Ilya Golshtein ). Add function normalizeQuery that replaces literals, sequences of literals and complex aliases with placeholders. Add function normalizedQueryHash that returns identical 64bit hash values for similar queries. It helps to analyze query log. This closes #11271 . #13816 ( alexey-milovidov ). Add time_zones table. #13880 ( Bharat Nallan ). Add function defaultValueOfTypeName that returns the default value for a given type. #13877 ( hcz ). Add countDigits(x) function that count number of decimal digits in integer or decimal column. Add isDecimalOverflow(d, [p]) function that checks if the value in Decimal column is out of its (or specified) precision. #14151 ( Artem Zuikov ). Add quantileExactLow and quantileExactHigh implementations with respective aliases for medianExactLow and medianExactHigh . #13818 ( Bharat Nallan ). Added date_trunc function that truncates a date/time value to a specified date/time part. #13888 ( Vladimir Golovchenko ). Add new optional section <user_directories> to the main config. #13425 ( Vitaly Baranov ). Add ALTER SAMPLE BY statement that allows to change table sample clause. #13280 ( Amos Bird ). Function position now supports optional start_pos argument. #13237 ( vdimir ). Bug Fix {#bug-fix-23} Fix visible data clobbering by progress bar in client in interactive mode. This fixes #12562 and #13369 and #13584 and fixes #12964 . #13691 ( alexey-milovidov ). Fixed incorrect sorting order if LowCardinality column when sorting by multiple columns. This fixes #13958 . #14223 ( Nikita Mikhaylov ). Check for array size overflow in topK aggregate function. Without this check the user may send a query with carefully crafted parameters that will lead to server crash. This closes #14452 . #14467 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ 0.014049896039068699, -0.04267530143260956, -0.09681607782840729, 0.021794075146317482, 0.011552459560334682, -0.07495080679655075, -0.07868833839893341, -0.03194833919405937, -0.02365715242922306, 0.0032502368558198214, 0.008442115038633347, 0.005611015949398279, 0.017425693571567535, -0....
11db93a0-1522-4d86-9e4c-cfc23c77fe6b
Fix bug which can lead to wrong merges assignment if table has partitions with a single part. #14444 ( alesapin ). Stop query execution if exception happened in PipelineExecutor itself. This could prevent rare possible query hung. Continuation of #14334 . #14402 #14334 ( Nikolai Kochetov ). Fix crash during ALTER query for table which was created AS table_function . Fixes #14212 . #14326 ( alesapin ). Fix exception during ALTER LIVE VIEW query with REFRESH command. Live view is an experimental feature. #14320 ( Bharat Nallan ). Fix QueryPlan lifetime (for EXPLAIN PIPELINE graph=1) for queries with nested interpreter. #14315 ( Azat Khuzhin ). Fix segfault in clickhouse-odbc-bridge during schema fetch from some external sources. This PR fixes #13861 . #14267 ( Vitaly Baranov ). Fix crash in mark inclusion search introduced in #12277 . #14225 ( Amos Bird ). Fix creation of tables with named tuples. This fixes #13027 . #14143 ( alexey-milovidov ). Fix formatting of minimal negative decimal numbers. This fixes #14111 . #14119 ( Alexander Kuzmenkov ). Fix DistributedFilesToInsert metric (zeroed when it should not). #14095 ( Azat Khuzhin ). Fix pointInPolygon with const 2d array as polygon. #14079 ( Alexey Ilyukhov ). Fixed wrong mount point in extra info for Poco::Exception: no space left on device . #14050 ( tavplubix ). Fix GRANT ALL statement when executed on a non-global level. #13987 ( Vitaly Baranov ). Fix parser to reject create table as table function with engine. #13940 ( hcz ). Fix wrong results in select queries with DISTINCT keyword and subqueries with UNION ALL in case optimize_duplicate_order_by_and_distinct setting is enabled. #13925 ( Artem Zuikov ). Fixed potential deadlock when renaming Distributed table. #13922 ( tavplubix ). Fix incorrect sorting for FixedString columns when sorting by multiple columns. Fixes #13182 . #13887 ( Nikolai Kochetov ). Fix potentially imprecise result of topK / topKWeighted merge (with non-default parameters). #13817 ( Azat Khuzhin ). Fix reading from MergeTree table with INDEX of type SET fails when comparing against NULL. This fixes #13686 . #13793 ( Amos Bird ). Fix arrayJoin capturing in lambda (LOGICAL_ERROR). #13792 ( Azat Khuzhin ). Add step overflow check in function range . #13790 ( Azat Khuzhin ). Fixed Directory not empty error when concurrently executing DROP DATABASE and CREATE TABLE . #13756 ( alexey-milovidov ). Add range check for h3KRing function. This fixes #13633 . #13752 ( alexey-milovidov ). Fix race condition between DETACH and background merges. Parts may revive after detach. This is continuation of #8602 that did not fix the issue but introduced a test that started to fail in very rare cases, demonstrating the issue. #13746 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.0005495523801073432, -0.08098091930150986, 0.011050447821617126, 0.01290761586278677, -0.03018363192677498, -0.053499408066272736, -0.031533677130937576, 0.014413569122552872, -0.044841501861810684, 0.022850126028060913, 0.022134633734822273, -0.05131882056593895, -0.021812425926327705, ...
5d488147-a216-45d6-883f-89b79aed882b
Fix logging Settings.Names/Values when log_queries_min_type > QUERY_START. #13737 ( Azat Khuzhin ). Fixes /replicas_status endpoint response status code when verbose=1. #13722 ( javi santana ). Fix incorrect message in clickhouse-server.init while checking user and group. #13711 ( ylchou ). Do not optimize any(arrayJoin()) -> arrayJoin() under optimize_move_functions_out_of_any setting. #13681 ( Azat Khuzhin ). Fix crash in JOIN with StorageMerge and set enable_optimize_predicate_expression=1 . #13679 ( Artem Zuikov ). Fix typo in error message about The value of 'number_of_free_entries_in_pool_to_lower_max_size_of_merge' setting . #13678 ( alexey-milovidov ). Concurrent ALTER ... REPLACE/MOVE PARTITION ... queries might cause deadlock. It's fixed. #13626 ( tavplubix ). Fixed the behaviour when sometimes cache-dictionary returned default value instead of present value from source. #13624 ( Nikita Mikhaylov ). Fix secondary indices corruption in compact parts. Compact parts are experimental feature. #13538 ( Anton Popov ). Fix premature ON CLUSTER timeouts for queries that must be executed on a single replica. Fixes #6704 , #7228 , #13361 , #11884 . #13450 ( alesapin ). Fix wrong code in function netloc . This fixes #13335 . #13446 ( alexey-milovidov ). Fix possible race in StorageMemory . #13416 ( Nikolai Kochetov ). Fix missing or excessive headers in TSV/CSVWithNames formats in HTTP protocol. This fixes #12504 . #13343 ( Azat Khuzhin ). Fix parsing row policies from users.xml when names of databases or tables contain dots. This fixes #5779 , #12527 . #13199 ( Vitaly Baranov ). Fix access to redis dictionary after connection was dropped once. It may happen with cache and direct dictionary layouts. #13082 ( Anton Popov ). Removed wrong auth access check when using ClickHouseDictionarySource to query remote tables. #12756 ( sundyli ). Properly distinguish subqueries in some cases for common subexpression elimination. #8333 . #8367 ( Amos Bird ). Improvement {#improvement-12} Disallows CODEC on ALIAS column type. Fixes #13911 . #14263 ( Bharat Nallan ). When waiting for a dictionary update to complete, use the timeout specified by query_wait_timeout_milliseconds setting instead of a hard-coded value. #14105 ( Nikita Mikhaylov ). Add setting min_index_granularity_bytes that protects against accidentally creating a table with very low index_granularity_bytes setting. #14139 ( Bharat Nallan ). Now it's possible to fetch partitions from clusters that use different ZooKeeper: ALTER TABLE table_name FETCH PARTITION partition_expr FROM 'zk-name:/path-in-zookeeper' . It's useful for shipping data to new clusters. #14155 ( Amos Bird ).
{"source_file": "2020.md"}
[ -0.005561628844588995, -0.006550617516040802, -0.007367003709077835, 0.005925355013459921, -0.018599459901452065, -0.049887821078300476, 0.029570218175649643, 0.020779671147465706, -0.022300157696008682, 0.055455900728702545, 0.011866078712046146, -0.021471446380019188, 0.03166510909795761, ...
6328eaaa-9ebb-43e0-b76b-81a732b11367
Slightly better performance of Memory table if it was constructed from a huge number of very small blocks (that's unlikely). Author of the idea: Mark Papadakis . Closes #14043 . #14056 ( alexey-milovidov ). Conditional aggregate functions (for example: avgIf , sumIf , maxIf ) should return NULL when miss rows and use nullable arguments. #13964 ( Winter Zhang ). Increase limit in -Resample combinator to 1M. #13947 ( Mikhail f. Shiryaev ). Corrected an error in AvroConfluent format that caused the Kafka table engine to stop processing messages when an abnormally small, malformed, message was received. #13941 ( Gervasio Varela ). Fix wrong error for long queries. It was possible to get syntax error other than Max query size exceeded for correct query. #13928 ( Nikolai Kochetov ). Better error message for null value of TabSeparated format. #13906 ( jiang tao ). Function arrayCompact will compare NaNs bitwise if the type of array elements is Float32/Float64. In previous versions NaNs were always not equal if the type of array elements is Float32/Float64 and were always equal if the type is more complex, like Nullable(Float64). This closes #13857 . #13868 ( alexey-milovidov ). Fix data race in lgamma function. This race was caught only in tsan , no side effects a really happened. #13842 ( Nikolai Kochetov ). Avoid too slow queries when arrays are manipulated as fields. Throw exception instead. #13753 ( alexey-milovidov ). Added Redis requirepass authorization (for redis dictionary source). #13688 ( Ivan Torgashov ). Add MergeTree Write-Ahead-Log (WAL) dump tool. WAL is an experimental feature. #13640 ( BohuTANG ). In previous versions lcm function may produce assertion violation in debug build if called with specifically crafted arguments. This fixes #13368 . #13510 ( alexey-milovidov ). Provide monotonicity for toDate/toDateTime functions in more cases. Monotonicity information is used for index analysis (more complex queries will be able to use index). Now the input arguments are saturated more naturally and provides better monotonicity. #13497 ( Amos Bird ). Support compound identifiers for custom settings. Custom settings is an integration point of ClickHouse codebase with other codebases (no benefits for ClickHouse itself) #13496 ( Vitaly Baranov ). Move parts from DiskLocal to DiskS3 in parallel. DiskS3 is an experimental feature. #13459 ( Pavel Kovalenko ). Enable mixed granularity parts by default. #13449 ( alesapin ). Proper remote host checking in S3 redirects (security-related thing). #13404 ( Vladimir Chebotarev ). Add QueryTimeMicroseconds , SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events. #13336 ( ianton-ru ). Fix debug assertion when Decimal has too large negative exponent. Fixes #13188 . #13228 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ 0.0017247922951355577, -0.025020131841301918, -0.06268420070409775, 0.0421573743224144, -0.014869234524667263, -0.0053618657402694225, -0.019381208345294, 0.05697539821267128, -0.006514953915029764, 0.047838009893894196, -0.027794249355793, -0.01394902914762497, -0.04278634488582611, -0.05...
810a4ff5-0882-44b3-89f7-b50add6adcfc
Fix debug assertion when Decimal has too large negative exponent. Fixes #13188 . #13228 ( alexey-milovidov ). Added cache layer for DiskS3 (cache to local disk mark and index files). DiskS3 is an experimental feature. #13076 ( Pavel Kovalenko ). Fix readline so it dumps history to file now. #13600 ( Amos Bird ). Create system database with Atomic engine by default (a preparation to enable Atomic database engine by default everywhere). #13680 ( tavplubix ). Performance Improvement {#performance-improvement-5} Slightly optimize very short queries with LowCardinality . #14129 ( Anton Popov ). Enable parallel INSERTs for table engines Null , Memory , Distributed and Buffer when the setting max_insert_threads is set. #14120 ( alexey-milovidov ). Fail fast if max_rows_to_read limit is exceeded on parts scan. The motivation behind this change is to skip ranges scan for all selected parts if it is clear that max_rows_to_read is already exceeded. The change is quite noticeable for queries over big number of parts. #13677 ( Roman Khavronenko ). Slightly improve performance of aggregation by UInt8/UInt16 keys. #13099 ( alexey-milovidov ). Optimize has() , indexOf() and countEqual() functions for Array(LowCardinality(T)) and constant right arguments. #12550 ( myrrc ). When performing trivial INSERT SELECT queries, automatically set max_threads to 1 or max_insert_threads , and set max_block_size to min_insert_block_size_rows . Related to #5907 . #12195 ( flynn ). Experimental Feature {#experimental-feature-3} ClickHouse can work as MySQL replica - it is implemented by MaterializeMySQL database engine. Implements #4006 . #10851 ( Winter Zhang ). Add types Int128 , Int256 , UInt256 and related functions for them. Extend Decimals with Decimal256 (precision up to 76 digits). New types are under the setting allow_experimental_bigint_types . It is working extremely slow and bad. The implementation is incomplete. Please don't use this feature. #13097 ( Artem Zuikov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-7} Added clickhouse install script, that is useful if you only have a single binary. #13528 ( alexey-milovidov ). Allow to run clickhouse binary without configuration. #13515 ( alexey-milovidov ). Enable check for typos in code with codespell . #13513 #13511 ( alexey-milovidov ). Enable Shellcheck in CI as a linter of .sh tests. This closes #13168 . #13530 #13529 ( alexey-milovidov ). Add a CMake option to fail configuration instead of auto-reconfiguration, enabled by default. #13687 ( Konstantin ). Expose version of embedded tzdata via TZDATA_VERSION in system.build_options. #13648 ( filimonov ). Improve generation of system.time_zones table during build. Closes #14209 . #14215 ( filimonov ).
{"source_file": "2020.md"}
[ -0.01636870764195919, 0.011425663717091084, -0.039410341531038284, 0.01865261048078537, -0.04288438335061073, -0.12556922435760498, -0.015291876159608364, 0.04691597446799278, -0.021586313843727112, 0.0303259938955307, 0.024088120087981224, -0.04948647320270538, -0.0086372634395957, 0.0052...
0eccf2c7-5f84-402e-8a94-97eb77dfc3e7
Improve generation of system.time_zones table during build. Closes #14209 . #14215 ( filimonov ). Build ClickHouse with the most fresh tzdata from package repository. #13623 ( alexey-milovidov ). Add the ability to write js-style comments in skip_list.json. #14159 ( alesapin ). Ensure that there is no copy-pasted GPL code. #13514 ( alexey-milovidov ). Switch tests docker images to use test-base parent. #14167 ( Ilya Yatsishin ). Adding retry logic when bringing up docker-compose cluster; Increasing COMPOSE_HTTP_TIMEOUT. #14112 ( vzakaznikov ). Enabled system.text_log in stress test to find more bugs. #13855 ( Nikita Mikhaylov ). Testflows LDAP module: adding missing certificates and dhparam.pem for openldap4. #13780 ( vzakaznikov ). ZooKeeper cannot work reliably in unit tests in CI infrastructure. Using unit tests for ZooKeeper interaction with real ZooKeeper is bad idea from the start (unit tests are not supposed to verify complex distributed systems). We already using integration tests for this purpose and they are better suited. #13745 ( alexey-milovidov ). Added docker image for style check. Added style check that all docker and docker compose files are located in docker directory. #13724 ( Ilya Yatsishin ). Fix cassandra build on Mac OS. #13708 ( Ilya Yatsishin ). Fix link error in shared build. #13700 ( Amos Bird ). Updating LDAP user authentication suite to check that it works with RBAC. #13656 ( vzakaznikov ). Removed -DENABLE_CURL_CLIENT for contrib/aws . #13628 ( Vladimir Chebotarev ). Increasing health-check timeouts for ClickHouse nodes and adding support to dump docker-compose logs if unhealthy containers found. #13612 ( vzakaznikov ). Make sure #10977 is invalid. #13539 ( Amos Bird ). Skip PR's from robot-clickhouse. #13489 ( Nikita Mikhaylov ). Move Dockerfiles from integration tests to docker/test directory. docker_compose files are available in runner docker container. Docker images are built in CI and not in integration tests. #13448 ( Ilya Yatsishin ). ClickHouse release 20.7 {#clickhouse-release-207} ClickHouse release v20.7.2.30-stable, 2020-08-31 {#clickhouse-release-v207230-stable-2020-08-31} Backward Incompatible Change {#backward-incompatible-change-5} Function modulo (operator % ) with at least one floating point number as argument will calculate remainder of division directly on floating point numbers without converting both arguments to integers. It makes behaviour compatible with most of DBMS. This also applicable for Date and DateTime data types. Added alias mod . This closes #7323 . #12585 ( alexey-milovidov ). Deprecate special printing of zero Date/DateTime values as 0000-00-00 and 0000-00-00 00:00:00 . #12442 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.03048921562731266, 0.01872154325246811, -0.011809022165834904, -0.00632510194554925, 0.03903316333889961, -0.12277596443891525, -0.049351535737514496, -0.019639432430267334, -0.020182952284812927, 0.04277964308857918, -0.05404753237962723, -0.09616045653820038, 0.0213303342461586, 0.082...
3ab48f5c-0576-4d55-b2dc-d85f39c256d1
Deprecate special printing of zero Date/DateTime values as 0000-00-00 and 0000-00-00 00:00:00 . #12442 ( alexey-milovidov ). The function groupArrayMoving* was not working for distributed queries. It's result was calculated within incorrect data type (without promotion to the largest type). The function groupArrayMovingAvg was returning integer number that was inconsistent with the avg function. This fixes #12568 . #12622 ( alexey-milovidov ). Add sanity check for MergeTree settings. If the settings are incorrect, the server will refuse to start or to create a table, printing detailed explanation to the user. #13153 ( alexey-milovidov ). Protect from the cases when user may set background_pool_size to value lower than number_of_free_entries_in_pool_to_execute_mutation or number_of_free_entries_in_pool_to_lower_max_size_of_merge . In these cases ALTERs won't work or the maximum size of merge will be too limited. It will throw exception explaining what to do. This closes #10897 . #12728 ( alexey-milovidov ). When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-5} Polygon dictionary type that provides efficient "reverse geocoding" lookups - to find the region by coordinates in a dictionary of many polygons (world map). It is using carefully optimized algorithm with recursive grids to maintain low CPU and memory usage. #9278 ( achulkov2 ). Added support of LDAP authentication for preconfigured users ("Simple Bind" method). #11234 ( Denis Glazachev ). Introduce setting alter_partition_verbose_result which outputs information about touched parts for some types of ALTER TABLE ... PARTITION ... queries (currently ATTACH and FREEZE ). Closes #8076 . #13017 ( alesapin ). Add bayesAB function for bayesian-ab-testing. #12327 ( achimbab ). Added system.crash_log table into which stack traces for fatal errors are collected. This table should be empty. #12316 ( alexey-milovidov ). Added http headers X-ClickHouse-Database and X-ClickHouse-Format which may be used to set default database and output format. #12981 ( hcz ). Add minMap and maxMap functions support to SimpleAggregateFunction . #12662 ( Ildus Kurbangaliev ). Add setting allow_non_metadata_alters which restricts to execute ALTER queries which modify data on disk. Disabled be default. Closes #11547 . #12635 ( alesapin ).
{"source_file": "2020.md"}
[ 0.03583547845482826, 0.013464724645018578, -0.05475552752614021, 0.04319903254508972, -0.0663629099726677, -0.03720705583691597, -0.013101362623274326, 0.030104851350188255, -0.03829365596175194, 0.000874758989084512, 0.04255050793290138, -0.023747405037283897, 0.0038492297753691673, -0.03...
acbecd7f-4c68-4d50-8a5b-f0063c3c320f
Add setting allow_non_metadata_alters which restricts to execute ALTER queries which modify data on disk. Disabled be default. Closes #11547 . #12635 ( alesapin ). A function formatRow is added to support turning arbitrary expressions into a string via given format. It's useful for manipulating SQL outputs and is quite versatile combined with the columns function. #12574 ( Amos Bird ). Add FROM_UNIXTIME function for compatibility with MySQL, related to 12149 . #12484 ( flynn ). Allow Nullable types as keys in MergeTree tables if allow_nullable_key table setting is enabled. Closes #5319 . #12433 ( Amos Bird ). Integration with COS . #12386 ( fastio ). Add mapAdd and mapSubtract functions for adding/subtracting key-mapped values. #11735 ( Ildus Kurbangaliev ). Bug Fix {#bug-fix-24} Fix premature ON CLUSTER timeouts for queries that must be executed on a single replica. Fixes #6704 , #7228 , #13361 , #11884 . #13450 ( alesapin ). Fix crash in mark inclusion search introduced in #12277 . #14225 ( Amos Bird ). Fix race condition in external dictionaries with cache layout which can lead server crash. #12566 ( alesapin ). Fix visible data clobbering by progress bar in client in interactive mode. This fixes #12562 and #13369 and #13584 and fixes #12964 . #13691 ( alexey-milovidov ). Fixed incorrect sorting order for LowCardinality columns when ORDER BY multiple columns is used. This fixes #13958 . #14223 ( Nikita Mikhaylov ). Removed hardcoded timeout, which wrongly overruled query_wait_timeout_milliseconds setting for cache-dictionary. #14105 ( Nikita Mikhaylov ). Fixed wrong mount point in extra info for Poco::Exception: no space left on device . #14050 ( tavplubix ). Fix wrong query optimization of select queries with DISTINCT keyword when subqueries also have DISTINCT in case optimize_duplicate_order_by_and_distinct setting is enabled. #13925 ( Artem Zuikov ). Fixed potential deadlock when renaming Distributed table. #13922 ( tavplubix ). Fix incorrect sorting for FixedString columns when ORDER BY multiple columns is used. Fixes #13182 . #13887 ( Nikolai Kochetov ). Fix potentially lower precision of topK / topKWeighted aggregations (with non-default parameters). #13817 ( Azat Khuzhin ). Fix reading from MergeTree table with INDEX of type SET fails when compared against NULL. This fixes #13686 . #13793 ( Amos Bird ). Fix step overflow in function range() . #13790 ( Azat Khuzhin ). Fixed Directory not empty error when concurrently executing DROP DATABASE and CREATE TABLE . #13756 ( alexey-milovidov ). Add range check for h3KRing function. This fixes #13633 . #13752 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ 0.06496676057577133, 0.029133878648281097, -0.04765491187572479, 0.03129230812191963, -0.04220554605126381, -0.03291597217321396, -0.008958537131547928, 0.016699541360139847, -0.06707241386175156, 0.06997822225093842, 0.03488510847091675, -0.058454956859350204, 0.03709989786148071, -0.0931...
4bb831f9-1946-4148-ac86-c4266e7ec9ec
Add range check for h3KRing function. This fixes #13633 . #13752 ( alexey-milovidov ). Fix race condition between DETACH and background merges. Parts may revive after detach. This is continuation of #8602 that did not fix the issue but introduced a test that started to fail in very rare cases, demonstrating the issue. #13746 ( alexey-milovidov ). Fix logging Settings.Names/Values when log_queries_min_type greater than QUERY_START . #13737 ( Azat Khuzhin ). Fix incorrect message in clickhouse-server.init while checking user and group. #13711 ( ylchou ). Do not optimize any(arrayJoin()) to arrayJoin() under optimize_move_functions_out_of_any . #13681 ( Azat Khuzhin ). Fixed possible deadlock in concurrent ALTER ... REPLACE/MOVE PARTITION ... queries. #13626 ( tavplubix ). Fixed the behaviour when sometimes cache-dictionary returned default value instead of present value from source. #13624 ( Nikita Mikhaylov ). Fix secondary indices corruption in compact parts (compact parts is an experimental feature). #13538 ( Anton Popov ). Fix wrong code in function netloc . This fixes #13335 . #13446 ( alexey-milovidov ). Fix error in parseDateTimeBestEffort function when unix timestamp was passed as an argument. This fixes #13362 . #13441 ( alexey-milovidov ). Fix invalid return type for comparison of tuples with NULL elements. Fixes #12461 . #13420 ( Nikolai Kochetov ). Fix wrong optimization caused aggregate function any(x) is found inside another aggregate function in query error with SET optimize_move_functions_out_of_any = 1 and aliases inside any() . #13419 ( Artem Zuikov ). Fix possible race in StorageMemory . #13416 ( Nikolai Kochetov ). Fix empty output for Arrow and Parquet formats in case if query return zero rows. It was done because empty output is not valid for this formats. #13399 ( hcz ). Fix select queries with constant columns and prefix of primary key in ORDER BY clause. #13396 ( Anton Popov ). Fix PrettyCompactMonoBlock for clickhouse-local. Fix extremes/totals with PrettyCompactMonoBlock . Fixes #7746 . #13394 ( Azat Khuzhin ). Fixed deadlock in system.text_log. #12452 ( alexey-milovidov ). It is a part of #12339 . This fixes #12325 . #13386 ( Nikita Mikhaylov ). Fixed File(TSVWithNames*) (header was written multiple times), fixed clickhouse-local --format CSVWithNames* (lacks header, broken after #12197 ), fixed clickhouse-local --format CSVWithNames* with zero rows (lacks header). #13343 ( Azat Khuzhin ). Fix segfault when function groupArrayMovingSum deserializes empty state. Fixes #13339 . #13341 ( alesapin ). Throw error on arrayJoin() function in JOIN ON section. #13330 ( Artem Zuikov ). Fix crash in LEFT ASOF JOIN with join_use_nulls=1 . #13291 ( Artem Zuikov ).
{"source_file": "2020.md"}
[ 0.0006514578708447516, -0.04614415019750595, -0.01132842805236578, -0.05314764007925987, -0.01972428895533085, -0.0893559604883194, 0.04162519425153732, -0.05297817662358284, 0.03188595548272133, 0.013681473210453987, 0.04496368393301964, 0.00015872003859840333, -0.010517917573451996, -0.0...
c1c6dde9-0405-477f-8566-452367c666b8
Throw error on arrayJoin() function in JOIN ON section. #13330 ( Artem Zuikov ). Fix crash in LEFT ASOF JOIN with join_use_nulls=1 . #13291 ( Artem Zuikov ). Fix possible error Totals having transform was already added to pipeline in case of a query from delayed replica. #13290 ( Nikolai Kochetov ). The server may crash if user passed specifically crafted arguments to the function h3ToChildren . This fixes #13275 . #13277 ( alexey-milovidov ). Fix potentially low performance and slightly incorrect result for uniqExact , topK , sumDistinct and similar aggregate functions called on Float types with NaN values. It also triggered assert in debug build. This fixes #12491 . #13254 ( alexey-milovidov ). Fix assertion in KeyCondition when primary key contains expression with monotonic function and query contains comparison with constant whose type is different. This fixes #12465 . #13251 ( alexey-milovidov ). Return passed number for numbers with MSB set in function roundUpToPowerOfTwoOrZero(). It prevents potential errors in case of overflow of array sizes. #13234 ( Azat Khuzhin ). Fix function if with nullable constexpr as cond that is not literal NULL. Fixes #12463 . #13226 ( alexey-milovidov ). Fix assert in arrayElement function in case of array elements are Nullable and array subscript is also Nullable. This fixes #12172 . #13224 ( alexey-milovidov ). Fix DateTime64 conversion functions with constant argument. #13205 ( Azat Khuzhin ). Fix parsing row policies from users.xml when names of databases or tables contain dots. This fixes #5779 , #12527 . #13199 ( Vitaly Baranov ). Fix access to redis dictionary after connection was dropped once. It may happen with cache and direct dictionary layouts. #13082 ( Anton Popov ). Fix wrong index analysis with functions. It could lead to some data parts being skipped when reading from MergeTree tables. Fixes #13060 . Fixes #12406 . #13081 ( Anton Popov ). Fix error Cannot convert column because it is constant but values of constants are different in source and result for remote queries which use deterministic functions in scope of query, but not deterministic between queries, like now() , now64() , randConstant() . Fixes #11327 . #13075 ( Nikolai Kochetov ). Fix crash which was possible for queries with ORDER BY tuple and small LIMIT . Fixes #12623 . #13009 ( Nikolai Kochetov ). Fix Block structure mismatch error for queries with UNION and JOIN . Fixes #12602 . #12989 ( Nikolai Kochetov ). Corrected merge_with_ttl_timeout logic which did not work well when expiration affected more than one partition over one time interval. (Authored by @excitoon). #12982 ( Alexander Kazakov ). Fix columns duplication for range hashed dictionary created from DDL query. This fixes #10605 . #12857 ( alesapin ).
{"source_file": "2020.md"}
[ -0.0963115468621254, -0.0029409979470074177, 0.008663550019264221, 0.0004463183577172458, -0.021945372223854065, -0.04754585772752762, 0.010049616917967796, 0.031829796731472015, -0.044735319912433624, 0.014441887848079205, -0.02536117658019066, -0.06048550829291344, 0.018969018012285233, ...
138c2b6a-489a-450f-a9d6-bd6654cd34cd
Fix columns duplication for range hashed dictionary created from DDL query. This fixes #10605 . #12857 ( alesapin ). Fix unnecessary limiting for the number of threads for selects from local replica. #12840 ( Nikolai Kochetov ). Fix rare bug when ALTER DELETE and ALTER MODIFY COLUMN queries executed simultaneously as a single mutation. Bug leads to an incorrect amount of rows in count.txt and as a consequence incorrect data in part. Also, fix a small bug with simultaneous ALTER RENAME COLUMN and ALTER ADD COLUMN . #12760 ( alesapin ). Wrong credentials being used when using clickhouse dictionary source to query remote tables. #12756 ( sundyli ). Fix CAST(Nullable(String), Enum()) . #12745 ( Azat Khuzhin ). Fix performance with large tuples, which are interpreted as functions in IN section. The case when user writes WHERE x IN tuple(1, 2, ...) instead of WHERE x IN (1, 2, ...) for some obscure reason. #12700 ( Anton Popov ). Fix memory tracking for input_format_parallel_parsing (by attaching thread to group). #12672 ( Azat Khuzhin ). Fix wrong optimization optimize_move_functions_out_of_any=1 in case of any(func(<lambda>)) . #12664 ( Artem Zuikov ). Fixed #10572 fix bloom filter index with const expression. #12659 ( Winter Zhang ). Fix SIGSEGV in StorageKafka when broker is unavailable (and not only). #12658 ( Azat Khuzhin ). Add support for function if with Array(UUID) arguments. This fixes #11066 . #12648 ( alexey-milovidov ). CREATE USER IF NOT EXISTS now does not throw exception if the user exists. This fixes #12507 . #12646 ( Vitaly Baranov ). Exception There is no supertype... can be thrown during ALTER ... UPDATE in unexpected cases (e.g. when subtracting from UInt64 column). This fixes #7306 . This fixes #4165 . #12633 ( alexey-milovidov ). Fix possible Pipeline stuck error for queries with external sorting. Fixes #12617 . #12618 ( Nikolai Kochetov ). Fix error Output of TreeExecutor is not sorted for OPTIMIZE DEDUPLICATE . Fixes #11572 . #12613 ( Nikolai Kochetov ). Fix the issue when alias on result of function any can be lost during query optimization. #12593 ( Anton Popov ). Remove data for Distributed tables (blocks from async INSERTs) on DROP TABLE. #12556 ( Azat Khuzhin ). Now ClickHouse will recalculate checksums for parts when file checksums.txt is absent. Broken since #9827 . #12545 ( alesapin ). Fix bug which lead to broken old parts after ALTER DELETE query when enable_mixed_granularity_parts=1 . Fixes #12536 . #12543 ( alesapin ). Fixing race condition in live view tables which could cause data duplication. LIVE VIEW is an experimental feature. #12519 ( vzakaznikov ). Fix backwards compatibility in binary format of AggregateFunction(avg, ...) values. This fixes #12342 . #12486 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.009249722585082054, -0.03312936797738075, -0.04267730191349983, -0.02253952994942665, -0.07940959185361862, -0.11067581921815872, -0.017519747838377953, -0.039401378482580185, -0.036472395062446594, 0.03156592324376106, 0.07665237784385681, 0.00754930404946208, 0.08921243250370026, -0.1...
fa354106-2540-483d-9c43-c42cb765b79a
Fix backwards compatibility in binary format of AggregateFunction(avg, ...) values. This fixes #12342 . #12486 ( alexey-milovidov ). Fix crash in JOIN with dictionary when we are joining over expression of dictionary key: t JOIN dict ON expr(dict.id) = t.id . Disable dictionary join optimisation for this case. #12458 ( Artem Zuikov ). Fix overflow when very large LIMIT or OFFSET is specified. This fixes #10470 . This fixes #11372 . #12427 ( alexey-milovidov ). kafka: fix SIGSEGV if there is a message with error in the middle of the batch. #12302 ( Azat Khuzhin ). Improvement {#improvement-13} Keep smaller amount of logs in ZooKeeper. Avoid excessive growing of ZooKeeper nodes in case of offline replicas when having many servers/tables/inserts. #13100 ( alexey-milovidov ). Now exceptions forwarded to the client if an error happened during ALTER or mutation. Closes #11329 . #12666 ( alesapin ). Add QueryTimeMicroseconds , SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events , along with system.metrics, processes, query_log, etc. #13028 ( ianton-ru ). Added SelectedRows and SelectedBytes to system.events , along with system.metrics, processes, query_log, etc. #12638 ( ianton-ru ). Added current_database information to system.query_log . #12652 ( Amos Bird ). Allow TabSeparatedRaw as input format. #12009 ( hcz ). Now joinGet supports multi-key lookup. #12418 ( Amos Bird ). Allow *Map aggregate functions to work on Arrays with NULLs. Fixes #13157 . #13225 ( alexey-milovidov ). Avoid overflow in parsing of DateTime values that will lead to negative unix timestamp in their timezone (for example, 1970-01-01 00:00:00 in Moscow). Saturate to zero instead. This fixes #3470 . This fixes #4172 . #12443 ( alexey-milovidov ). AvroConfluent: Skip Kafka tombstone records - Support skipping broken records #13203 ( Andrew Onyshchuk ). Fix wrong error for long queries. It was possible to get syntax error other than Max query size exceeded for correct query. #13928 ( Nikolai Kochetov ). Fix data race in lgamma function. This race was caught only in tsan , no side effects really happened. #13842 ( Nikolai Kochetov ). Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements. #13417 ( vladimir-golovchenko ). Now broken parts are also reported when encountered in compact part processing. Compact parts is an experimental feature. #13282 ( Amos Bird ). Fix assert in geohashesInBox . This fixes #12554 . #13229 ( alexey-milovidov ). Fix assert in parseDateTimeBestEffort . This fixes #12649 . #13227 ( alexey-milovidov ). Minor optimization in Processors/PipelineExecutor: breaking out of a loop because it makes sense to do so. #13058 ( Mark Papadakis ). Support TRUNCATE table without TABLE keyword. #12653 ( Winter Zhang ).
{"source_file": "2020.md"}
[ -0.03214273974299431, 0.026920277625322342, -0.0003653368621598929, 0.016430919989943504, 0.005171402357518673, -0.04554729163646698, -0.019227279350161552, 0.061206016689538956, -0.001776328543201089, 0.06159594655036926, -0.03282247111201286, -0.016137732192873955, 0.016656063497066498, ...
f49cd0d2-11f1-4b63-8561-7848268a8b4a
Support TRUNCATE table without TABLE keyword. #12653 ( Winter Zhang ). Fix explain query format overwrite by default. This fixes #12541 . #12541 ( BohuTANG ). Allow to set JOIN kind and type in more standad way: LEFT SEMI JOIN instead of SEMI LEFT JOIN . For now both are correct. #12520 ( Artem Zuikov ). Changes default value for multiple_joins_rewriter_version to 2. It enables new multiple joins rewriter that knows about column names. #12469 ( Artem Zuikov ). Add several metrics for requests to S3 storages. #12464 ( ianton-ru ). Use correct default secure port for clickhouse-benchmark with --secure argument. This fixes #11044 . #12440 ( alexey-milovidov ). Rollback insertion errors in Log , TinyLog , StripeLog engines. In previous versions insertion error lead to inconsisent table state (this works as documented and it is normal for these table engines). This fixes #12402 . #12426 ( alexey-milovidov ). Implement RENAME DATABASE and RENAME DICTIONARY for Atomic database engine - Add implicit {uuid} macro, which can be used in ZooKeeper path for ReplicatedMergeTree . It works with CREATE ... ON CLUSTER ... queries. Set show_table_uuid_in_table_create_query_if_not_nil to true to use it. - Make ReplicatedMergeTree engine arguments optional, /clickhouse/tables/{uuid}/{shard}/ and {replica} are used by default. Closes #12135 . - Minor fixes. - These changes break backward compatibility of Atomic database engine. Previously created Atomic databases must be manually converted to new format. Atomic database is an experimental feature. #12343 ( tavplubix ). Separated AWSAuthV4Signer into different logger, removed excessive AWSClient: AWSClient from log messages. #12320 ( Vladimir Chebotarev ). Better exception message in disk access storage. #12625 ( alesapin ). Better exception for function in with invalid number of arguments. #12529 ( Anton Popov ). Fix error message about adaptive granularity. #12624 ( alesapin ). Fix SETTINGS parse after FORMAT. #12480 ( Azat Khuzhin ). If MergeTree table does not contain ORDER BY or PARTITION BY, it was possible to request ALTER to CLEAR all the columns and ALTER will stuck. Fixed #7941 . #12382 ( alexey-milovidov ). Avoid re-loading completion from the history file after each query (to avoid history overlaps with other client sessions). #13086 ( Azat Khuzhin ). Performance Improvement {#performance-improvement-6} Lower memory usage for some operations up to 2 times. #12424 ( alexey-milovidov ). Optimize PK lookup for queries that match exact PK range. #12277 ( Ivan Babrou ). Slightly optimize very short queries with LowCardinality . #14129 ( Anton Popov ). Slightly improve performance of aggregation by UInt8/UInt16 keys. #13091 and #13055 ( alexey-milovidov ). Push down LIMIT step for query plan (inside subqueries). #13016 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.03777620568871498, -0.01882541924715042, -0.03586545214056969, 0.0037131253629922867, -0.029338261112570763, -0.038443323224782944, 0.017412669956684113, -0.025941671803593636, -0.032150302082300186, 0.033043503761291504, 0.04569965600967407, -0.024109626188874245, 0.06351746618747711, ...
208b42b1-35bd-44b8-abac-0fe304964545
Push down LIMIT step for query plan (inside subqueries). #13016 ( Nikolai Kochetov ). Parallel primary key lookup and skipping index stages on parts, as described in #11564 . #12589 ( Ivan Babrou ). Converting String-type arguments of function "if" and "transform" into enum if set optimize_if_transform_strings_to_enum = 1 . #12515 ( Artem Zuikov ). Replaces monotonic functions with its argument in ORDER BY if set optimize_monotonous_functions_in_order_by=1 . #12467 ( Artem Zuikov ). Add order by optimization that rewrites ORDER BY x, f(x) with ORDER by x if set optimize_redundant_functions_in_order_by = 1 . #12404 ( Artem Zuikov ). Allow pushdown predicate when subquery contains WITH clause. This fixes #12293 #12663 ( Winter Zhang ). Improve performance of reading from compact parts. Compact parts is an experimental feature. #12492 ( Anton Popov ). Attempt to implement streaming optimization in DiskS3 . DiskS3 is an experimental feature. #12434 ( Vladimir Chebotarev ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-8} Use shellcheck for sh tests linting. #13200 #13207 ( alexey-milovidov ). Add script which set labels for pull requests in GitHub hook. #13183 ( alesapin ). Remove some of recursive submodules. See #13378 . #13379 ( alexey-milovidov ). Ensure that all the submodules are from proper URLs. Continuation of #13379 . This fixes #13378 . #13397 ( alexey-milovidov ). Added support for user-declared settings, which can be accessed from inside queries. This is needed when ClickHouse engine is used as a component of another system. #13013 ( Vitaly Baranov ). Added testing for RBAC functionality of INSERT privilege in TestFlows. Expanded tables on which SELECT is being tested. Added Requirements to match new table engine tests. #13340 ( MyroTk ). Fix timeout error during server restart in the stress test. #13321 ( alesapin ). Now fast test will wait server with retries. #13284 ( alesapin ). Function materialize() (the function for ClickHouse testing) will work for NULL as expected - by transforming it to non-constant column. #13212 ( alexey-milovidov ). Fix libunwind build in AArch64. This fixes #13204 . #13208 ( alexey-milovidov ). Even more retries in zkutil gtest to prevent test flakiness. #13165 ( alexey-milovidov ). Small fixes to the RBAC TestFlows. #13152 ( vzakaznikov ). Fixing 00960_live_view_watch_events_live.py test. #13108 ( vzakaznikov ). Improve cache purge in documentation deploy script. #13107 ( alesapin ). Rewrote some orphan tests to gtest. Removed useless includes from tests. #13073 ( Nikita Mikhaylov ). Added tests for RBAC functionality of SELECT privilege in TestFlows. #13061 ( Ritaank Tiwari ). Rerun some tests in fast test check. #12992 ( alesapin ).
{"source_file": "2020.md"}
[ -0.010663115419447422, 0.06108929216861725, 0.028593625873327255, -0.068776935338974, -0.022156016901135445, -0.040144503116607666, -0.005373272579163313, 0.06108292564749718, -0.02990751340985298, 0.01739649847149849, -0.024729793891310692, -0.007693847641348839, 0.02635004185140133, -0.0...
fdf25a6c-9d6f-477d-8763-429274ebdd5a
Added tests for RBAC functionality of SELECT privilege in TestFlows. #13061 ( Ritaank Tiwari ). Rerun some tests in fast test check. #12992 ( alesapin ). Fix MSan error in "rdkafka" library. This closes #12990 . Updated rdkafka to version 1.5 (master). #12991 ( alexey-milovidov ). Fix UBSan report in base64 if tests were run on server with AVX-512. This fixes #12318 . Author: @qoega. #12441 ( alexey-milovidov ). Fix UBSan report in HDFS library. This closes #12330 . #12453 ( alexey-milovidov ). Check an ability that we able to restore the backup from an old version to the new version. This closes #8979 . #12959 ( alesapin ). Do not build helper_container image inside integrational tests. Build docker container in CI and use pre-built helper_container in integration tests. #12953 ( Ilya Yatsishin ). Add a test for ALTER TABLE CLEAR COLUMN query for primary key columns. #12951 ( alesapin ). Increased timeouts in testflows tests. #12949 ( vzakaznikov ). Fix build of test under Mac OS X. This closes #12767 . #12772 ( alexey-milovidov ). Connector-ODBC updated to mysql-connector-odbc-8.0.21. #12739 ( Ilya Yatsishin ). Adding RBAC syntax tests in TestFlows. #12642 ( vzakaznikov ). Improve performance of TestKeeper. This will speedup tests with heavy usage of Replicated tables. #12505 ( alexey-milovidov ). Now we check that server is able to start after stress tests run. This fixes #12473 . #12496 ( alesapin ). Update fmtlib to master (7.0.1). #12446 ( alexey-milovidov ). Add docker image for fast tests. #12294 ( alesapin ). Rework configuration paths for integration tests. #12285 ( Ilya Yatsishin ). Add compiler option to control that stack frames are not too large. This will help to run the code in fibers with small stack size. #11524 ( alexey-milovidov ). Update gitignore-files. #13447 ( vladimir-golovchenko ). ClickHouse release 20.6 {#clickhouse-release-206} ClickHouse release v20.6.3.28-stable {#clickhouse-release-v206328-stable} Backward Incompatible Change {#backward-incompatible-change-6} When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-6} Added an initial implementation of EXPLAIN query. Syntax: EXPLAIN SELECT ... . This fixes #1118 . #11873 ( Nikolai Kochetov ). Added storage RabbitMQ . #11069 ( Kseniia Sumarokova ). Implemented PostgreSQL-like ILIKE operator for #11710 . #12125 ( Mike ).
{"source_file": "2020.md"}
[ 0.012480738572776318, -0.012435153126716614, -0.10161864757537842, 0.02644975669682026, 0.032781586050987244, -0.024779273197054863, -0.04519575461745262, -0.018877530470490456, -0.051196519285440445, 0.0322476401925087, -0.024260466918349266, -0.0615578331053257, 0.013804945163428783, 0.0...
0b2b1036-3638-4674-ab2d-c7a6cd482641
Added storage RabbitMQ . #11069 ( Kseniia Sumarokova ). Implemented PostgreSQL-like ILIKE operator for #11710 . #12125 ( Mike ). Supported RIGHT and FULL JOIN with SET join_algorithm = 'partial_merge' . Only ALL strictness is allowed (ANY, SEMI, ANTI, ASOF are not). #12118 ( Artem Zuikov ). Added a function initializeAggregation to initialize an aggregation based on a single value. #12109 ( Guillaume Tassery ). Supported ALTER TABLE ... [ADD|MODIFY] COLUMN ... FIRST #4006 . #12073 ( Winter Zhang ). Added function parseDateTimeBestEffortUS . #12028 ( flynn ). Support format ORC for output (was supported only for input). #11662 ( Kruglov Pavel ). Bug Fix {#bug-fix-25} Fixed aggregate function any(x) is found inside another aggregate function in query error with SET optimize_move_functions_out_of_any = 1 and aliases inside any() . #13419 ( Artem Zuikov ). Fixed PrettyCompactMonoBlock for clickhouse-local. Fixed extremes/totals with PrettyCompactMonoBlock . This fixes #7746 . #13394 ( Azat Khuzhin ). Fixed possible error Totals having transform was already added to pipeline in case of a query from delayed replica. #13290 ( Nikolai Kochetov ). The server may crash if user passed specifically crafted arguments to the function h3ToChildren . This fixes #13275 . #13277 ( alexey-milovidov ). Fixed potentially low performance and slightly incorrect result for uniqExact , topK , sumDistinct and similar aggregate functions called on Float types with NaN values. It also triggered assert in debug build. This fixes #12491 . #13254 ( alexey-milovidov ). Fixed function if with nullable constexpr as cond that is not literal NULL. Fixes #12463 . #13226 ( alexey-milovidov ). Fixed assert in arrayElement function in case of array elements are Nullable and array subscript is also Nullable. This fixes #12172 . #13224 ( alexey-milovidov ). Fixed DateTime64 conversion functions with constant argument. #13205 ( Azat Khuzhin ). Fixed wrong index analysis with functions. It could lead to pruning wrong parts, while reading from MergeTree tables. Fixes #13060 . Fixes #12406 . #13081 ( Anton Popov ). Fixed error Cannot convert column because it is constant but values of constants are different in source and result for remote queries which use deterministic functions in scope of query, but not deterministic between queries, like now() , now64() , randConstant() . Fixes #11327 . #13075 ( Nikolai Kochetov ). Fixed unnecessary limiting for the number of threads for selects from local replica. #12840 ( Nikolai Kochetov ). Fixed rare bug when ALTER DELETE and ALTER MODIFY COLUMN queries executed simultaneously as a single mutation. Bug leads to an incorrect amount of rows in count.txt and as a consequence incorrect data in part. Also, fix a small bug with simultaneous ALTER RENAME COLUMN and ALTER ADD COLUMN . #12760 ( alesapin ).
{"source_file": "2020.md"}
[ -0.014013988897204399, 0.008003449998795986, 0.10532432049512863, 0.04180854186415672, -0.030992019921541214, 0.01728186011314392, 0.036016616970300674, 0.07914641499519348, 0.009502774104475975, 0.022989150136709213, -0.0014740857295691967, -0.000032465301046613604, -0.04319852590560913, ...
0308e091-1f52-4fbf-8bc3-bbde9b7577af
Fixed CAST(Nullable(String), Enum()) . #12745 ( Azat Khuzhin ). Fixed a performance with large tuples, which are interpreted as functions in IN section. The case when user write WHERE x IN tuple(1, 2, ...) instead of WHERE x IN (1, 2, ...) for some obscure reason. #12700 ( Anton Popov ). Fixed memory tracking for input_format_parallel_parsing (by attaching thread to group). #12672 ( Azat Khuzhin ). Fixed bloom filter index with const expression. This fixes #10572 . #12659 ( Winter Zhang ). Fixed SIGSEGV in StorageKafka when broker is unavailable (and not only). #12658 ( Azat Khuzhin ). Added support for function if with Array(UUID) arguments. This fixes #11066 . #12648 ( alexey-milovidov ). CREATE USER IF NOT EXISTS now does not throw exception if the user exists. This fixes #12507 . #12646 ( Vitaly Baranov ). Better exception message in disk access storage. #12625 ( alesapin ). The function groupArrayMoving* was not working for distributed queries. It's result was calculated within incorrect data type (without promotion to the largest type). The function groupArrayMovingAvg was returning integer number that was inconsistent with the avg function. This fixes #12568 . #12622 ( alexey-milovidov ). Fixed lack of aliases with function any . #12593 ( Anton Popov ). Fixed race condition in external dictionaries with cache layout which can lead server crash. #12566 ( alesapin ). Remove data for Distributed tables (blocks from async INSERTs) on DROP TABLE. #12556 ( Azat Khuzhin ). Fixed bug which lead to broken old parts after ALTER DELETE query when enable_mixed_granularity_parts=1 . Fixes #12536 . #12543 ( alesapin ). Better exception for function in with invalid number of arguments. #12529 ( Anton Popov ). Fixing race condition in live view tables which could cause data duplication. #12519 ( vzakaznikov ). Fixed performance issue, while reading from compact parts. #12492 ( Anton Popov ). Fixed backwards compatibility in binary format of AggregateFunction(avg, ...) values. This fixes #12342 . #12486 ( alexey-milovidov ). Fixed SETTINGS parse after FORMAT. #12480 ( Azat Khuzhin ). Fixed the deadlock if text_log is enabled. #12452 ( alexey-milovidov ). Fixed overflow when very large LIMIT or OFFSET is specified. This fixes #10470 . This fixes #11372 . #12427 ( alexey-milovidov ). Fixed possible segfault if StorageMerge . This fixes #12054 . #12401 ( tavplubix ). Reverted change introduced in #11079 to resolve #12098 . #12397 ( Mike ). Additional check for arguments of bloom filter index. This fixes #11408 . #12388 ( alexey-milovidov ). Avoid exception when negative or floating point constant is used in WHERE condition for indexed tables. This fixes #11905 . #12384 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.00018816870579030365, 0.027817485854029655, -0.07004556804895401, 0.039715904742479324, -0.059359870851039886, -0.021310636773705482, 0.04063212499022484, 0.03032337687909603, -0.009314402006566525, 0.02068481035530567, 0.010393255390226841, -0.004495418630540371, 0.051678627729415894, ...
db9209a0-25e5-4de6-a065-cf7837748548
Avoid exception when negative or floating point constant is used in WHERE condition for indexed tables. This fixes #11905 . #12384 ( alexey-milovidov ). Allowed to CLEAR column even if there are depending DEFAULT expressions. This fixes #12333 . #12378 ( alexey-milovidov ). Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments. This fixes #12163 . #12376 ( alexey-milovidov ). Fixed error message and exit codes for ALTER RENAME COLUMN queries, when RENAME is not allowed. Fixes #12301 and #12303 . #12335 ( alesapin ). Fixed very rare race condition in ReplicatedMergeTreeQueue . #12315 ( alexey-milovidov ). When using codec Delta or DoubleDelta with non fixed width types, exception with code LOGICAL_ERROR was returned instead of exception with code BAD_ARGUMENTS (we ensure that exceptions with code logical error never happen). This fixes #12110 . #12308 ( alexey-milovidov ). Fixed order of columns in WITH FILL modifier. Previously order of columns of ORDER BY statement wasn't respected. #12306 ( Anton Popov ). Avoid "bad cast" exception when there is an expression that filters data by virtual columns (like _table in Merge tables) or by "index" columns in system tables such as filtering by database name when querying from system.tables , and this expression returns Nullable type. This fixes #12166 . #12305 ( alexey-milovidov ). Fixed TTL after renaming column, on which depends TTL expression. #12304 ( Anton Popov ). Fixed SIGSEGV if there is an message with error in the middle of the batch in Kafka Engine. #12302 ( Azat Khuzhin ). Fixed the situation when some threads might randomly hang for a few seconds during DNS cache updating. #12296 ( tavplubix ). Fixed typo in setting name. #12292 ( alexey-milovidov ). Show error after TrieDictionary failed to load. #12290 ( Vitaly Baranov ). The function arrayFill worked incorrectly for empty arrays that may lead to crash. This fixes #12263 . #12279 ( alexey-milovidov ). Implement conversions to the common type for LowCardinality types. This allows to execute UNION ALL of tables with columns of LowCardinality and other columns. This fixes #8212 . This fixes #4342 . #12275 ( alexey-milovidov ). Fixed the behaviour on reaching redirect limit in request to S3 storage. #12256 ( ianton-ru ). Fixed the behaviour when during multiple sequential inserts in StorageFile header for some special types was written more than once. This fixed #6155 . #12197 ( Nikita Mikhaylov ). Fixed logical functions for UInt8 values when they are not equal to 0 or 1. #12196 ( Alexander Kazakov ). Cap max_memory_usage* limits to the process resident memory. #12182 ( Azat Khuzhin ). Fix dictGet arguments check during GROUP BY injective functions elimination. #12179 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.07168855518102646, -0.010203702375292778, -0.014655512757599354, 0.01304598432034254, -0.14381717145442963, -0.029857110232114792, -0.032175611704587936, -0.0034351979847997427, -0.02946941740810871, 0.043726056814193726, 0.06014418974518776, -0.03349492698907852, -0.012144693173468113, ...
4e596399-c988-4a5e-9a57-29e6fecf23ca
Cap max_memory_usage* limits to the process resident memory. #12182 ( Azat Khuzhin ). Fix dictGet arguments check during GROUP BY injective functions elimination. #12179 ( Azat Khuzhin ). Fixed the behaviour when SummingMergeTree engine sums up columns from partition key. Added an exception in case of explicit definition of columns to sum which intersects with partition key columns. This fixes #7867 . #12173 ( Nikita Mikhaylov ). Don't split the dictionary source's table name into schema and table name itself if ODBC connection does not support schema. #12165 ( Vitaly Baranov ). Fixed wrong logic in ALTER DELETE that leads to deleting of records when condition evaluates to NULL. This fixes #9088 . This closes #12106 . #12153 ( alexey-milovidov ). Fixed transform of query to send to external DBMS (e.g. MySQL, ODBC) in presense of aliases. This fixes #12032 . #12151 ( alexey-milovidov ). Fixed bad code in redundant ORDER BY optimization. The bug was introduced in #10067 . #12148 ( alexey-milovidov ). Fixed potential overflow in integer division. This fixes #12119 . #12140 ( alexey-milovidov ). Fixed potential infinite loop in greatCircleDistance , geoDistance . This fixes #12117 . #12137 ( alexey-milovidov ). Normalize "pid" file handling. In previous versions the server may refuse to start if it was killed without proper shutdown and if there is another process that has the same pid as previously runned server. Also pid file may be removed in unsuccessful server startup even if there is another server running. This fixes #3501 . #12133 ( alexey-milovidov ). Fixed bug which leads to incorrect table metadata in ZooKeepeer for ReplicatedVersionedCollapsingMergeTree tables. Fixes #12093 . #12121 ( alesapin ). Avoid "There is no query" exception for materialized views with joins or with subqueries attached to system logs (system.query_log, metric_log, etc) or to engine=Buffer underlying table. #12120 ( filimonov ). Fixed handling dependency of table with ENGINE=Dictionary on dictionary. This fixes #10994 . This fixes #10397 . #12116 ( Vitaly Baranov ). Format Parquet now properly works with LowCardinality and LowCardinality(Nullable) types. Fixes #12086 , #8406 . #12108 ( Nikolai Kochetov ). Fixed performance for selects with UNION caused by wrong limit for the total number of threads. Fixes #12030 . #12103 ( Nikolai Kochetov ). Fixed segfault with -StateResample combinators. #12092 ( Anton Popov ). Fixed empty result_rows and result_bytes metrics in system.quey_log for selects. Fixes #11595 . #12089 ( Nikolai Kochetov ). Fixed unnecessary limiting the number of threads for selects from VIEW . Fixes #11937 . #12085 ( Nikolai Kochetov ). Fixed SIGSEGV in StorageKafka on DROP TABLE. #12075 ( Azat Khuzhin ). Fixed possible crash while using wrong type for PREWHERE . Fixes #12053 , #12060 . #12060 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.014367533847689629, -0.006371309515088797, -0.052733164280653, 0.042706556618213654, -0.02165433019399643, -0.1085699051618576, 0.05878707394003868, 0.034666940569877625, 0.012994413264095783, 0.05918307974934578, 0.01020648144185543, -0.008393572643399239, 0.02168045938014984, -0.05201...
751f471f-5120-484b-8d85-3e0977c7b234
Fixed SIGSEGV in StorageKafka on DROP TABLE. #12075 ( Azat Khuzhin ). Fixed possible crash while using wrong type for PREWHERE . Fixes #12053 , #12060 . #12060 ( Nikolai Kochetov ). Fixed error Cannot capture column for higher-order functions with Tuple(LowCardinality) argument. Fixes #9766 . #12055 ( Nikolai Kochetov ). Fixed constraints check if constraint is a constant expression. This fixes #11360 . #12042 ( alexey-milovidov ). Fixed wrong result and potential crash when invoking function if with arguments of type FixedString with different sizes. This fixes #11362 . #12021 ( alexey-milovidov ). Improvement {#improvement-14} Allowed to set JOIN kind and type in more standard way: LEFT SEMI JOIN instead of SEMI LEFT JOIN . For now both are correct. #12520 ( Artem Zuikov ). lifetime_rows/lifetime_bytes for Buffer engine. #12421 ( Azat Khuzhin ). Write the detail exception message to the client instead of 'MySQL server has gone away'. #12383 ( BohuTANG ). Allows to change a charset which is used for printing grids borders. Available charsets are following: UTF-8, ASCII. Setting output_format_pretty_grid_charset enables this feature. #12372 ( Sabyanin Maxim ). Supported MySQL 'SELECT DATABASE()' #9336 2. Add MySQL replacement query integration test. #12314 ( BohuTANG ). Added KILL QUERY [connection_id] for the MySQL client/driver to cancel the long query, issue #12038 . #12152 ( BohuTANG ). Added support for %g (two digit ISO year) and %G (four digit ISO year) substitutions in formatDateTime function. #12136 ( vivarum ). Added 'type' column in system.disks. #12115 ( ianton-ru ). Improved REVOKE command: now it requires grant/admin option for only access which will be revoked. For example, to execute REVOKE ALL ON *.* FROM user1 now it does not require to have full access rights granted with grant option. Added command REVOKE ALL FROM user1 - it revokes all granted roles from user1 . #12083 ( Vitaly Baranov ). Added replica priority for load_balancing (for manual prioritization of the load balancing). #11995 ( Azat Khuzhin ). Switched paths in S3 metadata to relative which allows to handle S3 blobs more easily. #11892 ( Vladimir Chebotarev ). Performance Improvement {#performance-improvement-7} Improved performace of 'ORDER BY' and 'GROUP BY' by prefix of sorting key (enabled with optimize_aggregation_in_order setting, disabled by default). #11696 ( Anton Popov ). Removed injective functions inside uniq*() if set optimize_injective_functions_inside_uniq=1 . #12337 ( Ruslan Kamalov ). Index not used for IN operator with literals, performance regression introduced around v19.3. This fixes #10574 . #12062 ( nvartolomei ). Implemented single part uploads for DiskS3 (experimental feature). #12026 ( Vladimir Chebotarev ). Experimental Feature {#experimental-feature-4}
{"source_file": "2020.md"}
[ -0.026130016893148422, 0.07753462344408035, 0.007313436362892389, 0.017502013593912125, -0.03509490564465523, -0.020162370055913925, 0.0359349362552166, 0.09187660366296768, -0.05531499162316322, 0.01851813681423664, -0.027046646922826767, -0.01634010672569275, 0.02669893391430378, -0.0526...
368e5697-0004-4552-9203-6d8c9c57e196
Implemented single part uploads for DiskS3 (experimental feature). #12026 ( Vladimir Chebotarev ). Experimental Feature {#experimental-feature-4} Added new in-memory format of parts in MergeTree -family tables, which stores data in memory. Parts are written on disk at first merge. Part will be created in in-memory format if its size in rows or bytes is below thresholds min_rows_for_compact_part and min_bytes_for_compact_part . Also optional support of Write-Ahead-Log is available, which is enabled by default and is controlled by setting in_memory_parts_enable_wal . #10697 ( Anton Popov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-9} Implement AST-based query fuzzing mode for clickhouse-client. See this label for the list of issues we recently found by fuzzing. Most of them were found by this tool, and a couple by SQLancer and 00746_sql_fuzzy.pl . #12111 ( Alexander Kuzmenkov ). Add new type of tests based on Testflows framework. #12090 ( vzakaznikov ). Added S3 HTTPS integration test. #12412 ( Pavel Kovalenko ). Log sanitizer trap messages from separate thread. This will prevent possible deadlock under thread sanitizer. #12313 ( alexey-milovidov ). Now functional and stress tests will be able to run with old version of clickhouse-test script. #12287 ( alesapin ). Remove strange file creation during build in orc . #12258 ( Nikita Mikhaylov ). Place common docker compose files to integration docker container. #12168 ( Ilya Yatsishin ). Fix warnings from CodeQL. CodeQL is another static analyzer that we will use along with clang-tidy and PVS-Studio that we use already. #12138 ( alexey-milovidov ). Minor CMake fixes for UNBUNDLED build. #12131 ( Matwey V. Kornilov ). Added a showcase of the minimal Docker image without using any Linux distribution. #12126 ( alexey-milovidov ). Perform an upgrade of system packages in the clickhouse-server docker image. #12124 ( Ivan Blinkov ). Add UNBUNDLED flag to system.build_options table. Move skip lists for clickhouse-test to clickhouse repo. #12107 ( alesapin ). Regular check by Anchore Container Analysis security analysis tool that looks for CVE in clickhouse-server Docker image. Also confirms that Dockerfile is buildable. Runs daily on master and on pull-requests to Dockerfile . #12102 ( Ivan Blinkov ). Daily check by GitHub CodeQL security analysis tool that looks for CWE . #12101 ( Ivan Blinkov ). Install ca-certificates before the first apt-get update in Dockerfile. #12095 ( Ivan Blinkov ). ClickHouse release 20.5 {#clickhouse-release-205} ClickHouse release v20.5.4.40-stable 2020-08-10 {#clickhouse-release-v205440-stable-2020-08-10} Bug Fix {#bug-fix-26} Fixed wrong index analysis with functions. It could lead to pruning wrong parts, while reading from MergeTree tables. Fixes #13060 . Fixes #12406 . #13081 ( Anton Popov ).
{"source_file": "2020.md"}
[ 0.002144837286323309, -0.030569056048989296, -0.061444081366062164, 0.03440522775053978, -0.0007093876483850181, -0.12318693101406097, -0.009638737887144089, 0.048874493688344955, -0.049030862748622894, 0.022882457822561264, 0.054704345762729645, 0.05225547030568123, 0.05639801174402237, -...
172c8f30-4aee-445c-800e-9280c5bd6ca3
Fixed wrong index analysis with functions. It could lead to pruning wrong parts, while reading from MergeTree tables. Fixes #13060 . Fixes #12406 . #13081 ( Anton Popov ). Fixed unnecessary limiting for the number of threads for selects from local replica. #12840 ( Nikolai Kochetov ). Fixed performance with large tuples, which are interpreted as functions in IN section. The case when user write WHERE x IN tuple(1, 2, ...) instead of WHERE x IN (1, 2, ...) for some obscure reason. #12700 ( Anton Popov ). Fixed memory tracking for input_format_parallel_parsing (by attaching thread to group). #12672 ( Azat Khuzhin ). Fixed bloom filter index with const expression. This fixes #10572 . #12659 ( Winter Zhang ). Fixed SIGSEGV in StorageKafka when broker is unavailable (and not only). #12658 ( Azat Khuzhin ). Added support for function if with Array(UUID) arguments. This fixes #11066 . #12648 ( alexey-milovidov ). Fixed lack of aliases with function any . #12593 ( Anton Popov ). Fixed race condition in external dictionaries with cache layout which can lead server crash. #12566 ( alesapin ). Remove data for Distributed tables (blocks from async INSERTs) on DROP TABLE. #12556 ( Azat Khuzhin ). Fixed bug which lead to broken old parts after ALTER DELETE query when enable_mixed_granularity_parts=1 . Fixes #12536 . #12543 ( alesapin ). Better exception for function in with invalid number of arguments. #12529 ( Anton Popov ). Fixed race condition in live view tables which could cause data duplication. #12519 ( vzakaznikov ). Fixed performance issue, while reading from compact parts. #12492 ( Anton Popov ). Fixed backwards compatibility in binary format of AggregateFunction(avg, ...) values. This fixes #12342 . #12486 ( alexey-milovidov ). Fixed the deadlock if text_log is enabled. #12452 ( alexey-milovidov ). Fixed overflow when very large LIMIT or OFFSET is specified. This fixes #10470 . This fixes #11372 . #12427 ( alexey-milovidov ). Fixed possible segfault if StorageMerge. Closes #12054 . #12401 ( tavplubix ). Reverts change introduced in #11079 to resolve #12098 . #12397 ( Mike ). Avoid exception when negative or floating point constant is used in WHERE condition for indexed tables. This fixes #11905 . #12384 ( alexey-milovidov ). Allow to CLEAR column even if there are depending DEFAULT expressions. This fixes #12333 . #12378 ( alexey-milovidov ). Fixed TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments. This fixes #12163 . #12376 ( alexey-milovidov ). Fixed SIGSEGV if there is an message with error in the middle of the batch in Kafka Engine. #12302 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ 0.000532367848791182, 0.012206143699586391, 0.004882616922259331, 0.01895274594426155, -0.04270408675074577, -0.09653976559638977, -0.014373010955750942, -0.0023938706144690514, 0.015263902954757214, 0.02249348908662796, -0.009461432695388794, -0.006937478668987751, 0.00622978713363409, -0...
11faecde-692d-4c7a-a9cc-8f0daa38c6db
Fixed SIGSEGV if there is an message with error in the middle of the batch in Kafka Engine. #12302 ( Azat Khuzhin ). Fixed the behaviour when SummingMergeTree engine sums up columns from partition key. Added an exception in case of explicit definition of columns to sum which intersects with partition key columns. This fixes #7867 . #12173 ( Nikita Mikhaylov ). Fixed transform of query to send to external DBMS (e.g. MySQL, ODBC) in presense of aliases. This fixes #12032 . #12151 ( alexey-milovidov ). Fixed bug which leads to incorrect table metadata in ZooKeepeer for ReplicatedVersionedCollapsingMergeTree tables. Fixes #12093 . #12121 ( alesapin ). Fixed unnecessary limiting the number of threads for selects from VIEW . Fixes #11937 . #12085 ( Nikolai Kochetov ). Fixed crash in JOIN with LowCardinality type with join_algorithm=partial_merge . #12035 ( Artem Zuikov ). Fixed wrong result for if() with NULLs in condition. #11807 ( Artem Zuikov ). Performance Improvement {#performance-improvement-8} Index not used for IN operator with literals, performance regression introduced around v19.3. This fixes #10574 . #12062 ( nvartolomei ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-10} Install ca-certificates before the first apt-get update in Dockerfile. #12095 ( Ivan Blinkov ). ClickHouse release v20.5.2.7-stable 2020-07-02 {#clickhouse-release-v20527-stable-2020-07-02} Backward Incompatible Change {#backward-incompatible-change-7} Return non-Nullable result from COUNT(DISTINCT), and uniq aggregate functions family. If all passed values are NULL, return zero instead. This improves SQL compatibility. #11661 ( alexey-milovidov ). Added a check for the case when user-level setting is specified in a wrong place. User-level settings should be specified in users.xml inside <profile> section for specific user profile (or in <default> for default settings). The server won't start with exception message in log. This fixes #9051 . If you want to skip the check, you can either move settings to the appropriate place or add <skip_check_for_incorrect_settings>1</skip_check_for_incorrect_settings> to config.xml. #11449 ( alexey-milovidov ). The setting input_format_with_names_use_header is enabled by default. It will affect parsing of input formats -WithNames and -WithNamesAndTypes . #10937 ( alexey-milovidov ). Remove experimental_use_processors setting. It is enabled by default. #10924 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.02809760719537735, -0.020139938220381737, 0.020682793110609055, 0.001449774019420147, -0.012164078652858734, -0.05163385346531868, 0.014401071704924107, 0.058677949011325836, 0.025428634136915207, 0.04663517326116562, -0.02600780501961708, -0.104344442486763, -0.010093992576003075, -0.0...
0b15368c-fe10-4253-8059-5ddaa1f427aa
Remove experimental_use_processors setting. It is enabled by default. #10924 ( Nikolai Kochetov ). Update zstd to 1.4.4. It has some minor improvements in performance and compression ratio. If you run replicas with different versions of ClickHouse you may see reasonable error messages Data after merge is not byte-identical to data on another replicas. with explanation. These messages are Ok and you should not worry. This change is backward compatible but we list it here in changelog in case you will wonder about these messages. #10663 ( alexey-milovidov ). Added a check for meaningless codecs and a setting allow_suspicious_codecs to control this check. This closes #4966 . #10645 ( alexey-milovidov ). Several Kafka setting changes their defaults. See #11388 . When upgrading from versions older than 20.5, if rolling update is performed and cluster contains both versions 20.5 or greater and less than 20.5, if ClickHouse nodes with old versions are restarted and old version has been started up in presence of newer versions, it may lead to Part ... intersects previous part errors. To prevent this error, first install newer clickhouse-server packages on all cluster nodes and then do restarts (so, when clickhouse-server is restarted, it will start up with the new version). New Feature {#new-feature-7} TTL DELETE WHERE and TTL GROUP BY for automatic data coarsening and rollup in tables. #10537 ( expl0si0nn ). Implementation of PostgreSQL wire protocol. #10242 ( Movses ). Added system tables for users, roles, grants, settings profiles, quotas, row policies; added commands SHOW USER, SHOW [CURRENT|ENABLED] ROLES, SHOW SETTINGS PROFILES. #10387 ( Vitaly Baranov ). Support writes in ODBC Table function #10554 ( ageraab ). #10901 ( tavplubix ). Add query performance metrics based on Linux perf_events (these metrics are calculated with hardware CPU counters and OS counters). It is optional and requires CAP_SYS_ADMIN to be set on clickhouse binary. #9545 Andrey Skobtsov . #11226 ( Alexander Kuzmenkov ). Now support NULL and NOT NULL modifiers for data types in CREATE query. #11057 ( Павел Потемкин ). Add ArrowStream input and output format. #11088 ( hcz ). Support Cassandra as external dictionary source. #4978 ( favstovol ). Added a new layout direct which loads all the data directly from the source for each query, without storing or caching data. #10622 ( Artem Streltsov ). Added new complex_key_direct layout to dictionaries, that does not store anything locally during query execution. #10850 ( Artem Streltsov ). Added support for MySQL style global variables syntax (stub). This is needed for compatibility of MySQL protocol. #11832 ( alexey-milovidov ). Added syntax highligting to clickhouse-client using replxx . #11422 ( Tagir Kuskarov ). minMap and maxMap functions were added. #11603 ( Ildus Kurbangaliev ).
{"source_file": "2020.md"}
[ -0.05806293338537216, -0.04848048835992813, -0.023541472852230072, 0.0006065021152608097, 0.039534494280815125, -0.10636251419782639, -0.0875248834490776, -0.05200525000691414, -0.021954122930765152, 0.03262133151292801, 0.02253044955432415, 0.006068449467420578, -0.019552143290638924, -0....
07c36a2e-3b69-42a1-bd4e-add0997dd799
Added syntax highligting to clickhouse-client using replxx . #11422 ( Tagir Kuskarov ). minMap and maxMap functions were added. #11603 ( Ildus Kurbangaliev ). Add the system.asynchronous_metric_log table that logs historical metrics from system.asynchronous_metrics . #11588 ( Alexander Kuzmenkov ). Add functions extractAllGroupsHorizontal(haystack, re) and extractAllGroupsVertical(haystack, re) . #11554 ( Vasily Nemkov ). Add SHOW CLUSTER(S) queries. #11467 ( hexiaoting ). Add netloc function for extracting network location, similar to urlparse(url) , netloc in python. #11356 ( Guillaume Tassery ). Add 2 more virtual columns for engine=Kafka to access message headers. #11283 ( filimonov ). Add _timestamp_ms virtual column for Kafka engine (type is Nullable(DateTime64(3)) ). #11260 ( filimonov ). Add function randomFixedString . #10866 ( Andrei Nekrashevich ). Add function fuzzBits that randomly flips bits in a string with given probability. #11237 ( Andrei Nekrashevich ). Allow comparison of numbers with constant string in comparison operators, IN and VALUES sections. #11647 ( alexey-milovidov ). Add round_robin load_balancing mode. #11645 ( Azat Khuzhin ). Add cast_keep_nullable setting. If set CAST(something_nullable AS Type) return Nullable(Type) . #11733 ( Artem Zuikov ). Added column position to system.columns table and column_position to system.parts_columns table. It contains ordinal position of a column in a table starting with 1. This closes #7744 . #11655 ( alexey-milovidov ). ON CLUSTER support for SYSTEM {FLUSH DISTRIBUTED,STOP/START DISTRIBUTED SEND} . #11415 ( Azat Khuzhin ). Add system.distribution_queue table. #11394 ( Azat Khuzhin ). Support for all format settings in Kafka, expose some setting on table level, adjust the defaults for better performance. #11388 ( filimonov ). Add port function (to extract port from URL). #11120 ( Azat Khuzhin ). Now dictGet* functions accept table names. #11050 ( Vitaly Baranov ). The clickhouse-format tool is now able to format multiple queries when the -n argument is used. #10852 ( Darío ). Possibility to configure proxy-resolver for DiskS3. #10744 ( Pavel Kovalenko ). Make pointInPolygon work with non-constant polygon. PointInPolygon now can take Array(Array(Tuple(..., ...))) as second argument, array of polygon and holes. #10623 ( Alexey Ilyukhov ) #11421 ( Alexey Ilyukhov ). Added move_ttl_info to system.parts in order to provide introspection of move TTL functionality. #10591 ( Vladimir Chebotarev ). Possibility to work with S3 through proxies. #10576 ( Pavel Kovalenko ). Add NCHAR and NVARCHAR synonims for data types. #11025 ( alexey-milovidov ). Resolved #7224 : added FailedQuery , FailedSelectQuery and FailedInsertQuery metrics to system.events table. #11151 ( Nikita Orlov ).
{"source_file": "2020.md"}
[ -0.008455884642899036, -0.03320416808128357, -0.07163617014884949, -0.00703266728669405, -0.05841433256864548, -0.05379945784807205, -0.04170655459165573, -0.013972576707601547, -0.014118198305368423, 0.01793338730931282, -0.009379764087498188, -0.0871436595916748, -0.0011843792162835598, ...
eeef35ea-317e-48f8-9835-94cfcdb83909
Resolved #7224 : added FailedQuery , FailedSelectQuery and FailedInsertQuery metrics to system.events table. #11151 ( Nikita Orlov ). Add more jemalloc statistics to system.asynchronous_metrics , and ensure that we see up-to-date values for them. #11748 ( Alexander Kuzmenkov ). Allow to specify default S3 credentials and custom auth headers. #11134 ( Grigory Pervakov ). Added new functions to import/export DateTime64 as Int64 with various precision: to-/fromUnixTimestamp64Milli/-Micro/-Nano . #10923 ( Vasily Nemkov ). Allow specifying mongodb:// URI for MongoDB dictionaries. #10915 ( Alexander Kuzmenkov ). OFFSET keyword can now be used without an affiliated LIMIT clause. #10802 ( Guillaume Tassery ). Added system.licenses table. This table contains licenses of third-party libraries that are located in contrib directory. This closes #2890 . #10795 ( alexey-milovidov ). New function function toStartOfSecond(DateTime64) -> DateTime64 that nullifies sub-second part of DateTime64 value. #10722 ( Vasily Nemkov ). Add new input format JSONAsString that accepts a sequence of JSON objects separated by newlines, spaces and/or commas. #10607 ( Kruglov Pavel ). Allowed to profile memory with finer granularity steps than 4 MiB. Added sampling memory profiler to capture random allocations/deallocations. #10598 ( alexey-milovidov ). SimpleAggregateFunction now also supports sumMap . #10000 ( Ildus Kurbangaliev ). Support ALTER RENAME COLUMN for the distributed table engine. Continuation of #10727 . Fixes #10747 . #10887 ( alesapin ). Bug Fix {#bug-fix-27} Fix UBSan report in Decimal parse. This fixes #7540 . #10512 ( alexey-milovidov ). Fix potential floating point exception when parsing DateTime64. This fixes #11374 . #11875 ( alexey-milovidov ). Fix rare crash caused by using Nullable column in prewhere condition. #11895 #11608 #11869 ( Nikolai Kochetov ). Don't allow arrayJoin inside higher order functions. It was leading to broken protocol synchronization. This closes #3933 . #11846 ( alexey-milovidov ). Fix wrong result of comparison of FixedString with constant String. This fixes #11393 . This bug appeared in version 20.4. #11828 ( alexey-milovidov ). Fix wrong result for if with NULLs in condition. #11807 ( Artem Zuikov ). Fix using too many threads for queries. #11788 ( Nikolai Kochetov ). Fixed Scalar does not exist exception when using WITH <scalar subquery> ... in SELECT ... FROM merge_tree_table ... #11621 . #11767 ( Amos Bird ). Fix unexpected behaviour of queries like SELECT *, xyz.* which were success while an error expected. #11753 ( hexiaoting ). Now replicated fetches will be cancelled during metadata alter. #11744 ( alesapin ). Parse metadata stored in zookeeper before checking for equality. #11739 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.03754497691988945, -0.03072076104581356, -0.08258809894323349, -0.007627988699823618, 0.004262504633516073, -0.00014663029287476093, -0.022840367630124092, 0.0349142886698246, 0.022023020312190056, 0.04935575649142265, -0.019405648112297058, -0.07795143127441406, -0.003490268252789974, ...
9b0cca53-3244-4e43-9707-51cdfee2aa3d
Now replicated fetches will be cancelled during metadata alter. #11744 ( alesapin ). Parse metadata stored in zookeeper before checking for equality. #11739 ( Azat Khuzhin ). Fixed LOGICAL_ERROR caused by wrong type deduction of complex literals in Values input format. #11732 ( tavplubix ). Fix ORDER BY ... WITH FILL over const columns. #11697 ( Anton Popov ). Fix very rare race condition in SYSTEM SYNC REPLICA. If the replicated table is created and at the same time from the separate connection another client is issuing SYSTEM SYNC REPLICA command on that table (this is unlikely, because another client should be aware that the table is created), it's possible to get nullptr dereference. #11691 ( alexey-milovidov ). Pass proper timeouts when communicating with XDBC bridge. Recently timeouts were not respected when checking bridge liveness and receiving meta info. #11690 ( alexey-milovidov ). Fix LIMIT n WITH TIES usage together with ORDER BY statement, which contains aliases. #11689 ( Anton Popov ). Fix possible Pipeline stuck for selects with parallel FINAL . Fixes #11636 . #11682 ( Nikolai Kochetov ). Fix error which leads to an incorrect state of system.mutations . It may show that whole mutation is already done but the server still has MUTATE_PART tasks in the replication queue and tries to execute them. This fixes #11611 . #11681 ( alesapin ). Fix syntax hilite in CREATE USER query. #11664 ( alexey-milovidov ). Add support for regular expressions with case-insensitive flags. This fixes #11101 and fixes #11506 . #11649 ( alexey-milovidov ). Remove trivial count query optimization if row-level security is set. In previous versions the user get total count of records in a table instead filtered. This fixes #11352 . #11644 ( alexey-milovidov ). Fix bloom filters for String (data skipping indices). #11638 ( Azat Khuzhin ). Without -q option the database does not get created at startup. #11604 ( giordyb ). Fix error Block structure mismatch for queries with sampling reading from Buffer table. #11602 ( Nikolai Kochetov ). Fix wrong exit code of the clickhouse-client, when exception.code() % 256 == 0 . #11601 ( filimonov ). Fix race conditions in CREATE/DROP of different replicas of ReplicatedMergeTree. Continue to work if the table was not removed completely from ZooKeeper or not created successfully. This fixes #11432 . #11592 ( alexey-milovidov ). Fix trivial error in log message about "Mark cache size was lowered" at server startup. This closes #11399 . #11589 ( alexey-milovidov ). Fix error Size of offsets does not match size of column for queries with PREWHERE column in (subquery) and ARRAY JOIN . #11580 ( Nikolai Kochetov ). Fixed rare segfault in SHOW CREATE TABLE Fixes #11490 . #11579 ( tavplubix ). All queries in HTTP session have had the same query_id. It is fixed. #11578 ( tavplubix ).
{"source_file": "2020.md"}
[ -0.07560181617736816, -0.035444289445877075, 0.0022823030594736338, -0.018847709521651268, -0.03341086581349373, -0.08102275431156158, -0.03471975773572922, -0.00980471819639206, 0.01645951345562935, 0.067965567111969, -0.004103145096451044, -0.04708686098456383, 0.07089041918516159, -0.02...
4996dc3b-845a-41b9-b12b-ca93cb480f6c
Fixed rare segfault in SHOW CREATE TABLE Fixes #11490 . #11579 ( tavplubix ). All queries in HTTP session have had the same query_id. It is fixed. #11578 ( tavplubix ). Now clickhouse-server docker container will prefer IPv6 checking server aliveness. #11550 ( Ivan Starkov ). Fix the error Data compressed with different methods that can happen if min_bytes_to_use_direct_io is enabled and PREWHERE is active and using SAMPLE or high number of threads. This fixes #11539 . #11540 ( alexey-milovidov ). Fix shard_num/replica_num for <node> (breaks use_compact_format_in_distributed_parts_names). #11528 ( Azat Khuzhin ). Fix async INSERT into Distributed for prefer_localhost_replica=0 and w/o internal_replication. #11527 ( Azat Khuzhin ). Fix memory leak when exception is thrown in the middle of aggregation with -State functions. This fixes #8995 . #11496 ( alexey-milovidov ). Fix Pipeline stuck exception for INSERT SELECT FINAL where SELECT ( max_threads >1) has multiple streams but INSERT has only one ( max_insert_threads ==0). #11455 ( Azat Khuzhin ). Fix wrong result in queries like select count() from t, u . #11454 ( Artem Zuikov ). Fix return compressed size for codecs. #11448 ( Nikolai Kochetov ). Fix server crash when a column has compression codec with non-literal arguments. Fixes #11365 . #11431 ( alesapin ). Fix potential uninitialized memory read in MergeTree shutdown if table was not created successfully. #11420 ( alexey-milovidov ). Fix crash in JOIN over LowCarinality(T) and Nullable(T) . #11380 . #11414 ( Artem Zuikov ). Fix error code for wrong USING key. #11373 . #11404 ( Artem Zuikov ). Fixed geohashesInBox with arguments outside of latitude/longitude range. #11403 ( Vasily Nemkov ). Better errors for joinGet() functions. #11389 ( Artem Zuikov ). Fix possible Pipeline stuck error for queries with external sort and limit. Fixes #11359 . #11366 ( Nikolai Kochetov ). Remove redundant lock during parts send in ReplicatedMergeTree. #11354 ( alesapin ). Fix support for \G (vertical output) in clickhouse-client in multiline mode. This closes #9933 . #11350 ( alexey-milovidov ). Fix potential segfault when using Lazy database. #11348 ( alexey-milovidov ). Fix crash in direct selects from Join table engine (without JOIN) and wrong nullability. #11340 ( Artem Zuikov ). Fix crash in quantilesExactWeightedArray . #11337 ( Nikolai Kochetov ). Now merges stopped before change metadata in ALTER queries. #11335 ( alesapin ). Make writing to MATERIALIZED VIEW with setting parallel_view_processing = 1 parallel again. Fixes #10241 . #11330 ( Nikolai Kochetov ). Fix visitParamExtractRaw when extracted JSON has strings with unbalanced { or [. #11318 ( Ewout ). Fix very rare race condition in ThreadPool. #11314 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.02425389178097248, 0.05222414806485176, 0.0046552675776183605, 0.01324114017188549, 0.009511426091194153, -0.09878372400999069, -0.0583452470600605, -0.016542283818125725, -0.0279498603194952, 0.0697195753455162, -0.00664919288828969, -0.0033004614524543285, 0.010170907713472843, -0.057...
97967a7e-664c-4ac9-8209-4dce978b95cb
Fix visitParamExtractRaw when extracted JSON has strings with unbalanced { or [. #11318 ( Ewout ). Fix very rare race condition in ThreadPool. #11314 ( alexey-milovidov ). Fix insignificant data race in clickhouse-copier . Found by integration tests. #11313 ( alexey-milovidov ). Fix potential uninitialized memory in conversion. Example: SELECT toIntervalSecond(now64()) . #11311 ( alexey-milovidov ). Fix the issue when index analysis cannot work if a table has Array column in primary key and if a query is filtering by this column with empty or notEmpty functions. This fixes #11286 . #11303 ( alexey-milovidov ). Fix bug when query speed estimation can be incorrect and the limit of min_execution_speed may not work or work incorrectly if the query is throttled by max_network_bandwidth , max_execution_speed or priority settings. Change the default value of timeout_before_checking_execution_speed to non-zero, because otherwise the settings min_execution_speed and max_execution_speed have no effect. This fixes #11297 . This fixes #5732 . This fixes #6228 . Usability improvement: avoid concatenation of exception message with progress bar in clickhouse-client . #11296 ( alexey-milovidov ). Fix crash when SET DEFAULT ROLE is called with wrong arguments. This fixes #10586 . #11278 ( Vitaly Baranov ). Fix crash while reading malformed data in Protobuf format. This fixes #5957 , fixes #11203 . #11258 ( Vitaly Baranov ). Fixed a bug when cache dictionary could return default value instead of normal (when there are only expired keys). This affects only string fields. #11233 ( Nikita Mikhaylov ). Fix error Block structure mismatch in QueryPipeline while reading from VIEW with constants in inner query. Fixes #11181 . #11205 ( Nikolai Kochetov ). Fix possible exception Invalid status for associated output . #11200 ( Nikolai Kochetov ). Now primary.idx will be checked if it's defined in CREATE query. #11199 ( alesapin ). Fix possible error Cannot capture column for higher-order functions with Array(Array(LowCardinality)) captured argument. #11185 ( Nikolai Kochetov ). Fixed S3 globbing which could fail in case of more than 1000 keys and some backends. #11179 ( Vladimir Chebotarev ). If data skipping index is dependent on columns that are going to be modified during background merge (for SummingMergeTree, AggregatingMergeTree as well as for TTL GROUP BY), it was calculated incorrectly. This issue is fixed by moving index calculation after merge so the index is calculated on merged data. #11162 ( Azat Khuzhin ). Fix for the hang which was happening sometimes during DROP of table engine=Kafka (or during server restarts). #11145 ( filimonov ). Fix excessive reserving of threads for simple queries (optimization for reducing the number of threads, which was partly broken after changes in pipeline). #11114 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ 0.006271059159189463, 0.026583297178149223, -0.0505431666970253, 0.025947842746973038, -0.05113909766077995, -0.051458779722452164, -0.004530870821326971, -0.011891480535268784, -0.04087831452488899, -0.019877571612596512, 0.014879908412694931, -0.046682387590408325, -0.013276658952236176, ...
09c6981e-8808-4038-915b-79b08db04ef4
Fix excessive reserving of threads for simple queries (optimization for reducing the number of threads, which was partly broken after changes in pipeline). #11114 ( Azat Khuzhin ). Remove logging from mutation finalization task if nothing was finalized. #11109 ( alesapin ). Fixed deadlock during server startup after update with changes in structure of system log tables. #11106 ( alesapin ). Fixed memory leak in registerDiskS3. #11074 ( Pavel Kovalenko ). Fix error No such name in Block::erase() when JOIN appears with PREWHERE or optimize_move_to_prewhere makes PREWHERE from WHERE. #11051 ( Artem Zuikov ). Fixes the potential missed data during termination of Kafka engine table. #11048 ( filimonov ). Fixed parseDateTime64BestEffort argument resolution bugs. #10925 . #11038 ( Vasily Nemkov ). Now it's possible to ADD/DROP and RENAME the same one column in a single ALTER query. Exception message for simultaneous MODIFY and RENAME became more clear. Partially fixes #10669 . #11037 ( alesapin ). Fixed parsing of S3 URLs. #11036 ( Vladimir Chebotarev ). Fix memory tracking for two-level GROUP BY when there is a LIMIT . #11022 ( Azat Khuzhin ). Fix very rare potential use-after-free error in MergeTree if table was not created successfully. #10986 ( alexey-milovidov ). Fix metadata (relative path for rename) and data (relative path for symlink) handling for Atomic database. #10980 ( Azat Khuzhin ). Fix server crash on concurrent ALTER and DROP DATABASE queries with Atomic database engine. #10968 ( tavplubix ). Fix incorrect raw data size in method getRawData(). #10964 ( Igr ). Fix incompatibility of two-level aggregation between versions 20.1 and earlier. This incompatibility happens when different versions of ClickHouse are used on initiator node and remote nodes and the size of GROUP BY result is large and aggregation is performed by a single String field. It leads to several unmerged rows for a single key in result. #10952 ( alexey-milovidov ). Avoid sending partially written files by the DistributedBlockOutputStream. #10940 ( Azat Khuzhin ). Fix crash in SELECT count(notNullIn(NULL, [])) . #10920 ( Nikolai Kochetov ). Fix for the hang which was happening sometimes during DROP of table engine=Kafka (or during server restarts). #10910 ( filimonov ). Now it's possible to execute multiple ALTER RENAME like a TO b, c TO a . #10895 ( alesapin ). Fix possible race which could happen when you get result from aggregate function state from multiple thread for the same column. The only way (which I found) it can happen is when you use finalizeAggregation function while reading from table with Memory engine which stores AggregateFunction state for quanite* function. #10890 ( Nikolai Kochetov ). Fix backward compatibility with tuples in Distributed tables. #10889 ( Anton Popov ).
{"source_file": "2020.md"}
[ -0.07716117054224014, -0.004199148155748844, -0.02466464601457119, 0.01388534251600504, -0.034321703016757965, -0.039362601935863495, -0.03350261226296425, 0.016228409484028816, 0.014952422119677067, 0.05749919265508652, 0.02948712185025215, -0.029681703075766563, -0.06432710587978363, -0....
c669f04c-75a2-44fb-b728-cdd7dbe069a0
Fix backward compatibility with tuples in Distributed tables. #10889 ( Anton Popov ). Fix SIGSEGV in StringHashTable (if such key does not exist). #10870 ( Azat Khuzhin ). Fixed WATCH hangs after LiveView table was dropped from database with Atomic engine. #10859 ( tavplubix ). Fixed bug in ReplicatedMergeTree which might cause some ALTER on OPTIMIZE query to hang waiting for some replica after it become inactive. #10849 ( tavplubix ). Now constraints are updated if the column participating in CONSTRAINT expression was renamed. Fixes #10844 . #10847 ( alesapin ). Fix potential read of uninitialized memory in cache dictionary. #10834 ( alexey-milovidov ). Fix columns order after Block::sortColumns() (also add a test that shows that it affects some real use case - Buffer engine). #10826 ( Azat Khuzhin ). Fix the issue with ODBC bridge when no quoting of identifiers is requested. This fixes #7984 . #10821 ( alexey-milovidov ). Fix UBSan and MSan report in DateLUT. #10798 ( alexey-milovidov ). Make use of src_type for correct type conversion in key conditions. Fixes #6287 . #10791 ( Andrew Onyshchuk ). Get rid of old libunwind patches. https://github.com/ClickHouse-Extras/libunwind/commit/500aa227911bd185a94bfc071d68f4d3b03cb3b1#r39048012 This allows to disable -fno-omit-frame-pointer in clang builds that improves performance at least by 1% in average. #10761 ( Amos Bird ). Fix avgWeighted when using floating-point weight over multiple shards. #10758 ( Baudouin Giard ). Fix parallel_view_processing behavior. Now all insertions into MATERIALIZED VIEW without exception should be finished if exception happened. Fixes #10241 . #10757 ( Nikolai Kochetov ). Fix combinator -OrNull and -OrDefault when combined with -State. #10741 ( hcz ). Fix crash in generateRandom with nested types. Fixes #10583 . #10734 ( Nikolai Kochetov ). Fix data corruption for LowCardinality(FixedString) key column in SummingMergeTree which could have happened after merge. Fixes #10489 . #10721 ( Nikolai Kochetov ). Fix usage of primary key wrapped into a function with 'FINAL' modifier and 'ORDER BY' optimization. #10715 ( Anton Popov ). Fix possible buffer overflow in function h3EdgeAngle . #10711 ( alexey-milovidov ). Fix disappearing totals. Totals could have being filtered if query had had join or subquery with external where condition. Fixes #10674 . #10698 ( Nikolai Kochetov ). Fix atomicity of HTTP insert. This fixes #9666 . #10687 ( Andrew Onyshchuk ). Fix multiple usages of IN operator with the identical set in one query. #10686 ( Anton Popov ). Fixed bug, which causes http requests stuck on client close when readonly=2 and cancel_http_readonly_queries_on_client_close=1 . Fixes #7939 , #7019 , #7736 , #7091 . #10684 ( tavplubix ). Fix order of parameters in AggregateTransform constructor. #10667 ( palasonic1 ).
{"source_file": "2020.md"}
[ -0.006721966899931431, -0.026481591165065765, -0.06098698452115059, 0.011387732811272144, -0.022220773622393608, -0.0365920253098011, -0.04205665737390518, -0.0052383895963430405, -0.054120976477861404, 0.05679608881473541, 0.04065472260117531, 0.026430301368236542, 0.008606471121311188, -...
ce867bd6-e832-4e64-8dc3-17082072f089
Fix order of parameters in AggregateTransform constructor. #10667 ( palasonic1 ). Fix the lack of parallel execution of remote queries with distributed_aggregation_memory_efficient enabled. Fixes #10655 . #10664 ( Nikolai Kochetov ). Fix possible incorrect number of rows for queries with LIMIT . Fixes #10566 , #10709 . #10660 ( Nikolai Kochetov ). Fix bug which locks concurrent alters when table has a lot of parts. #10659 ( alesapin ). Fix nullptr dereference in StorageBuffer if server was shutdown before table startup. #10641 ( alexey-milovidov ). Fix predicates optimization for distributed queries ( enable_optimize_predicate_expression=1 ) for queries with HAVING section (i.e. when filtering on the server initiator is required), by preserving the order of expressions (and this is enough to fix), and also force aggregator use column names over indexes. Fixes: #10613 , #11413 . #10621 ( Azat Khuzhin ). Fix optimize_skip_unused_shards with LowCardinality. #10611 ( Azat Khuzhin ). Fix segfault in StorageBuffer when exception on server startup. Fixes #10550 . #10609 ( tavplubix ). On SYSTEM DROP DNS CACHE query also drop caches, which are used to check if user is allowed to connect from some IP addresses. #10608 ( tavplubix ). Fixed incorrect scalar results inside inner query of MATERIALIZED VIEW in case if this query contained dependent table. #10603 ( Nikolai Kochetov ). Fixed handling condition variable for synchronous mutations. In some cases signals to that condition variable could be lost. #10588 ( Vladimir Chebotarev ). Fixes possible crash createDictionary() is called before loadStoredObject() has finished. #10587 ( Vitaly Baranov ). Fix error the BloomFilter false positive must be a double number between 0 and 1 #10551 . #10569 ( Winter Zhang ). Fix SELECT of column ALIAS which default expression type different from column type. #10563 ( Azat Khuzhin ). Implemented comparison between DateTime64 and String values (just like for DateTime). #10560 ( Vasily Nemkov ). Fix index corruption, which may occur in some cases after merge compact parts into another compact part. #10531 ( Anton Popov ). Disable GROUP BY sharding_key optimization by default ( optimize_distributed_group_by_sharding_key had been introduced and turned of by default, due to trickery of sharding_key analyzing, simple example is if in sharding key) and fix it for WITH ROLLUP/CUBE/TOTALS. #10516 ( Azat Khuzhin ). Fixes: #10263 (after that PR dist send via INSERT had been postponing on each INSERT) Fixes: #8756 (that PR breaks distributed sends with all of the following conditions met (unlikely setup for now I guess): internal_replication == false , multiple local shards (activates the hardlinking code) and distributed_storage_policy (makes link(2) fails on EXDEV )). #10486 ( Azat Khuzhin ). Fixed error with "max_rows_to_sort" limit. #10268 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.02814314514398575, -0.016667760908603668, 0.0016435100696980953, 0.054235201328992844, -0.07629197090864182, 0.0073566134087741375, -0.05527342110872269, 0.0050647263415157795, 0.033243995159864426, 0.0825158953666687, 0.03196932002902031, 0.012090801261365414, 0.024346116930246353, -0....