id
stringlengths
36
36
document
stringlengths
3
3k
metadata
stringlengths
23
69
embeddings
listlengths
384
384
719c0bec-883e-4450-979e-066d3c9bb9db
Fixed error with "max_rows_to_sort" limit. #10268 ( alexey-milovidov ). Get dictionary and check access rights only once per each call of any function reading external dictionaries. #10928 ( Vitaly Baranov ). Improvement {#improvement-15} Apply TTL for old data, after ALTER MODIFY TTL query. This behaviour is controlled by setting materialize_ttl_after_modify , which is enabled by default. #11042 ( Anton Popov ). When parsing C-style backslash escapes in string literals, VALUES and various text formats (this is an extension to SQL standard that is endemic for ClickHouse and MySQL), keep backslash if unknown escape sequence is found (e.g. \% or \w ) that will make usage of LIKE and match regular expressions more convenient (it's enough to write name LIKE 'used\_cars' instead of name LIKE 'used\\_cars' ) and more compatible at the same time. This fixes #10922 . #11208 ( alexey-milovidov ). When reading Decimal value, cut extra digits after point. This behaviour is more compatible with MySQL and PostgreSQL. This fixes #10202 . #11831 ( alexey-milovidov ). Allow to DROP replicated table if the metadata in ZooKeeper was already removed and does not exist (this is also the case when using TestKeeper for testing and the server was restarted). Allow to RENAME replicated table even if there is an error communicating with ZooKeeper. This fixes #10720 . #11652 ( alexey-milovidov ). Slightly improve diagnostic of reading decimal from string. This closes #10202 . #11829 ( alexey-milovidov ). Fix sleep invocation in signal handler. It was sleeping for less amount of time than expected. #11825 ( alexey-milovidov ). (Only Linux) OS related performance metrics (for CPU and I/O) will work even without CAP_NET_ADMIN capability. #10544 ( Alexander Kazakov ). Added hostname as an alias to function hostName . This feature was suggested by Victor Tarnavskiy from Yandex.Metrica. #11821 ( alexey-milovidov ). Added support for distributed DDL (update/delete/drop partition) on cross replication clusters. #11703 ( Nikita Mikhaylov ). Emit warning instead of error in server log at startup if we cannot listen one of the listen addresses (e.g. IPv6 is unavailable inside Docker). Note that if server fails to listen all listed addresses, it will refuse to startup as before. This fixes #4406 . #11687 ( alexey-milovidov ). Default user and database creation on docker image starting. #10637 ( Paramtamtam ). When multiline query is printed to server log, the lines are joined. Make it to work correct in case of multiline string literals, identifiers and single-line comments. This fixes #3853 . #11686 ( alexey-milovidov ). Multiple names are now allowed in commands: CREATE USER, CREATE ROLE, ALTER USER, SHOW CREATE USER, SHOW GRANTS and so on. #11670 ( Vitaly Baranov ). Add support for distributed DDL ( UPDATE/DELETE/DROP PARTITION ) on cross replication clusters. #11508 ( frank lee ).
{"source_file": "2020.md"}
[ -0.040022943168878555, -0.008208545856177807, 0.05556851997971535, -0.02394442819058895, -0.12288439273834229, -0.03251627832651138, 0.03591061010956764, 0.029223263263702393, -0.04084581881761551, 0.03367002680897713, 0.030708102509379387, 0.026068467646837234, 0.05457768961787224, -0.027...
a2e750b8-a872-4da3-9b83-27a7b3dc7990
Add support for distributed DDL ( UPDATE/DELETE/DROP PARTITION ) on cross replication clusters. #11508 ( frank lee ). Clear password from command line in clickhouse-client and clickhouse-benchmark if the user has specified it with explicit value. This prevents password exposure by ps and similar tools. #11665 ( alexey-milovidov ). Don't use debug info from ELF file if it does not correspond to the running binary. It is needed to avoid printing wrong function names and source locations in stack traces. This fixes #7514 . #11657 ( alexey-milovidov ). Return NULL/zero when value is not parsed completely in parseDateTimeBestEffortOrNull/Zero functions. This fixes #7876 . #11653 ( alexey-milovidov ). Skip empty parameters in requested URL. They may appear when you write http://localhost:8123/?&a=b or http://localhost:8123/?a=b&&c=d . This closes #10749 . #11651 ( alexey-milovidov ). Allow using groupArrayArray and groupUniqArrayArray as SimpleAggregateFunction . #11650 ( Volodymyr Kuznetsov ). Allow comparison with constant strings by implicit conversions when analysing index conditions on other types. This may close #11630 . #11648 ( alexey-milovidov ). https://github.com/ClickHouse/ClickHouse/pull/7572#issuecomment-642815377 Support config default HTTPHandlers. #11628 ( Winter Zhang ). Make more input formats to work with Kafka engine. Fix the issue with premature flushes. Fix the performance issue when kafka_num_consumers is greater than number of partitions in topic. #11599 ( filimonov ). Improve multiple_joins_rewriter_version=2 logic. Fix unknown columns error for lambda aliases. #11587 ( Artem Zuikov ). Better exception message when cannot parse columns declaration list. This closes #10403 . #11537 ( alexey-milovidov ). Improve enable_optimize_predicate_expression=1 logic for VIEW. #11513 ( Artem Zuikov ). Adding support for PREWHERE in live view tables. #11495 ( vzakaznikov ). Automatically update DNS cache, which is used to check if user is allowed to connect from an address. #11487 ( tavplubix ). OPTIMIZE FINAL will force merge even if concurrent merges are performed. This closes #11309 and closes #11322 . #11346 ( alexey-milovidov ). Suppress output of cancelled queries in clickhouse-client. In previous versions result may continue to print in terminal even after you press Ctrl+C to cancel query. This closes #9473 . #11342 ( alexey-milovidov ). Now history file is updated after each query and there is no race condition if multiple clients use one history file. This fixes #9897 . #11453 ( Tagir Kuskarov ). Better log messages in while reloading configuration. #11341 ( alexey-milovidov ). Remove trailing whitespaces from formatted queries in clickhouse-client or clickhouse-format in some cases. #11325 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.046225886791944504, -0.07227809727191925, -0.05032248795032501, -0.07042292505502701, -0.013494672253727913, -0.05693422630429268, -0.049004845321178436, -0.0400538444519043, 0.024297617375850677, 0.0038874312303960323, -0.009902633726596832, -0.01461093220859766, 0.04754428192973137, -...
3631bedd-78c9-4e72-9172-5ebf4dd58d83
Remove trailing whitespaces from formatted queries in clickhouse-client or clickhouse-format in some cases. #11325 ( alexey-milovidov ). Add setting "output_format_pretty_max_value_width". If value is longer, it will be cut to avoid output of too large values in terminal. This closes #11140 . #11324 ( alexey-milovidov ). Better exception message in case when there is shortage of memory mappings. This closes #11027 . #11316 ( alexey-milovidov ). Support (U)Int8, (U)Int16, Date in ASOF JOIN. #11301 ( Artem Zuikov ). Support kafka_client_id parameter for Kafka tables. It also changes the default client.id used by ClickHouse when communicating with Kafka to be more verbose and usable. #11252 ( filimonov ). Keep the value of DistributedFilesToInsert metric on exceptions. In previous versions, the value was set when we are going to send some files, but it is zero, if there was an exception and some files are still pending. Now it corresponds to the number of pending files in filesystem. #11220 ( alexey-milovidov ). Add support for multi-word data type names (such as DOUBLE PRECISION and CHAR VARYING ) for better SQL compatibility. #11214 ( Павел Потемкин ). Provide synonyms for some data types. #10856 ( Павел Потемкин ). The query log is now enabled by default. #11184 ( Ivan Blinkov ). Show authentication type in table system.users and while executing SHOW CREATE USER query. #11080 ( Vitaly Baranov ). Remove data on explicit DROP DATABASE for Memory database engine. Fixes #10557 . #11021 ( tavplubix ). Set thread names for internal threads of rdkafka library. Make logs from rdkafka available in server logs. #10983 ( Azat Khuzhin ). Support for unicode whitespaces in queries. This helps when queries are copy-pasted from Word or from web page. This fixes #10896 . #10903 ( alexey-milovidov ). Allow large UInt types as the index in function tupleElement . #10874 ( hcz ). Respect prefer_localhost_replica/load_balancing on INSERT into Distributed. #10867 ( Azat Khuzhin ). Introduce min_insert_block_size_rows_for_materialized_views , min_insert_block_size_bytes_for_materialized_views settings. This settings are similar to min_insert_block_size_rows and min_insert_block_size_bytes , but applied only for blocks inserted into MATERIALIZED VIEW . It helps to control blocks squashing while pushing to MVs and avoid excessive memory usage. #10858 ( Azat Khuzhin ). Get rid of exception from replicated queue during server shutdown. Fixes #10819 . #10841 ( alesapin ). Ensure that varSamp , varPop cannot return negative results due to numerical errors and that stddevSamp , stddevPop cannot be calculated from negative variance. This fixes #10532 . #10829 ( alexey-milovidov ). Better DNS exception message. This fixes #10813 . #10828 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ 0.0009920555166900158, 0.001523787621408701, -0.08315789699554443, 0.038904979825019836, -0.04026085510849953, -0.014802521094679832, 0.005770746618509293, 0.054913513362407684, 0.014945732429623604, 0.05979734659194946, -0.015195117332041264, -0.001086732605472207, 0.026088843122124672, -...
ae946031-44c2-4c55-9e3d-ad81fdf7bf48
Better DNS exception message. This fixes #10813 . #10828 ( alexey-milovidov ). Change HTTP response code in case of some parse errors to 400 Bad Request. This fix #10636 . #10640 ( alexey-milovidov ). Print a message if clickhouse-client is newer than clickhouse-server. #10627 ( alexey-milovidov ). Adding support for INSERT INTO [db.]table WATCH query. #10498 ( vzakaznikov ). Allow to pass quota_key in clickhouse-client. This closes #10227 . #10270 ( alexey-milovidov ). Performance Improvement {#performance-improvement-9} Allow multiple replicas to assign merges, mutations, partition drop, move and replace concurrently. This closes #10367 . #11639 ( alexey-milovidov ) #11795 ( alexey-milovidov ). Optimization of GROUP BY with respect to table sorting key, enabled with optimize_aggregation_in_order setting. #9113 ( dimarub2000 ). Selects with final are executed in parallel. Added setting max_final_threads to limit the number of threads used. #10463 ( Nikolai Kochetov ). Improve performance for INSERT queries via INSERT SELECT or INSERT with clickhouse-client when small blocks are generated (typical case with parallel parsing). This fixes #11275 . Fix the issue that CONSTRAINTs were not working for DEFAULT fields. This fixes #11273 . Fix the issue that CONSTRAINTS were ignored for TEMPORARY tables. This fixes #11274 . #11276 ( alexey-milovidov ). Optimization that eliminates min/max/any aggregators of GROUP BY keys in SELECT section, enabled with optimize_aggregators_of_group_by_keys setting. #11667 ( xPoSx ). #11806 ( Azat Khuzhin ). New optimization that takes all operations out of any function, enabled with optimize_move_functions_out_of_any #11529 ( Ruslan ). Improve performance of clickhouse-client in interactive mode when Pretty formats are used. In previous versions, significant amount of time can be spent calculating visible width of UTF-8 string. This closes #11323 . #11323 ( alexey-milovidov ). Improved performance for queries with ORDER BY and small LIMIT (less, then max_block_size ). #11171 ( Albert Kidrachev ). Add runtime CPU detection to select and dispatch the best function implementation. Add support for codegeneration for multiple targets. This closes #1017 . #10058 ( DimasKovas ). Enable mlock of clickhouse binary by default. It will prevent clickhouse executable from being paged out under high IO load. #11139 ( alexey-milovidov ). Make queries with sum aggregate function and without GROUP BY keys to run multiple times faster. #10992 ( alexey-milovidov ). Improving radix sort (used in ORDER BY with simple keys) by removing some redundant data moves. #10981 ( Arslan Gumerov ). Sort bigger parts of the left table in MergeJoin. Buffer left blocks in memory. Add partial_merge_join_left_table_buffer_bytes setting to manage the left blocks buffers sizes. #10601 ( Artem Zuikov ).
{"source_file": "2020.md"}
[ -0.091590017080307, -0.08468311280012131, 0.0000294169585686177, -0.03684806451201439, -0.07539862394332886, -0.06703665852546692, -0.037820618599653244, -0.04102097079157829, 0.008665507659316063, 0.030453801155090332, -0.0045518772676587105, 0.002030649222433567, 0.011839871294796467, -0...
ebc33b31-4acf-43f0-916f-c6fdd3f2f6cc
Remove duplicate ORDER BY and DISTINCT from subqueries, this optimization is enabled with optimize_duplicate_order_by_and_distinct #10067 ( Mikhail Malafeev ). This feature eliminates functions of other keys in GROUP BY section, enabled with optimize_group_by_function_keys #10051 ( xPoSx ). New optimization that takes arithmetic operations out of aggregate functions, enabled with optimize_arithmetic_operations_in_aggregate_functions #10047 ( Ruslan ). Use HTTP client for S3 based on Poco instead of curl. This will improve performance and lower memory usage of s3 storage and table functions. #11230 ( Pavel Kovalenko ). Fix Kafka performance issue related to reschedules based on limits, which were always applied. #11149 ( filimonov ). Enable percpu_arena:percpu for jemalloc (This will reduce memory fragmentation due to thread pool). #11084 ( Azat Khuzhin ). Optimize memory usage when reading a response from an S3 HTTP client. #11561 ( Pavel Kovalenko ). Adjust the default Kafka settings for better performance. #11388 ( filimonov ). Experimental Feature {#experimental-feature-5} Add data type Point (Tuple(Float64, Float64)) and Polygon (Array(Array(Tuple(Float64, Float64))). #10678 ( Alexey Ilyukhov ). Add's a hasSubstr function that allows for look for subsequences in arrays. Note: this function is likely to be renamed without further notice. #11071 ( Ryad Zenine ). Added OpenCL support and bitonic sort algorithm, which can be used for sorting integer types of data in single column. Needs to be build with flag -DENABLE_OPENCL=1 . For using bitonic sort algorithm instead of others you need to set bitonic_sort for Setting's option special_sort and make sure that OpenCL is available. This feature does not improve performance or anything else, it is only provided as an example and for demonstration purposes. It is likely to be removed in near future if there will be no further development in this direction. #10232 ( Ri ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-11} Enable clang-tidy for programs and utils. #10991 ( alexey-milovidov ). Remove dependency on tzdata : do not fail if /usr/share/zoneinfo directory does not exist. Note that all timezones work in ClickHouse even without tzdata installed in system. #11827 ( alexey-milovidov ). Added MSan and UBSan stress tests. Note that we already have MSan, UBSan for functional tests and "stress" test is another kind of tests. #10871 ( alexey-milovidov ). Print compiler build id in crash messages. It will make us slightly more certain about what binary has crashed. Added new function buildId . #11824 ( alexey-milovidov ). Added a test to ensure that mutations continue to work after FREEZE query. #11820 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.04131230339407921, -0.01734505034983158, -0.08915439248085022, -0.025258660316467285, -0.05115622654557228, -0.04548070952296257, -0.05987097695469856, -0.015338492579758167, 0.0978085920214653, 0.032475560903549194, -0.018628686666488647, 0.044724732637405396, 0.0416986458003521, -0.09...
e93e005a-65ca-49b3-9935-ddc041491b83
Added a test to ensure that mutations continue to work after FREEZE query. #11820 ( alexey-milovidov ). Don't allow tests with "fail" substring in their names because it makes looking at the tests results in browser less convenient when you type Ctrl+F and search for "fail". #11817 ( alexey-milovidov ). Removes unused imports from HTTPHandlerFactory. #11660 ( Bharat Nallan ). Added a random sampling of instances where copier is executed. It is needed to avoid Too many simultaneous queries error. Also increased timeout and decreased fault probability. #11573 ( Nikita Mikhaylov ). Fix missed include. #11525 ( Matwey V. Kornilov ). Speed up build by removing old example programs. Also found some orphan functional test. #11486 ( alexey-milovidov ). Increase ccache size for builds in CI. #11450 ( alesapin ). Leave only unit_tests_dbms in deb build. #11429 ( Ilya Yatsishin ). Update librdkafka to version 1.4.2 . #11256 ( filimonov ). Refactor CMake build files. #11390 ( Ivan ). Fix several flaky integration tests. #11355 ( alesapin ). Add support for unit tests run with UBSan. #11345 ( alexey-milovidov ). Remove redundant timeout from integration test test_insertion_sync_fails_with_timeout . #11343 ( alesapin ). Better check for hung queries in clickhouse-test. #11321 ( alexey-milovidov ). Emit a warning if server was build in debug or with sanitizers. #11304 ( alexey-milovidov ). Now clickhouse-test check the server aliveness before tests run. #11285 ( alesapin ). Fix potentially flacky test 00731_long_merge_tree_select_opened_files.sh . It does not fail frequently but we have discovered potential race condition in this test while experimenting with ThreadFuzzer: #9814 See link for the example. #11270 ( alexey-milovidov ). Repeat test in CI if curl invocation was timed out. It is possible due to system hangups for 10+ seconds that are typical in our CI infrastructure. This fixes #11267 . #11268 ( alexey-milovidov ). Add a test for Join table engine from @donmikel. This closes #9158 . #11265 ( alexey-milovidov ). Fix several non significant errors in unit tests. #11262 ( alesapin ). Now parts of linker command for cctz library will not be shuffled with other libraries. #11213 ( alesapin ). Split /programs/server into actual program and library. #11186 ( Ivan ). Improve build scripts for protobuf & gRPC. #11172 ( Vitaly Baranov ). Enable performance test that was not working. #11158 ( alexey-milovidov ). Create root S3 bucket for tests before any CH instance is started. #11142 ( Pavel Kovalenko ). Add performance test for non-constant polygons. #11141 ( alexey-milovidov ). Fixing 00979_live_view_watch_continuous_aggregates test. #11024 ( vzakaznikov ). Add ability to run zookeeper in integration tests over tmpfs. #11002 ( alesapin ).
{"source_file": "2020.md"}
[ -0.07946668565273285, -0.07920902967453003, -0.09981141239404678, 0.02551940456032753, -0.028487619012594223, -0.08138856291770935, -0.06794026494026184, 0.002683918923139572, -0.06835410743951797, 0.004803529474884272, 0.05239944905042648, -0.03797207027673721, 0.01775933988392353, -0.053...
60f94ec6-4d43-441c-b5f3-bda013c59918
Fixing 00979_live_view_watch_continuous_aggregates test. #11024 ( vzakaznikov ). Add ability to run zookeeper in integration tests over tmpfs. #11002 ( alesapin ). Wait for odbc-bridge with exponential backoff. Previous wait time of 200 ms was not enough in our CI environment. #10990 ( alexey-milovidov ). Fix non-deterministic test. #10989 ( alexey-milovidov ). Added a test for empty external data. #10926 ( alexey-milovidov ). Database is recreated for every test. This improves separation of tests. #10902 ( alexey-milovidov ). Added more asserts in columns code. #10833 ( alexey-milovidov ). Better cooperation with sanitizers. Print information about query_id in the message of sanitizer failure. #10832 ( alexey-milovidov ). Fix obvious race condition in "Split build smoke test" check. #10820 ( alexey-milovidov ). Fix (false) MSan report in MergeTreeIndexFullText. The issue first appeared in #9968 . #10801 ( alexey-milovidov ). Add MSan suppression for MariaDB Client library. #10800 ( alexey-milovidov ). GRPC make couldn't find protobuf files, changed make file by adding the right link. #10794 ( mnkonkova ). Enable extra warnings ( -Weverything ) for base, utils, programs. Note that we already have it for the most of the code. #10779 ( alexey-milovidov ). Suppressions of warnings from libraries was mistakenly declared as public in #10396 . #10776 ( alexey-milovidov ). Restore a patch that was accidentially deleted in #10396 . #10774 ( alexey-milovidov ). Fix performance tests errors, part 2. #10773 ( alexey-milovidov ). Fix performance test errors. #10766 ( alexey-milovidov ). Update cross-builds to use clang-10 compiler. #10724 ( Ivan ). Update instruction to install RPM packages. This was suggested by Denis (TG login @ldviolet) and implemented by Arkady Shejn. #10707 ( alexey-milovidov ). Trying to fix tests/queries/0_stateless/01246_insert_into_watch_live_view.py test. #10670 ( vzakaznikov ). Fixing and re-enabling 00979_live_view_watch_continuous_aggregates.py test. #10658 ( vzakaznikov ). Fix OOM in ASan stress test. #10646 ( alexey-milovidov ). Fix UBSan report (adding zero to nullptr) in HashTable that appeared after migration to clang-10. #10638 ( alexey-milovidov ). Remove external call to ld (bfd) linker during tzdata processing in compile time. #10634 ( alesapin ). Allow to use lld to link blobs (resources). #10632 ( alexey-milovidov ). Fix UBSan report in LZ4 library. #10631 ( alexey-milovidov ). See also https://github.com/lz4/lz4/issues/857 Update LZ4 to the latest dev branch. #10630 ( alexey-milovidov ). Added auto-generated machine-readable file with the list of stable versions. #10628 ( alexey-milovidov ). Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader . #10618 ( Matwey V. Kornilov ). Lower memory usage in tests. #10617 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.016703015193343163, -0.032901667058467865, -0.06161297857761383, 0.03927495703101158, 0.06278754025697708, -0.07349304109811783, -0.05138725787401199, 0.047167785465717316, -0.01315461378544569, 0.03905101120471954, -0.016318071633577347, -0.06580696254968643, 0.0037897045258432627, 0.0...
91cbde1d-4899-4975-a84a-4263dbe57371
Fix capnproto version check for capnp::UnalignedFlatArrayMessageReader . #10618 ( Matwey V. Kornilov ). Lower memory usage in tests. #10617 ( alexey-milovidov ). Fixing hard coded timeouts in new live view tests. #10604 ( vzakaznikov ). Increasing timeout when opening a client in tests/queries/0_stateless/helpers/client.py. #10599 ( vzakaznikov ). Enable ThinLTO for clang builds, continuation of #10435 . #10585 ( Amos Bird ). Adding fuzzers and preparing for oss-fuzz integration. #10546 ( kyprizel ). Fix FreeBSD build. #10150 ( Ivan ). Add new build for query tests using pytest framework. #10039 ( Ivan ). ClickHouse release v20.4 {#clickhouse-release-v204} ClickHouse release v20.4.8.99-stable 2020-08-10 {#clickhouse-release-v204899-stable-2020-08-10} Bug Fix {#bug-fix-28} Fixed error in parseDateTimeBestEffort function when unix timestamp was passed as an argument. This fixes #13362 . #13441 ( 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 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 possible extra overflow row in data which could appear for queries WITH TOTALS . #12747 ( 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 #12293 allow push predicate when subquery contains with clause. #12663 ( Winter Zhang ). Fixed #10572 fix bloom filter index with const expression. #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 race condition in external dictionaries with cache layout which can lead server crash. #12566 ( alesapin ). Removed data for Distributed tables (blocks from async INSERTs) on DROP TABLE. #12556 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.0031449913512915373, 0.017718801274895668, -0.061785969883203506, 0.017203763127326965, 0.02847227267920971, -0.09454165399074554, -0.058626625686883926, 0.05766863375902176, -0.08135613054037094, 0.044795870780944824, 0.0032851730939000845, -0.011727500706911087, -0.05309082567691803, ...
5a5edf72-f79e-4fb3-bfdc-f5c7162d2f3c
Removed 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 performance issue, while reading from compact parts. #12492 ( Anton Popov ). Fixed 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 ). Fixed possible segfault if StorageMerge. Closes #12054 . #12401 ( tavplubix ). 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 ). 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 ). Implemented 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 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 ). Fixed dictGet arguments check during GROUP BY injective functions elimination. #12179 ( Azat Khuzhin ). 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 potential overflow in integer division. This fixes #12119 . #12140 ( alexey-milovidov ). Fixed potential infinite loop in greatCircleDistance , geoDistance . This fixes #12117 . #12137 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.019551727920770645, 0.027241386473178864, 0.015868868678808212, 0.027756040915846825, -0.009672952815890312, -0.10697287321090698, 0.009104820899665356, 0.02215009182691574, -0.03338040038943291, 0.011227058246731758, 0.042006928473711014, 0.036509472876787186, 0.011938676238059998, -0....
37f5f93d-caa8-452e-92aa-65f80eeff3b6
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 handling dependency of table with ENGINE=Dictionary on dictionary. This fixes #10994 . This fixes #10397 . #12116 ( Vitaly Baranov ). 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 possible crash while using wrong type for PREWHERE . Fixes #12053 , #12060 . #12060 ( Nikolai Kochetov ). Fixed error Expected single dictionary argument for function for function defaultValueOfArgumentType with LowCardinality type. Fixes #11808 . #12056 ( Nikolai Kochetov ). Fixed error Cannot capture column for higher-order functions with Tuple(LowCardinality) argument. Fixes #9766 . #12055 ( Nikolai Kochetov ). Parse tables metadata in parallel when loading database. This fixes slow server startup when there are large number of tables. #12045 ( tavplubix ). Make topK aggregate function return Enum for Enum types. This fixes #3740 . #12043 ( alexey-milovidov ). Fixed constraints check if constraint is a constant expression. This fixes #11360 . #12042 ( alexey-milovidov ). Fixed incorrect comparison of tuples with Nullable columns. Fixes #11985 . #12039 ( Nikolai Kochetov ). Fixed calculation of access rights when allow_introspection_functions=0. #12031 ( Vitaly Baranov ). Fixed wrong result and potential crash when invoking function if with arguments of type FixedString with different sizes. This fixes #11362 . #12021 ( alexey-milovidov ). A query with function neighbor as the only returned expression may return empty result if the function is called with offset -9223372036854775808 . This fixes #11367 . #12019 ( alexey-milovidov ). Fixed calculation of access rights when allow_ddl=0. #12015 ( Vitaly Baranov ). Fixed potential array size overflow in generateRandom that may lead to crash. This fixes #11371 . #12013 ( alexey-milovidov ). Fixed potential floating point exception. This closes #11378 . #12005 ( alexey-milovidov ). Fixed wrong setting name in log message at server startup. #11997 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.0063959090039134026, -0.04532216861844063, -0.045835502445697784, -0.027363095432519913, -0.034152645617723465, -0.11063883453607559, -0.0172327421605587, 0.02159704640507698, -0.024670546874403954, 0.021140193566679955, 0.036573197692632675, 0.03547378256917, -0.007520813494920731, -0....
c85b264a-757d-4eec-8834-9d23f1440b24
Fixed potential floating point exception. This closes #11378 . #12005 ( alexey-milovidov ). Fixed wrong setting name in log message at server startup. #11997 ( alexey-milovidov ). Fixed Query parameter was not set in Values format. Fixes #11918 . #11936 ( tavplubix ). Keep aliases for substitutions in query (parametrized queries). This fixes #11914 . #11916 ( alexey-milovidov ). Fixed bug with no moves when changing storage policy from default one. #11893 ( Vladimir Chebotarev ). Fixed potential floating point exception when parsing DateTime64 . This fixes #11374 . #11875 ( alexey-milovidov ). Fixed memory accounting via HTTP interface (can be significant with wait_end_of_query=1 ). #11840 ( Azat Khuzhin ). Parse metadata stored in zookeeper before checking for equality. #11739 ( Azat Khuzhin ). Performance Improvement {#performance-improvement-10} 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-12} Install ca-certificates before the first apt-get update in Dockerfile. #12095 ( Ivan Blinkov ). ClickHouse release v20.4.6.53-stable 2020-06-25 {#clickhouse-release-v204653-stable-2020-06-25} Bug Fix {#bug-fix-29} Fix rare crash caused by using Nullable column in prewhere condition. Continuation of #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 ). 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 ). 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 ). 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 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 ).
{"source_file": "2020.md"}
[ -0.010543500073254108, 0.03133410960435867, -0.03584812581539154, 0.07438021153211594, -0.07877349853515625, -0.05724784731864929, -0.0003040551964659244, 0.03153087571263313, -0.005452178884297609, 0.05317692831158638, -0.009137619286775589, -0.04344094917178154, 0.03084566816687584, 0.06...
29cd0c5a-36e5-4e56-96e7-608059037aa6
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 ). Fix rare crash caused by using Nullable column in prewhere condition. (Probably it is connected with #11572 somehow). #11608 ( Nikolai Kochetov ). 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 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 ). Now clickhouse-server docker container will prefer IPv6 checking server aliveness. #11550 ( Ivan Starkov ). Fix shard_num/replica_num for <node> (breaks use_compact_format_in_distributed_parts_names). #11528 ( Azat Khuzhin ). Fix race condition which may lead to an exception during table drop. It's a bit tricky and not dangerous at all. If you want an explanation, just notice me in telegram. #11523 ( alesapin ). Fix memory leak when exception is thrown in the middle of aggregation with -State functions. This fixes #8995 . #11496 ( alexey-milovidov ). 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 ). 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 usage of primary key wrapped into a function with 'FINAL' modifier and 'ORDER BY' optimization. #10715 ( Anton Popov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-13} Fix several non significant errors in unit tests. #11262 ( alesapin ). Fix (false) MSan report in MergeTreeIndexFullText. The issue first appeared in #9968 . #10801 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ 0.014974668622016907, 0.03215090557932854, 0.0049973963759839535, -0.005123856011778116, -0.04439912363886833, -0.019028393551707268, 0.0264627356082201, 0.00017043262778315693, -0.08964704722166061, 0.02937987446784973, -0.01903768815100193, -0.0027565944474190474, 0.026899442076683044, -...
d982f248-8df1-4be3-be6d-59ed6fe0a850
Fix several non significant errors in unit tests. #11262 ( alesapin ). Fix (false) MSan report in MergeTreeIndexFullText. The issue first appeared in #9968 . #10801 ( alexey-milovidov ). ClickHouse release v20.4.5.36-stable 2020-06-10 {#clickhouse-release-v204536-stable-2020-06-10} Bug Fix {#bug-fix-30} 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 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 pointInPolygon with nan as point. Fixes #11375 . #11421 ( Alexey Ilyukhov ). Fix potential uninitialized memory read in MergeTree shutdown if table was not created successfully. #11420 ( alexey-milovidov ). Fixed geohashesInBox with arguments outside of latitude/longitude range. #11403 ( Vasily Nemkov ). 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 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 ). 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 ).
{"source_file": "2020.md"}
[ -0.043994415551424026, -0.0501498319208622, -0.018174566328525543, 0.03709697723388672, -0.004085035994648933, -0.11879720538854599, -0.05059143900871277, 0.036446794867515564, -0.03720016032457352, 0.056473247706890106, 0.024539735168218613, 0.031196720898151398, -0.03942647948861122, -0....
9567a44f-4fc6-4400-adc8-0ec34a8132b9
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 ). 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 Kafka performance issue related to reschedules based on limits, which were always applied. #11149 ( filimonov ). 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 ). 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 ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-14} Fix several flaky integration tests. #11355 ( alesapin ). ClickHouse release v20.4.4.18-stable 2020-05-26 {#clickhouse-release-v204418-stable-2020-05-26} No changes compared to v20.4.3.16-stable.
{"source_file": "2020.md"}
[ 0.01787998341023922, 0.030613305047154427, -0.048841845244169235, -0.03852640837430954, -0.08931281417608261, -0.06582903116941452, 0.0008002703543752432, 0.037305064499378204, -0.10228684544563293, 0.026242965832352638, 0.04760117083787918, -0.013394149951636791, -0.019348520785570145, 0....
a05a4c31-54d0-478d-9eaa-7fb6d579bb40
ClickHouse release v20.4.4.18-stable 2020-05-26 {#clickhouse-release-v204418-stable-2020-05-26} No changes compared to v20.4.3.16-stable. ClickHouse release v20.4.3.16-stable 2020-05-23 {#clickhouse-release-v204316-stable-2020-05-23} Bug Fix {#bug-fix-31} Removed logging from mutation finalization task if nothing was finalized. #11109 ( alesapin ). Fixed memory leak in registerDiskS3. #11074 ( Pavel Kovalenko ). Fixed the potential missed data during termination of Kafka engine table. #11048 ( filimonov ). Fixed parseDateTime64BestEffort argument resolution bugs. #11038 ( Vasily Nemkov ). Fixed very rare potential use-after-free error in MergeTree if table was not created successfully. #10986 , #10970 ( alexey-milovidov ). Fixed metadata (relative path for rename) and data (relative path for symlink) handling for Atomic database. #10980 ( Azat Khuzhin ). Fixed server crash on concurrent ALTER and DROP DATABASE queries with Atomic database engine. #10968 ( tavplubix ). Fixed incorrect raw data size in getRawData() method. #10964 ( Igr ). Fixed 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 ). Fixed sending partially written files by the DistributedBlockOutputStream . #10940 ( Azat Khuzhin ). Fixed crash in SELECT count(notNullIn(NULL, [])) . #10920 ( Nikolai Kochetov ). Fixed the hang which was happening sometimes during DROP of Kafka table engine. (or during server restarts). #10910 ( filimonov ). Fixed the impossibility of executing multiple ALTER RENAME like a TO b, c TO a . #10895 ( alesapin ). Fixed possible race which could happen when you get result from aggregate function state from multiple thread for the same column. The only way it can happen is when you use finalizeAggregation function while reading from table with Memory engine which stores AggregateFunction state for quantile* function. #10890 ( Nikolai Kochetov ). Fixed backward compatibility with tuples in Distributed tables. #10889 ( Anton Popov ). Fixed SIGSEGV in StringHashTable if such a 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 ). Fixed potential read of uninitialized memory in cache-dictionary. #10834 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.020931802690029144, -0.03560395911335945, 0.0036591333337128162, -0.01264006458222866, 0.02073371410369873, -0.059814147651195526, -0.10361208021640778, 0.018345119431614876, -0.0035521406680345535, 0.07750876992940903, 0.034323811531066895, -0.013303465209901333, -0.0650925263762474, -...
9279d0d6-a79b-4116-a153-a2aa2f897dbc
Fixed potential read of uninitialized memory in cache-dictionary. #10834 ( alexey-milovidov ). Fixed columns order after Block::sortColumns() . #10826 ( Azat Khuzhin ). Fixed the issue with ODBC bridge when no quoting of identifiers is requested. Fixes #7984 . #10821 ( alexey-milovidov ). Fixed UBSan and MSan report in DateLUT . #10798 ( alexey-milovidov ). Fixed incorrect type conversion in key conditions. Fixes #6287 . #10791 ( Andrew Onyshchuk ). Fixed parallel_view_processing behavior. Now all insertions into MATERIALIZED VIEW without exception should be finished if exception happened. Fixes #10241 . #10757 ( Nikolai Kochetov ). Fixed combinator -OrNull and -OrDefault when combined with -State . #10741 ( hcz ). Fixed possible buffer overflow in function h3EdgeAngle . #10711 ( alexey-milovidov ). Fixed bug which locks concurrent alters when table has a lot of parts. #10659 ( alesapin ). Fixed nullptr dereference in StorageBuffer if server was shutdown before table startup. #10641 ( alexey-milovidov ). Fixed optimize_skip_unused_shards with LowCardinality . #10611 ( Azat Khuzhin ). Fixed handling condition variable for synchronous mutations. In some cases signals to that condition variable could be lost. #10588 ( Vladimir Chebotarev ). Fixed possible crash when createDictionary() is called before loadStoredObject() has finished. #10587 ( Vitaly Baranov ). Fixed SELECT of column ALIAS which default expression type different from column type. #10563 ( Azat Khuzhin ). Implemented comparison between DateTime64 and String values. #10560 ( Vasily Nemkov ). 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 ). Fixed #10263 . #10486 ( Azat Khuzhin ). Added tests about max_rows_to_sort setting. #10268 ( alexey-milovidov ). Added backward compatibility for create bloom filter index. #10551 . #10569 ( Winter Zhang ). ClickHouse release v20.4.2.9, 2020-05-12 {#clickhouse-release-v20429-2020-05-12} Backward Incompatible Change {#backward-incompatible-change-8} System tables (e.g. system.query_log, system.trace_log, system.metric_log) are using compact data part format for parts smaller than 10 MiB in size. Compact data part format is supported since version 20.3. If you are going to downgrade to version less than 20.3, you should manually delete table data for system logs in /var/lib/clickhouse/data/system/ .
{"source_file": "2020.md"}
[ -0.044526051729917526, -0.041642025113105774, -0.050669148564338684, 0.01801697164773941, -0.03528624400496483, -0.06717224419116974, -0.030945617705583572, -0.014276714064180851, -0.008564172312617302, 0.06798017770051956, 0.01911444030702114, 0.0408901683986187, 0.006723289377987385, -0....
b2dd764c-5176-4b2d-b5c9-bd35ddcd2667
When string comparison involves FixedString and compared arguments are of different sizes, do comparison as if smaller string is padded to the length of the larger. This is intented for SQL compatibility if we imagine that FixedString data type corresponds to SQL CHAR. This closes #9272 . #10363 ( alexey-milovidov ) Make SHOW CREATE TABLE multiline. Now it is more readable and more like MySQL. #10049 ( Azat Khuzhin ) Added a setting validate_polygons that is used in pointInPolygon function and enabled by default. #9857 ( alexey-milovidov ) New Feature {#new-feature-8} Add support for secured connection from ClickHouse to Zookeeper #10184 ( Konstantin Lebedev ) Support custom HTTP handlers. See #5436 for description. #7572 ( Winter Zhang ) Add MessagePack Input/Output format. #9889 ( Kruglov Pavel ) Add Regexp input format. #9196 ( Kruglov Pavel ) Added output format Markdown for embedding tables in markdown documents. #10317 ( Kruglov Pavel ) Added support for custom settings section in dictionaries. Also fixes issue #2829 . #10137 ( Artem Streltsov ) Added custom settings support in DDL-queries for CREATE DICTIONARY #10465 ( Artem Streltsov ) Add simple server-wide memory profiler that will collect allocation contexts when server memory usage becomes higher than the next allocation threshold. #10444 ( alexey-milovidov ) Add setting always_fetch_merged_part which restrict replica to merge parts by itself and always prefer dowloading from other replicas. #10379 ( alesapin ) Add function JSONExtractKeysAndValuesRaw which extracts raw data from JSON objects #10378 ( hcz ) Add memory usage from OS to system.asynchronous_metrics . #10361 ( alexey-milovidov ) Added generic variants for functions least and greatest . Now they work with arbitrary number of arguments of arbitrary types. This fixes #4767 #10318 ( alexey-milovidov ) Now ClickHouse controls timeouts of dictionary sources on its side. Two new settings added to cache dictionary configuration: strict_max_lifetime_seconds , which is max_lifetime by default, and query_wait_timeout_milliseconds , which is one minute by default. The first settings is also useful with allow_read_expired_keys settings (to forbid reading very expired keys). #10337 ( Nikita Mikhaylov ) Add log_queries_min_type to filter which entries will be written to query_log #10053 ( Azat Khuzhin ) Added function isConstant . This function checks whether its argument is constant expression and returns 1 or 0. It is intended for development, debugging and demonstration purposes. #10198 ( alexey-milovidov ) add joinGetOrNull to return NULL when key is missing instead of returning the default value. #10094 ( Amos Bird ) Consider NULL to be equal to NULL in IN operator, if the option transform_null_in is set. #10085 ( achimbab )
{"source_file": "2020.md"}
[ 0.02071526274085045, 0.06390715390443802, -0.020414894446730614, -0.0063149575144052505, -0.06522006541490555, -0.05251053720712662, 0.027890872210264206, 0.09368226677179337, -0.05229980871081352, 0.002669036854058504, -0.04933232441544533, -0.04611772671341896, 0.0804070234298706, 0.0038...
befa60b2-a7f6-4efb-90be-58ccfc8e865f
Consider NULL to be equal to NULL in IN operator, if the option transform_null_in is set. #10085 ( achimbab ) Add ALTER TABLE ... RENAME COLUMN for MergeTree table engines family. #9948 ( alesapin ) Support parallel distributed INSERT SELECT. #9759 ( vxider ) Add ability to query Distributed over Distributed (w/o distributed_group_by_no_merge ) ... #9923 ( Azat Khuzhin ) Add function arrayReduceInRanges which aggregates array elements in given ranges. #9598 ( hcz ) Add Dictionary Status on prometheus exporter. #9622 ( Guillaume Tassery ) Add function arrayAUC #8698 ( taiyang-li ) Support DROP VIEW statement for better TPC-H compatibility. #9831 ( Amos Bird ) Add 'strict_order' option to windowFunnel() #9773 ( achimbab ) Support DATE and TIMESTAMP SQL operators, e.g. SELECT date '2001-01-01' #9691 ( Artem Zuikov ) Experimental Feature {#experimental-feature-6} Added experimental database engine Atomic. It supports non-blocking DROP and RENAME TABLE queries and atomic EXCHANGE TABLES t1 AND t2 query #7512 ( tavplubix ) Initial support for ReplicatedMergeTree over S3 (it works in suboptimal way) #10126 ( Pavel Kovalenko ) Bug Fix {#bug-fix-32} Fixed incorrect scalar results inside inner query of MATERIALIZED VIEW in case if this query contained dependent table #10603 ( Nikolai Kochetov ) Fixed bug, which caused HTTP requests to get stuck on client closing connection when readonly=2 and cancel_http_readonly_queries_on_client_close=1 . #10684 ( tavplubix ) Fix segfault in StorageBuffer when exception is thrown on server startup. Fixes #10550 #10609 ( tavplubix ) The query SYSTEM DROP DNS CACHE now also drops caches used to check if user is allowed to connect from some IP addresses #10608 ( tavplubix ) Fix usage of multiple IN operators with an identical set in one query. Fixes #10539 #10686 ( Anton Popov ) 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 logic for aggregation_memory_efficient_merge_threads setting. #10667 ( palasonic1 ) Fix disappearing totals. Totals could have being filtered if query had JOIN or subquery with external WHERE condition. Fixes #10674 #10698 ( Nikolai Kochetov ) 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 index corruption, which may occur in some cases after merging compact parts into another compact part. #10531 ( Anton Popov )
{"source_file": "2020.md"}
[ -0.0020571770146489143, 0.0421757847070694, -0.040812812745571136, 0.042038001120090485, -0.07463597506284714, -0.05021548271179199, -0.04073349013924599, -0.007301465142518282, -0.03965892270207405, 0.05219922959804535, 0.04315558448433876, -0.05611826851963997, -0.014179076999425888, -0....
80a5d3e0-020e-4694-b987-0c2d2e41440f
Fix index corruption, which may occur in some cases after merging compact parts into another compact part. #10531 ( Anton Popov ) Fix the situation, when mutation finished all parts, but hung up in is_done=0 . #10526 ( alesapin ) Fix overflow at beginning of unix epoch for timezones with fractional offset from UTC. Fixes #9335 . #10513 ( alexey-milovidov ) Better diagnostics for input formats. Fixes #10204 #10418 ( tavplubix ) Fix numeric overflow in simpleLinearRegression() over large integers #10474 ( hcz ) Fix use-after-free in Distributed shutdown, avoid waiting for sending all batches #10491 ( Azat Khuzhin ) Add CA certificates to clickhouse-server docker image #10476 ( filimonov ) Fix a rare endless loop that might have occurred when using the addressToLine function or AggregateFunctionState columns. #10466 ( Alexander Kuzmenkov ) Handle zookeeper "no node error" during distributed query #10050 ( Daniel Chen ) Fix bug when server cannot attach table after column's default was altered. #10441 ( alesapin ) Implicitly cast the default expression type to the column type for the ALIAS columns #10563 ( Azat Khuzhin ) Don't remove metadata directory if ATTACH DATABASE fails #10442 ( Winter Zhang ) Avoid dependency on system tzdata. Fixes loading of Africa/Casablanca timezone on CentOS 8. Fixes #10211 #10425 ( alexey-milovidov ) Fix some issues if data is inserted with quorum and then gets deleted (DROP PARTITION, TTL, etc.). It led to stuck of INSERTs or false-positive exceptions in SELECTs. Fixes #9946 #10188 ( Nikita Mikhaylov ) Check the number and type of arguments when creating BloomFilter index #9623 #10431 ( Winter Zhang ) Prefer fallback_to_stale_replicas over skip_unavailable_shards , otherwise when both settings specified and there are no up-to-date replicas the query will fail (patch from @alex-zaitsev ) #10422 ( Azat Khuzhin ) Fix the issue when a query with ARRAY JOIN, ORDER BY and LIMIT may return incomplete result. Fixes #10226 . #10427 ( Vadim Plakhtinskiy ) Add database name to dictionary name after DETACH/ATTACH. Fixes system.dictionaries table and SYSTEM RELOAD query #10415 ( Azat Khuzhin ) Fix possible incorrect result for extremes in processors pipeline. #10131 ( Nikolai Kochetov ) Fix possible segfault when the setting distributed_group_by_no_merge is enabled (introduced in 20.3.7.46 by #10131 ). #10399 ( Nikolai Kochetov ) Fix wrong flattening of Array(Tuple(...)) data types. Fixes #10259 #10390 ( alexey-milovidov ) Fix column names of constants inside JOIN that may clash with names of constants outside of JOIN #9950 ( Alexander Kuzmenkov ) Fix order of columns after Block::sortColumns() #10826 ( Azat Khuzhin ) Fix possible Pipeline stuck error in ConcatProcessor which may happen in remote query. #10381 ( Nikolai Kochetov )
{"source_file": "2020.md"}
[ -0.049182720482349396, 0.039146434515714645, -0.001314146677032113, 0.018630804494023323, 0.0015811118064448237, -0.11399046331644058, -0.05806729942560196, 0.01517176628112793, -0.023373503237962723, 0.04773148149251938, -0.027886709198355675, 0.013657910749316216, -0.000016912841601879336,...
315c4b57-30d3-4ac5-a2f0-8121b4f34f0a
Fix order of columns after Block::sortColumns() #10826 ( Azat Khuzhin ) Fix possible Pipeline stuck error in ConcatProcessor which may happen in remote query. #10381 ( Nikolai Kochetov ) Don't make disk reservations for aggregations. Fixes #9241 #10375 ( Azat Khuzhin ) Fix wrong behaviour of datetime functions for timezones that has altered between positive and negative offsets from UTC (e.g. Pacific/Kiritimati). Fixes #7202 #10369 ( alexey-milovidov ) Avoid infinite loop in dictIsIn function. Fixes #515 #10365 ( alexey-milovidov ) Disable GROUP BY sharding_key optimization by default and fix it for WITH ROLLUP/CUBE/TOTALS #10516 ( Azat Khuzhin ) Check for error code when checking parts and don't mark part as broken if the error is like "not enough memory". Fixes #6269 #10364 ( alexey-milovidov ) Show information about not loaded dictionaries in system tables. #10234 ( Vitaly Baranov ) Fix nullptr dereference in StorageBuffer if server was shutdown before table startup. #10641 ( alexey-milovidov ) Fixed DROP vs OPTIMIZE race in ReplicatedMergeTree . DROP could left some garbage in replica path in ZooKeeper if there was concurrent OPTIMIZE query. #10312 ( tavplubix ) Fix 'Logical error: CROSS JOIN has expressions' error for queries with comma and names joins mix. Fixes #9910 #10311 ( Artem Zuikov ) Fix queries with max_bytes_before_external_group_by . #10302 ( Artem Zuikov ) Fix the issue with limiting maximum recursion depth in parser in certain cases. This fixes #10283 This fix may introduce minor incompatibility: long and deep queries via clickhouse-client may refuse to work, and you should adjust settings max_query_size and max_parser_depth accordingly. #10295 ( alexey-milovidov ) Allow to use count(*) with multiple JOINs. Fixes #9853 #10291 ( Artem Zuikov ) Fix error Pipeline stuck with max_rows_to_group_by and group_by_overflow_mode = 'break' . #10279 ( Nikolai Kochetov ) Fix 'Cannot add column' error while creating range_hashed dictionary using DDL query. Fixes #10093 . #10235 ( alesapin ) Fix rare possible exception Cannot drain connections: cancel first . #10239 ( Nikolai Kochetov ) Fixed bug where ClickHouse would throw "Unknown function lambda." error message when user tries to run ALTER UPDATE/DELETE on tables with ENGINE = Replicated*. Check for nondeterministic functions now handles lambda expressions correctly. #10237 ( Alexander Kazakov ) Fixed reasonably rare segfault in StorageSystemTables that happens when SELECT ... FROM system.tables is run on a database with Lazy engine. #10209 ( Alexander Kazakov ) Fix possible infinite query execution when the query actually should stop on LIMIT, while reading from infinite source like system.numbers or system.zeros . #10206 ( Nikolai Kochetov )
{"source_file": "2020.md"}
[ -0.004685514606535435, 0.022660940885543823, -0.03952684625983238, 0.0030779968947172165, -0.06612382084131241, -0.09357552230358124, -0.042359981685876846, 0.011833999305963516, -0.009019482880830765, 0.052507758140563965, 0.04102880507707596, 0.018763411790132523, -0.0014576225075870752, ...
0230412d-ba04-4db4-aec7-303aa2e6afd9
Fix possible infinite query execution when the query actually should stop on LIMIT, while reading from infinite source like system.numbers or system.zeros . #10206 ( Nikolai Kochetov ) Fixed "generateRandom" function for Date type. This fixes #9973 . Fix an edge case when dates with year 2106 are inserted to MergeTree tables with old-style partitioning but partitions are named with year 1970. #10218 ( alexey-milovidov ) Convert types if the table definition of a View does not correspond to the SELECT query. This fixes #10180 and #10022 #10217 ( alexey-milovidov ) Fix parseDateTimeBestEffort for strings in RFC-2822 when day of week is Tuesday or Thursday. This fixes #10082 #10214 ( alexey-milovidov ) Fix column names of constants inside JOIN that may clash with names of constants outside of JOIN. #10207 ( alexey-milovidov ) Fix move-to-prewhere optimization in presense of arrayJoin functions (in certain cases). This fixes #10092 #10195 ( alexey-milovidov ) Fix issue with separator appearing in SCRAMBLE for native mysql-connector-java (JDBC) #10140 ( BohuTANG ) Fix using the current database for an access checking when the database isn't specified. #10192 ( Vitaly Baranov ) Fix ALTER of tables with compact parts. #10130 ( Anton Popov ) Add the ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting. #10186 ( filimonov ) Fix DROP TABLE invoked for dictionary #10165 ( Azat Khuzhin ) Convert blocks if structure does not match when doing INSERT into Distributed table #10135 ( Azat Khuzhin ) The number of rows was logged incorrectly (as sum across all parts) when inserted block is split by parts with partition key. #10138 ( alexey-milovidov ) Add some arguments check and support identifier arguments for MySQL Database Engine #10077 ( Winter Zhang ) Fix incorrect index_granularity_bytes check while creating new replica. Fixes #10098 . #10121 ( alesapin ) Fix bug in CHECK TABLE query when table contain skip indices. #10068 ( alesapin ) Fix Distributed-over-Distributed with the only one shard in a nested table #9997 ( Azat Khuzhin ) Fix possible rows loss for queries with JOIN and UNION ALL . Fixes #9826 , #10113 . ... #10099 ( Nikolai Kochetov ) Fix bug in dictionary when local clickhouse server is used as source. It may caused memory corruption if types in dictionary and source are not compatible. #10071 ( alesapin ) Fixed replicated tables startup when updating from an old ClickHouse version where /table/replicas/replica_name/metadata node does not exist. Fixes #10037 . #10095 ( alesapin )
{"source_file": "2020.md"}
[ -0.049597494304180145, 0.014284427277743816, 0.009629483334720135, 0.007112376391887665, -0.04719902202486992, -0.0227064061909914, -0.0171396192163229, 0.018898043781518936, -0.0388779416680336, -0.01973835751414299, -0.039859820157289505, -0.035167332738637924, -0.03231915086507797, -0.0...
b59a3c9a-d2d9-4369-88cb-9113218258f2
Fixed replicated tables startup when updating from an old ClickHouse version where /table/replicas/replica_name/metadata node does not exist. Fixes #10037 . #10095 ( alesapin ) Fix error Cannot clone block with columns because block has 0 columns ... While executing GroupingAggregatedTransform . It happened when setting distributed_aggregation_memory_efficient was enabled, and distributed query read aggregating data with mixed single and two-level aggregation from different shards. #10063 ( Nikolai Kochetov ) Fix deadlock when database with materialized view failed attach at start #10054 ( Azat Khuzhin ) Fix a segmentation fault that could occur in GROUP BY over string keys containing trailing zero bytes ( #8636 , #8925 ). ... #10025 ( Alexander Kuzmenkov ) Fix wrong results of distributed queries when alias could override qualified column name. Fixes #9672 #9714 #9972 ( Artem Zuikov ) Fix possible deadlock in SYSTEM RESTART REPLICAS #9955 ( tavplubix ) Fix the number of threads used for remote query execution (performance regression, since 20.3). This happened when query from Distributed table was executed simultaneously on local and remote shards. Fixes #9965 #9971 ( Nikolai Kochetov ) Fixed DeleteOnDestroy logic in ATTACH PART which could lead to automatic removal of attached part and added few tests #9410 ( Vladimir Chebotarev ) Fix a bug with ON CLUSTER DDL queries freezing on server startup. #9927 ( Gagan Arneja ) Fix bug in which the necessary tables weren't retrieved at one of the processing stages of queries to some databases. Fixes #9699 . #9949 ( achulkov2 ) Fix 'Not found column in block' error when JOIN appears with TOTALS . Fixes #9839 #9939 ( Artem Zuikov ) Fix parsing multiple hosts set in the CREATE USER command #9924 ( Vitaly Baranov ) Fix TRUNCATE for Join table engine ( #9917 ). #9920 ( Amos Bird ) Fix race condition between drop and optimize in ReplicatedMergeTree . #9901 ( alesapin ) Fix DISTINCT for Distributed when optimize_skip_unused_shards is set. #9808 ( Azat Khuzhin ) Fix "scalar does not exist" error in ALTERs ( #9878 ). ... #9904 ( Amos Bird ) Fix error with qualified names in distributed_product_mode=\'local\' . Fixes #4756 #9891 ( Artem Zuikov ) For INSERT queries shards now do clamp the settings from the initiator to their constraints instead of throwing an exception. This fix allows to send INSERT queries to a shard with another constraints. This change improves fix #9447 . #9852 ( Vitaly Baranov ) Add some retries when commiting offsets to Kafka broker, since it can reject commit if during offsets.commit.timeout.ms there were no enough replicas available for the __consumer_offsets topic #9884 ( filimonov ) Fix Distributed engine behavior when virtual columns of the underlying table used in WHERE #9847 ( Azat Khuzhin )
{"source_file": "2020.md"}
[ -0.05073963850736618, -0.05634288117289543, -0.06195197254419327, -0.015089120715856552, -0.041591670364141464, -0.07516065984964371, -0.07835980504751205, -0.04074964299798012, 0.029309069737792015, 0.061261169612407684, 0.05196402966976166, 0.01862570270895958, 0.027323342859745026, -0.0...
0ecd5b07-f734-4210-a0ea-81071fe93c75
Fix Distributed engine behavior when virtual columns of the underlying table used in WHERE #9847 ( Azat Khuzhin ) Fixed some cases when timezone of the function argument wasn't used properly. #9574 ( Vasily Nemkov ) Fix 'Different expressions with the same alias' error when query has PREWHERE and WHERE on distributed table and SET distributed_product_mode = 'local' . #9871 ( Artem Zuikov ) Fix mutations excessive memory consumption for tables with a composite primary key. This fixes #9850 . #9860 ( alesapin ) Fix calculating grants for introspection functions from the setting allow_introspection_functions . #9840 ( Vitaly Baranov ) Fix max_distributed_connections (w/ and w/o Processors) #9673 ( Azat Khuzhin ) Fix possible exception Got 0 in totals chunk, expected 1 on client. It happened for queries with JOIN in case if right joined table had zero rows. Example: select * from system.one t1 join system.one t2 on t1.dummy = t2.dummy limit 0 FORMAT TabSeparated; . Fixes #9777 . ... #9823 ( Nikolai Kochetov ) Fix 'COMMA to CROSS JOIN rewriter is not enabled or cannot rewrite query' error in case of subqueries with COMMA JOIN out of tables lists (i.e. in WHERE). Fixes #9782 #9830 ( Artem Zuikov ) Fix server crashing when optimize_skip_unused_shards is set and expression for key can't be converted to its field type #9804 ( Azat Khuzhin ) Fix empty string handling in splitByString . #9767 ( hcz ) Fix broken ALTER TABLE DELETE COLUMN query for compact parts. #9779 ( alesapin ) Fixed missing rows_before_limit_at_least for queries over http (with processors pipeline). Fixes #9730 #9757 ( Nikolai Kochetov ) Fix excessive memory consumption in ALTER queries (mutations). This fixes #9533 and #9670 . #9754 ( alesapin ) Fix possible permanent "Cannot schedule a task" error. #9154 ( Azat Khuzhin ) Fix bug in backquoting in external dictionaries DDL. Fixes #9619 . #9734 ( alesapin ) Fixed data race in text_log . It does not correspond to any real bug. #9726 ( alexey-milovidov ) Fix bug in a replication that does not allow replication to work if the user has executed mutations on the previous version. This fixes #9645 . #9652 ( alesapin ) Fixed incorrect internal function names for sumKahan and sumWithOverflow . It led to exception while using this functions in remote queries. #9636 ( Azat Khuzhin ) Add setting use_compact_format_in_distributed_parts_names which allows to write files for INSERT queries into Distributed table with more compact format. This fixes #9647 . #9653 ( alesapin ) Fix RIGHT and FULL JOIN with LowCardinality in JOIN keys. #9610 ( Artem Zuikov ) Fix possible exceptions Size of filter does not match size of column and Invalid number of rows in Chunk in MergeTreeRangeReader . They could appear while executing PREWHERE in some cases. #9612 ( Anton Popov )
{"source_file": "2020.md"}
[ -0.0027572379913181067, -0.00031031572143547237, -0.05027138814330101, -0.01738528534770012, -0.005784175358712673, -0.0920296311378479, -0.03751415014266968, 0.06397638469934464, -0.011875467374920845, 0.05817847326397896, 0.030033482238650322, 0.02152782306075096, 0.024757005274295807, -...
f31a936a-f5eb-4d57-b3b3-1fe0ec20ad10
Allow ALTER ON CLUSTER of Distributed tables with internal replication. This fixes #3268 #9617 ( shinoi2 ) Fix issue when timezone was not preserved if you write a simple arithmetic expression like time + 1 (in contrast to an expression like time + INTERVAL 1 SECOND ). This fixes #5743 #9323 ( alexey-milovidov ) Improvement {#improvement-16} Use time zone when comparing DateTime with string literal. This fixes #5206 . #10515 ( alexey-milovidov ) Print verbose diagnostic info if Decimal value cannot be parsed from text input format. #10205 ( alexey-milovidov ) Add tasks/memory metrics for distributed/buffer schedule pools #10449 ( Azat Khuzhin ) Display result as soon as it's ready for SELECT DISTINCT queries in clickhouse-local and HTTP interface. This fixes #8951 #9559 ( alexey-milovidov ) Allow to use SAMPLE OFFSET query instead of cityHash64(PRIMARY KEY) % N == n for splitting in clickhouse-copier . To use this feature, pass --experimental-use-sample-offset 1 as a command line argument. #10414 ( Nikita Mikhaylov ) Allow to parse BOM in TSV if the first column cannot contain BOM in its value. This fixes #10301 #10424 ( alexey-milovidov ) Add Avro nested fields insert support #10354 ( Andrew Onyshchuk ) Allowed to alter column in non-modifying data mode when the same type is specified. #10382 ( Vladimir Chebotarev ) Auto distributed_group_by_no_merge on GROUP BY sharding key (if optimize_skip_unused_shards is set) #10341 ( Azat Khuzhin ) Optimize queries with LIMIT/LIMIT BY/ORDER BY for distributed with GROUP BY sharding_key #10373 ( Azat Khuzhin ) Added a setting max_server_memory_usage to limit total memory usage of the server. The metric MemoryTracking is now calculated without a drift. The setting max_memory_usage_for_all_queries is now obsolete and does nothing. This closes #10293 . #10362 ( alexey-milovidov ) Add config option system_tables_lazy_load . If it's set to false, then system tables with logs are loaded at the server startup. Alexander Burmak , Svyatoslav Tkhon Il Pak , #9642 #10359 ( alexey-milovidov ) Use background thread pool (background_schedule_pool_size) for distributed sends #10263 ( Azat Khuzhin ) Use background thread pool for background buffer flushes. #10315 ( Azat Khuzhin ) Support for one special case of removing incompletely written parts. This fixes #9940 . #10221 ( alexey-milovidov ) Use isInjective() over manual list of such functions for GROUP BY optimization. #10342 ( Azat Khuzhin ) Avoid printing error message in log if client sends RST packet immediately on connect. It is typical behaviour of IPVS balancer with keepalived and VRRP. This fixes #1851 #10274 ( alexey-milovidov ) Allow to parse +inf for floating point types. This closes #1839 #10272 ( alexey-milovidov ) Implemented generateRandom table function for Nested types. This closes #9903 #10219 ( alexey-milovidov )
{"source_file": "2020.md"}
[ 0.031228331848978996, -0.018937762826681137, -0.050130005925893784, 0.04416564851999283, -0.05784422904253006, -0.057906318455934525, -0.027545934543013573, -0.017521260306239128, -0.043663859367370605, 0.03096953220665455, -0.010182544589042664, -0.0886477380990982, 0.05611446127295494, -...
ddf600f7-8984-4da6-9d9a-55e1691e951e
Implemented generateRandom table function for Nested types. This closes #9903 #10219 ( alexey-milovidov ) Provide max_allowed_packed in MySQL compatibility interface that will help some clients to communicate with ClickHouse via MySQL protocol. #10199 ( BohuTANG ) Allow literals for GLOBAL IN (i.e. SELECT * FROM remote('localhost', system.one) WHERE dummy global in (0) ) #10196 ( Azat Khuzhin ) Fix various small issues in interactive mode of clickhouse-client #10194 ( alexey-milovidov ) Avoid superfluous dictionaries load (system.tables, DROP/SHOW CREATE TABLE) #10164 ( Azat Khuzhin ) Update to RWLock: timeout parameter for getLock() + implementation reworked to be phase fair #10073 ( Alexander Kazakov ) Enhanced compatibility with native mysql-connector-java(JDBC) #10021 ( BohuTANG ) The function toString is considered monotonic and can be used for index analysis even when applied in tautological cases with String or LowCardinality(String) argument. #10110 ( Amos Bird ) Add ON CLUSTER clause support to commands {CREATE|DROP} USER/ROLE/ROW POLICY/SETTINGS PROFILE/QUOTA , GRANT . #9811 ( Vitaly Baranov ) Virtual hosted-style support for S3 URI #9998 ( Pavel Kovalenko ) Now layout type for dictionaries with no arguments can be specified without round brackets in dictionaries DDL-queries. Fixes #10057 . #10064 ( alesapin ) Add ability to use number ranges with leading zeros in filepath #9989 ( Olga Khvostikova ) Better memory usage in CROSS JOIN. #10029 ( Artem Zuikov ) Try to connect to all shards in cluster when getting structure of remote table and skip_unavailable_shards is set. #7278 ( nvartolomei ) Add total_rows / total_bytes into the system.tables table. #9919 ( Azat Khuzhin ) System log tables now use polymorpic parts by default. #9905 ( Anton Popov ) Add type column into system.settings/merge_tree_settings #9909 ( Azat Khuzhin ) Check for available CPU instructions at server startup as early as possible. #9888 ( alexey-milovidov ) Remove ORDER BY stage from mutations because we read from a single ordered part in a single thread. Also add check that the rows in mutation are ordered by sorting key and this order is not violated. #9886 ( alesapin ) Implement operator LIKE for FixedString at left hand side. This is needed to better support TPC-DS queries. #9890 ( alexey-milovidov ) Add force_optimize_skip_unused_shards_no_nested that will disable force_optimize_skip_unused_shards for nested Distributed table #9812 ( Azat Khuzhin ) Now columns size is calculated only once for MergeTree data parts. #9827 ( alesapin ) Evaluate constant expressions for optimize_skip_unused_shards (i.e. SELECT * FROM foo_dist WHERE key=xxHash32(0) ) #8846 ( Azat Khuzhin ) Check for using Date or DateTime column from TTL expressions was removed. #9967 ( Vladimir Chebotarev )
{"source_file": "2020.md"}
[ -0.0021910234354436398, -0.0349452868103981, -0.05977775901556015, 0.03298602253198624, -0.05436554178595543, -0.05996843799948692, 0.0890287533402443, 0.014663546346127987, -0.07004505395889282, 0.0635828897356987, 0.001007716404274106, -0.05510827153921127, 0.11956906318664551, -0.036383...
bf843346-f2df-413c-97e3-5b2ec8bd4265
Check for using Date or DateTime column from TTL expressions was removed. #9967 ( Vladimir Chebotarev ) DiskS3 hard links optimal implementation. #9760 ( Pavel Kovalenko ) If set multiple_joins_rewriter_version = 2 enables second version of multiple JOIN rewrites that keeps not clashed column names as is. It supports multiple JOINs with USING and allow select * for JOINs with subqueries. #9739 ( Artem Zuikov ) Implementation of "non-blocking" alter for StorageMergeTree #9606 ( alesapin ) Add MergeTree full support for DiskS3 #9646 ( Pavel Kovalenko ) Extend splitByString to support empty strings as separators. #9742 ( hcz ) Add a timestamp_ns column to system.trace_log . It contains a high-definition timestamp of the trace event, and allows to build timelines of thread profiles ("flame charts"). #9696 ( Alexander Kuzmenkov ) When the setting send_logs_level is enabled, avoid intermixing of log messages and query progress. #9634 ( Azat Khuzhin ) Added support of MATERIALIZE TTL IN PARTITION . #9581 ( Vladimir Chebotarev ) Support complex types inside Avro nested fields #10502 ( Andrew Onyshchuk ) Performance Improvement {#performance-improvement-11} Better insert logic for right table for Partial MergeJoin. #10467 ( Artem Zuikov ) Improved performance of row-oriented formats (more than 10% for CSV and more than 35% for Avro in case of narrow tables). #10503 ( Andrew Onyshchuk ) Improved performance of queries with explicitly defined sets at right side of IN operator and tuples on the left side. #10385 ( Anton Popov ) Use less memory for hash table in HashJoin. #10416 ( Artem Zuikov ) Special HashJoin over StorageDictionary. Allow rewrite dictGet() functions with JOINs. It's not backward incompatible itself but could uncover #8400 on some installations. #10133 ( Artem Zuikov ) Enable parallel insert of materialized view when its target table supports. #10052 ( vxider ) Improved performance of index analysis with monotonic functions. #9607 #10026 ( Anton Popov ) Using SSE2 or SSE4.2 SIMD intrinsics to speed up tokenization in bloom filters. #9968 ( Vasily Nemkov ) Improved performance of queries with explicitly defined sets at right side of IN operator. This fixes performance regression in version 20.3. #9740 ( Anton Popov ) Now clickhouse-copier splits each partition in number of pieces and copies them independently. #9075 ( Nikita Mikhaylov ) Adding more aggregation methods. For example TPC-H query 1 will now pick FixedHashMap<UInt16, AggregateDataPtr> and gets 25% performance gain #9829 ( Amos Bird ) Use single row counter for multiple streams in pre-limit transform. This helps to avoid uniting pipeline streams in queries with limit but without order by (like select f(x) from (select x from t limit 1000000000) ) and use multiple threads for further processing. #9602 ( Nikolai Kochetov )
{"source_file": "2020.md"}
[ -0.01928078942000866, 0.005304883699864149, -0.005400060676038265, 0.003925623372197151, -0.012547857128083706, -0.06312655657529831, -0.01782706193625927, 0.0516250878572464, 0.0566653348505497, 0.01825631782412529, 0.002608670387417078, -0.04292404651641846, 0.00929226353764534, -0.03590...
48b6ead6-2c74-490c-ab15-6b95ae732ca7
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-15} Use a fork of AWS SDK libraries from ClickHouse-Extras #10527 ( Pavel Kovalenko ) Add integration tests for new ALTER RENAME COLUMN query. #10654 ( vzakaznikov ) Fix possible signed integer overflow in invocation of function now64 with wrong arguments. This fixes #8973 #10511 ( alexey-milovidov ) Split fuzzer and sanitizer configurations to make build config compatible with Oss-fuzz. #10494 ( kyprizel ) Fixes for clang-tidy on clang-10. #10420 ( alexey-milovidov ) Display absolute paths in error messages. Otherwise KDevelop fails to navigate to correct file and opens a new file instead. #10434 ( alexey-milovidov ) Added ASAN_OPTIONS environment variable to investigate errors in CI stress tests with Address sanitizer. #10440 ( Nikita Mikhaylov ) Enable ThinLTO for clang builds (experimental). #10435 ( alexey-milovidov ) Remove accidential dependency on Z3 that may be introduced if the system has Z3 solver installed. #10426 ( alexey-milovidov ) Move integration tests docker files to docker/ directory. #10335 ( Ilya Yatsishin ) Allow to use clang-10 in CI. It ensures that #10238 is fixed. #10384 ( alexey-milovidov ) Update OpenSSL to upstream master. Fixed the issue when TLS connections may fail with the message OpenSSL SSL_read: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error and SSL Exception: error:2400006E:random number generator::error retrieving entropy . The issue was present in version 20.1. #8956 ( alexey-milovidov ) Fix clang-10 build. #10238 #10370 ( Amos Bird ) Add performance test for Parallel INSERT for materialized view . #10345 ( vxider ) Fix flaky test test_settings_constraints_distributed.test_insert_clamps_settings . #10346 ( Vitaly Baranov ) Add util to test results upload in CI ClickHouse #10330 ( Ilya Yatsishin ) Convert test results to JSONEachRow format in junit_to_html tool #10323 ( Ilya Yatsishin ) Update cctz. #10215 ( alexey-milovidov ) Allow to create HTML report from the purest JUnit XML report. #10247 ( Ilya Yatsishin ) Update the check for minimal compiler version. Fix the root cause of the issue #10250 #10256 ( alexey-milovidov ) Initial support for live view tables over distributed #10179 ( vzakaznikov ) Fix (false) MSan report in MergeTreeIndexFullText. The issue first appeared in #9968 . #10801 ( alexey-milovidov ) clickhouse-docker-util #10151 ( filimonov ) Update pdqsort to recent version #10171 ( Ivan ) Update libdivide to v3.0 #10169 ( Ivan ) Add check with enabled polymorphic parts. #10086 ( Anton Popov ) Add cross-compile build for FreeBSD. This fixes #9465 #9643 ( Ivan ) Add performance test for #6924 #6980 ( filimonov ) Add support of /dev/null in the File engine for better performance testing #8455 ( Amos Bird )
{"source_file": "2020.md"}
[ -0.09099017083644867, 0.0575842522084713, -0.013303839601576328, -0.028614237904548645, 0.01083039678633213, -0.07661694288253784, -0.05861631780862808, 0.0449160672724247, -0.03919529542326927, 0.01267657708376646, 0.015980122610926628, -0.11192851513624191, 0.006417433265596628, -0.02605...
bd64d8d8-cc79-4a3b-84c7-e58d8bb6544a
Add performance test for #6924 #6980 ( filimonov ) Add support of /dev/null in the File engine for better performance testing #8455 ( Amos Bird ) Move all folders inside /dbms one level up #9974 ( Ivan ) Add a test that checks that read from MergeTree with single thread is performed in order. Addition to #9670 #9762 ( alexey-milovidov ) Fix the 00964_live_view_watch_events_heartbeat.py test to avoid race condition. #9944 ( vzakaznikov ) Fix integration test test_settings_constraints #9962 ( Vitaly Baranov ) Every function in its own file, part 12. #9922 ( alexey-milovidov ) Added performance test for the case of extremely slow analysis of array of tuples. #9872 ( alexey-milovidov ) 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. #10663 ( alexey-milovidov ) Fix TSan report in system.stack_trace . #9832 ( alexey-milovidov ) Removed dependency on clock_getres . #9833 ( alexey-milovidov ) Added identifier names check with clang-tidy. #9799 ( alexey-milovidov ) Update "builder" docker image. This image is not used in CI but is useful for developers. #9809 ( alexey-milovidov ) Remove old performance-test tool that is no longer used in CI. clickhouse-performance-test is great but now we are using way superior tool that is doing comparison testing with sophisticated statistical formulas to achieve confident results regardless to various changes in environment. #9796 ( alexey-milovidov ) Added most of clang-static-analyzer checks. #9765 ( alexey-milovidov ) Update Poco to 1.9.3 in preparation for MongoDB URI support. #6892 ( Alexander Kuzmenkov ) Fix build with -DUSE_STATIC_LIBRARIES=0 -DENABLE_JEMALLOC=0 #9651 ( Artem Zuikov ) For change log script, if merge commit was cherry-picked to release branch, take PR name from commit description. #9708 ( Nikolai Kochetov ) Support vX.X-conflicts tag in backport script. #9705 ( Nikolai Kochetov ) Fix auto-label for backporting script. #9685 ( Nikolai Kochetov ) Use libc++ in Darwin cross-build to make it consistent with native build. #9665 ( Hui Wang ) Fix flacky test 01017_uniqCombined_memory_usage . Continuation of #7236 . #9667 ( alexey-milovidov ) Fix build for native macOS Clang compiler #9649 ( Ivan ) Allow to add various glitches around pthread_mutex_lock , pthread_mutex_unlock functions. #9635 ( alexey-milovidov ) Add support for clang-tidy in packager script. #9625 ( alexey-milovidov ) Add ability to use unbundled msgpack. #10168 ( Azat Khuzhin ) ClickHouse release v20.3 {#clickhouse-release-v203} ClickHouse release v20.3.21.2-lts, 2020-11-02 {#clickhouse-release-v203212-lts-2020-11-02}
{"source_file": "2020.md"}
[ -0.026752879843115807, -0.02677794173359871, -0.010546128265559673, 0.007134497631341219, 0.057566575706005096, -0.14245934784412384, -0.036431584507226944, -0.0015266627306118608, -0.021939542144536972, 0.0042459978722035885, -0.0028068916872143745, 0.03472216799855232, -0.01217294391244649...
72cb83ea-e476-475a-bb4b-2b661ce20694
ClickHouse release v20.3 {#clickhouse-release-v203} ClickHouse release v20.3.21.2-lts, 2020-11-02 {#clickhouse-release-v203212-lts-2020-11-02} Bug Fix {#bug-fix-33} Fix dictGet in sharding_key (and similar places, i.e. when the function context is stored permanently). #16205 ( Azat Khuzhin ). Fix incorrect empty result for query from Distributed table if query has WHERE , PREWHERE and GLOBAL IN . Fixes #15792 . #15933 ( Nikolai Kochetov ). Fix missing or excessive headers in TSV/CSVWithNames formats. This fixes #12504 . #13343 ( Azat Khuzhin ). ClickHouse release v20.3.20.6-lts, 2020-10-09 {#clickhouse-release-v203206-lts-2020-10-09} Bug Fix {#bug-fix-34} 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. #15724 , #15537 ( tavplubix ). 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 'Unknown identifier' in GROUP BY when query has JOIN over Merge table. #15242 ( Artem Zuikov ). Fix to make predicate push down work when subquery contains finalizeAggregation function. Fixes #14847 . #14937 ( filimonov ). Concurrent ALTER ... REPLACE/MOVE PARTITION ... queries might cause deadlock. It's fixed. #13626 ( tavplubix ). ClickHouse release v20.3.19.4-lts, 2020-09-18 {#clickhouse-release-v203194-lts-2020-09-18} Bug Fix {#bug-fix-35} 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 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 ). Improvement {#improvement-17} Support custom codecs in compact parts. #12183 ( Anton Popov ). ClickHouse release v20.3.18.10-lts, 2020-09-08 {#clickhouse-release-v2031810-lts-2020-09-08} Bug Fix {#bug-fix-36} Stop query execution if exception happened in PipelineExecutor itself. This could prevent rare possible query hung. Continuation of #14334 . #14402 ( Nikolai Kochetov ). Fixed the behaviour when sometimes cache-dictionary returned default value instead of present value from source. #13624 ( Nikita Mikhaylov ). Fix parsing row policies from users.xml when names of databases or tables contain dots. This fixes #5779 , #12527 . #13199 ( Vitaly Baranov ). Fix CAST(Nullable(String), Enum()). #12745 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ -0.045918017625808716, 0.008324391208589077, 0.03883064538240433, 0.012759610079228878, 0.05038563162088394, -0.08146408945322037, 0.01623985730111599, -0.07016198337078094, -0.006246812175959349, 0.06669081002473831, 0.06403905153274536, -0.04264222830533981, 0.033573951572179794, -0.0455...
be2aa18f-ecde-49e8-b09b-f95ea1668ebb
Fix CAST(Nullable(String), Enum()). #12745 ( Azat Khuzhin ). Fixed data race in text_log . It does not correspond to any real bug. #9726 ( alexey-milovidov ). Improvement {#improvement-18} 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 ). Return NULL/zero when value is not parsed completely in parseDateTimeBestEffortOrNull/Zero functions. This fixes #7876 . #11653 ( alexey-milovidov ). Performance Improvement {#performance-improvement-12} Slightly optimize very short queries with LowCardinality. #14129 ( Anton Popov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-16} Fix UBSan report (adding zero to nullptr) in HashTable that appeared after migration to clang-10. #10638 ( alexey-milovidov ). ClickHouse release v20.3.17.173-lts, 2020-08-15 {#clickhouse-release-v20317173-lts-2020-08-15} Bug Fix {#bug-fix-37} Fix crash in JOIN with StorageMerge and set enable_optimize_predicate_expression=1 . #13679 ( Artem Zuikov ). Fix invalid return type for comparison of tuples with NULL elements. Fixes #12461 . #13420 ( Nikolai Kochetov ). Fix queries with constant columns and ORDER BY prefix of primary key. #13396 ( Anton Popov ). Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero(). #13234 ( Azat Khuzhin ). ClickHouse release v20.3.16.165-lts 2020-08-10 {#clickhouse-release-v20316165-lts-2020-08-10} Bug Fix {#bug-fix-38} Fixed error in parseDateTimeBestEffort function when unix timestamp was passed as an argument. This fixes #13362 . #13441 ( 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 unnecessary limiting for the number of threads for selects from local replica. #12840 ( Nikolai Kochetov ). Fixed possible extra overflow row in data which could appear for queries WITH TOTALS . #12747 ( 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 #12293 allow push predicate when subquery contains with clause. #12663 ( Winter Zhang ).
{"source_file": "2020.md"}
[ -0.003634485648944974, 0.04499530792236328, -0.022997485473752022, -0.015555973164737225, -0.06593305617570877, -0.04123375192284584, -0.044091418385505676, 0.05142374709248543, -0.12118811905384064, 0.025980878621339798, 0.022281428799033165, -0.08001133799552917, 0.0015631342539563775, -...
edeb70e1-9983-4e85-8f3d-3660aa82513f
Fixed #12293 allow push predicate when subquery contains with clause. #12663 ( Winter Zhang ). Fixed #10572 fix bloom filter index with const expression. #12659 ( Winter Zhang ). Fixed SIGSEGV in StorageKafka when broker is unavailable (and not only). #12658 ( Azat Khuzhin ). Fixed race condition in external dictionaries with cache layout which can lead server crash. #12566 ( alesapin ). 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 performance issue, while reading from compact parts. #12492 ( Anton Popov ). Fixed the deadlock if text_log is enabled. #12452 ( alexey-milovidov ). Fixed possible segfault if StorageMerge. Closes #12054 . #12401 ( tavplubix ). Fixed TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments. This fixes #12163 . #12376 ( 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 ). 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 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 ). Fixed dictGet arguments check during GROUP BY injective functions elimination. #12179 ( Azat Khuzhin ). 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 potential overflow in integer division. This fixes #12119 . #12140 ( alexey-milovidov ). Fixed potential infinite loop in greatCircleDistance , geoDistance . This fixes #12117 . #12137 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.004888118710368872, 0.022785499691963196, 0.028188884258270264, 0.03330812603235245, -0.028865739703178406, -0.041542015969753265, -0.0001604020071681589, 0.0077615235932171345, -0.003175516379997134, 0.004937732592225075, -0.008629662916064262, -0.0002235751016996801, -0.0044032288715243...
4950f5f7-12a4-49a2-9aed-901fcb21e065
Fixed potential infinite loop in greatCircleDistance , geoDistance . This fixes #12117 . #12137 ( alexey-milovidov ). 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 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 unnecessary limiting the number of threads for selects from VIEW . Fixes #11937 . #12085 ( Nikolai Kochetov ). Fixed possible crash while using wrong type for PREWHERE . Fixes #12053 , #12060 . #12060 ( Nikolai Kochetov ). Fixed error Expected single dictionary argument for function for function defaultValueOfArgumentType with LowCardinality type. Fixes #11808 . #12056 ( Nikolai Kochetov ). Fixed error Cannot capture column for higher-order functions with Tuple(LowCardinality) argument. Fixes #9766 . #12055 ( Nikolai Kochetov ). Parse tables metadata in parallel when loading database. This fixes slow server startup when there are large number of tables. #12045 ( tavplubix ). Make topK aggregate function return Enum for Enum types. This fixes #3740 . #12043 ( alexey-milovidov ). Fixed constraints check if constraint is a constant expression. This fixes #11360 . #12042 ( alexey-milovidov ). Fixed incorrect comparison of tuples with Nullable columns. Fixes #11985 . #12039 ( Nikolai Kochetov ). Fixed wrong result and potential crash when invoking function if with arguments of type FixedString with different sizes. This fixes #11362 . #12021 ( alexey-milovidov ). A query with function neighbor as the only returned expression may return empty result if the function is called with offset -9223372036854775808 . This fixes #11367 . #12019 ( alexey-milovidov ). Fixed potential array size overflow in generateRandom that may lead to crash. This fixes #11371 . #12013 ( alexey-milovidov ). Fixed potential floating point exception. This closes #11378 . #12005 ( alexey-milovidov ). Fixed wrong setting name in log message at server startup. #11997 ( alexey-milovidov ). Fixed Query parameter was not set in Values format. Fixes #11918 . #11936 ( tavplubix ). Keep aliases for substitutions in query (parametrized queries). This fixes #11914 . #11916 ( alexey-milovidov ). Fixed potential floating point exception when parsing DateTime64. This fixes #11374 . #11875 ( alexey-milovidov ). Fixed memory accounting via HTTP interface (can be significant with wait_end_of_query=1 ). #11840 ( Azat Khuzhin ). Fixed wrong result for if() with NULLs in condition. #11807 ( Artem Zuikov ). Parse metadata stored in zookeeper before checking for equality. #11739 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ 0.005040278192609549, -0.05219384282827377, -0.02675466239452362, -0.01717095822095871, -0.03531568869948387, -0.07866919040679932, 0.015920065343379974, 0.06666179746389389, -0.04747319221496582, -0.005056480411440134, 0.0022713954094797373, -0.07289773225784302, -0.005779384169727564, -0...
55c252c5-fd7d-49aa-af32-70031d92276f
Fixed wrong result for if() with NULLs in condition. #11807 ( Artem Zuikov ). Parse metadata stored in zookeeper before checking for equality. #11739 ( Azat Khuzhin ). Fixed LIMIT n WITH TIES usage together with ORDER BY statement, which contains aliases. #11689 ( Anton Popov ). Fix potential read of uninitialized memory in cache dictionary. #10834 ( alexey-milovidov ). Performance Improvement {#performance-improvement-13} Index not used for IN operator with literals, performance regression introduced around v19.3. This fixes #10574 . #12062 ( nvartolomei ). ClickHouse release v20.3.12.112-lts 2020-06-25 {#clickhouse-release-v20312112-lts-2020-06-25} Bug Fix {#bug-fix-39} Fix rare crash caused by using Nullable column in prewhere condition. Continuation of #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 using too many threads for queries. #11788 ( Nikolai Kochetov ). 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 ). 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 ). 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 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 ). 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 ). Fix rare crash caused by using Nullable column in prewhere condition. (Probably it is connected with #11572 somehow). #11608 ( Nikolai Kochetov ). 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 trivial error in log message about "Mark cache size was lowered" at server startup. This closes #11399 . #11589 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.04668639227747917, 0.037640850991010666, 0.006095857359468937, -0.004204281605780125, -0.01723080687224865, -0.046445801854133606, 0.012286023236811161, 0.001773742726072669, -0.02218032255768776, 0.06459902971982956, 0.04100535064935684, 0.04604073241353035, -0.030216116458177567, 0.01...
c637e00f-141a-4548-bdf7-054d74db4b76
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 ). 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 shard_num/replica_num for <node> (breaks use_compact_format_in_distributed_parts_names). #11528 ( Azat Khuzhin ). Fix memory leak when exception is thrown in the middle of aggregation with -State functions. This fixes #8995 . #11496 ( alexey-milovidov ). Fix wrong results of distributed queries when alias could override qualified column name. Fixes #9672 #9714 . #9972 ( Artem Zuikov ). ClickHouse release v20.3.11.97-lts 2020-06-10 {#clickhouse-release-v2031197-lts-2020-06-10} New Feature {#new-feature-9} Now ClickHouse controls timeouts of dictionary sources on its side. Two new settings added to cache dictionary configuration: strict_max_lifetime_seconds , which is max_lifetime by default and query_wait_timeout_milliseconds , which is one minute by default. The first settings is also useful with allow_read_expired_keys settings (to forbid reading very expired keys). #10337 ( Nikita Mikhaylov ). Bug Fix {#bug-fix-40} 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 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 pointInPolygon with nan as point. Fixes #11375 . #11421 ( Alexey Ilyukhov ). 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 crash in direct selects from StorageJoin (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 ).
{"source_file": "2020.md"}
[ 0.007647126913070679, 0.06465902179479599, 0.006912055891007185, 0.00984653364866972, -0.007768652401864529, -0.06371369957923889, -0.04081723839044571, 0.001157545717433095, -0.02967177703976631, 0.050579242408275604, -0.03834462910890579, 0.011119784787297249, 0.012030672281980515, -0.02...
af1031d9-37bc-4a61-a067-a2f10f7ba180
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 ). 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 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 ). 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 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.016370372846722603, -0.026238350197672844, -0.02646772190928459, 0.017600689083337784, -0.07437723875045776, -0.031595028936862946, -0.034157492220401764, 0.004367349669337273, -0.026519309729337692, -0.005537462420761585, 0.01806606352329254, -0.028917213901877403, -0.05641692876815796, ...
cbad85c7-4d85-4d59-8eac-935647c7abfd
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 ). 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 ). Introduce commit retry logic to decrease the possibility of getting duplicates from Kafka in rare cases when offset commit was failed. #9884 ( filimonov ). Performance Improvement {#performance-improvement-14} Get dictionary and check access rights only once per each call of any function reading external dictionaries. #10928 ( Vitaly Baranov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-17} Fix several flaky integration tests. #11355 ( alesapin ). ClickHouse release v20.3.10.75-lts 2020-05-23 {#clickhouse-release-v2031075-lts-2020-05-23} Bug Fix {#bug-fix-41} Removed logging from mutation finalization task if nothing was finalized. #11109 ( alesapin ). Fixed parseDateTime64BestEffort argument resolution bugs. #11038 ( Vasily Nemkov ). Fixed incorrect raw data size in method getRawData() . #10964 ( Igr ). Fixed 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 ). Fixed backward compatibility with tuples in Distributed tables. #10889 ( Anton Popov ). Fixed SIGSEGV in StringHashTable if such a key does not exist. #10870 ( Azat Khuzhin ). Fixed bug in ReplicatedMergeTree which might cause some ALTER on OPTIMIZE query to hang waiting for some replica after it become inactive. #10849 ( tavplubix ). Fixed columns order after Block::sortColumns() . #10826 ( Azat Khuzhin ). Fixed the issue with ODBC bridge when no quoting of identifiers is requested. Fixes #7984 . #10821 ( alexey-milovidov ). Fixed UBSan and MSan report in DateLUT . #10798 ( alexey-milovidov ). Fixed incorrect type conversion in key conditions. Fixes #6287 . #10791 ( Andrew Onyshchuk ) Fixed parallel_view_processing behavior. Now all insertions into MATERIALIZED VIEW without exception should be finished if exception happened. Fixes #10241 . #10757 ( Nikolai Kochetov ). Fixed combinator - OrNull and -OrDefault when combined with -State . #10741 ( hcz ). Fixed crash in generateRandom with nested types. Fixes #10583 . #10734 ( Nikolai Kochetov ).
{"source_file": "2020.md"}
[ -0.05778766795992851, -0.009894012473523617, -0.04860673472285271, 0.007015628274530172, -0.058322545140981674, -0.07477971911430359, -0.057493142783641815, -0.011640767566859722, 0.012778627686202526, 0.0666613057255745, -0.01646854728460312, -0.06025037169456482, -0.011938420124351978, -...
452e6bce-da31-4b97-b6f0-9f1b6299b060
Fixed combinator - OrNull and -OrDefault when combined with -State . #10741 ( hcz ). Fixed crash in generateRandom with nested types. Fixes #10583 . #10734 ( Nikolai Kochetov ). Fixed data corruption for LowCardinality(FixedString) key column in SummingMergeTree which could have happened after merge. Fixes #10489 . #10721 ( Nikolai Kochetov ). Fixed possible buffer overflow in function h3EdgeAngle . #10711 ( alexey-milovidov ). Fixed disappearing totals. Totals could have being filtered if query had had join or subquery with external where condition. Fixes #10674 . #10698 ( Nikolai Kochetov ). Fixed 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 ). Fixed order of parameters in AggregateTransform constructor. #10667 ( palasonic1 ). Fixed the lack of parallel execution of remote queries with distributed_aggregation_memory_efficient enabled. Fixes #10655 . #10664 ( Nikolai Kochetov ). Fixed possible incorrect number of rows for queries with LIMIT . Fixes #10566 , #10709 . #10660 ( Nikolai Kochetov ). Fixed a bug which locks concurrent alters when table has a lot of parts. #10659 ( alesapin ). Fixed a bug when 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 SELECT of column ALIAS which default expression type different from column type. #10563 ( Azat Khuzhin ). Implemented comparison between DateTime64 and String values. #10560 ( Vasily Nemkov ). Fixed index corruption, which may occur in some cases after merge compact parts into another compact part. #10531 ( Anton Popov ). Fixed the situation, when mutation finished all parts, but hung up in is_done=0 . #10526 ( alesapin ). Fixed overflow at beginning of unix epoch for timezones with fractional offset from UTC . This fixes #9335 . #10513 ( alexey-milovidov ). Fixed improper shutdown of Distributed storage. #10491 ( Azat Khuzhin ). Fixed numeric overflow in simpleLinearRegression over large integers. #10474 ( hcz ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-18} Fix UBSan report in LZ4 library. #10631 ( alexey-milovidov ). Fix clang-10 build. #10238 . #10370 ( Amos Bird ). Added failing tests about max_rows_to_sort setting. #10268 ( alexey-milovidov ). Added some improvements in printing diagnostic info in input formats. Fixes #10204 . #10418 ( tavplubix ). Added CA certificates to clickhouse-server docker image. #10476 ( filimonov ).
{"source_file": "2020.md"}
[ -0.04353756830096245, 0.02745327539741993, 0.04076862335205078, 0.03610819950699806, -0.02128838375210762, -0.03142756223678589, 0.0035075731575489044, 0.0018034940585494041, -0.03400503098964691, 0.043490469455718994, -0.035747841000556946, 0.016604524105787277, 0.022391309961676598, -0.1...
ed9ae8ca-d4e3-4bde-bcc3-09f19eb58442
Added some improvements in printing diagnostic info in input formats. Fixes #10204 . #10418 ( tavplubix ). Added CA certificates to clickhouse-server docker image. #10476 ( filimonov ). Bug fix {#bug-fix-42} Fix error the BloomFilter false positive must be a double number between 0 and 1 #10551 . #10569 ( Winter Zhang ). ClickHouse release v20.3.8.53, 2020-04-23 {#clickhouse-release-v203853-2020-04-23} Bug Fix {#bug-fix-43} Fixed wrong behaviour of datetime functions for timezones that has altered between positive and negative offsets from UTC (e.g. Pacific/Kiritimati). This fixes #7202 #10369 ( alexey-milovidov ) Fix possible segfault with distributed_group_by_no_merge enabled (introduced in 20.3.7.46 by #10131 ). #10399 ( Nikolai Kochetov ) Fix wrong flattening of Array(Tuple(...)) data types. This fixes #10259 #10390 ( alexey-milovidov ) Drop disks reservation in Aggregator. This fixes bug in disk space reservation, which may cause big external aggregation to fail even if it could be completed successfully #10375 ( Azat Khuzhin ) Fixed DROP vs OPTIMIZE race in ReplicatedMergeTree . DROP could left some garbage in replica path in ZooKeeper if there was concurrent OPTIMIZE query. #10312 ( tavplubix ) Fix bug when server cannot attach table after column default was altered. #10441 ( alesapin ) Do not remove metadata directory when attach database fails before loading tables. #10442 ( Winter Zhang ) Fixed several bugs when some data was inserted with quorum, then deleted somehow (DROP PARTITION, TTL) and this leaded to the stuck of INSERTs or false-positive exceptions in SELECTs. This fixes #9946 #10188 ( Nikita Mikhaylov ) Fix possible Pipeline stuck error in ConcatProcessor which could have happened in remote query. #10381 ( Nikolai Kochetov ) Fixed wrong behavior in HashTable that caused compilation error when trying to read HashMap from buffer. #10386 ( palasonic1 ) Allow to use count(*) with multiple JOINs. Fixes #9853 #10291 ( Artem Zuikov ) Prefer fallback_to_stale_replicas over skip_unavailable_shards , otherwise when both settings specified and there are no up-to-date replicas the query will fail (patch from @alex-zaitsev). Fixes: #2564 . #10422 ( Azat Khuzhin ) Fix the issue when a query with ARRAY JOIN, ORDER BY and LIMIT may return incomplete result. This fixes #10226 . Author: Vadim Plakhtinskiy . #10427 ( alexey-milovidov ) Check the number and type of arguments when creating BloomFilter index #9623 #10431 ( Winter Zhang ) Performance Improvement {#performance-improvement-15} Improved performance of queries with explicitly defined sets at right side of IN operator and tuples in the left side. This fixes performance regression in version 20.3. #9740 , #10385 ( Anton Popov ) ClickHouse release v20.3.7.46, 2020-04-17 {#clickhouse-release-v203746-2020-04-17} Bug Fix {#bug-fix-44}
{"source_file": "2020.md"}
[ -0.04370268061757088, 0.058149319142103195, 0.031341247260570526, -0.005816033575683832, 0.01776285283267498, -0.11229456216096878, -0.05356358736753464, -0.03259386867284775, -0.08000754565000534, -0.030769389122724533, 0.023608341813087463, -0.034231413155794144, 0.018612327054142952, 0....
6d60e0dd-14af-4f00-8a3b-8492aa5abcd2
ClickHouse release v20.3.7.46, 2020-04-17 {#clickhouse-release-v203746-2020-04-17} Bug Fix {#bug-fix-44} Fix Logical error: CROSS JOIN has expressions error for queries with comma and names joins mix. #10311 ( Artem Zuikov ). Fix queries with max_bytes_before_external_group_by . #10302 ( Artem Zuikov ). Fix move-to-prewhere optimization in presense of arrayJoin functions (in certain cases). This fixes #10092 . #10195 ( alexey-milovidov ). Add the ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting. #10186 ( filimonov ). ClickHouse release v20.3.6.40, 2020-04-16 {#clickhouse-release-v203640-2020-04-16} New Feature {#new-feature-10} Added function isConstant . This function checks whether its argument is constant expression and returns 1 or 0. It is intended for development, debugging and demonstration purposes. #10198 ( alexey-milovidov ). Bug Fix {#bug-fix-45} Fix error Pipeline stuck with max_rows_to_group_by and group_by_overflow_mode = 'break' . #10279 ( Nikolai Kochetov ). Fix rare possible exception Cannot drain connections: cancel first . #10239 ( Nikolai Kochetov ). Fixed bug where ClickHouse would throw "Unknown function lambda." error message when user tries to run ALTER UPDATE/DELETE on tables with ENGINE = Replicated*. Check for nondeterministic functions now handles lambda expressions correctly. #10237 ( Alexander Kazakov ). Fixed "generateRandom" function for Date type. This fixes #9973 . Fix an edge case when dates with year 2106 are inserted to MergeTree tables with old-style partitioning but partitions are named with year 1970. #10218 ( alexey-milovidov ). Convert types if the table definition of a View does not correspond to the SELECT query. This fixes #10180 and #10022 . #10217 ( alexey-milovidov ). Fix parseDateTimeBestEffort for strings in RFC-2822 when day of week is Tuesday or Thursday. This fixes #10082 . #10214 ( alexey-milovidov ). Fix column names of constants inside JOIN that may clash with names of constants outside of JOIN. #10207 ( alexey-milovidov ). Fix possible inifinite query execution when the query actually should stop on LIMIT, while reading from infinite source like system.numbers or system.zeros . #10206 ( Nikolai Kochetov ). Fix using the current database for access checking when the database isn't specified. #10192 ( Vitaly Baranov ). Convert blocks if structure does not match on INSERT into Distributed(). #10135 ( Azat Khuzhin ). Fix possible incorrect result for extremes in processors pipeline. #10131 ( Nikolai Kochetov ). Fix some kinds of alters with compact parts. #10130 ( Anton Popov ). Fix incorrect index_granularity_bytes check while creating new replica. Fixes #10098 . #10121 ( alesapin ).
{"source_file": "2020.md"}
[ -0.08587557077407837, -0.022507349029183388, 0.013491255231201649, -0.01437379140406847, 0.004504697863012552, -0.030673807486891747, 0.03820590302348137, -0.04415472224354744, -0.05751973018050194, 0.004438609816133976, 0.011700699105858803, -0.07914185523986816, -0.009580098092556, 0.010...
ff7d5d26-5f0b-407d-a271-5dd2eabf84e9
Fix some kinds of alters with compact parts. #10130 ( Anton Popov ). Fix incorrect index_granularity_bytes check while creating new replica. Fixes #10098 . #10121 ( alesapin ). Fix SIGSEGV on INSERT into Distributed table when its structure differs from the underlying tables. #10105 ( Azat Khuzhin ). Fix possible rows loss for queries with JOIN and UNION ALL . Fixes #9826 , #10113 . #10099 ( Nikolai Kochetov ). Fixed replicated tables startup when updating from an old ClickHouse version where /table/replicas/replica_name/metadata node does not exist. Fixes #10037 . #10095 ( alesapin ). Add some arguments check and support identifier arguments for MySQL Database Engine. #10077 ( Winter Zhang ). Fix bug in clickhouse dictionary source from localhost clickhouse server. The bug may lead to memory corruption if types in dictionary and source are not compatible. #10071 ( alesapin ). Fix bug in CHECK TABLE query when table contain skip indices. #10068 ( alesapin ). Fix error Cannot clone block with columns because block has 0 columns ... While executing GroupingAggregatedTransform . It happened when setting distributed_aggregation_memory_efficient was enabled, and distributed query read aggregating data with different level from different shards (mixed single and two level aggregation). #10063 ( Nikolai Kochetov ). Fix a segmentation fault that could occur in GROUP BY over string keys containing trailing zero bytes ( #8636 , #8925 ). #10025 ( Alexander Kuzmenkov ). Fix the number of threads used for remote query execution (performance regression, since 20.3). This happened when query from Distributed table was executed simultaneously on local and remote shards. Fixes #9965 . #9971 ( Nikolai Kochetov ). Fix bug in which the necessary tables weren't retrieved at one of the processing stages of queries to some databases. Fixes #9699 . #9949 ( achulkov2 ). Fix 'Not found column in block' error when JOIN appears with TOTALS . Fixes #9839 . #9939 ( Artem Zuikov ). Fix a bug with ON CLUSTER DDL queries freezing on server startup. #9927 ( Gagan Arneja ). Fix parsing multiple hosts set in the CREATE USER command, e.g. CREATE USER user6 HOST NAME REGEXP 'lo.?*host', NAME REGEXP 'lo*host' . #9924 ( Vitaly Baranov ). Fix TRUNCATE for Join table engine ( #9917 ). #9920 ( Amos Bird ). Fix "scalar does not exist" error in ALTERs ( #9878 ). #9904 ( Amos Bird ). Fix race condition between drop and optimize in ReplicatedMergeTree . #9901 ( alesapin ). Fix error with qualified names in distributed_product_mode='local' . Fixes #4756 . #9891 ( Artem Zuikov ). Fix calculating grants for introspection functions from the setting 'allow_introspection_functions'. #9840 ( Vitaly Baranov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-19} Fix integration test test_settings_constraints . #9962 ( Vitaly Baranov ).
{"source_file": "2020.md"}
[ -0.026487374678254128, -0.045649852603673935, 0.016875235363841057, -0.00892186351120472, -0.026464547961950302, -0.12644441425800323, -0.052506912499666214, -0.026738353073596954, -0.052410971373319626, 0.0505632720887661, -0.007683314848691225, -0.008688162080943584, 0.07809171080589294, ...
f5c1a5c7-11e4-4786-b22d-89fb9c2dc1d4
Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-19} Fix integration test test_settings_constraints . #9962 ( Vitaly Baranov ). Removed dependency on clock_getres . #9833 ( alexey-milovidov ). ClickHouse release v20.3.5.21, 2020-03-27 {#clickhouse-release-v203521-2020-03-27} Bug Fix {#bug-fix-46} Fix 'Different expressions with the same alias' error when query has PREWHERE and WHERE on distributed table and SET distributed_product_mode = 'local' . #9871 ( Artem Zuikov ). Fix mutations excessive memory consumption for tables with a composite primary key. This fixes #9850 . #9860 ( alesapin ). For INSERT queries shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception. This fix allows to send INSERT queries to a shard with another constraints. This change improves fix #9447 . #9852 ( Vitaly Baranov ). Fix 'COMMA to CROSS JOIN rewriter is not enabled or cannot rewrite query' error in case of subqueries with COMMA JOIN out of tables lists (i.e. in WHERE). Fixes #9782 . #9830 ( Artem Zuikov ). Fix possible exception Got 0 in totals chunk, expected 1 on client. It happened for queries with JOIN in case if right joined table had zero rows. Example: select * from system.one t1 join system.one t2 on t1.dummy = t2.dummy limit 0 FORMAT TabSeparated; . Fixes #9777 . #9823 ( Nikolai Kochetov ). Fix SIGSEGV with optimize_skip_unused_shards when type cannot be converted. #9804 ( Azat Khuzhin ). Fix broken ALTER TABLE DELETE COLUMN query for compact parts. #9779 ( alesapin ). Fix max_distributed_connections (w/ and w/o Processors). #9673 ( Azat Khuzhin ). Fixed a few cases when timezone of the function argument wasn't used properly. #9574 ( Vasily Nemkov ). Improvement {#improvement-19} Remove order by stage from mutations because we read from a single ordered part in a single thread. Also add check that the order of rows in mutation is ordered in sorting key order and this order is not violated. #9886 ( alesapin ). ClickHouse release v20.3.4.10, 2020-03-20 {#clickhouse-release-v203410-2020-03-20} Bug Fix {#bug-fix-47} This release also contains all bug fixes from 20.1.8.41 Fix missing rows_before_limit_at_least for queries over http (with processors pipeline). This fixes #9730 . #9757 ( Nikolai Kochetov ) ClickHouse release v20.3.3.6, 2020-03-17 {#clickhouse-release-v20336-2020-03-17} Bug Fix {#bug-fix-48} This release also contains all bug fixes from 20.1.7.38 Fix bug in a replication that does not allow replication to work if the user has executed mutations on the previous version. This fixes #9645 . #9652 ( alesapin ). It makes version 20.3 backward compatible again.
{"source_file": "2020.md"}
[ -0.010949329473078251, -0.015073747374117374, 0.0005892998306080699, -0.009571384638547897, -0.04953712970018387, -0.023431189358234406, -0.02326759323477745, 0.01675533689558506, -0.08928461372852325, 0.019198013469576836, 0.07972944527864456, -0.02432437241077423, 0.07250387966632843, -0...
686f3103-8c5e-4d9a-8266-b8a51dc620e1
Add setting use_compact_format_in_distributed_parts_names which allows to write files for INSERT queries into Distributed table with more compact format. This fixes #9647 . #9653 ( alesapin ). It makes version 20.3 backward compatible again. ClickHouse release v20.3.2.1, 2020-03-12 {#clickhouse-release-v20321-2020-03-12} Backward Incompatible Change {#backward-incompatible-change-9} Fixed the issue file name too long when sending data for Distributed tables for a large number of replicas. Fixed the issue that replica credentials were exposed in the server log. The format of directory name on disk was changed to [shard{shard_index}[_replica{replica_index}]] . #8911 ( Mikhail Korotov ) After you upgrade to the new version, you will not be able to downgrade without manual intervention, because old server version does not recognize the new directory format. If you want to downgrade, you have to manually rename the corresponding directories to the old format. This change is relevant only if you have used asynchronous INSERT s to Distributed tables. In the version 20.3.3 we will introduce a setting that will allow you to enable the new format gradually. Changed the format of replication log entries for mutation commands. You have to wait for old mutations to process before installing the new version. Implement simple memory profiler that dumps stacktraces to system.trace_log every N bytes over soft allocation limit #8765 ( Ivan ) #9472 ( alexey-milovidov ) The column of system.trace_log was renamed from timer_type to trace_type . This will require changes in third-party performance analysis and flamegraph processing tools. Use OS thread id everywhere instead of internal thread number. This fixes #7477 Old clickhouse-client cannot receive logs that are send from the server when the setting send_logs_level is enabled, because the names and types of the structured log messages were changed. On the other hand, different server versions can send logs with different types to each other. When you don't use the send_logs_level setting, you should not care. #8954 ( alexey-milovidov ) Remove indexHint function #9542 ( alexey-milovidov ) Remove findClusterIndex , findClusterValue functions. This fixes #8641 . If you were using these functions, send an email to clickhouse-feedback@yandex-team.com #9543 ( alexey-milovidov ) Now it's not allowed to create columns or add columns with SELECT subquery as default expression. #9481 ( alesapin ) Require aliases for subqueries in JOIN. #9274 ( Artem Zuikov ) Improved ALTER MODIFY/ADD queries logic. Now you cannot ADD column without type, MODIFY default expression does not change type of column and MODIFY type does not loose default expression value. Fixes #8669 . #9227 ( alesapin )
{"source_file": "2020.md"}
[ 0.010210804641246796, -0.04703230410814285, -0.007672041188925505, -0.04276864975690842, -0.038165949285030365, -0.09038036316633224, -0.09195558726787567, -0.02959361858665943, -0.007199079263955355, 0.0904635563492775, 0.05120540037751198, 0.06578708440065384, 0.06692080199718475, 0.0196...
b58e8a25-13ad-4093-996d-60748624e93e
Require server to be restarted to apply the changes in logging configuration. This is a temporary workaround to avoid the bug where the server logs to a deleted log file (see #8696 ). #8707 ( Alexander Kuzmenkov ) The setting experimental_use_processors is enabled by default. This setting enables usage of the new query pipeline. This is internal refactoring and we expect no visible changes. If you will see any issues, set it to back zero. #8768 ( alexey-milovidov ) New Feature {#new-feature-11} Add Avro and AvroConfluent input/output formats #8571 ( Andrew Onyshchuk ) #8957 ( Andrew Onyshchuk ) #8717 ( alexey-milovidov ) Multi-threaded and non-blocking updates of expired keys in cache dictionaries (with optional permission to read old ones). #8303 ( Nikita Mikhaylov ) Add query ALTER ... MATERIALIZE TTL . It runs mutation that forces to remove expired data by TTL and recalculates meta-information about TTL in all parts. #8775 ( Anton Popov ) Switch from HashJoin to MergeJoin (on disk) if needed #9082 ( Artem Zuikov ) Added MOVE PARTITION command for ALTER TABLE #4729 #6168 ( Guillaume Tassery ) Reloading storage configuration from configuration file on the fly. #8594 ( Vladimir Chebotarev ) Allowed to change storage_policy to not less rich one. #8107 ( Vladimir Chebotarev ) Added support for globs/wildcards for S3 storage and table function. #8851 ( Vladimir Chebotarev ) Implement bitAnd , bitOr , bitXor , bitNot for FixedString(N) datatype. #9091 ( Guillaume Tassery ) Added function bitCount . This fixes #8702 . #8708 ( alexey-milovidov ) #8749 ( ikopylov ) Add generateRandom table function to generate random rows with given schema. Allows to populate arbitrary test table with data. #8994 ( Ilya Yatsishin ) JSONEachRowFormat : support special case when objects enclosed in top-level array. #8860 ( Kruglov Pavel ) Now it's possible to create a column with DEFAULT expression which depends on a column with default ALIAS expression. #9489 ( alesapin ) Allow to specify --limit more than the source data size in clickhouse-obfuscator . The data will repeat itself with different random seed. #9155 ( alexey-milovidov ) Added groupArraySample function (similar to groupArray ) with reservior sampling algorithm. #8286 ( Amos Bird ) Now you can monitor the size of update queue in cache / complex_key_cache dictionaries via system metrics. #9413 ( Nikita Mikhaylov ) Allow to use CRLF as a line separator in CSV output format with setting output_format_csv_crlf_end_of_line is set to 1 #8934 #8935 #8963 ( Mikhail Korotov ) Implement more functions of the H3 API: h3GetBaseCell , h3HexAreaM2 , h3IndexesAreNeighbors , h3ToChildren , h3ToString and stringToH3 #8938 ( Nico Mandery )
{"source_file": "2020.md"}
[ -0.0390717051923275, -0.01337643712759018, -0.01840023882687092, 0.06386300176382065, -0.04608466103672981, -0.07863036543130875, 0.026484539732336998, -0.041711561381816864, 0.035109180957078934, 0.04203886166214943, 0.0229672659188509, 0.06553013622760773, -0.034222520887851715, -0.00012...
beb17a96-868a-4d2b-8096-962a5fde11a7
Implement more functions of the H3 API: h3GetBaseCell , h3HexAreaM2 , h3IndexesAreNeighbors , h3ToChildren , h3ToString and stringToH3 #8938 ( Nico Mandery ) New setting introduced: max_parser_depth to control maximum stack size and allow large complex queries. This fixes #6681 and #7668 . #8647 ( Maxim Smirnov ) Add a setting force_optimize_skip_unused_shards setting to throw if skipping of unused shards is not possible #8805 ( Azat Khuzhin ) Allow to configure multiple disks/volumes for storing data for send in Distributed engine #8756 ( Azat Khuzhin ) Support storage policy ( <tmp_policy> ) for storing temporary data. #8750 ( Azat Khuzhin ) Added X-ClickHouse-Exception-Code HTTP header that is set if exception was thrown before sending data. This implements #4971 . #8786 ( Mikhail Korotov ) Added function ifNotFinite . It is just a syntactic sugar: ifNotFinite(x, y) = isFinite(x) ? x : y . #8710 ( alexey-milovidov ) Added last_successful_update_time column in system.dictionaries table #9394 ( Nikita Mikhaylov ) Add blockSerializedSize function (size on disk without compression) #8952 ( Azat Khuzhin ) Add function moduloOrZero #9358 ( hcz ) Added system tables system.zeros and system.zeros_mt as well as tale functions zeros() and zeros_mt() . Tables (and table functions) contain single column with name zero and type UInt8 . This column contains zeros. It is needed for test purposes as the fastest method to generate many rows. This fixes #6604 #9593 ( Nikolai Kochetov ) Experimental Feature {#experimental-feature-7} Add new compact format of parts in MergeTree -family tables in which all columns are stored in one file. It helps to increase performance of small and frequent inserts. The old format (one file per column) is now called wide. Data storing format is controlled by settings min_bytes_for_wide_part and min_rows_for_wide_part . #8290 ( Anton Popov ) Support for S3 storage for Log , TinyLog and StripeLog tables. #8862 ( Pavel Kovalenko ) Bug Fix {#bug-fix-49} Fixed inconsistent whitespaces in log messages. #9322 ( alexey-milovidov ) Fix bug in which arrays of unnamed tuples were flattened as Nested structures on table creation. #8866 ( achulkov2 ) Fixed the issue when "Too many open files" error may happen if there are too many files matching glob pattern in File table or file table function. Now files are opened lazily. This fixes #8857 #8861 ( alexey-milovidov ) DROP TEMPORARY TABLE now drops only temporary table. #8907 ( Vitaly Baranov ) Remove outdated partition when we shutdown the server or DETACH/ATTACH a table. #8602 ( Guillaume Tassery )
{"source_file": "2020.md"}
[ -0.012370901182293892, 0.004121644422411919, -0.05386147275567055, -0.022838158532977104, -0.03288968652486801, -0.10206742584705353, -0.07035806775093079, 0.009147032164037228, 0.021043982356786728, 0.006170549895614386, 0.020216964185237885, -0.019532985985279083, 0.04045593738555908, -0...
50181107-2f5b-457a-a3de-1ab422da3ed9
DROP TEMPORARY TABLE now drops only temporary table. #8907 ( Vitaly Baranov ) Remove outdated partition when we shutdown the server or DETACH/ATTACH a table. #8602 ( Guillaume Tassery ) For how the default disk calculates the free space from data subdirectory. Fixed the issue when the amount of free space is not calculated correctly if the data directory is mounted to a separate device (rare case). This fixes #7441 #9257 ( Mikhail Korotov ) Allow comma (cross) join with IN () inside. #9251 ( Artem Zuikov ) Allow to rewrite CROSS to INNER JOIN if there's [NOT] LIKE operator in WHERE section. #9229 ( Artem Zuikov ) Fix possible incorrect result after GROUP BY with enabled setting distributed_aggregation_memory_efficient . Fixes #9134 . #9289 ( Nikolai Kochetov ) Found keys were counted as missed in metrics of cache dictionaries. #9411 ( Nikita Mikhaylov ) Fix replication protocol incompatibility introduced in #8598 . #9412 ( alesapin ) Fixed race condition on queue_task_handle at the startup of ReplicatedMergeTree tables. #9552 ( alexey-milovidov ) The token NOT did not work in SHOW TABLES NOT LIKE query #8727 #8940 ( alexey-milovidov ) Added range check to function h3EdgeLengthM . Without this check, buffer overflow is possible. #8945 ( alexey-milovidov ) Fixed up a bug in batched calculations of ternary logical OPs on multiple arguments (more than 10). #8718 ( Alexander Kazakov ) Fix error of PREWHERE optimization, which could lead to segfaults or Inconsistent number of columns got from MergeTreeRangeReader exception. #9024 ( Anton Popov ) Fix unexpected Timeout exceeded while reading from socket exception, which randomly happens on secure connection before timeout actually exceeded and when query profiler is enabled. Also add connect_timeout_with_failover_secure_ms settings (default 100ms), which is similar to connect_timeout_with_failover_ms , but is used for secure connections (because SSL handshake is slower, than ordinary TCP connection) #9026 ( tavplubix ) Fix bug with mutations finalization, when mutation may hang in state with parts_to_do=0 and is_done=0 . #9022 ( alesapin ) Use new ANY JOIN logic with partial_merge_join setting. It's possible to make ANY|ALL|SEMI LEFT and ALL INNER joins with partial_merge_join=1 now. #8932 ( Artem Zuikov ) Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception. This fix allows to send queries to a shard with another constraints. #9447 ( Vitaly Baranov ) Fixed memory management problem in MergeTreeReadPool . #8791 ( Vladimir Chebotarev ) Fix toDecimal*OrNull() functions family when called with string e . Fixes #8312 #8764 ( Artem Zuikov ) Make sure that FORMAT Null sends no data to the client. #8767 ( Alexander Kuzmenkov )
{"source_file": "2020.md"}
[ -0.04231657460331917, 0.015550244599580765, 0.03945529833436012, 0.06244784966111183, 0.05635426193475723, -0.08310675621032715, 0.02871800772845745, 0.04191265255212784, 0.04630514234304428, 0.08661855757236481, 0.11016766726970673, 0.009110544808208942, 0.0577080063521862, -0.01175308972...
c8d2d922-ff7e-4aa9-a155-6c5fc9d9a0a6
Make sure that FORMAT Null sends no data to the client. #8767 ( Alexander Kuzmenkov ) Fix bug that timestamp in LiveViewBlockInputStream will not updated. LIVE VIEW is an experimental feature. #8644 ( vxider ) #8625 ( vxider ) Fixed ALTER MODIFY TTL wrong behavior which did not allow to delete old TTL expressions. #8422 ( Vladimir Chebotarev ) Fixed UBSan report in MergeTreeIndexSet. This fixes #9250 #9365 ( alexey-milovidov ) Fixed the behaviour of match and extract functions when haystack has zero bytes. The behaviour was wrong when haystack was constant. This fixes #9160 #9163 ( alexey-milovidov ) #9345 ( alexey-milovidov ) Avoid throwing from destructor in Apache Avro 3rd-party library. #9066 ( Andrew Onyshchuk ) Don't commit a batch polled from Kafka partially as it can lead to holes in data. #8876 ( filimonov ) Fix joinGet with nullable return types. #8919 #9014 ( Amos Bird ) Fix data incompatibility when compressed with T64 codec. #9016 ( Artem Zuikov ) Fix data type ids in T64 compression codec that leads to wrong (de)compression in affected versions. #9033 ( Artem Zuikov ) Add setting enable_early_constant_folding and disable it in some cases that leads to errors. #9010 ( Artem Zuikov ) Fix pushdown predicate optimizer with VIEW and enable the test #9011 ( Winter Zhang ) Fix segfault in Merge tables, that can happen when reading from File storages #9387 ( tavplubix ) Added a check for storage policy in ATTACH PARTITION FROM , REPLACE PARTITION , MOVE TO TABLE . Otherwise it could make data of part inaccessible after restart and prevent ClickHouse to start. #9383 ( Vladimir Chebotarev ) Fix alters if there is TTL set for table. #8800 ( Anton Popov ) Fix race condition that can happen when SYSTEM RELOAD ALL DICTIONARIES is executed while some dictionary is being modified/added/removed. #8801 ( Vitaly Baranov ) In previous versions Memory database engine use empty data path, so tables are created in path directory (e.g. /var/lib/clickhouse/ ), not in data directory of database (e.g. /var/lib/clickhouse/db_name ). #8753 ( tavplubix ) Fixed wrong log messages about missing default disk or policy. #9530 ( Vladimir Chebotarev ) Fix not(has()) for the bloom_filter index of array types. #9407 ( achimbab ) Allow first column(s) in a table with Log engine be an alias #9231 ( Ivan ) Fix order of ranges while reading from MergeTree table in one thread. It could lead to exceptions from MergeTreeRangeReader or wrong query results. #9050 ( Anton Popov ) Make reinterpretAsFixedString to return FixedString instead of String . #9052 ( Andrew Onyshchuk ) Avoid extremely rare cases when the user can get wrong error message ( Success instead of detailed error description). #9457 ( alexey-milovidov ) Do not crash when using Template format with empty row template. #8785 ( Alexander Kuzmenkov )
{"source_file": "2020.md"}
[ -0.12305282801389694, -0.011729994788765907, -0.04903877153992653, -0.021536698564887047, 0.02535814605653286, -0.062149833887815475, -0.07968039065599442, -0.05938867852091789, 0.008250974118709564, 0.008280357345938683, 0.00006137727905297652, -0.060698170214891434, -0.06476469337940216, ...
0916147a-f064-4155-ac13-c788669bd2b2
Do not crash when using Template format with empty row template. #8785 ( Alexander Kuzmenkov ) Metadata files for system tables could be created in wrong place #8653 ( tavplubix ) Fixes #8581 . Fix data race on exception_ptr in cache dictionary #8303 . #9379 ( Nikita Mikhaylov ) Do not throw an exception for query ATTACH TABLE IF NOT EXISTS . Previously it was thrown if table already exists, despite the IF NOT EXISTS clause. #8967 ( Anton Popov ) Fixed missing closing paren in exception message. #8811 ( alexey-milovidov ) Avoid message Possible deadlock avoided at the startup of clickhouse-client in interactive mode. #9455 ( alexey-milovidov ) Fixed the issue when padding at the end of base64 encoded value can be malformed. Update base64 library. This fixes #9491 , closes #9492 #9500 ( alexey-milovidov ) Prevent losing data in Kafka in rare cases when exception happens after reading suffix but before commit. Fixes #9378 #9507 ( filimonov ) Fixed exception in DROP TABLE IF EXISTS #8663 ( Nikita Vasilev ) Fix crash when a user tries to ALTER MODIFY SETTING for old-formated MergeTree table engines family. #9435 ( alesapin ) Support for UInt64 numbers that don't fit in Int64 in JSON-related functions. Update SIMDJSON to master. This fixes #9209 #9344 ( alexey-milovidov ) Fixed execution of inversed predicates when non-strictly monotinic functional index is used. #9223 ( Alexander Kazakov ) Don't try to fold IN constant in GROUP BY #8868 ( Amos Bird ) Fix bug in ALTER DELETE mutations which leads to index corruption. This fixes #9019 and #8982 . Additionally fix extremely rare race conditions in ReplicatedMergeTree ALTER queries. #9048 ( alesapin ) When the setting compile_expressions is enabled, you can get unexpected column in LLVMExecutableFunction when we use Nullable type #8910 ( Guillaume Tassery ) Multiple fixes for Kafka engine: 1) fix duplicates that were appearing during consumer group rebalance. 2) Fix rare 'holes' appeared when data were polled from several partitions with one poll and committed partially (now we always process / commit the whole polled block of messages). 3) Fix flushes by block size (before that only flushing by timeout was working properly). 4) better subscription procedure (with assignment feedback). 5) Make tests work faster (with default intervals and timeouts). Due to the fact that data was not flushed by block size before (as it should according to documentation), that PR may lead to some performance degradation with default settings (due to more often & tinier flushes which are less optimal). If you encounter the performance issue after that change - please increase kafka_max_block_size in the table to the bigger value ( for example CREATE TABLE ...Engine=Kafka ... SETTINGS ... kafka_max_block_size=524288 ). Fixes #7259 #8917 ( filimonov )
{"source_file": "2020.md"}
[ -0.00750005105510354, -0.013541544787585735, -0.02423918806016445, -0.036353517323732376, -0.015549476258456707, -0.003949228208512068, -0.04176466539502144, 0.03806794807314873, 0.010704356245696545, 0.07417425513267517, 0.03590640053153038, 0.006550827994942665, -0.002068677917122841, -0...
423a828b-3820-4bf7-90f1-016f32d58a51
Fix Parameter out of bound exception in some queries after PREWHERE optimizations. #8914 ( Baudouin Giard ) Fixed the case of mixed-constness of arguments of function arrayZip . #8705 ( alexey-milovidov ) When executing CREATE query, fold constant expressions in storage engine arguments. Replace empty database name with current database. Fixes #6508 , #3492 #9262 ( tavplubix ) Now it's not possible to create or add columns with simple cyclic aliases like a DEFAULT b, b DEFAULT a . #9603 ( alesapin ) Fixed a bug with double move which may corrupt original part. This is relevant if you use ALTER TABLE MOVE #8680 ( Vladimir Chebotarev ) Allow interval identifier to correctly parse without backticks. Fixed issue when a query cannot be executed even if the interval identifier is enclosed in backticks or double quotes. This fixes #9124 . #9142 ( alexey-milovidov ) Fixed fuzz test and incorrect behaviour of bitTestAll / bitTestAny functions. #9143 ( alexey-milovidov ) Fix possible crash/wrong number of rows in LIMIT n WITH TIES when there are a lot of rows equal to n'th row. #9464 ( tavplubix ) Fix mutations with parts written with enabled insert_quorum . #9463 ( alesapin ) Fix data race at destruction of Poco::HTTPServer . It could happen when server is started and immediately shut down. #9468 ( Anton Popov ) Fix bug in which a misleading error message was shown when running SHOW CREATE TABLE a_table_that_does_not_exist . #8899 ( achulkov2 ) Fixed Parameters are out of bound exception in some rare cases when we have a constant in the SELECT clause when we have an ORDER BY and a LIMIT clause. #8892 ( Guillaume Tassery ) Fix mutations finalization, when already done mutation can have status is_done=0 . #9217 ( alesapin ) Prevent from executing ALTER ADD INDEX for MergeTree tables with old syntax, because it does not work. #8822 ( Mikhail Korotov ) During server startup do not access table, which LIVE VIEW depends on, so server will be able to start. Also remove LIVE VIEW dependencies when detaching LIVE VIEW . LIVE VIEW is an experimental feature. #8824 ( tavplubix ) Fix possible segfault in MergeTreeRangeReader , while executing PREWHERE . #9106 ( Anton Popov ) Fix possible mismatched checksums with column TTLs. #9451 ( Anton Popov ) Fixed a bug when parts were not being moved in background by TTL rules in case when there is only one volume. #8672 ( Vladimir Chebotarev ) Fixed the issue Method createColumn() is not implemented for data type Set . This fixes #7799 . #8674 ( alexey-milovidov ) Now we will try finalize mutations more frequently. #9427 ( alesapin ) Fix intDiv by minus one constant #9351 ( hcz ) Fix possible race condition in BlockIO . #9356 ( Nikolai Kochetov ) Fix bug leading to server termination when trying to use / drop Kafka table created with wrong parameters. #9513 ( filimonov )
{"source_file": "2020.md"}
[ -0.028433291241526604, 0.015282265841960907, -0.08561011403799057, 0.024918382987380028, -0.07485206425189972, -0.0286045391112566, 0.002420899225398898, 0.05037252977490425, -0.0614866279065609, 0.038053590804338455, 0.006739505100995302, -0.040720704942941666, 0.10397413372993469, -0.035...
89db54e4-5291-4666-998b-3fd775004e62
Fix bug leading to server termination when trying to use / drop Kafka table created with wrong parameters. #9513 ( filimonov ) Added workaround if OS returns wrong result for timer_create function. #8837 ( alexey-milovidov ) Fixed error in usage of min_marks_for_seek parameter. Fixed the error message when there is no sharding key in Distributed table and we try to skip unused shards. #8908 ( Azat Khuzhin ) Improvement {#improvement-20} Implement ALTER MODIFY/DROP queries on top of mutations for ReplicatedMergeTree* engines family. Now ALTERS blocks only at the metadata update stage, and don't block after that. #8701 ( alesapin ) Add ability to rewrite CROSS to INNER JOINs with WHERE section containing unqialified names. #9512 ( Artem Zuikov ) Make SHOW TABLES and SHOW DATABASES queries support the WHERE expressions and FROM / IN #9076 ( sundyli ) Added a setting deduplicate_blocks_in_dependent_materialized_views . #9070 ( urykhy ) After recent changes MySQL client started to print binary strings in hex thereby making them not readable ( #9032 ). The workaround in ClickHouse is to mark string columns as UTF-8, which is not always, but usually the case. #9079 ( Yuriy Baranov ) Add support of String and FixedString keys for sumMap #8903 ( Baudouin Giard ) Support string keys in SummingMergeTree maps #8933 ( Baudouin Giard ) Signal termination of thread to the thread pool even if the thread has thrown exception #8736 ( Ding Xiang Fei ) Allow to set query_id in clickhouse-benchmark #9416 ( Anton Popov ) Don't allow strange expressions in ALTER TABLE ... PARTITION partition query. This addresses #7192 #8835 ( alexey-milovidov ) The table system.table_engines now provides information about feature support (like supports_ttl or supports_sort_order ). #8830 ( Max Akhmedov ) Enable system.metric_log by default. It will contain rows with values of ProfileEvents, CurrentMetrics collected with "collect_interval_milliseconds" interval (one second by default). The table is very small (usually in order of megabytes) and collecting this data by default is reasonable. #9225 ( alexey-milovidov ) Initialize query profiler for all threads in a group, e.g. it allows to fully profile insert-queries. Fixes #6964 #8874 ( Ivan ) Now temporary LIVE VIEW is created by CREATE LIVE VIEW name WITH TIMEOUT [42] ... instead of CREATE TEMPORARY LIVE VIEW ... , because the previous syntax was not consistent with CREATE TEMPORARY TABLE ... #9131 ( tavplubix ) Add text_log.level configuration parameter to limit entries that goes to system.text_log table #8809 ( Azat Khuzhin ) Allow to put downloaded part to a disks/volumes according to TTL rules #8598 ( Vladimir Chebotarev )
{"source_file": "2020.md"}
[ -0.04726184532046318, 0.02838210202753544, 0.03174242004752159, -0.008337507955729961, -0.03510671481490135, -0.056742433458566666, -0.07380750775337219, -0.011049862019717693, 0.02830539457499981, 0.07590285688638687, 0.004703958984464407, -0.05738751217722893, 0.021778160706162453, -0.05...
f22b2681-922c-4970-b105-63c8c7061297
Allow to put downloaded part to a disks/volumes according to TTL rules #8598 ( Vladimir Chebotarev ) For external MySQL dictionaries, allow to mutualize MySQL connection pool to "share" them among dictionaries. This option significantly reduces the number of connections to MySQL servers. #9409 ( Clément Rodriguez ) Show nearest query execution time for quantiles in clickhouse-benchmark output instead of interpolated values. It's better to show values that correspond to the execution time of some queries. #8712 ( alexey-milovidov ) Possibility to add key & timestamp for the message when inserting data to Kafka. Fixes #7198 #8969 ( filimonov ) If server is run from terminal, highlight thread number, query id and log priority by colors. This is for improved readability of correlated log messages for developers. #8961 ( alexey-milovidov ) Better exception message while loading tables for Ordinary database. #9527 ( alexey-milovidov ) Implement arraySlice for arrays with aggregate function states. This fixes #9388 #9391 ( alexey-milovidov ) Allow constant functions and constant arrays to be used on the right side of IN operator. #8813 ( Anton Popov ) If zookeeper exception has happened while fetching data for system.replicas, display it in a separate column. This implements #9137 #9138 ( alexey-milovidov ) Atomically remove MergeTree data parts on destroy. #8402 ( Vladimir Chebotarev ) Support row-level security for Distributed tables. #8926 ( Ivan ) Now we recognize suffix (like KB, KiB...) in settings values. #8072 ( Mikhail Korotov ) Prevent out of memory while constructing result of a large JOIN. #8637 ( Artem Zuikov ) Added names of clusters to suggestions in interactive mode in clickhouse-client . #8709 ( alexey-milovidov ) Initialize query profiler for all threads in a group, e.g. it allows to fully profile insert-queries #8820 ( Ivan ) Added column exception_code in system.query_log table. #8770 ( Mikhail Korotov ) Enabled MySQL compatibility server on port 9004 in the default server configuration file. Fixed password generation command in the example in configuration. #8771 ( Yuriy Baranov ) Prevent abort on shutdown if the filesystem is readonly. This fixes #9094 #9100 ( alexey-milovidov ) Better exception message when length is required in HTTP POST query. #9453 ( alexey-milovidov ) Add _path and _file virtual columns to HDFS and File engines and hdfs and file table functions #8489 ( Olga Khvostikova ) Fix error Cannot find column while inserting into MATERIALIZED VIEW in case if new column was added to view's internal table. #8766 #8788 ( vzakaznikov ) #8788 #8806 ( Nikolai Kochetov ) #8803 ( Nikolai Kochetov )
{"source_file": "2020.md"}
[ 0.018763529136776924, -0.02619219571352005, -0.07974539697170258, -0.0055653853341937065, -0.07908529788255692, -0.0885983556509018, 0.027140816673636436, 0.03863215073943138, 0.08038647472858429, 0.05604707822203636, -0.04544571042060852, -0.010932224802672863, 0.07849010080099106, -0.007...
f8323826-dc24-4b26-82c0-df11ec2f05cb
Fix progress over native client-server protocol, by send progress after final update (like logs). This may be relevant only to some third-party tools that are using native protocol. #9495 ( Azat Khuzhin ) Add a system metric tracking the number of client connections using MySQL protocol ( #9013 ). #9015 ( Eugene Klimov ) From now on, HTTP responses will have X-ClickHouse-Timezone header set to the same timezone value that SELECT timezone() would report. #9493 ( Denis Glazachev ) Performance Improvement {#performance-improvement-16} Improve performance of analysing index with IN #9261 ( Anton Popov ) Simpler and more efficient code in Logical Functions + code cleanups. A followup to #8718 #8728 ( Alexander Kazakov ) Overall performance improvement (in range of 5%..200% for affected queries) by ensuring even more strict aliasing with C++20 features. #9304 ( Amos Bird ) More strict aliasing for inner loops of comparison functions. #9327 ( alexey-milovidov ) More strict aliasing for inner loops of arithmetic functions. #9325 ( alexey-milovidov ) A ~3 times faster implementation for ColumnVector::replicate(), via which ColumnConst::convertToFullColumn() is implemented. Also will be useful in tests when materializing constants. #9293 ( Alexander Kazakov ) Another minor performance improvement to ColumnVector::replicate() (this speeds up the materialize function and higher order functions) an even further improvement to #9293 #9442 ( Alexander Kazakov ) Improved performance of stochasticLinearRegression aggregate function. This patch is contributed by Intel. #8652 ( alexey-milovidov ) Improve performance of reinterpretAsFixedString function. #9342 ( alexey-milovidov ) Do not send blocks to client for Null format in processors pipeline. #8797 ( Nikolai Kochetov ) #8767 ( Alexander Kuzmenkov ) Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-20} Exception handling now works correctly on Windows Subsystem for Linux. See https://github.com/ClickHouse-Extras/libunwind/pull/3 This fixes #6480 #9564 ( sobolevsv ) Replace readline with replxx for interactive line editing in clickhouse-client #8416 ( Ivan ) Better build time and less template instantiations in FunctionsComparison. #9324 ( alexey-milovidov ) Added integration with clang-tidy in CI. See also #6044 #9566 ( alexey-milovidov ) Now we link ClickHouse in CI using lld even for gcc . #9049 ( alesapin ) Allow to randomize thread scheduling and insert glitches when THREAD_FUZZER_* environment variables are set. This helps testing. #9459 ( alexey-milovidov ) Enable secure sockets in stateless tests #9288 ( tavplubix ) Make SPLIT_SHARED_LIBRARIES=OFF more robust #9156 ( Azat Khuzhin ) Make "performance_introspection_and_logging" test reliable to random server stuck. This may happen in CI environment. See also #9515 #9528 ( alexey-milovidov )
{"source_file": "2020.md"}
[ -0.014776618219912052, 0.05186422914266586, 0.0076143755577504635, 0.006557235959917307, -0.04113505780696869, -0.11206857115030289, -0.01751166209578514, -0.018896833062171936, -0.003577170195057988, 0.02568325400352478, -0.06519880145788193, 0.016880925744771957, 0.028380420058965683, 0....
ea3ade82-a4f2-43db-9238-0f475e01f42c
Make "performance_introspection_and_logging" test reliable to random server stuck. This may happen in CI environment. See also #9515 #9528 ( alexey-milovidov ) Validate XML in style check. #9550 ( alexey-milovidov ) Fixed race condition in test 00738_lock_for_inner_table . This test relied on sleep. #9555 ( alexey-milovidov ) Remove performance tests of type once . This is needed to run all performance tests in statistical comparison mode (more reliable). #9557 ( alexey-milovidov ) Added performance test for arithmetic functions. #9326 ( alexey-milovidov ) Added performance test for sumMap and sumMapWithOverflow aggregate functions. Follow-up for #8933 #8947 ( alexey-milovidov ) Ensure style of ErrorCodes by style check. #9370 ( alexey-milovidov ) Add script for tests history. #8796 ( alesapin ) Add GCC warning -Wsuggest-override to locate and fix all places where override keyword must be used. #8760 ( kreuzerkrieg ) Ignore weak symbol under Mac OS X because it must be defined #9538 ( Deleted user ) Normalize running time of some queries in performance tests. This is done in preparation to run all the performance tests in comparison mode. #9565 ( alexey-milovidov ) Fix some tests to support pytest with query tests #9062 ( Ivan ) Enable SSL in build with MSan, so server will not fail at startup when running stateless tests #9531 ( tavplubix ) Fix database substitution in test results #9384 ( Ilya Yatsishin ) Build fixes for miscellaneous platforms #9381 ( proller ) #8755 ( proller ) #8631 ( proller ) Added disks section to stateless-with-coverage test docker image #9213 ( Pavel Kovalenko ) Get rid of in-source-tree files when building with GRPC #9588 ( Amos Bird ) Slightly faster build time by removing SessionCleaner from Context. Make the code of SessionCleaner more simple. #9232 ( alexey-milovidov ) Updated checking for hung queries in clickhouse-test script #8858 ( Alexander Kazakov ) Removed some useless files from repository. #8843 ( alexey-milovidov ) Changed type of math perftests from once to loop . #8783 ( Nikolai Kochetov ) Add docker image which allows to build interactive code browser HTML report for our codebase. #8781 ( alesapin ) See Woboq Code Browser Suppress some test failures under MSan. #8780 ( Alexander Kuzmenkov ) Speedup "exception while insert" test. This test often time out in debug-with-coverage build. #8711 ( alexey-milovidov ) Updated libcxx and libcxxabi to master. In preparation to #9304 #9308 ( alexey-milovidov ) Fix flacky test 00910_zookeeper_test_alter_compression_codecs . #9525 ( alexey-milovidov ) Clean up duplicated linker flags. Make sure the linker won't look up an unexpected symbol. #9433 ( Amos Bird ) Add clickhouse-odbc driver into test images. This allows to test interaction of ClickHouse with ClickHouse via its own ODBC driver. #9348 ( filimonov )
{"source_file": "2020.md"}
[ 0.02404629997909069, -0.008005376905202866, 0.0020389161072671413, 0.030599331483244896, -0.007009080145508051, -0.09150255471467972, -0.04533974081277847, -0.01034556981176138, -0.010866099037230015, 0.057332511991262436, -0.01362037193030119, -0.05989941209554672, -0.00971677154302597, -...
518f5280-469b-4150-a7ce-ad7e4131cf74
Add clickhouse-odbc driver into test images. This allows to test interaction of ClickHouse with ClickHouse via its own ODBC driver. #9348 ( filimonov ) Fix several bugs in unit tests. #9047 ( alesapin ) Enable -Wmissing-include-dirs GCC warning to eliminate all non-existing includes - mostly as a result of CMake scripting errors #8704 ( kreuzerkrieg ) Describe reasons if query profiler cannot work. This is intended for #9049 #9144 ( alexey-milovidov ) Update OpenSSL to upstream master. Fixed the issue when TLS connections may fail with the message OpenSSL SSL_read: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error and SSL Exception: error:2400006E:random number generator::error retrieving entropy . The issue was present in version 20.1. #8956 ( alexey-milovidov ) Update Dockerfile for server #8893 ( Ilya Mazaev ) Minor fixes in build-gcc-from-sources script #8774 ( Michael Nacharov ) Replace numbers to zeros in perftests where number column is not used. This will lead to more clean test results. #9600 ( Nikolai Kochetov ) Fix stack overflow issue when using initializer_list in Column constructors. #9367 ( Deleted user ) Upgrade librdkafka to v1.3.0. Enable bundled rdkafka and gsasl libraries on Mac OS X. #9000 ( Andrew Onyshchuk ) build fix on GCC 9.2.0 #9306 ( vxider ) ClickHouse release v20.1 {#clickhouse-release-v201} ClickHouse release v20.1.16.120-stable 2020-60-26 {#clickhouse-release-v20116120-stable-2020-60-26} Bug Fix {#bug-fix-50} Fix rare crash caused by using Nullable column in prewhere condition. Continuation of #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 unexpected behaviour of queries like SELECT *, xyz.* which were success while an error expected. #11753 ( hexiaoting ). 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 ). Pass proper timeouts when communicating with XDBC bridge. Recently timeouts were not respected when checking bridge liveness and receiving meta info. #11690 ( alexey-milovidov ). Add support for regular expressions with case-insensitive flags. This fixes #11101 and fixes #11506 . #11649 ( alexey-milovidov ). Fix bloom filters for String (data skipping indices). #11638 ( Azat Khuzhin ). Fix rare crash caused by using Nullable column in prewhere condition. (Probably it is connected with #11572 somehow). #11608 ( Nikolai Kochetov ). Fix wrong exit code of the clickhouse-client, when exception.code() % 256 = 0. #11601 ( filimonov ). Fix trivial error in log message about "Mark cache size was lowered" at server startup. This closes #11399 . #11589 ( alexey-milovidov ).
{"source_file": "2020.md"}
[ -0.029321633279323578, 0.002371455542743206, -0.03435308858752251, 0.038822855800390244, 0.022896360605955124, -0.10003909468650818, -0.037499118596315384, 0.009602522477507591, 0.009473267011344433, -0.09107956290245056, 0.0049590240232646465, -0.0490257553756237, 0.04418501257896423, 0.0...
71cedabe-ec72-48df-a2f1-868ef7c93c14
Fix trivial error in log message about "Mark cache size was lowered" at server startup. This closes #11399 . #11589 ( alexey-milovidov ). Now clickhouse-server docker container will prefer IPv6 checking server aliveness. #11550 ( Ivan Starkov ). Fix memory leak when exception is thrown in the middle of aggregation with -State functions. This fixes #8995 . #11496 ( alexey-milovidov ). Fix usage of primary key wrapped into a function with 'FINAL' modifier and 'ORDER BY' optimization. #10715 ( Anton Popov ). ClickHouse release v20.1.15.109-stable 2020-06-19 {#clickhouse-release-v20115109-stable-2020-06-19} Bug Fix {#bug-fix-51} Fix excess lock for structure during alter. #11790 ( alesapin ). ClickHouse release v20.1.14.107-stable 2020-06-11 {#clickhouse-release-v20114107-stable-2020-06-11} Bug Fix {#bug-fix-52} Fix error Size of offsets does not match size of column for queries with PREWHERE column in (subquery) and ARRAY JOIN . #11580 ( Nikolai Kochetov ). ClickHouse release v20.1.13.105-stable 2020-06-10 {#clickhouse-release-v20113105-stable-2020-06-10} Bug Fix {#bug-fix-53} 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 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 pointInPolygon with nan as point. Fixes #11375 . #11421 ( Alexey Ilyukhov ). Fixed geohashesInBox with arguments outside of latitude/longitude range. #11403 ( Vasily Nemkov ). Fix possible Pipeline stuck error for queries with external sort and limit. Fixes #11359 . #11366 ( Nikolai Kochetov ). Fix crash in quantilesExactWeightedArray . #11337 ( Nikolai Kochetov ). 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 ). 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 ).
{"source_file": "2020.md"}
[ -0.030854860320687294, 0.03571046516299248, 0.041454385966062546, -0.011806793510913849, 0.040616054087877274, -0.03779686614871025, -0.03420378267765045, -0.0010655922815203667, -0.05161760374903679, 0.0785195529460907, 0.01128102745860815, 0.09434077888727188, -0.061395060271024704, 0.00...
e1715a9b-088b-4735-b294-98d3f62eb5db
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 while reading malformed data in Protobuf format. This fixes #5957 , fixes #11203 . #11258 ( Vitaly Baranov ). Fix possible error Cannot capture column for higher-order functions with Array(Array(LowCardinality)) captured argument. #11185 ( Nikolai Kochetov ). 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 ). Remove logging from mutation finalization task if nothing was finalized. #11109 ( alesapin ). Fixed parseDateTime64BestEffort argument resolution bugs. #10925 . #11038 ( Vasily Nemkov ). Fix incorrect raw data size in method getRawData(). #10964 ( Igr ). 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 bug in ReplicatedMergeTree which might cause some ALTER on OPTIMIZE query to hang waiting for some replica after it become inactive. #10849 ( tavplubix ). 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 ). 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 disappearing totals. Totals could have being filtered if query had had join or subquery with external where condition. Fixes #10674 . #10698 ( Nikolai Kochetov ). Fix multiple usages of IN operator with the identical set in one query. #10686 ( Anton Popov ). Fix order of parameters in AggregateTransform constructor. #10667 ( palasonic1 ).
{"source_file": "2020.md"}
[ 0.03504442051053047, -0.00041419328772462904, -0.03199290856719017, -0.022580372169613838, -0.04692734405398369, -0.0644528940320015, 0.0006764516001567245, 0.020578037947416306, -0.054814413189888, 0.02577373757958412, 0.022832417860627174, -0.03131027892231941, -0.02505679801106453, -0.0...
dd2fe82c-ecfc-48a1-9cfe-b7aa13bbd6b7
Fix multiple usages of IN operator with the identical set in one query. #10686 ( Anton Popov ). 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 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 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 ). ClickHouse release v20.1.12.86, 2020-05-26 {#clickhouse-release-v2011286-2020-05-26} Bug Fix {#bug-fix-54} Fixed 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 ). Fixed data corruption for LowCardinality(FixedString) key column in SummingMergeTree which could have happened after merge. Fixes #10489 . #10721 ( Nikolai Kochetov ). 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 ). Fixed a bug when 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 the situation when mutation finished all parts, but hung up in is_done=0 . #10526 ( alesapin ). Fixed overflow at beginning of unix epoch for timezones with fractional offset from UTC. This fixes #9335 . #10513 ( alexey-milovidov ). Fixed improper shutdown of Distributed storage. #10491 ( Azat Khuzhin ). Fixed numeric overflow in simpleLinearRegression over large integers. #10474 ( hcz ). Fixed removing metadata directory when attach database fails. #10442 ( Winter Zhang ). Added a check of number and type of arguments when creating BloomFilter index #9623 . #10431 ( Winter Zhang ).
{"source_file": "2020.md"}
[ -0.018471261486411095, 0.029316935688257217, -0.002302102977409959, 0.04691320285201073, -0.07094431668519974, 0.016820212826132774, 0.012485843151807785, 0.010633434168994427, 0.03974010422825813, 0.02314949221909046, 0.010582132264971733, -0.03967884182929993, 0.07416415959596634, -0.039...
b76e7607-aef8-43a1-930f-e535b386b5ab
Added a check of number and type of arguments when creating BloomFilter index #9623 . #10431 ( Winter Zhang ). Fixed the issue when a query with ARRAY JOIN , ORDER BY and LIMIT may return incomplete result. This fixes #10226 . #10427 ( alexey-milovidov ). Prefer fallback_to_stale_replicas over skip_unavailable_shards . #10422 ( Azat Khuzhin ). Fixed wrong flattening of Array(Tuple(...)) data types. This fixes #10259 . #10390 ( alexey-milovidov ). Fixed wrong behavior in HashTable that caused compilation error when trying to read HashMap from buffer. #10386 ( palasonic1 ). Fixed possible Pipeline stuck error in ConcatProcessor which could have happened in remote query. #10381 ( Nikolai Kochetov ). Fixed error Pipeline stuck with max_rows_to_group_by and group_by_overflow_mode = 'break' . #10279 ( Nikolai Kochetov ). Fixed several bugs when some data was inserted with quorum, then deleted somehow (DROP PARTITION, TTL) and this leaded to the stuck of INSERTs or false-positive exceptions in SELECTs. This fixes #9946 . #10188 ( Nikita Mikhaylov ). Fixed incompatibility when versions prior to 18.12.17 are used on remote servers and newer is used on initiating server, and GROUP BY both fixed and non-fixed keys, and when two-level group by method is activated. #3254 ( alexey-milovidov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-21} Added CA certificates to clickhouse-server docker image. #10476 ( filimonov ). ClickHouse release v20.1.10.70, 2020-04-17 {#clickhouse-release-v2011070-2020-04-17} Bug Fix {#bug-fix-55} Fix rare possible exception Cannot drain connections: cancel first . #10239 ( Nikolai Kochetov ). Fixed bug where ClickHouse would throw 'Unknown function lambda.' error message when user tries to run ALTER UPDATE/DELETE on tables with ENGINE = Replicated* . Check for nondeterministic functions now handles lambda expressions correctly. #10237 ( Alexander Kazakov ). Fix parseDateTimeBestEffort for strings in RFC-2822 when day of week is Tuesday or Thursday. This fixes #10082 . #10214 ( alexey-milovidov ). Fix column names of constants inside JOIN that may clash with names of constants outside of JOIN . #10207 ( alexey-milovidov ). Fix possible inifinite query execution when the query actually should stop on LIMIT, while reading from infinite source like system.numbers or system.zeros . #10206 ( Nikolai Kochetov ). Fix move-to-prewhere optimization in presense of arrayJoin functions (in certain cases). This fixes #10092 . #10195 ( alexey-milovidov ). Add the ability to relax the restriction on non-deterministic functions usage in mutations with allow_nondeterministic_mutations setting. #10186 ( filimonov ). Convert blocks if structure does not match on INSERT into table with Distributed engine. #10135 ( Azat Khuzhin ).
{"source_file": "2020.md"}
[ 0.04602042958140373, 0.022477610036730766, 0.038232412189245224, -0.043101198971271515, -0.04708857089281082, -0.04679669812321663, -0.07190867513418198, -0.025421462953090668, -0.013975321315228939, 0.011018509045243263, -0.0016194564523175359, 0.03191111981868744, 0.03310730680823326, -0...
ec57ce6f-9a4b-471b-a42e-11517e7469c4
Convert blocks if structure does not match on INSERT into table with Distributed engine. #10135 ( Azat Khuzhin ). Fix SIGSEGV on INSERT into Distributed table when its structure differs from the underlying tables. #10105 ( Azat Khuzhin ). Fix possible rows loss for queries with JOIN and UNION ALL . Fixes #9826 , #10113 . #10099 ( Nikolai Kochetov ). Add arguments check and support identifier arguments for MySQL Database Engine. #10077 ( Winter Zhang ). Fix bug in clickhouse dictionary source from localhost clickhouse server. The bug may lead to memory corruption if types in dictionary and source are not compatible. #10071 ( alesapin ). Fix error Cannot clone block with columns because block has 0 columns ... While executing GroupingAggregatedTransform . It happened when setting distributed_aggregation_memory_efficient was enabled, and distributed query read aggregating data with different level from different shards (mixed single and two level aggregation). #10063 ( Nikolai Kochetov ). Fix a segmentation fault that could occur in GROUP BY over string keys containing trailing zero bytes ( #8636 , #8925 ). #10025 ( Alexander Kuzmenkov ). Fix bug in which the necessary tables weren't retrieved at one of the processing stages of queries to some databases. Fixes #9699 . #9949 ( achulkov2 ). Fix 'Not found column in block' error when JOIN appears with TOTALS . Fixes #9839 . #9939 ( Artem Zuikov ). Fix a bug with ON CLUSTER DDL queries freezing on server startup. #9927 ( Gagan Arneja ). Fix TRUNCATE for Join table engine ( #9917 ). #9920 ( Amos Bird ). Fix 'scalar does not exist' error in ALTER queries ( #9878 ). #9904 ( Amos Bird ). Fix race condition between drop and optimize in ReplicatedMergeTree . #9901 ( alesapin ). Fixed DeleteOnDestroy logic in ATTACH PART which could lead to automatic removal of attached part and added few tests. #9410 ( Vladimir Chebotarev ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-22} Fix unit test collapsing_sorted_stream . #9367 ( Deleted user ). ClickHouse release v20.1.9.54, 2020-03-28 {#clickhouse-release-v201954-2020-03-28} Bug Fix {#bug-fix-56} Fix 'Different expressions with the same alias' error when query has PREWHERE and WHERE on distributed table and SET distributed_product_mode = 'local' . #9871 ( Artem Zuikov ). Fix mutations excessive memory consumption for tables with a composite primary key. This fixes #9850 . #9860 ( alesapin ). For INSERT queries shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception. This fix allows to send INSERT queries to a shard with another constraints. This change improves fix #9447 . #9852 ( Vitaly Baranov ).
{"source_file": "2020.md"}
[ -0.030688699334859848, -0.032126136124134064, -0.04333101585507393, 0.01939806342124939, -0.06540782749652863, -0.111923448741436, -0.02313554845750332, -0.013317902572453022, -0.022274143993854523, 0.024029865860939026, 0.03108147718012333, -0.0538807138800621, 0.08914439380168915, -0.045...
a29afa41-fcc0-4282-8b87-7dd0e326ef09
Fix possible exception Got 0 in totals chunk, expected 1 on client. It happened for queries with JOIN in case if right joined table had zero rows. Example: select * from system.one t1 join system.one t2 on t1.dummy = t2.dummy limit 0 FORMAT TabSeparated; . Fixes #9777 . #9823 ( Nikolai Kochetov ). Fix SIGSEGV with optimize_skip_unused_shards when type cannot be converted. #9804 ( Azat Khuzhin ). Fixed a few cases when timezone of the function argument wasn't used properly. #9574 ( Vasily Nemkov ). Improvement {#improvement-21} Remove ORDER BY stage from mutations because we read from a single ordered part in a single thread. Also add check that the order of rows in mutation is ordered in sorting key order and this order is not violated. #9886 ( alesapin ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-23} Clean up duplicated linker flags. Make sure the linker won't look up an unexpected symbol. #9433 ( Amos Bird ). ClickHouse release v20.1.8.41, 2020-03-20 {#clickhouse-release-v201841-2020-03-20} Bug Fix {#bug-fix-57} Fix possible permanent Cannot schedule a task error (due to unhandled exception in ParallelAggregatingBlockInputStream::Handler::onFinish/onFinishThread ). This fixes #6833 . #9154 ( Azat Khuzhin ) Fix excessive memory consumption in ALTER queries (mutations). This fixes #9533 and #9670 . #9754 ( alesapin ) Fix bug in backquoting in external dictionaries DDL. This fixes #9619 . #9734 ( alesapin ) ClickHouse release v20.1.7.38, 2020-03-18 {#clickhouse-release-v201738-2020-03-18} Bug Fix {#bug-fix-58} Fixed incorrect internal function names for sumKahan and sumWithOverflow . I lead to exception while using this functions in remote queries. #9636 ( Azat Khuzhin ). This issue was in all ClickHouse releases. Allow ALTER ON CLUSTER of Distributed tables with internal replication. This fixes #3268 . #9617 ( shinoi2 ). This issue was in all ClickHouse releases. Fix possible exceptions Size of filter does not match size of column and Invalid number of rows in Chunk in MergeTreeRangeReader . They could appear while executing PREWHERE in some cases. Fixes #9132 . #9612 ( Anton Popov ) Fixed the issue: timezone was not preserved if you write a simple arithmetic expression like time + 1 (in contrast to an expression like time + INTERVAL 1 SECOND ). This fixes #5743 . #9323 ( alexey-milovidov ). This issue was in all ClickHouse releases. Now it's not possible to create or add columns with simple cyclic aliases like a DEFAULT b, b DEFAULT a . #9603 ( alesapin ) Fixed the issue when padding at the end of base64 encoded value can be malformed. Update base64 library. This fixes #9491 , closes #9492 #9500 ( alexey-milovidov ) Fix data race at destruction of Poco::HTTPServer . It could happen when server is started and immediately shut down. #9468 ( Anton Popov )
{"source_file": "2020.md"}
[ -0.02281329222023487, 0.0474119633436203, 0.046555742621421814, -0.019229568541049957, 0.002596924314275384, -0.11536570638418198, -0.04637927561998367, 0.01363716647028923, -0.01168353296816349, 0.019962593913078308, 0.02639150619506836, -0.005909326486289501, 0.031188657507300377, -0.050...
88a0e505-f48b-4087-b770-d17bb13751fb
Fix data race at destruction of Poco::HTTPServer . It could happen when server is started and immediately shut down. #9468 ( Anton Popov ) Fix possible crash/wrong number of rows in LIMIT n WITH TIES when there are a lot of rows equal to n'th row. #9464 ( tavplubix ) Fix possible mismatched checksums with column TTLs. #9451 ( Anton Popov ) Fix crash when a user tries to ALTER MODIFY SETTING for old-formated MergeTree table engines family. #9435 ( alesapin ) Now we will try finalize mutations more frequently. #9427 ( alesapin ) Fix replication protocol incompatibility introduced in #8598 . #9412 ( alesapin ) Fix not(has()) for the bloom_filter index of array types. #9407 ( achimbab ) Fixed the behaviour of match and extract functions when haystack has zero bytes. The behaviour was wrong when haystack was constant. This fixes #9160 #9163 ( alexey-milovidov ) #9345 ( alexey-milovidov ) Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-24} Exception handling now works correctly on Windows Subsystem for Linux. See https://github.com/ClickHouse-Extras/libunwind/pull/3 This fixes #6480 #9564 ( sobolevsv ) ClickHouse release v20.1.6.30, 2020-03-05 {#clickhouse-release-v201630-2020-03-05} Bug Fix {#bug-fix-59} Fix data incompatibility when compressed with T64 codec. #9039 (abyss7) Fix order of ranges while reading from MergeTree table in one thread. Fixes #8964 . #9050 (CurtizJ) Fix possible segfault in MergeTreeRangeReader , while executing PREWHERE . Fixes #9064 . #9106 (CurtizJ) Fix reinterpretAsFixedString to return FixedString instead of String . #9052 (oandrew) Fix joinGet with nullable return types. Fixes #8919 #9014 (amosbird) Fix fuzz test and incorrect behaviour of bitTestAll/bitTestAny functions. #9143 (alexey-milovidov) Fix the behaviour of match and extract functions when haystack has zero bytes. The behaviour was wrong when haystack was constant. Fixes #9160 #9163 (alexey-milovidov) Fixed execution of inversed predicates when non-strictly monotinic functional index is used. Fixes #9034 #9223 (Akazz) Allow to rewrite CROSS to INNER JOIN if there's [NOT] LIKE operator in WHERE section. Fixes #9191 #9229 (4ertus2) Allow first column(s) in a table with Log engine be an alias. #9231 (abyss7) Allow comma join with IN() inside. Fixes #7314 . #9251 (4ertus2) Improve ALTER MODIFY/ADD queries logic. Now you cannot ADD column without type, MODIFY default expression does not change type of column and MODIFY type does not loose default expression value. Fixes #8669 . #9227 (alesapin) Fix mutations finalization, when already done mutation can have status is_done=0. #9217 (alesapin) Support "Processors" pipeline for system.numbers and system.numbers_mt. This also fixes the bug when max_execution_time is not respected. #7796 (KochetovNicolai)
{"source_file": "2020.md"}
[ -0.08223378658294678, -0.0050910459831357, -0.014824043959379196, -0.024705156683921814, -0.034943874925374985, -0.11707761883735657, -0.06610921770334244, -0.0396355465054512, 0.006692938972264528, 0.027527645230293274, 0.012758069671690464, 0.05493595451116562, -0.0193612203001976, -0.04...
9840c7e4-d484-4047-8980-9f277308af14
#9217 (alesapin) Support "Processors" pipeline for system.numbers and system.numbers_mt. This also fixes the bug when max_execution_time is not respected. #7796 (KochetovNicolai) Fix wrong counting of DictCacheKeysRequestedFound metric. #9411 (nikitamikhaylov) Added a check for storage policy in ATTACH PARTITION FROM , REPLACE PARTITION , MOVE TO TABLE which otherwise could make data of part inaccessible after restart and prevent ClickHouse to start. #9383 (excitoon) Fixed UBSan report in MergeTreeIndexSet . This fixes #9250 #9365 (alexey-milovidov) Fix possible datarace in BlockIO. #9356 (KochetovNicolai) Support for UInt64 numbers that don't fit in Int64 in JSON-related functions. Update SIMDJSON to master. This fixes #9209 #9344 (alexey-milovidov) Fix the issue when the amount of free space is not calculated correctly if the data directory is mounted to a separate device. For default disk calculate the free space from data subdirectory. This fixes #7441 #9257 (millb) Fix the issue when TLS connections may fail with the message OpenSSL SSL_read: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error and SSL Exception: error:2400006E:random number generator::error retrieving entropy. Update OpenSSL to upstream master. #8956 (alexey-milovidov) When executing CREATE query, fold constant expressions in storage engine arguments. Replace empty database name with current database. Fixes #6508 , #3492 . Also fix check for local address in ClickHouseDictionarySource. #9262 (tabplubix) Fix segfault in StorageMerge , which can happen when reading from StorageFile. #9387 (tabplubix) Prevent losing data in Kafka in rare cases when exception happens after reading suffix but before commit. Fixes #9378 . Related: #7175 #9507 (filimonov) Fix bug leading to server termination when trying to use / drop Kafka table created with wrong parameters. Fixes #9494 . Incorporates #9507 . #9513 (filimonov) New Feature {#new-feature-12} Add deduplicate_blocks_in_dependent_materialized_views option to control the behaviour of idempotent inserts into tables with materialized views. This new feature was added to the bugfix release by a special request from Altinity. #9070 (urykhy) ClickHouse release v20.1.2.4, 2020-01-22 {#clickhouse-release-v20124-2020-01-22} Backward Incompatible Change {#backward-incompatible-change-10} Make the setting merge_tree_uniform_read_distribution obsolete. The server still recognizes this setting but it has no effect. #8308 ( alexey-milovidov ) Changed return type of the function greatCircleDistance to Float32 because now the result of calculation is Float32 . #7993 ( alexey-milovidov )
{"source_file": "2020.md"}
[ -0.047324515879154205, -0.04161100089550018, -0.027951791882514954, -0.008570928126573563, -0.039309799671173096, -0.14027684926986694, -0.026856085285544395, 0.05432095378637314, -0.021331937983632088, 0.03166773170232773, 0.05808250233530998, 0.00886556040495634, -0.037128936499357224, -...
060c1f88-43ac-4593-8ba6-a8410f49c8ce
Changed return type of the function greatCircleDistance to Float32 because now the result of calculation is Float32 . #7993 ( alexey-milovidov ) Now it's expected that query parameters are represented in "escaped" format. For example, to pass string a<tab>b you have to write a\tb or a\<tab>b and respectively, a%5Ctb or a%5C%09b in URL. This is needed to add the possibility to pass NULL as \N . This fixes #7488 . #8517 ( alexey-milovidov ) Enable use_minimalistic_part_header_in_zookeeper setting for ReplicatedMergeTree by default. This will significantly reduce amount of data stored in ZooKeeper. This setting is supported since version 19.1 and we already use it in production in multiple services without any issues for more than half a year. Disable this setting if you have a chance to downgrade to versions older than 19.1. #6850 ( alexey-milovidov ) Data skipping indices are production ready and enabled by default. The settings allow_experimental_data_skipping_indices , allow_experimental_cross_to_join_conversion and allow_experimental_multiple_joins_emulation are now obsolete and do nothing. #7974 ( alexey-milovidov ) Add new ANY JOIN logic for StorageJoin consistent with JOIN operation. To upgrade without changes in behaviour you need add SETTINGS any_join_distinct_right_table_keys = 1 to Engine Join tables metadata or recreate these tables after upgrade. #8400 ( Artem Zuikov ) Require server to be restarted to apply the changes in logging configuration. This is a temporary workaround to avoid the bug where the server logs to a deleted log file (see #8696 ). #8707 ( Alexander Kuzmenkov ) New Feature {#new-feature-13} Added information about part paths to system.merges . #8043 ( Vladimir Chebotarev ) Add ability to execute SYSTEM RELOAD DICTIONARY query in ON CLUSTER mode. #8288 ( Guillaume Tassery ) Add ability to execute CREATE DICTIONARY queries in ON CLUSTER mode. #8163 ( alesapin ) Now user's profile in users.xml can inherit multiple profiles. #8343 ( Mikhail f. Shiryaev ) Added system.stack_trace table that allows to look at stack traces of all server threads. This is useful for developers to introspect server state. This fixes #7576 . #8344 ( alexey-milovidov ) Add DateTime64 datatype with configurable sub-second precision. #7170 ( Vasily Nemkov ) Add table function clusterAllReplicas which allows to query all the nodes in the cluster. #8493 ( kiran sunkari ) Add aggregate function categoricalInformationValue which calculates the information value of a discrete feature. #8117 ( hcz ) Speed up parsing of data files in CSV , TSV and JSONEachRow format by doing it in parallel. #7780 ( Alexander Kuzmenkov ) Add function bankerRound which performs banker's rounding. #8112 ( hcz )
{"source_file": "2020.md"}
[ 0.041849251836538315, 0.03692929819226265, -0.05451275780797005, 0.005799035541713238, -0.025444017723202705, -0.08304443955421448, 0.00006580487388418987, 0.055129941552877426, -0.05572952702641487, 0.049498554319143295, 0.0017514702631160617, -0.13313689827919006, 0.05311119556427002, 0....
93350bb3-5dea-44b3-8860-02477819cb5f
Add function bankerRound which performs banker's rounding. #8112 ( hcz ) Support more languages in embedded dictionary for region names: 'ru', 'en', 'ua', 'uk', 'by', 'kz', 'tr', 'de', 'uz', 'lv', 'lt', 'et', 'pt', 'he', 'vi'. #8189 ( alexey-milovidov ) Improvements in consistency of ANY JOIN logic. Now t1 ANY LEFT JOIN t2 equals t2 ANY RIGHT JOIN t1 . #7665 ( Artem Zuikov ) Add setting any_join_distinct_right_table_keys which enables old behaviour for ANY INNER JOIN . #7665 ( Artem Zuikov ) Add new SEMI and ANTI JOIN . Old ANY INNER JOIN behaviour now available as SEMI LEFT JOIN . #7665 ( Artem Zuikov ) Added Distributed format for File engine and file table function which allows to read from .bin files generated by asynchronous inserts into Distributed table. #8535 ( Nikolai Kochetov ) Add optional reset column argument for runningAccumulate which allows to reset aggregation results for each new key value. #8326 ( Sergey Kononenko ) Add ability to use ClickHouse as Prometheus endpoint. #7900 ( vdimir ) Add section <remote_url_allow_hosts> in config.xml which restricts allowed hosts for remote table engines and table functions URL , S3 , HDFS . #7154 ( Mikhail Korotov ) Added function greatCircleAngle which calculates the distance on a sphere in degrees. #8105 ( alexey-milovidov ) Changed Earth radius to be consistent with H3 library. #8105 ( alexey-milovidov ) Added JSONCompactEachRow and JSONCompactEachRowWithNamesAndTypes formats for input and output. #7841 ( Mikhail Korotov ) Added feature for file-related table engines and table functions ( File , S3 , URL , HDFS ) which allows to read and write gzip files based on additional engine parameter or file extension. #7840 ( Andrey Bodrov ) Added the randomASCII(length) function, generating a string with a random set of ASCII printable characters. #8401 ( BayoNet ) Added function JSONExtractArrayRaw which returns an array on unparsed json array elements from JSON string. #8081 ( Oleg Matrokhin ) Add arrayZip function which allows to combine multiple arrays of equal lengths into one array of tuples. #8149 ( Winter Zhang ) Add ability to move data between disks according to configured TTL -expressions for *MergeTree table engines family. #8140 ( Vladimir Chebotarev ) Added new aggregate function avgWeighted which allows to calculate weighted average. #7898 ( Andrey Bodrov ) Now parallel parsing is enabled by default for TSV , TSKV , CSV and JSONEachRow formats. #7894 ( Nikita Mikhaylov ) Add several geo functions from H3 library: h3GetResolution , h3EdgeAngle , h3EdgeLength , h3IsValid and h3kRing . #8034 ( Konstantin Malanchev ) Added support for brotli ( br ) compression in file-related storages and table functions. This fixes #8156 . #8526 ( alexey-milovidov )
{"source_file": "2020.md"}
[ -0.022464139387011528, 0.027071701362729073, -0.11072315275669098, 0.005983521696180105, -0.07662558555603027, -0.05248003825545311, 0.02380131371319294, 0.046298373490571976, -0.04413263872265816, 0.019153716042637825, 0.06212299317121506, -0.0008596382103860378, 0.05542469397187233, -0.0...
ed0385ed-0b78-4e07-87ac-50c90cc9aec8
Added support for brotli ( br ) compression in file-related storages and table functions. This fixes #8156 . #8526 ( alexey-milovidov ) Add groupBit* functions for the SimpleAggregationFunction type. #8485 ( Guillaume Tassery ) Bug Fix {#bug-fix-60} Fix rename of tables with Distributed engine. Fixes issue #7868 . #8306 ( tavplubix ) Now dictionaries support EXPRESSION for attributes in arbitrary string in non-ClickHouse SQL dialect. #8098 ( alesapin ) Fix broken INSERT SELECT FROM mysql(...) query. This fixes #8070 and #7960 . #8234 ( tavplubix ) Fix error "Mismatch column sizes" when inserting default Tuple from JSONEachRow . This fixes #5653 . #8606 ( tavplubix ) Now an exception will be thrown in case of using WITH TIES alongside LIMIT BY . Also add ability to use TOP with LIMIT BY . This fixes #7472 . #7637 ( Nikita Mikhaylov ) Fix unintendent dependency from fresh glibc version in clickhouse-odbc-bridge binary. #8046 ( Amos Bird ) Fix bug in check function of *MergeTree engines family. Now it does not fail in case when we have equal amount of rows in last granule and last mark (non-final). #8047 ( alesapin ) Fix insert into Enum* columns after ALTER query, when underlying numeric type is equal to table specified type. This fixes #7836 . #7908 ( Anton Popov ) Allowed non-constant negative "size" argument for function substring . It was not allowed by mistake. This fixes #4832 . #7703 ( alexey-milovidov ) Fix parsing bug when wrong number of arguments passed to (O|J)DBC table engine. #7709 ( alesapin ) Using command name of the running clickhouse process when sending logs to syslog. In previous versions, empty string was used instead of command name. #8460 ( Michael Nacharov ) Fix check of allowed hosts for localhost . This PR fixes the solution provided in #8241 . #8342 ( Vitaly Baranov ) Fix rare crash in argMin and argMax functions for long string arguments, when result is used in runningAccumulate function. This fixes #8325 #8341 ( dinosaur ) Fix memory overcommit for tables with Buffer engine. #8345 ( Azat Khuzhin ) Fixed potential bug in functions that can take NULL as one of the arguments and return non-NULL. #8196 ( alexey-milovidov ) Better metrics calculations in thread pool for background processes for MergeTree table engines. #8194 ( Vladimir Chebotarev ) Fix function IN inside WHERE statement when row-level table filter is present. Fixes #6687 #8357 ( Ivan ) Now an exception is thrown if the integral value is not parsed completely for settings values. #7678 ( Mikhail Korotov ) Fix exception when aggregate function is used in query to distributed table with more than two local shards. #8164 ( 小路 ) Now bloom filter can handle zero length arrays and does not perform redundant calculations. #8242 ( achimbab )
{"source_file": "2020.md"}
[ -0.07713796198368073, -0.014984069392085075, 0.005757519043982029, -0.025622740387916565, -0.054413486272096634, -0.04956391826272011, -0.015547817572951317, 0.0034926605876535177, -0.09217383712530136, -0.012523915618658066, 0.054327476769685745, -0.010053977370262146, 0.06699230521917343, ...
c3e5564d-dbb7-4f4a-b104-a3be2499ea53
Now bloom filter can handle zero length arrays and does not perform redundant calculations. #8242 ( achimbab ) Fixed checking if a client host is allowed by matching the client host to host_regexp specified in users.xml . #8241 ( Vitaly Baranov ) Relax ambiguous column check that leads to false positives in multiple JOIN ON section. #8385 ( Artem Zuikov ) Fixed possible server crash ( std::terminate ) when the server cannot send or write data in JSON or XML format with values of String data type (that require UTF-8 validation) or when compressing result data with Brotli algorithm or in some other rare cases. This fixes #7603 #8384 ( alexey-milovidov ) Fix race condition in StorageDistributedDirectoryMonitor found by CI. This fixes #8364 . #8383 ( Nikolai Kochetov ) Now background merges in *MergeTree table engines family preserve storage policy volume order more accurately. #8549 ( Vladimir Chebotarev ) Now table engine Kafka works properly with Native format. This fixes #6731 #7337 #8003 . #8016 ( filimonov ) Fixed formats with headers (like CSVWithNames ) which were throwing exception about EOF for table engine Kafka . #8016 ( filimonov ) Fixed a bug with making set from subquery in right part of IN section. This fixes #5767 and #2542 . #7755 ( Nikita Mikhaylov ) Fix possible crash while reading from storage File . #7756 ( Nikolai Kochetov ) Fixed reading of the files in Parquet format containing columns of type list . #8334 ( maxulan ) Fix error Not found column for distributed queries with PREWHERE condition dependent on sampling key if max_parallel_replicas > 1 . #7913 ( Nikolai Kochetov ) Fix error Not found column if query used PREWHERE dependent on table's alias and the result set was empty because of primary key condition. #7911 ( Nikolai Kochetov ) Fixed return type for functions rand and randConstant in case of Nullable argument. Now functions always return UInt32 and never Nullable(UInt32) . #8204 ( Nikolai Kochetov ) Disabled predicate push-down for WITH FILL expression. This fixes #7784 . #7789 ( Winter Zhang ) Fixed incorrect count() result for SummingMergeTree when FINAL section is used. #3280 #7786 ( Nikita Mikhaylov ) Fix possible incorrect result for constant functions from remote servers. It happened for queries with functions like version() , uptime() , etc. which returns different constant values for different servers. This fixes #7666 . #7689 ( Nikolai Kochetov ) Fix complicated bug in push-down predicate optimization which leads to wrong results. This fixes a lot of issues on push-down predicate optimization. #8503 ( Winter Zhang ) Fix crash in CREATE TABLE .. AS dictionary query. #8508 ( Azat Khuzhin ) Several improvements ClickHouse grammar in .g4 file. #8294 ( taiyang-li )
{"source_file": "2020.md"}
[ -0.03226357325911522, 0.07295440137386322, -0.025453252717852592, -0.015452224761247635, -0.07469386607408524, -0.04801731929183006, -0.03244715556502342, 0.0005168738425709307, 0.04151318967342377, 0.009673446416854858, 0.0031684262212365866, 0.005144281778484583, 0.041322167962789536, -0...
0f304882-2a0d-4bd4-bcd6-d03771fc53c8
Fix crash in CREATE TABLE .. AS dictionary query. #8508 ( Azat Khuzhin ) Several improvements ClickHouse grammar in .g4 file. #8294 ( taiyang-li ) Fix bug that leads to crashes in JOIN s with tables with engine Join . This fixes #7556 #8254 #7915 #8100 . #8298 ( Artem Zuikov ) Fix redundant dictionaries reload on CREATE DATABASE . #7916 ( Azat Khuzhin ) Limit maximum number of streams for read from StorageFile and StorageHDFS . Fixes #7650 . #7981 ( alesapin ) Fix bug in ALTER ... MODIFY ... CODEC query, when user specify both default expression and codec. Fixes 8593 . #8614 ( alesapin ) Fix error in background merge of columns with SimpleAggregateFunction(LowCardinality) type. #8613 ( Nikolai Kochetov ) Fixed type check in function toDateTime64 . #8375 ( Vasily Nemkov ) Now server do not crash on LEFT or FULL JOIN with and Join engine and unsupported join_use_nulls settings. #8479 ( Artem Zuikov ) Now DROP DICTIONARY IF EXISTS db.dict query does not throw exception if db does not exist. #8185 ( Vitaly Baranov ) Fix possible crashes in table functions ( file , mysql , remote ) caused by usage of reference to removed IStorage object. Fix incorrect parsing of columns specified at insertion into table function. #7762 ( tavplubix ) Ensure network be up before starting clickhouse-server . This fixes #7507 . #8570 ( Zhichang Yu ) Fix timeouts handling for secure connections, so queries does not hang indefenitely. This fixes #8126 . #8128 ( alexey-milovidov ) Fix clickhouse-copier 's redundant contention between concurrent workers. #7816 ( Ding Xiang Fei ) Now mutations does not skip attached parts, even if their mutation version were larger than current mutation version. #7812 ( Zhichang Yu ) #8250 ( alesapin ) Ignore redundant copies of *MergeTree data parts after move to another disk and server restart. #7810 ( Vladimir Chebotarev ) Fix crash in FULL JOIN with LowCardinality in JOIN key. #8252 ( Artem Zuikov ) Forbidden to use column name more than once in insert query like INSERT INTO tbl (x, y, x) . This fixes #5465 , #7681 . #7685 ( alesapin ) Added fallback for detection the number of physical CPU cores for unknown CPUs (using the number of logical CPU cores). This fixes #5239 . #7726 ( alexey-milovidov ) Fix There's no column error for materialized and alias columns. #8210 ( Artem Zuikov ) Fixed sever crash when EXISTS query was used without TABLE or DICTIONARY qualifier. Just like EXISTS t . This fixes #8172 . This bug was introduced in version 19.17. #8213 ( alexey-milovidov ) Fix rare bug with error "Sizes of columns does not match" that might appear when using SimpleAggregateFunction column. #7790 ( Boris Granveaud ) Fix bug where user with empty allow_databases got access to all databases (and same for allow_dictionaries ). #7793 ( DeifyTheGod )
{"source_file": "2020.md"}
[ 0.010096069425344467, -0.036094024777412415, -0.05476091057062149, 0.016867762431502342, -0.023899273946881294, -0.0415552482008934, 0.009498598985373974, 0.06630615144968033, -0.061720676720142365, 0.05103325843811035, 0.04625283554196358, 0.0016157086938619614, 0.004305808339267969, -0.0...
b3dfda49-3f82-4d42-9206-249096e12462
Fix bug where user with empty allow_databases got access to all databases (and same for allow_dictionaries ). #7793 ( DeifyTheGod ) Fix client crash when server already disconnected from client. #8071 ( Azat Khuzhin ) Fix ORDER BY behaviour in case of sorting by primary key prefix and non primary key suffix. #7759 ( Anton Popov ) Check if qualified column present in the table. This fixes #6836 . #7758 ( Artem Zuikov ) Fixed behavior with ALTER MOVE ran immediately after merge finish moves superpart of specified. Fixes #8103 . #8104 ( Vladimir Chebotarev ) Fix possible server crash while using UNION with different number of columns. Fixes #7279 . #7929 ( Nikolai Kochetov ) Fix size of result substring for function substr with negative size. #8589 ( Nikolai Kochetov ) Now server does not execute part mutation in MergeTree if there are not enough free threads in background pool. #8588 ( tavplubix ) Fix a minor typo on formatting UNION ALL AST. #7999 ( litao91 ) Fixed incorrect bloom filter results for negative numbers. This fixes #8317 . #8566 ( Winter Zhang ) Fixed potential buffer overflow in decompress. Malicious user can pass fabricated compressed data that will cause read after buffer. This issue was found by Eldar Zaitov from Yandex information security team. #8404 ( alexey-milovidov ) Fix incorrect result because of integers overflow in arrayIntersect . #7777 ( Nikolai Kochetov ) Now OPTIMIZE TABLE query will not wait for offline replicas to perform the operation. #8314 ( javi santana ) Fixed ALTER TTL parser for Replicated*MergeTree tables. #8318 ( Vladimir Chebotarev ) Fix communication between server and client, so server read temporary tables info after query failure. #8084 ( Azat Khuzhin ) Fix bitmapAnd function error when intersecting an aggregated bitmap and a scalar bitmap. #8082 ( Yue Huang ) Refine the definition of ZXid according to the ZooKeeper Programmer's Guide which fixes bug in clickhouse-cluster-copier . #8088 ( Ding Xiang Fei ) odbc table function now respects external_table_functions_use_nulls setting. #7506 ( Vasily Nemkov ) Fixed bug that lead to a rare data race. #8143 ( Alexander Kazakov ) Now SYSTEM RELOAD DICTIONARY reloads a dictionary completely, ignoring update_field . This fixes #7440 . #8037 ( Vitaly Baranov ) Add ability to check if dictionary exists in create query. #8032 ( alesapin ) Fix Float* parsing in Values format. This fixes #7817 . #7870 ( tavplubix ) Fix crash when we cannot reserve space in some background operations of *MergeTree table engines family. #7873 ( Vladimir Chebotarev ) Fix crash of merge operation when table contains SimpleAggregateFunction(LowCardinality) column. This fixes #8515 . #8522 ( Azat Khuzhin )
{"source_file": "2020.md"}
[ 0.016296617686748505, -0.02179134078323841, 0.026245685294270515, -0.00552626047283411, -0.05306486412882805, -0.06230292096734047, -0.04339376464486122, 0.03724211826920509, -0.04247910529375076, 0.04874195531010628, 0.033103667199611664, 0.027004316449165344, 0.007746386807411909, -0.027...
299f3506-0a9a-4753-a98c-4a6192aa8daa
Fix crash of merge operation when table contains SimpleAggregateFunction(LowCardinality) column. This fixes #8515 . #8522 ( Azat Khuzhin ) Restore support of all ICU locales and add the ability to apply collations for constant expressions. Also add language name to system.collations table. #8051 ( alesapin ) Fix bug when external dictionaries with zero minimal lifetime ( LIFETIME(MIN 0 MAX N) , LIFETIME(N) ) don't update in background. #7983 ( alesapin ) Fix crash when external dictionary with ClickHouse source has subquery in query. #8351 ( Nikolai Kochetov ) Fix incorrect parsing of file extension in table with engine URL . This fixes #8157 . #8419 ( Andrey Bodrov ) Fix CHECK TABLE query for *MergeTree tables without key. Fixes #7543 . #7979 ( alesapin ) Fixed conversion of Float64 to MySQL type. #8079 ( Yuriy Baranov ) Now if table was not completely dropped because of server crash, server will try to restore and load it. #8176 ( tavplubix ) Fixed crash in table function file while inserting into file that does not exist. Now in this case file would be created and then insert would be processed. #8177 ( Olga Khvostikova ) Fix rare deadlock which can happen when trace_log is in enabled. #7838 ( filimonov ) Add ability to work with different types besides Date in RangeHashed external dictionary created from DDL query. Fixes 7899 . #8275 ( alesapin ) Fixes crash when now64() is called with result of another function. #8270 ( Vasily Nemkov ) Fixed bug with detecting client IP for connections through mysql wire protocol. #7743 ( Dmitry Muzyka ) Fix empty array handling in arraySplit function. This fixes #7708 . #7747 ( hcz ) Fixed the issue when pid-file of another running clickhouse-server may be deleted. #8487 ( Weiqing Xu ) Fix dictionary reload if it has invalidate_query , which stopped updates and some exception on previous update tries. #8029 ( alesapin ) Fixed error in function arrayReduce that may lead to "double free" and error in aggregate function combinator Resample that may lead to memory leak. Added aggregate function aggThrow . This function can be used for testing purposes. #8446 ( alexey-milovidov ) Improvement {#improvement-22} Improved logging when working with S3 table engine. #8251 ( Grigory Pervakov ) Printed help message when no arguments are passed when calling clickhouse-local . This fixes #5335 . #8230 ( Andrey Nagorny ) Add setting mutations_sync which allows to wait ALTER UPDATE/DELETE queries synchronously. #8237 ( alesapin ) Allow to set up relative user_files_path in config.xml (in the way similar to format_schema_path ). #7632 ( hcz ) Add exception for illegal types for conversion functions with -OrZero postfix. #7880 ( Andrey Konyaev ) Simplify format of the header of data sending to a shard in a distributed query. #8044 ( Vitaly Baranov )
{"source_file": "2020.md"}
[ 0.016828421503305435, -0.05271070823073387, -0.010675149969756603, -0.00812535546720028, -0.02854836918413639, -0.06977371126413345, -0.0025449360255151987, 0.057782065123319626, -0.03279159963130951, 0.0224414374679327, 0.06077761575579643, 0.012101062573492527, 0.009351604618132114, -0.0...
185dcff8-2a97-47c6-80ec-4c02b52ffc72
Simplify format of the header of data sending to a shard in a distributed query. #8044 ( Vitaly Baranov ) Live View table engine refactoring. #8519 ( vzakaznikov ) Add additional checks for external dictionaries created from DDL-queries. #8127 ( alesapin ) Fix error Column ... already exists while using FINAL and SAMPLE together, e.g. select count() from table final sample 1/2 . Fixes #5186 . #7907 ( Nikolai Kochetov ) Now table the first argument of joinGet function can be table identifier. #7707 ( Amos Bird ) Allow using MaterializedView with subqueries above Kafka tables. #8197 ( filimonov ) Now background moves between disks run it the seprate thread pool. #7670 ( Vladimir Chebotarev ) SYSTEM RELOAD DICTIONARY now executes synchronously. #8240 ( Vitaly Baranov ) Stack traces now display physical addresses (offsets in object file) instead of virtual memory addresses (where the object file was loaded). That allows the use of addr2line when binary is position independent and ASLR is active. This fixes #8360 . #8387 ( alexey-milovidov ) Support new syntax for row-level security filters: <table name='table_name'>...</table> . Fixes #5779 . #8381 ( Ivan ) Now cityHash function can work with Decimal and UUID types. Fixes #5184 . #7693 ( Mikhail Korotov ) Removed fixed index granularity (it was 1024) from system logs because it's obsolete after implementation of adaptive granularity. #7698 ( alexey-milovidov ) Enabled MySQL compatibility server when ClickHouse is compiled without SSL. #7852 ( Yuriy Baranov ) Now server checksums distributed batches, which gives more verbose errors in case of corrupted data in batch. #7914 ( Azat Khuzhin ) Support DROP DATABASE , DETACH TABLE , DROP TABLE and ATTACH TABLE for MySQL database engine. #8202 ( Winter Zhang ) Add authentication in S3 table function and table engine. #7623 ( Vladimir Chebotarev ) Added check for extra parts of MergeTree at different disks, in order to not allow to miss data parts at undefined disks. #8118 ( Vladimir Chebotarev ) Enable SSL support for Mac client and server. #8297 ( Ivan ) Now ClickHouse can work as MySQL federated server (see https://dev.mysql.com/doc/refman/5.7/en/federated-create-server.html). #7717 ( Maxim Fedotov ) clickhouse-client now only enable bracketed-paste when multiquery is on and multiline is off. This fixes #7757 . #7761 ( Amos Bird ) Support Array(Decimal) in if function. #7721 ( Artem Zuikov ) Support Decimals in arrayDifference , arrayCumSum and arrayCumSumNegative functions. #7724 ( Artem Zuikov ) Added lifetime column to system.dictionaries table. #6820 #7727 ( kekekekule ) Improved check for existing parts on different disks for *MergeTree table engines. Addresses #7660 . #8440 ( Vladimir Chebotarev )
{"source_file": "2020.md"}
[ -0.05673724040389061, -0.0409415178000927, -0.06270448863506317, -0.003027713857591152, -0.05610928684473038, -0.055293262004852295, 0.005552394315600395, 0.004692332353442907, 0.03789021447300911, 0.016395865008234978, -0.006031206343322992, -0.06095438823103905, 0.05658283457159996, -0.1...
4cd0a1e5-fb8b-44a7-b43f-776e61fd6837
Improved check for existing parts on different disks for *MergeTree table engines. Addresses #7660 . #8440 ( Vladimir Chebotarev ) Integration with AWS SDK for S3 interactions which allows to use all S3 features out of the box. #8011 ( Pavel Kovalenko ) Added support for subqueries in Live View tables. #7792 ( vzakaznikov ) Check for using Date or DateTime column from TTL expressions was removed. #7920 ( Vladimir Chebotarev ) Information about disk was added to system.detached_parts table. #7833 ( Vladimir Chebotarev ) Now settings max_(table|partition)_size_to_drop can be changed without a restart. #7779 ( Grigory Pervakov ) Slightly better usability of error messages. Ask user not to remove the lines below Stack trace: . #7897 ( alexey-milovidov ) Better reading messages from Kafka engine in various formats after #7935 . #8035 ( Ivan ) Better compatibility with MySQL clients which don't support sha2_password auth plugin. #8036 ( Yuriy Baranov ) Support more column types in MySQL compatibility server. #7975 ( Yuriy Baranov ) Implement ORDER BY optimization for Merge , Buffer and Materilized View storages with underlying MergeTree tables. #8130 ( Anton Popov ) Now we always use POSIX implementation of getrandom to have better compatibility with old kernels (< 3.17). #7940 ( Amos Bird ) Better check for valid destination in a move TTL rule. #8410 ( Vladimir Chebotarev ) Better checks for broken insert batches for Distributed table engine. #7933 ( Azat Khuzhin ) Add column with array of parts name which mutations must process in future to system.mutations table. #8179 ( alesapin ) Parallel merge sort optimization for processors. #8552 ( Nikolai Kochetov ) The settings mark_cache_min_lifetime is now obsolete and does nothing. In previous versions, mark cache can grow in memory larger than mark_cache_size to accomodate data within mark_cache_min_lifetime seconds. That was leading to confusion and higher memory usage than expected, that is especially bad on memory constrained systems. If you will see performance degradation after installing this release, you should increase the mark_cache_size . #8484 ( alexey-milovidov ) Preparation to use tid everywhere. This is needed for #7477 . #8276 ( alexey-milovidov ) Performance Improvement {#performance-improvement-17} Performance optimizations in processors pipeline. #7988 ( Nikolai Kochetov ) Non-blocking updates of expired keys in cache dictionaries (with permission to read old ones). #8303 ( Nikita Mikhaylov ) Compile ClickHouse without -fno-omit-frame-pointer globally to spare one more register. #8097 ( Amos Bird ) Speedup greatCircleDistance function and add performance tests for it. #7307 ( Olga Khvostikova ) Improved performance of function roundDown . #8465 ( alexey-milovidov )
{"source_file": "2020.md"}
[ -0.035101089626550674, -0.03748016431927681, -0.031228097155690193, -0.026709649711847305, 0.06584447622299194, -0.0789341852068901, -0.03055824153125286, 0.07007209211587906, 0.010602915659546852, 0.026838695630431175, 0.014661665074527264, 0.009768180549144745, 0.030992796644568443, -0.0...
771c9035-0c51-4583-a4d6-0c97da940ddc
Speedup greatCircleDistance function and add performance tests for it. #7307 ( Olga Khvostikova ) Improved performance of function roundDown . #8465 ( alexey-milovidov ) Improved performance of max , min , argMin , argMax for DateTime64 data type. #8199 ( Vasily Nemkov ) Improved performance of sorting without a limit or with big limit and external sorting. #8545 ( alexey-milovidov ) Improved performance of formatting floating point numbers up to 6 times. #8542 ( alexey-milovidov ) Improved performance of modulo function. #7750 ( Amos Bird ) Optimized ORDER BY and merging with single column key. #8335 ( alexey-milovidov ) Better implementation for arrayReduce , -Array and -State combinators. #7710 ( Amos Bird ) Now PREWHERE should be optimized to be at least as efficient as WHERE . #7769 ( Amos Bird ) Improve the way round and roundBankers handling negative numbers. #8229 ( hcz ) Improved decoding performance of DoubleDelta and Gorilla codecs by roughly 30-40%. This fixes #7082 . #8019 ( Vasily Nemkov ) Improved performance of base64 related functions. #8444 ( alexey-milovidov ) Added a function geoDistance . It is similar to greatCircleDistance but uses approximation to WGS-84 ellipsoid model. The performance of both functions are near the same. #8086 ( alexey-milovidov ) Faster min and max aggregation functions for Decimal data type. #8144 ( Artem Zuikov ) Vectorize processing arrayReduce . #7608 ( Amos Bird ) if chains are now optimized as multiIf . #8355 ( kamalov-ruslan ) Fix performance regression of Kafka table engine introduced in 19.15. This fixes #7261 . #7935 ( filimonov ) Removed "pie" code generation that gcc from Debian packages occasionally brings by default. #8483 ( alexey-milovidov ) Parallel parsing data formats #6553 ( Nikita Mikhaylov ) Enable optimized parser of Values with expressions by default ( input_format_values_deduce_templates_of_expressions=1 ). #8231 ( tavplubix ) Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement-25} Build fixes for ARM and in minimal mode. #8304 ( proller ) Add coverage file flush for clickhouse-server when std::atexit is not called. Also slightly improved logging in stateless tests with coverage. #8267 ( alesapin ) Update LLVM library in contrib. Avoid using LLVM from OS packages. #8258 ( alexey-milovidov ) Make bundled curl build fully quiet. #8232 #8203 ( Pavel Kovalenko ) Fix some MemorySanitizer warnings. #8235 ( Alexander Kuzmenkov ) Use add_warning and no_warning macros in CMakeLists.txt . #8604 ( Ivan ) Add support of Minio S3 Compatible object (https://min.io/) for better integration tests. #7863 #7875 ( Pavel Kovalenko ) Imported libc headers to contrib. It allows to make builds more consistent across various systems (only for x86_64-linux-gnu ). #5773 ( alexey-milovidov )
{"source_file": "2020.md"}
[ -0.023787185549736023, 0.05828043818473816, -0.10757439583539963, -0.06627942621707916, -0.04500620439648628, -0.08435157686471939, -0.001500587910413742, 0.020458556711673737, -0.010865483433008194, 0.0029529514722526073, -0.005824650637805462, 0.05045167729258537, -0.0370723120868206, -0...
91670712-905b-402a-8389-3ae1117b049c
Imported libc headers to contrib. It allows to make builds more consistent across various systems (only for x86_64-linux-gnu ). #5773 ( alexey-milovidov ) Remove -fPIC from some libraries. #8464 ( alexey-milovidov ) Clean CMakeLists.txt for curl. See https://github.com/ClickHouse/ClickHouse/pull/8011#issuecomment-569478910 #8459 ( alexey-milovidov ) Silent warnings in CapNProto library. #8220 ( alexey-milovidov ) Add performance tests for short string optimized hash tables. #7679 ( Amos Bird ) Now ClickHouse will build on AArch64 even if MADV_FREE is not available. This fixes #8027 . #8243 ( Amos Bird ) Update zlib-ng to fix memory sanitizer problems. #7182 #8206 ( Alexander Kuzmenkov ) Enable internal MySQL library on non-Linux system, because usage of OS packages is very fragile and usually does not work at all. This fixes #5765 . #8426 ( alexey-milovidov ) Fixed build on some systems after enabling libc++ . This supersedes #8374 . #8380 ( alexey-milovidov ) Make Field methods more type-safe to find more errors. #7386 #8209 ( Alexander Kuzmenkov ) Added missing files to the libc-headers submodule. #8507 ( alexey-milovidov ) Fix wrong JSON quoting in performance test output. #8497 ( Nikolai Kochetov ) Now stack trace is displayed for std::exception and Poco::Exception . In previous versions it was available only for DB::Exception . This improves diagnostics. #8501 ( alexey-milovidov ) Porting clock_gettime and clock_nanosleep for fresh glibc versions. #8054 ( Amos Bird ) Enable part_log in example config for developers. #8609 ( alexey-milovidov ) Fix async nature of reload in 01036_no_superfluous_dict_reload_on_create_database* . #8111 ( Azat Khuzhin ) Fixed codec performance tests. #8615 ( Vasily Nemkov ) Add install scripts for .tgz build and documentation for them. #8612 #8591 ( alesapin ) Removed old ZSTD test (it was created in year 2016 to reproduce the bug that pre 1.0 version of ZSTD has had). This fixes #8618 . #8619 ( alexey-milovidov ) Fixed build on Mac OS Catalina. #8600 ( meo ) Increased number of rows in codec performance tests to make results noticeable. #8574 ( Vasily Nemkov ) In debug builds, treat LOGICAL_ERROR exceptions as assertion failures, so that they are easier to notice. #8475 ( Alexander Kuzmenkov ) Make formats-related performance test more deterministic. #8477 ( alexey-milovidov ) Update lz4 to fix a MemorySanitizer failure. #8181 ( Alexander Kuzmenkov ) Suppress a known MemorySanitizer false positive in exception handling. #8182 ( Alexander Kuzmenkov ) Update gcc and g++ to version 9 in build/docker/build.sh #7766 ( TLightSky ) Add performance test case to test that PREWHERE is worse than WHERE . #7768 ( Amos Bird ) Progress towards fixing one flacky test. #8621 ( alexey-milovidov )
{"source_file": "2020.md"}
[ 0.004606219939887524, 0.01111508533358574, -0.06652671843767166, -0.034842874854803085, 0.02032453380525112, -0.103023961186409, -0.032914482057094574, 0.042150646448135376, -0.029308991506695747, 0.012489737011492252, -0.03255481645464897, -0.00043918087612837553, -0.002272023120895028, -...
780aa972-1f62-446b-8f29-404c3c537626
Add performance test case to test that PREWHERE is worse than WHERE . #7768 ( Amos Bird ) Progress towards fixing one flacky test. #8621 ( alexey-milovidov ) Avoid MemorySanitizer report for data from libunwind . #8539 ( alexey-milovidov ) Updated libc++ to the latest version. #8324 ( alexey-milovidov ) Build ICU library from sources. This fixes #6460 . #8219 ( alexey-milovidov ) Switched from libressl to openssl . ClickHouse should support TLS 1.3 and SNI after this change. This fixes #8171 . #8218 ( alexey-milovidov ) Fixed UBSan report when using chacha20_poly1305 from SSL (happens on connect to https://yandex.ru/). #8214 ( alexey-milovidov ) Fix mode of default password file for .deb linux distros. #8075 ( proller ) Improved expression for getting clickhouse-server PID in clickhouse-test . #8063 ( Alexander Kazakov ) Updated contrib/googletest to v1.10.0. #8587 ( Alexander Burmak ) Fixed ThreadSaninitizer report in base64 library. Also updated this library to the latest version, but it does not matter. This fixes #8397 . #8403 ( alexey-milovidov ) Fix 00600_replace_running_query for processors. #8272 ( Nikolai Kochetov ) Remove support for tcmalloc to make CMakeLists.txt simpler. #8310 ( alexey-milovidov ) Release gcc builds now use libc++ instead of libstdc++ . Recently libc++ was used only with clang. This will improve consistency of build configurations and portability. #8311 ( alexey-milovidov ) Enable ICU library for build with MemorySanitizer. #8222 ( alexey-milovidov ) Suppress warnings from CapNProto library. #8224 ( alexey-milovidov ) Removed special cases of code for tcmalloc , because it's no longer supported. #8225 ( alexey-milovidov ) In CI coverage task, kill the server gracefully to allow it to save the coverage report. This fixes incomplete coverage reports we've been seeing lately. #8142 ( alesapin ) Performance tests for all codecs against Float64 and UInt64 values. #8349 ( Vasily Nemkov ) termcap is very much deprecated and lead to various problems (f.g. missing "up" cap and echoing ^J instead of multi line) . Favor terminfo or bundled ncurses . #7737 ( Amos Bird ) Fix test_storage_s3 integration test. #7734 ( Nikolai Kochetov ) Support StorageFile(<format>, null) to insert block into given format file without actually write to disk. This is required for performance tests. #8455 ( Amos Bird ) Added argument --print-time to functional tests which prints execution time per test. #8001 ( Nikolai Kochetov ) Added asserts to KeyCondition while evaluating RPN. This will fix warning from gcc-9. #8279 ( alexey-milovidov ) Dump cmake options in CI builds. #8273 ( Alexander Kuzmenkov ) Don't generate debug info for some fat libraries. #8271 ( alexey-milovidov )
{"source_file": "2020.md"}
[ -0.03741404786705971, 0.01208024937659502, -0.10002242028713226, 0.00628760876134038, 0.0052010188810527325, -0.08517573773860931, -0.0494527705013752, -0.07006924599409103, 0.03919355198740959, -0.04641319066286087, -0.05455079302191734, 0.05224579572677612, 0.0009813258657231927, 0.01040...
2b9c4860-9d6d-4a7b-97a2-3c00c6bf9ba2
Dump cmake options in CI builds. #8273 ( Alexander Kuzmenkov ) Don't generate debug info for some fat libraries. #8271 ( alexey-milovidov ) Make log_to_console.xml always log to stderr, regardless of is it interactive or not. #8395 ( Alexander Kuzmenkov ) Removed some unused features from clickhouse-performance-test tool. #8555 ( alexey-milovidov ) Now we will also search for lld-X with corresponding clang-X version. #8092 ( alesapin ) Parquet build improvement. #8421 ( maxulan ) More GCC warnings #8221 ( kreuzerkrieg ) Package for Arch Linux now allows to run ClickHouse server, and not only client. #8534 ( Vladimir Chebotarev ) Fix test with processors. Tiny performance fixes. #7672 ( Nikolai Kochetov ) Update contrib/protobuf. #8256 ( Matwey V. Kornilov ) In preparation of switching to c++20 as a new year celebration. "May the C++ force be with ClickHouse." #8447 ( Amos Bird ) Experimental Feature {#experimental-feature-8} Added experimental setting min_bytes_to_use_mmap_io . It allows to read big files without copying data from kernel to userspace. The setting is disabled by default. Recommended threshold is about 64 MB, because mmap/munmap is slow. #8520 ( alexey-milovidov ) Reworked quotas as a part of access control system. Added new table system.quotas , new functions currentQuota , currentQuotaKey , new SQL syntax CREATE QUOTA , ALTER QUOTA , DROP QUOTA , SHOW QUOTA . #7257 ( Vitaly Baranov ) Allow skipping unknown settings with warnings instead of throwing exceptions. #7653 ( Vitaly Baranov ) Reworked row policies as a part of access control system. Added new table system.row_policies , new function currentRowPolicies() , new SQL syntax CREATE POLICY , ALTER POLICY , DROP POLICY , SHOW CREATE POLICY , SHOW POLICIES . #7808 ( Vitaly Baranov ) Security Fix {#security-fix} Fixed the possibility of reading directories structure in tables with File table engine. This fixes #8536 . #8537 ( alexey-milovidov ) Changelog for 2019 {#changelog-for-2019}
{"source_file": "2020.md"}
[ -0.0297293271869421, 0.02005157247185707, -0.017384229227900505, -0.0767294242978096, -0.008310534060001373, -0.08768563717603683, -0.07925660908222198, 0.06392775475978851, -0.04734939709305763, -0.00508026871830225, -0.006581619381904602, -0.06921881437301636, -0.058698639273643494, -0.0...
be5c06b8-d11f-4363-9f9e-035f9f7e69af
slug: /whats-new/changelog/2024 sidebar_position: 3 sidebar_label: '2024' title: '2024 Changelog' description: 'Changelog for 2024' keywords: ['ClickHouse 2024', 'changelog 2024', 'release notes', 'version history', 'new features'] doc_type: 'changelog' Table of Contents {#table-of-contents} ClickHouse release v24.12, 2024-12-19 ClickHouse release v24.11, 2024-11-26 ClickHouse release v24.10, 2024-10-31 ClickHouse release v24.9, 2024-09-26 ClickHouse release v24.8 LTS, 2024-08-20 ClickHouse release v24.7, 2024-07-30 ClickHouse release v24.6, 2024-07-01 ClickHouse release v24.5, 2024-05-30 ClickHouse release v24.4, 2024-04-30 ClickHouse release v24.3 LTS, 2024-03-26 ClickHouse release v24.2, 2024-02-29 ClickHouse release v24.1, 2024-01-30 Changelog for 2023 ClickHouse release 24.12, 2024-12-19 {#a-id2412a-clickhouse-release-2412-2024-12-19} Backward Incompatible Change {#backward-incompatible-change} Functions greatest and least now ignore NULL input values, whereas they previously returned NULL if one of the arguments was NULL. For example, SELECT greatest(1, 2, NULL) now returns 2. This makes the behavior compatible with PostgreSQL, but at the same time it breaks the compatibility with MySQL which returns NULL. To retain the previous behavior, set setting least_greatest_legacy_null_behavior (default: false ) to true . #65519 #73344 ( kevinyhzou ). A new MongoDB integration is now the default. Users who like to use the legacy MongoDB driver (based on the Poco driver) can enable server setting use_legacy_mongodb_integration . #73359 ( Kirill Nikiforov . New Feature {#new-feature} Move JSON / Dynamic / Variant types from experimental features to beta. #72294 ( Pavel Kruglov ). We also backported all fixes as well as this change to 24.11. Schema evolution for the Iceberg data storage format provides the user with extensive options for modifying the schema of their table. The order of columns, column names, and simple type extensions can be changed under the hood. #69445 ( Daniil Ivanik ). Integrate with Iceberg REST Catalog: a new database engine, named Iceberg, which plugs the whole catalog into ClickHouse. #71542 ( Kseniia Sumarokova ). Added cache for primary index of MergeTree tables (can be enabled by table setting use_primary_key_cache ). If lazy load and cache are enabled for primary index, it will be loaded to cache on demand (similar to mark cache) instead of keeping it in memory forever. Added prewarm of primary index on inserts/mergs/fetches of data parts and on restarts of table (can be enabled by setting prewarm_primary_key_cache ). This allows lower memory usage for huge tables on shared storage, and we tested it on tables over one quadrillion records. #72102 ( Anton Popov ). #72750 ( Alexander Gololobov ).
{"source_file": "2024.md"}
[ 0.002541269874200225, -0.029569225385785103, 0.09523013979196548, -0.03492734953761101, 0.0757538229227066, 0.003445581067353487, 0.00040254220948554575, -0.030434967949986458, -0.016579758375883102, 0.09120038896799088, 0.03403641656041145, 0.07301408797502518, -0.016055211424827576, 0.00...
348330ab-62f1-4ff2-a535-93890471495f
Implement SYSTEM LOAD PRIMARY KEY command to load primary indexes for all parts of a specified table or for all tables if no table is specified. This will be useful for benchmarks and to prevent extra latency during query execution. #66252 #67733 ( ZAWA_ll ). Added a query that allows to attach MergeTree tables as ReplicatedMergeTree and vice versa: ATTACH TABLE ... AS REPLICATED and ATTACH TABLE ... AS NOT REPLICATED . #65401 ( Kirill ). A new setting, http_response_headers which allows you to customize the HTTP response headers. For example, you can tell the browser to render a picture that is stored in the database. This closes #59620 . #72656 ( Alexey Milovidov ). Add function toUnixTimestamp64Second which converts a DateTime64 to a Int64 value with fixed second precision, so we can support return negative value if date is before the unix epoch. #70597 ( zhanglistar ). #73146 ( Robert Schulze ). Add new setting enforce_index_structure_match_on_partition_manipulation to allow attach when the set of source table's projections and secondary indices is a subset of those in the target table. Close #70602 . #70603 ( zwy991114 ). Add syntax ALTER USER {ADD|MODIFY|DROP SETTING} , ALTER USER {ADD|DROP PROFILE} , the same for ALTER ROLE and ALTER PROFILE. So instead of replacing all the set of settings, you can modify it. #72050 ( pufit ). Added arrayPRAUC function, which calculates the AUC (Area Under the Curve) for the Precision Recall curve. #72073 ( Emmanuel ). Add indexOfAssumeSorted function for array types. Optimizes the search in the case of a sorted in non-decreasing order array. The effect appears on very large arrays (over 100,000 elements). #72517 ( Eric Kurbanov ). Allows to use a delimiter as an optional second argument for aggregate function groupConcat . #72540 ( Yarik Briukhovetskyi ). Function translate now supports character deletion if the from argument contains more characters than the to argument. Example: SELECT translate('clickhouse', 'clickhouse', 'CLICK') now returns CLICK . #71441 ( shuai.xu ). Experimental Features {#experimental-features} A new MergeTree setting allow_experimental_reverse_key that enables support for descending sort order in MergeTree sorting keys. This is useful for time series analysis, especially TopN queries. Example usage: ENGINE = MergeTree ORDER BY (time DESC, key) - descending order for the time field. #71095 ( Amos Bird ). Performance Improvement {#performance-improvement} JOIN reordering. Added an option to select the side of the join that will act as the inner (build) table in the query plan. This is controlled by query_plan_join_swap_table , which can be set to auto . In this mode, ClickHouse will try to choose the table with the smallest number of rows. #71577 ( Vladimir Cherkasov ).
{"source_file": "2024.md"}
[ -0.027880869805812836, 0.0165068581700325, -0.038632072508335114, 0.06712127476930618, -0.044068124145269394, -0.11787683516740799, -0.09675140678882599, 0.03656270354986191, -0.03935893252491951, 0.05532607436180115, 0.024529673159122467, -0.0492713637650013, 0.12900103628635406, -0.05143...
2cfde2ae-cf68-4cc9-9bd5-6d3ac53970d0
Now parallel_hash algorithm will be used (if applicable) when the join_algorithm setting is set to default . Two previous alternatives ( direct and hash ) are still considered when parallel_hash cannot be used. #70788 ( Nikita Taranov ). Add option to extract common expressions from WHERE and ON expressions in order to reduce the number of hash tables used during joins. This makes sense when the JOIN ON condition has common parts inside AND in different OR parts. Can be enabled by optimize_extract_common_expressions = 1 . #71537 ( János Benjamin Antal ). Allows to use indexes on SELECT when an indexed column is CAST into a LowCardinality(String) , which could be the case when a query run over a Merge table with some tables having String and some LowCardinality(String) . #71598 ( Yarik Briukhovetskyi ). During query execution with parallel replicas and enabled local plan, do not perform index analysis on workers. The coordinator will choose ranges to read for workers based on index analysis on its side (on the query initiator). This makes short queries with parallel replicas have as low latency as single-node queries. #72109 ( Igor Nikonov ). Memory usage of clickhouse disks remove --recursive is reduced for object storage disks. #67323 ( Kirill ). Bring back optimization for reading subcolumns of single column in compact parts from #57631 . It was deleted accidentally. #72285 ( Pavel Kruglov ). Speedup sorting of LowCardinality(String) columns by de-virtualizing calls in comparator. #72337 ( Alexander Gololobov ). Optimize function argMin / argMax for some simple data types. #72350 ( alesapin ). Optimize locking with shared locks in the memory tracker to reduce lock contention, which improves performance on systems with a very high number of CPU. #72375 ( Jiebin Sun ). Add a new setting, use_async_executor_for_materialized_views . Use async and potentially multi-threaded execution of materialized view query, can speedup views processing during INSERT, but also consumes more memory. #72497 ( alesapin ). Improved performance of deserialization of states of aggregate functions (in data type AggregateFunction and in distributed queries). Slightly improved performance of parsing of format RowBinary . #72818 ( Anton Popov ). Split ranges in reading with parallel replicas in the order of the table's key to consume less memory during reading. #72173 ( JIaQi ). Speed up insertions into merge tree in the case of a single value of partition key inside the inserted batch. #72348 ( alesapin ). Implement creating tables in parallel while restoring from a backup. Before this PR the RESTORE command always created tables in one thread, which could be slow in case of backups containing many tables. #72427 ( Vitaly Baranov ).
{"source_file": "2024.md"}
[ -0.012906067073345184, 0.05936029180884361, -0.0008953743381425738, -0.010904189199209213, 0.032401278614997864, -0.03819284215569496, -0.037683065980672836, 0.01997510902583599, 0.0372936949133873, -0.007294242735952139, 0.002165027428418398, 0.038147762417793274, 0.042314562946558, -0.05...
a735d6ce-dd0d-4922-a31d-efd1cd735a7e
Dropping mark cache might take noticeable time if it is big. If we hold context mutex during this it block many other activities, even new client connection cannot be established until it is released. And holding this mutex is not actually required for synchronization, it is enough to have a local reference to the cache via shared ptr. #72749 ( Alexander Gololobov ). Improvement {#improvement} Remove the allow_experimental_join_condition setting, allowing non-equi conditions by default. #69910 ( Vladimir Cherkasov ). Settings from server config (users.xml) now apply on the client too. Useful for format settings, e.g. date_time_output_format . #71178 ( Michael Kolupaev ). Automatic GROUP BY / ORDER BY to disk based on the server/user memory usage. Controlled with max_bytes_ratio_before_external_group_by / max_bytes_ratio_before_external_sort query settings. #71406 ( Azat Khuzhin ). Adding a new cancellation logic: CancellationChecker checks timeouts for every started query and stops them once the timeout has reached. #69880 ( Yarik Briukhovetskyi ). Support ALTER from Object to JSON , which means you can easily migrate from the deprecated Object type. #71784 ( Pavel Kruglov ). Allow unknown values in set that are not present in Enum. Fix #72662 . #72686 ( zhanglistar ). Support string search operator (e.g., LIKE) for Enum data type, implements #72661 . #72732 ( zhanglistar ). Some meaningless ALTER USER queries were accepted. Fixes #71227 . #71286 ( Arthur Passos ). Respect prefer_locahost_replica when building plan for distributed INSERT ... SELECT . #72190 ( filimonov ). Azure violated the Iceberg specification, mistakenly labeling Iceberg v1 as Iceberg v2. The problem is described here . Azure Iceberg Writer creates Iceberg metadata files (as well as manifest files) that violate specs. Now we attempt to read v1 Iceberg format metadata with the v2 reader (cause they write it in a this way), and added error when they didn't create corresponding fields in a manifest file. #72277 ( Daniil Ivanik ). Now it's allowed to CREATE MATERIALIZED VIEW with UNION [ALL] in query. Behavior is the same as for matview with JOIN : only the first table in SELECT expression will work as a trigger for insert, all other tables will be ignored. However, if there are many references to the first table (e.g., UNION with itself), all of them will be processed as the inserted block of data. #72347 ( alesapin ). Added source query validation when ClickHouse is used as a source for a dictionary. #72548 ( Alexey Katsman ). Ensure that ClickHouse will see ZooKeeper changes on config reloads. #72593 ( Azat Khuzhin ). Better memory usage approximation of cached marks to reduce total memory usage of the cache. #72630 ( Antonio Andelic ).
{"source_file": "2024.md"}
[ -0.01763002574443817, 0.011760441586375237, 0.016811074689030647, 0.027979426085948944, -0.04727743938565254, -0.040864843875169754, 0.024301011115312576, 0.009599685668945312, 0.035277582705020905, -0.0002374628238612786, 0.02859378419816494, 0.08529095351696014, 0.03460369631648064, -0.0...
9ea02cf4-85b3-4493-bcd7-33fc04b4815b
Better memory usage approximation of cached marks to reduce total memory usage of the cache. #72630 ( Antonio Andelic ). Add a new StartupScriptsExecutionState metric. The metric can have three values: 0 = startup scripts have not finished yet, 1 = startup scripts executed successfully, 2 = startup scripts failed. We need this metric because we need to know if startup scripts are being executed successfully in the cloud, especially after releases to base configurations. #72637 ( Miсhael Stetsyuk ). Add the new MergeTreeIndexGranularityInternalArraysTotalSize metric to system.metrics . This metric is needed to find the instances with huge datasets susceptible to the high Add retries to creating a replicated table. #72682 ( Vitaly Baranov ). Add total_bytes_with_inactive to system.tables to count the total bytes of inactive parts. #72690 ( Kai Zhu ). Add MergeTree settings to system.settings_changes . #72694 ( Raúl Marín ). Support JSON type in the notEmpty function. #72741 ( Pavel Kruglov ). Support parsing GCS S3 error AuthenticationRequired . #72753 ( Vitaly Baranov ). Support Dynamic type in functions ifNull and coalesce . #72772 ( Pavel Kruglov ). Support Dynamic in functions toFloat64 / touInt32 /etc. #72989 ( Pavel Kruglov ). Add S3 request settings http_max_fields , http_max_field_name_size , http_max_field_value_size and use them while parsing S3 API responses during making a backup or restoring. #72778 ( Vitaly Baranov ). Delete table metadata in keeper in Storage S3(Azure)Queue only after last table using this metadata was dropped. #72810 ( Kseniia Sumarokova ). Added JoinBuildTableRowCount / JoinProbeTableRowCount/JoinResultRowCount profile events. #72842 ( Vladimir Cherkasov ). Support subcolumns in MergeTree sorting key and skip indexes. #72644 ( Pavel Kruglov ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release} Fix possible intersecting parts for MergeTree (after an operation of moving part to the detached directory has been failed, possibly due to operation on object storage). #70476 ( Azat Khuzhin ). Fixes an error detection when a table name is too long. Provide a diagnostic telling the maximum length. Add a new function getMaxTableNameLengthForDatabase . #70810 ( Yarik Briukhovetskyi ). Fixed zombie processes after a crash of clickhouse-library-bridge (this program allows to run unsafe libraries). #71301 ( MikhailBurdukov ). Fix NoSuchKey error during transaction rollback when creating a directory fails for the plain_rewritable disk. #71439 ( Julia Kartseva ). Fix serialization of Dynamic values in Pretty JSON formats. #71923 ( Pavel Kruglov ).
{"source_file": "2024.md"}
[ 0.02737719938158989, -0.04646710306406021, -0.009322619065642357, 0.019956115633249283, -0.016834935173392296, -0.04120730236172676, 0.012923833914101124, 0.10338728874921799, 0.011059180833399296, 0.09959963709115982, -0.00230393186211586, -0.0032444612588733435, 0.029549269005656242, -0....
63bfc575-2a55-49ff-be56-b77dcc34becb
Fix serialization of Dynamic values in Pretty JSON formats. #71923 ( Pavel Kruglov ). Add inferred format name to create query in File / S3 / URL / HDFS / Azure engines. Previously the format name was inferred each time the server was restarted, and if the specified data files were removed, it led to errors during server startup. #72108 ( Pavel Kruglov ). Fix bugs when using a UDF in join on expression with the old analyzer. #72179 ( Raúl Marín ). Fixes some small bugs in StorageObjectStorage . Needs to enable use_hive_partitioning by default. #72185 ( Yarik Briukhovetskyi ). Fix a bug where min_age_to_force_merge_on_partition_only was getting stuck trying to merge down the same partition repeatedly that was already merged to a single part and not merging partitions that had multiple parts. #72209 ( Christoph Wurm ). Fixed a crash in SimpleSquashingChunksTransform that occurred in rare cases when processing sparse columns. #72226 ( Vladimir Cherkasov ). Fixed data race in GraceHashJoin as the result of which some rows might be missing in the join output. #72233 ( Nikita Taranov ). Fixed ALTER DELETE queries with materialized _block_number column (if setting enable_block_number_column is enabled). #72261 ( Anton Popov ). Fixed data race when ColumnDynamic::dumpStructure() is called concurrently e.g., in ConcurrentHashJoin constructor. #72278 ( Nikita Taranov ). Fix possible LOGICAL_ERROR with duplicate columns in ORDER BY ... WITH FILL . #72387 ( Vladimir Cherkasov ). Fixed mismatched types in several cases after applying optimize_functions_to_subcolumns . #72394 ( Anton Popov ). Use AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE instead of AWS_CONTAINER_AUTHORIZATION_TOKEN_PATH . Fixes #71074 . #72397 ( Konstantin Bogdanov ). Fix failure on parsing BACKUP DATABASE db EXCEPT TABLES db.table queries. #72429 ( Konstantin Bogdanov ). Don't allow creating empty Variant . #72454 ( Pavel Kruglov ). Fix invalid formatting of result_part_path in system.merges . #72567 ( Konstantin Bogdanov ). Fix parsing a glob with one element (such as {file} ). #72572 ( Konstantin Bogdanov ). Fix query generation for the follower server in case of a distributed query with ARRAY JOIN . Fixes #69276 . #72608 ( Dmitry Novik ). Fix a bug when DateTime64 IN DateTime64 returns nothing. #72640 ( Yarik Briukhovetskyi ). Fixed inconsistent metadata when adding a new replica to a Replicated database that has a table created with flatten_nested=0 . #72685 ( Alexander Tokmakov ). Fix advanced SSL configuration for Keeper's internal communication. #72730 ( Antonio Andelic ). Fix "No such key" error in S3Queue unordered mode with tracked_files_limit setting smaller than s3 files appearance rate. #72738 ( Kseniia Sumarokova ). Fix exception thrown in RemoteQueryExecutor when a user does not exist locally. #72759 ( Andrey Zvonov ).
{"source_file": "2024.md"}
[ -0.032357703894376755, -0.0019266910385340452, -0.01597278006374836, 0.04380253329873085, -0.050680793821811676, -0.0040407790802419186, -0.05945294350385666, 0.014537928625941277, -0.023681864142417908, 0.05859541520476341, -0.01818159408867359, 0.0031639791559427977, 0.028526637703180313, ...
13e69c19-0311-407a-9ce4-602b888f6917
Fix exception thrown in RemoteQueryExecutor when a user does not exist locally. #72759 ( Andrey Zvonov ). Fixed mutations with materialized _block_number column (if setting enable_block_number_column is enabled). #72854 ( Anton Popov ). Fix backup/restore with plain rewritable disk in case there are empty files in backup. #72858 ( Kseniia Sumarokova ). Properly cancel inserts in DistributedAsyncInsertDirectoryQueue. #72885 ( Antonio Andelic ). Fixed crash while parsing of incorrect data into sparse columns (can happen with enabled setting enable_parsing_to_custom_serialization ). #72891 ( Anton Popov ). Fix potential crash during backup restore. #72947 ( Kseniia Sumarokova ). Fixed bug in parallel_hash JOIN method that might appear when query has complex condition in the ON clause with inequality filters. #72993 ( Nikita Taranov ). Use default format settings during JSON parsing to avoid broken deserialization. #73043 ( Pavel Kruglov ). Fix crash in transactions with unsupported storage. #73045 ( Raúl Marín ). Fix possible overestimation of memory tracking (when the difference between MemoryTracking and MemoryResident kept growing). #73081 ( Azat Khuzhin ). Check for duplicate JSON keys during Tuple parsing. Previously it could lead to a logical error Invalid number of rows in Chunk during parsing. #73082 ( Pavel Kruglov ). Build/Testing/Packaging Improvement {#buildtestingpackaging-improvement} All small utilities previously stored in /utils folder and required manual compilation from sources are now a part of main ClickHouse bundle. This closes: #72404 . #72426 ( Nikita Mikhaylov ). Get rid of /etc/systemd/system/clickhouse-server.service removal introduced in 22.3 #39323 . #72259 ( Mikhail f. Shiryaev ). Split large translation units to avoid compilation failures due to memory/cpu limitations. #72352 ( Yakov Olkhovskiy ). OSX: Build with ICU support, which enables collations, charset conversions and other localization features. #73083 ( Raúl Marín ). ClickHouse release 24.11, 2024-11-26 {#a-id2411a-clickhouse-release-2411-2024-11-26} Backward Incompatible Change {#backward-incompatible-change-1} Remove system tables generate_series and generateSeries . They were added by mistake here: #59390 . #71091 ( Alexey Milovidov ). Remove StorageExternalDistributed . Closes #70600 . #71176 ( flynn ). The table engines Kafka, NATS and RabbitMQ are now covered by their own grants in the SOURCES hierarchy. Add grants to any non-default database users that create tables with these engine types. #71250 ( Christoph Wurm ). Check the full mutation query before executing it (including subqueries). This prevents accidentally running an invalid query and building up dead mutations that block valid mutations. #71300 ( Christoph Wurm ).
{"source_file": "2024.md"}
[ -0.045878712087869644, -0.00819899421185255, -0.036964017897844315, -0.007518424186855555, -0.08133376389741898, -0.04963500052690506, -0.10919998586177826, 0.050074443221092224, -0.04029243811964989, 0.05056413263082504, 0.06758692115545273, 0.009738374501466751, 0.07977396249771118, -0.0...
1a9ce251-0466-4d60-9094-19aa0d7f0d73
Rename filesystem cache setting skip_download_if_exceeds_query_cache to filesystem_cache_skip_download_if_exceeds_per_query_cache_write_limit . #71578 ( Kseniia Sumarokova ). Remove support for Enum as well as UInt128 and UInt256 arguments in deltaSumTimestamp . Remove support for Int8 , UInt8 , Int16 , and UInt16 of the second ("timestamp") argument of deltaSumTimestamp . #71790 ( Alexey Milovidov ). When retrieving data directly from a dictionary using Dictionary storage, dictionary table function, or direct SELECT from the dictionary itself, it is now enough to have SELECT permission or dictGet permission for the dictionary. This aligns with previous attempts to prevent ACL bypasses: https://github.com/ClickHouse/ClickHouse/pull/57362 and https://github.com/ClickHouse/ClickHouse/pull/65359. It also makes the latter one backward compatible. #72051 ( Nikita Mikhaylov ). Experimental feature {#experimental-feature} Implement allow_feature_tier as a global switch to disable all experimental / beta features. #71841 #71145 ( Raúl Marín ). Fix possible error No such file or directory due to unescaped special symbols in files for JSON subcolumns. #71182 ( Pavel Kruglov ). Support alter from String to JSON. This PR also changes the serialization of JSON and Dynamic types to new version V2. Old version V1 can be still used by enabling setting merge_tree_use_v1_object_and_dynamic_serialization (can be used during upgrade to be able to rollback the version without issues). #70442 ( Pavel Kruglov ). Implement simple CAST from Map/Tuple/Object to new JSON through serialization/deserialization from JSON string. #71320 ( Pavel Kruglov ). Don't allow Variant/Dynamic types in ORDER BY/GROUP BY/PARTITION BY/PRIMARY KEY by default because it may lead to unexpected results. #69731 ( Pavel Kruglov ). Forbid Dynamic/Variant types in min/max functions to avoid confusion. #71761 ( Pavel Kruglov ). New Feature {#new-feature-1} Added SQL syntax to describe workload and resource management. https://clickhouse.com/docs/operations/workload-scheduling. #69187 ( Sergei Trifonov ). A new data type, BFloat16 , represents 16-bit floating point numbers with 8-bit exponent, sign, and 7-bit mantissa. This closes #44206 . This closes #49937 . #64712 ( Alexey Milovidov ). Add CHECK GRANT query to check whether the current user/role has been granted the specific privilege and whether the corresponding table/column exists in the memory. #68885 ( Unalian ). Add iceberg[S3;HDFS;Azure]Cluster , deltaLakeCluster , hudiCluster table functions. #72045 ( Mikhail Artemenko ). Add ability to set user/password in http_handlers (for dynamic_query_handler / predefined_query_handler ). #70725 ( Azat Khuzhin ). Add support for staleness clause in the ORDER BY WITH FILL operator. #71151 ( Mikhail Artemenko ).
{"source_file": "2024.md"}
[ -0.046423543244600296, 0.019609395414590836, -0.0581975132226944, -0.012660501524806023, -0.028233252465724945, -0.1379804015159607, 0.05321275442838669, -0.010993285104632378, 0.006402389146387577, 0.058592215180397034, 0.08278457075357437, 0.012361335568130016, -0.008280260488390923, -0....
4503fccf-f9e6-4af3-a554-070f2dddff9d
Add support for staleness clause in the ORDER BY WITH FILL operator. #71151 ( Mikhail Artemenko ). Allow each authentication method to have its own expiration date, remove from user entity. #70090 ( Arthur Passos ). Added new functions parseDateTime64 , parseDateTime64OrNull and parseDateTime64OrZero . Compared to the existing function parseDateTime (and variants), they return a value of type DateTime64 instead of DateTime . #71581 ( kevinyhzou ). Performance Improvement {#performance-improvement-1} Optimized memory usage for values of index granularity if granularity is constant for part. Added an ability to always select constant granularity for part (setting use_const_adaptive_granularity ), which helps to ensure that it is always optimized in memory. It helps in large workloads (trillions of rows in shared storage) to avoid constantly growing memory usage by metadata (values of index granularity) of data parts. #71786 ( Anton Popov ). Now we don't copy input blocks columns for join_algorithm = 'parallel_hash' when distribute them between threads for parallel processing. #67782 ( Nikita Taranov ). Optimized Replacing merge algorithm for non-intersecting parts. #70977 ( Anton Popov ). Do not list detached parts from readonly and write-once disks for metrics and system.detached_parts. #71086 ( Alexey Milovidov ). Do not calculate heavy asynchronous metrics by default. The feature was introduced in #40332 , but it isn't good to have a heavy background job that is needed for only a single customer. #71087 ( Alexey Milovidov ). For the plain_rewritable disks: Do not call the object storage API when listing directories, as this may be cost-inefficient. Instead, store the list of filenames in the memory. The trade-offs are increased initial load time and memory required to store filenames. #70823 ( Julia Kartseva ). Improve the performance and accuracy of system.query_metric_log collection interval by reducing the critical region. #71473 ( Pablo Marcos ). Read-in-order optimization via generating virtual rows, so less data would be read during merge sort especially useful when multiple parts exist. #62125 ( Shichao Jin ). Added server setting async_load_system_database that allows the server to start with not fully loaded system database. This helps to start ClickHouse faster if there are many system tables. #69847 ( Sergei Trifonov ). Add --threads parameter to clickhouse-compressor , which allows to compress data in parallel. #70860 ( Alexey Milovidov ). Added a setting prewarm_mark_cache which enables loading of marks to mark cache on inserts, merges, fetches of parts and on startup of the table. #71053 ( Anton Popov ). Shrink to fit index_granularity array in memory to reduce memory footprint for MergeTree table engines family. #71595 ( alesapin ).
{"source_file": "2024.md"}
[ -0.02996736578643322, 0.05120746046304703, -0.027181128039956093, -0.0009647340048104525, 0.006444326136261225, -0.06435525417327881, -0.038102276623249054, 0.019107544794678688, -0.017666885629296303, 0.008730625733733177, 0.001055699191056192, 0.02845449559390545, 0.007922165095806122, -...
72b9f080-901b-42d4-9d1f-c56f1388ddce
Shrink to fit index_granularity array in memory to reduce memory footprint for MergeTree table engines family. #71595 ( alesapin ). Turn off filesystem cache setting boundary_alignment for non-disk read, which improves performance of reading from standalone remote files with caching. #71827 ( Kseniia Sumarokova ). Queries like SELECT * FROM table LIMIT ... used to load part indexes even though they were not used. #71866 ( Alexander Gololobov ). Enable parallel_replicas_local_plan by default. Building a full-fledged local plan on the query initiator improves parallel replicas performance with less resource consumption, provides opportunities to apply more query optimizations. #70171 ( Igor Nikonov ). Improvement {#improvement-1} Allow using clickhouse with a file argument as ch queries.sql . #71589 ( Raúl Marín ). The Vertical format (which is also activated when you end your query with \G ) gets the features of Pretty formats, such as: - highlighting thousand groups in numbers; - printing a readable number tip. #71630 ( Alexey Milovidov ). Push external user roles from query originator to other nodes in cluster. Helpful when only originator has access to the external authenticator (like LDAP). #70332 ( Andrey Zvonov ). Added aliases anyRespectNulls , firstValueRespectNulls , and anyValueRespectNulls for aggregation function any . Also added aliases anyLastRespectNulls and lastValueRespectNulls for aggregation function anyLast . This allows using more natural camel-case-only syntax rather than mixed camel-case/underscore syntax, for example: SELECT anyLastRespectNullsStateIf instead of anyLast_respect_nullsStateIf . #71403 ( Peter Nguyen ). Added the configuration date_time_utc parameter, enabling JSON log formatting to support UTC date-time in RFC 3339/ISO8601 format. #71560 ( Ali ). Added a new header type for S3 endpoints for user authentication ( access_header ). This allows to get some access header with the lowest priority, which will be overwritten with access_key_id from any other source (for example, a table schema or a named collection). #71011 ( MikhailBurdukov ). Higher-order functions with constant arrays and constant captured arguments will return constants. #58400 ( Alexey Milovidov ). Query plan step names ( EXPLAIN PLAN json=1 ) and pipeline processor names ( EXPLAIN PIPELINE compact=0,graph=1 ) now have a unique id as a suffix. This allows to match processors profiler output and OpenTelemetry traces with explain output. #63518 ( qhsong ). Added option to check if the object exists after writing it to Azure Blob Storage, this is controlled by setting check_objects_after_upload . #64847 ( Smita Kulkarni ). Use Atomic database by default in clickhouse-local . Address items 1 and 5 from #50647 . Closes #44817 . #68024 ( Alexey Milovidov ).
{"source_file": "2024.md"}
[ 0.0008316617459058762, 0.003206319408491254, -0.014302507974207401, 0.042982932180166245, -0.0473477728664875, -0.06017877534031868, -0.046468835324048996, 0.06632594764232635, -0.022572319954633713, 0.05134394019842148, -0.015231086872518063, 0.038422781974077225, 0.015933256596326828, -0...
99b53aa1-37c4-4a9a-8b44-e9637ab9401c
Use Atomic database by default in clickhouse-local . Address items 1 and 5 from #50647 . Closes #44817 . #68024 ( Alexey Milovidov ). Exceptions break the HTTP protocol in order to alert the client about error. #68800 ( Sema Checherinda ). Report hosts running distributed DDL queries by creating replica_dir and mark replicas active in DDLWorker. #69658 ( tuanpach ). Wait only on active replicas for database ON CLUSTER queries if distributed_ddl_output_mode is set to be *_only_active. #69660 ( tuanpach ). Better error-handling and cancellation of ON CLUSTER backups and restores: - If a backup or restore fails on one host then it'll be cancelled on other hosts automatically - No weird errors must be produced because some hosts failed while other hosts continued their work - If a backup or restore is cancelled on one host then it'll be cancelled on other hosts automatically - Fix issues with test_disallow_concurrency - now disabling of concurrency must work better - Backups and restores now are much more resistant to ZooKeeper disconnects. #70027 ( Vitaly Baranov ). Support ALTER TABLE ... MODIFY/RESET SETTING ... for certain settings in storage S3Queue. #70811 ( Kseniia Sumarokova ). Added the ability to reload client certificates in the same way as the procedure for reloading server certificates. #70997 ( Roman Antonov ). Make the client history size configurable and increase its default size. #71014 ( Jiří Kozlovský ). Boolean types support for the parquet native reader. #71055 ( Arthur Passos ). Retry more errors when interacting with S3, such as "Malformed message". #71088 ( Alexey Milovidov ). Lower log level for some messages about S3. #71090 ( Alexey Milovidov ). Support writing HDFS files with spaces. #71105 ( exmy ). Added settings limiting the number of replicated tables, dictionaries and views. #71179 ( Kirill ). Use AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE instead of AWS_CONTAINER_AUTHORIZATION_TOKEN if former is available. Fixes #71074 . #71269 ( Konstantin Bogdanov ). Remove the metadata_version ZooKeeper node creation from ReplicatedMergeTree restarting thread. The only scenario where we need to create this node is when the user updated from a version earlier than 20.4 straight to one later than 24.10. ClickHouse does not support upgrades that span more than a year, so we should throw an exception and ask the user to update gradually, instead of creating the node. #71385 ( Miсhael Stetsyuk ). Add per host dashboards Overview (host) and Cloud overview (host) to advanced dashboard. #71422 ( alesapin ). clickhouse-local uses implicit SELECT by default, which allows to use it as a calculator. Improve the syntax highlighting for the implicit SELECT mode. #71620 ( Alexey Milovidov ). The command line applications will highlight syntax even for multi-statements. #71622 ( Alexey Milovidov ).
{"source_file": "2024.md"}
[ -0.036431677639484406, -0.05872807651758194, 0.0032757604494690895, 0.0367792546749115, -0.0023506705183535814, -0.08234541863203049, -0.06198917329311371, -0.07622017711400986, -0.06507182866334915, 0.022243373095989227, 0.007896519266068935, -0.01203550398349762, 0.06234319135546684, -0....
5c0650ee-49c7-48a7-a21c-3e4c7689a1f9
The command line applications will highlight syntax even for multi-statements. #71622 ( Alexey Milovidov ). Command-line applications will return non-zero exit codes on errors. In previous versions, the disks application returned zero on errors, and other applications returned zero for errors 256 ( PARTITION_ALREADY_EXISTS ) and 512 ( SET_NON_GRANTED_ROLE ). #71623 ( Alexey Milovidov ). When user/group is given as ID, the clickhouse su fails. This patch fixes it to accept UID:GID as well. #71626 ( Mikhail f. Shiryaev ). Allow to disable memory buffer increase for filesystem cache via setting filesystem_cache_prefer_bigger_buffer_size . #71640 ( Kseniia Sumarokova ). Add a separate setting background_download_max_file_segment_size for background download max file segment size in filesystem cache. #71648 ( Kseniia Sumarokova ). Slightly better JSON type parsing: if current block for the JSON path contains values of several types, try to choose the best type by trying types in special best-effort order. #71785 ( Pavel Kruglov ). Previously reading from system.asynchronous_metrics would wait for concurrent update to finish. This can take long time if system is under heavy load. With this change the previously collected values can always be read. #71798 ( Alexander Gololobov ). S3Queue and AzureQueue: Set polling_max_timeout_ms to 10 minutes, polling_backoff_ms to 30 seconds. #71817 ( Kseniia Sumarokova ). Update HostResolver three times in a history period. #71863 ( Sema Checherinda ). On the advanced dashboard HTML page added a dropdown selector for the dashboard from system.dashboards table. #72081 ( Sergei Trifonov ). Check if default database is present after authorization. Fixes #71097 . #71140 ( Konstantin Bogdanov ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-1} The parts deduplicated during ATTACH PART query don't get stuck with the attaching_ prefix anymore. #65636 ( Kirill ). Fix for the bug when DateTime64 losing precision for the IN function. #67230 ( Yarik Briukhovetskyi ). Fix possible logical error when using functions with IGNORE/RESPECT NULLS in ORDER BY ... WITH FILL , close #57609 . #68234 ( Vladimir Cherkasov ). Fixed rare logical errors in asynchronous inserts with format Native in case of reached memory limit. #68965 ( Anton Popov ). Fix COMMENT in CREATE TABLE for EPHEMERAL column. #70458 ( Yakov Olkhovskiy ). Fix logical error in JSONExtract with LowCardinality(Nullable). #70549 ( Pavel Kruglov ). Allow system drop replica zkpath when there is another replica with the same zk path. #70642 ( MikhailBurdukov ). Fix a crash and a leak in AggregateFunctionGroupArraySorted. #70820 ( Michael Kolupaev ). Add ability to override Content-Type by user headers in the URL engine. #70859 ( Artem Iurin ).
{"source_file": "2024.md"}
[ -0.01285148411989212, -0.00589485140517354, -0.022006740793585777, -0.008321736939251423, -0.015739357098937035, -0.09386216849088669, -0.011718413792550564, 0.08111918717622757, -0.05302749201655388, 0.03339352831244469, 0.05832095071673393, 0.0329960435628891, -0.012064673006534576, 0.00...
67b24b62-8ae0-4039-bdbf-89b250f4a288
Fix a crash and a leak in AggregateFunctionGroupArraySorted. #70820 ( Michael Kolupaev ). Add ability to override Content-Type by user headers in the URL engine. #70859 ( Artem Iurin ). Fix logical error in StorageS3Queue "Cannot create a persistent node in /processed since it already exists". #70984 ( Kseniia Sumarokova ). Fixed named sessions not being closed and hanging on forever under certain circumstances. #70998 ( Márcio Martins ). Fix the bug that didn't consider _row_exists column in rebuild option of projection lightweight delete. #71089 ( Shichao Jin ). Fix AT_* is out of range problem when running on Oracle Linux UEK 6.10. #71109 ( Örjan Fors ). Fix wrong value in system.query_metric_log due to unexpected race condition. #71124 ( Pablo Marcos ). Fix mismatched aggreage function name of quantileExactWeightedInterpolated. The bug was introduced in https://github.com/ClickHouse/ClickHouse/pull/69619. cc @Algunenano. #71168 ( 李扬 ). Fix bad_weak_ptr exception with Dynamic in functions comparison. #71183 ( Pavel Kruglov ). Checks that read 7z file is on a local machine. #71184 ( Daniil Ivanik ). Fix ignoring format settings in Native format via HTTP and Async Inserts. #71193 ( Pavel Kruglov ). SELECT queries run with setting use_query_cache = 1 are no longer rejected if the name of a system table appears as a literal, e.g. SELECT * FROM users WHERE name = 'system.metrics' SETTINGS use_query_cache = true; now works. #71254 ( Robert Schulze ). Fix bug of memory usage increase if enable_filesystem_cache=1, but disk in storage configuration did not have any cache configuration. #71261 ( Kseniia Sumarokova ). Fix possible error "Cannot read all data" erros during deserialization of LowCardinality dictionary from Dynamic column. #71299 ( Pavel Kruglov ). Fix incomplete cleanup of parallel output format in the client. #71304 ( Raúl Marín ). Added missing unescaping in named collections. Without fix clickhouse-server can't start. #71308 ( MikhailBurdukov ). Fix async inserts with empty blocks via native protocol. #71312 ( Anton Popov ). Fix inconsistent AST formatting when granting wrong wildcard grants #71309 . #71332 ( pufit ). Add try/catch to data parts destructors to avoid std::terminate. #71364 ( alesapin ). Check suspicious and experimental types in JSON type hints. #71369 ( Pavel Kruglov ). Start memory worker thread on non-Linux OS too (fixes #71051 ). #71384 ( Alexandre Snarskii ). Fix error Invalid number of rows in Chunk with the Variant column. #71388 ( Pavel Kruglov ). Fix error column "attgenerated" does not exist for older PostgreSQL versions, fix #60651 . #71396 ( 0xMihalich ). To avoid spamming the server logs, failing authentication attempts are now logged at level DEBUG instead of ERROR . #71405 ( Robert Schulze ).
{"source_file": "2024.md"}
[ -0.09918321669101715, -0.021525997668504715, -0.03851166367530823, 0.05841623246669769, -0.005382869392633438, -0.06441058963537216, 0.007605122867971659, -0.013018167577683926, -0.017806997522711754, 0.05381551384925842, 0.010962462984025478, -0.04162709042429924, 0.008268725126981735, -0...
2ad4504c-91ae-4f36-8dd0-b4ea41ac1c2d
To avoid spamming the server logs, failing authentication attempts are now logged at level DEBUG instead of ERROR . #71405 ( Robert Schulze ). Fix crash in mongodb table function when passing wrong arguments (e.g. NULL ). #71426 ( Vladimir Cherkasov ). Fix crash with optimize_rewrite_array_exists_to_has. #71432 ( Raúl Marín ). Fixed the usage of setting max_insert_delayed_streams_for_parallel_write in inserts. Previously it worked incorrectly which could lead to high memory usage in inserts which write data into several partitions. #71474 ( Anton Popov ). Fix possible error Argument for function must be constant (old analyzer) in case when arrayJoin can apparently appear in WHERE condition. Regression after https://github.com/ClickHouse/ClickHouse/pull/65414. #71476 ( Nikolai Kochetov ). Prevent crash in SortCursor with 0 columns (old analyzer). #71494 ( Raúl Marín ). Fix Date32 out of range caused by uninitialized ORC data. For more details, refer to https://github.com/apache/incubator-gluten/issues/7823. #71500 ( 李扬 ). Fix counting column size in wide part for Dynamic and JSON types. #71526 ( Pavel Kruglov ). Analyzer fix when query inside materialized view uses IN with CTE. Closes #65598 . #71538 ( Maksim Kita ). Avoid crash when using a UDF in a constraint. #71541 ( Raúl Marín ). Return 0 or default char instead of throwing an error in bitShift functions in case of out of bounds. #71580 ( Pablo Marcos ). Fix server crashes while using materialized view with certain engines. #71593 ( Pervakov Grigorii ). Array join with a nested data structure, which contains an alias to a constant array was leading to a null pointer dereference. This closes #71677 . #71678 ( Alexey Milovidov ). Fix LOGICAL_ERROR when doing ALTER with empty tuple. This fixes #71647 . #71679 ( Amos Bird ). Don't transform constant set in predicates over partition columns in case of NOT IN operator. #71695 ( Eduard Karacharov ). Fix docker init script fail log message for more clean understanding. #71734 ( Андрей ). Fix CAST from LowCardinality(Nullable) to Dynamic. Previously it could lead to error Bad cast from type DB::ColumnVector<int> to DB::ColumnNullable . #71742 ( Pavel Kruglov ). Fix exception for toDayOfWeek on WHERE condition with primary key of DateTime64 type. #71849 ( Yakov Olkhovskiy ). Fixed filling of defaults after parsing into sparse columns. #71854 ( Anton Popov ). Fix GROUPING function error when input is ALIAS on distributed table, close #68602 . #71855 ( Vladimir Cherkasov ). Fix possible crash when using allow_experimental_join_condition , close #71693 . #71857 ( Vladimir Cherkasov ). Fixed select statements that use WITH TIES clause which might not return enough rows. #71886 ( wxybear ). Fix the TOO_LARGE_ARRAY_SIZE exception caused when a column of arrayWithConstant evaluation is mistaken to cross the array size limit. #71894 ( Udi ).
{"source_file": "2024.md"}
[ 0.009785197675228119, 0.01416567713022232, 0.015883611515164375, 0.04860933497548103, -0.012805008329451084, -0.04128536209464073, -0.08169013261795044, 0.028994297608733177, -0.00699053518474102, 0.09936443716287613, -0.040794555097818375, 0.0024519036523997784, -0.0038529366720467806, 0....
586ac1e3-7455-4082-b012-c97ce609da11
Fix the TOO_LARGE_ARRAY_SIZE exception caused when a column of arrayWithConstant evaluation is mistaken to cross the array size limit. #71894 ( Udi ). clickhouse-benchmark reported wrong metrics for queries taking longer than one second. #71898 ( Alexey Milovidov ). Fix data race between the progress indicator and the progress table in clickhouse-client. This issue is visible when FROM INFILE is used. Intercept keystrokes during INSERT queries to toggle progress table display. #71901 ( Julia Kartseva ). Use auxiliary keepers for cluster autodiscovery. #71911 ( Anton Ivashkin ). Fix rows_processed column in system.s3/azure_queue_log broken in 24.6. Closes #69975 . #71946 ( Kseniia Sumarokova ). Fixed case when s3 / s3Cluster functions could return incomplete result or throw an exception. It involved using glob pattern in s3 uri (like pattern/* ) and an empty object should exist with the key pattern/ (such objects automatically created by S3 Console). Also default value for setting s3_skip_empty_files changed from false to true by default. #71947 ( Nikita Taranov ). Fix a crash in clickhouse-client syntax highlighting. Closes #71864 . #71949 ( Nikolay Degterinsky ). Fix Illegal type error for MergeTree tables with binary monotonic function in ORDER BY when the first argument is constant. Fixes #71941 . #71966 ( Nikolai Kochetov ). Allow only SELECT queries in EXPLAIN AST used inside subquery. Other types of queries lead to logical error: 'Bad cast from type DB::ASTCreateQuery to DB::ASTSelectWithUnionQuery' or Inconsistent AST formatting . #71982 ( Pavel Kruglov ). When insert a record by clickhouse-client , client will read column descriptions from server. but there was a bug that we wrote the descritions with a wrong order , it should be [statistics, ttl, settings]. #71991 ( Han Fei ). Fix formatting of MOVE PARTITION ... TO TABLE ... alter commands when format_alter_commands_with_parentheses is enabled. #72080 ( János Benjamin Antal ). Fixes RIGHT / FULL joins in queries with parallel replicas. Now, RIGHT joins can be executed with parallel replicas (right table reading is distributed). FULL joins can't be parallelized among nodes, - executed locally. #71162 ( Igor Nikonov ). Fix the issue where ClickHouse in Docker containers printed "get_mempolicy: Operation not permitted" into stderr due to restricted syscalls. #70900 ( filimonov ). Fix the metadata_version record in ZooKeeper in restarting thread rather than in attach thread. #70297 ( Miсhael Stetsyuk ). This is a fix for "zero-copy" replication, which is unsupported and will be removed entirely. Don't delete a blob when there are nodes using it in ReplicatedMergeTree with zero-copy replication. #71186 ( Antonio Andelic ).
{"source_file": "2024.md"}
[ -0.00405115308240056, -0.04906393215060234, -0.09002231061458588, 0.008605237118899822, -0.00804342795163393, -0.03352377563714981, 0.0032559994142502546, -0.09696707129478455, 0.003690577344968915, 0.0883711650967598, -0.015066711232066154, 0.000791465281508863, 0.023082228377461433, -0.0...
2609dd63-55cf-4bd2-8d4f-685d1cc5697d
This is a fix for "zero-copy" replication, which is unsupported and will be removed entirely. Acquiring zero-copy shared lock before moving a part to zero-copy disk to prevent possible data loss if Keeper is unavailable. #71845 ( Aleksei Filatov ). ClickHouse release 24.10, 2024-10-31 {#a-id2410a-clickhouse-release-2410-2024-10-31} Backward Incompatible Change {#backward-incompatible-change-2} Allow to write SETTINGS before FORMAT in a chain of queries with UNION when subqueries are inside parentheses. This closes #39712 . Change the behavior when a query has the SETTINGS clause specified twice in a sequence. The closest SETTINGS clause will have a preference for the corresponding subquery. In the previous versions, the outermost SETTINGS clause could take a preference over the inner one. #68614 ( Alexey Milovidov ). Reordering of filter conditions from [PRE]WHERE clause is now allowed by default. It could be disabled by setting allow_reorder_prewhere_conditions to false . #70657 ( Nikita Taranov ). Remove the idxd-config library, which has an incompatible license. This also removes the experimental Intel DeflateQPL codec. #70987 ( Alexey Milovidov ). New Feature {#new-feature-2} Allow to grant access to the wildcard prefixes. GRANT SELECT ON db.table_pefix_* TO user . #65311 ( pufit ). If you press space bar during query runtime, the client will display a real-time table with detailed metrics. You can enable it globally with the new --progress-table option in clickhouse-client; a new --enable-progress-table-toggle is associated with the --progress-table option, and toggles the rendering of the progress table by pressing the control key (Space). #63689 ( Maria Khristenko ), #70423 ( Julia Kartseva ). Allow to cache read files for object storage table engines and data lakes using hash from ETag + file path as cache key. #70135 ( Kseniia Sumarokova ). Support creating a table with a query: CREATE TABLE ... CLONE AS ... . It clones the source table's schema and then attaches all partitions to the newly created table. This feature is only supported with tables of the MergeTree family Closes #65015 . #69091 ( tuanpach ). Add a new system table, system.query_metric_log which contains history of memory and metric values from table system.events for individual queries, periodically flushed to disk. #66532 ( Pablo Marcos ). A simple SELECT query can be written with implicit SELECT to enable calculator-style expressions, e.g., ch "1 + 2" . This is controlled by a new setting, implicit_select . #68502 ( Alexey Milovidov ). Support the --copy mode for clickhouse local as a shortcut for format conversion #68503 . #68583 ( Denis Hananein ). Add a builtin HTML page for visualizing merges which is available at the /merges path. #70821 ( Alexey Milovidov ). Add support for arrayUnion function. #68989 ( Peter Nguyen ).
{"source_file": "2024.md"}
[ -0.0612313374876976, -0.024948926642537117, 0.029299983754754066, 0.010383637621998787, -0.08710817247629166, 0.008916560560464859, 0.0070439535193145275, -0.0653005838394165, -0.010614783503115177, 0.055740777403116226, 0.0338510200381279, -0.011721626855432987, 0.08819299191236496, -0.04...
545b5a2b-9ebe-43a4-9959-a0c8e24cb607
Add a builtin HTML page for visualizing merges which is available at the /merges path. #70821 ( Alexey Milovidov ). Add support for arrayUnion function. #68989 ( Peter Nguyen ). Allow parametrised SQL aliases. #50665 ( Anton Kozlov ). A new aggregate function quantileExactWeightedInterpolated , which is a interpolated version based on quantileExactWeighted. Some people may wonder why we need a new quantileExactWeightedInterpolated since we already have quantileExactInterpolatedWeighted . The reason is the new one is more accurate than the old one. This is for spark compatibility. #69619 ( 李扬 ). A new function arrayElementOrNull . It returns NULL if the array index is out of range or a Map key not found. #69646 ( 李扬 ). Allows users to specify regular expressions through new message_regexp and message_regexp_negative fields in the config.xml file to filter out logging. The logging is applied to the formatted un-colored text for the most intuitive developer experience. #69657 ( Peter Nguyen ). Added RIPEMD160 function, which computes the RIPEMD-160 cryptographic hash of a string. Example: SELECT HEX(RIPEMD160('The quick brown fox jumps over the lazy dog')) returns 37F332F68DB77BD9D7EDD4969571AD671CF9DD3B . #70087 ( Dergousov Maxim ). Support reading Iceberg tables on HDFS . #70268 ( flynn ). Support for CTE in the form of WITH ... INSERT , as previously we only supported INSERT ... WITH ... . #70593 ( Shichao Jin ). MongoDB integration: support for all MongoDB types, support for WHERE and ORDER BY statements on MongoDB side, restriction for expressions unsupported by MongoDB. Note that the new inegration is disabled by default, to use it, please set <use_legacy_mongodb_integration> to false in server config. #63279 ( Kirill Nikiforov ). A new function getSettingOrDefault added to return the default value and avoid exception if a custom setting is not found in the current profile. #69917 ( Shankar ). Experimental feature {#experimental-feature-1} Refreshable materialized views are production ready. #70550 ( Michael Kolupaev ). Refreshable materialized views are now supported in Replicated databases. #60669 ( Michael Kolupaev ). Parallel replicas are moved from experimental to beta. Reworked settings that control the behavior of parallel replicas algorithms. A quick recap: ClickHouse has four different algorithms for parallel reading involving multiple replicas, which is reflected in the setting parallel_replicas_mode , the default value for it is read_tasks Additionally, the toggle-switch setting enable_parallel_replicas has been added. #63151 ( Alexey Milovidov ), ( Nikita Mikhaylov ). Support for the Dynamic type in most functions by executing them on internal types inside Dynamic . #69691 ( Pavel Kruglov ).
{"source_file": "2024.md"}
[ -0.061646465212106705, -0.002780021633952856, 0.006565496325492859, -0.0025627093855291605, -0.018492063507437706, -0.025396546348929405, 0.046097803860902786, 0.034872379153966904, -0.013036290183663368, -0.043992288410663605, 0.005997455213218927, 0.004128015600144863, -0.03718459606170654...
686addc3-eb0a-4dc1-959a-ea388f7c059f
Support for the Dynamic type in most functions by executing them on internal types inside Dynamic . #69691 ( Pavel Kruglov ). Allow to read/write the JSON type as a binary string in RowBinary format under settings input_format_binary_read_json_as_string/output_format_binary_write_json_as_string . #70288 ( Pavel Kruglov ). Allow to serialize/deserialize JSON column as single String column in the Native format. For output use setting output_format_native_write_json_as_string . For input, use serialization version 1 before the column data. #70312 ( Pavel Kruglov ). Introduced a special (experimental) mode of a merge selector for MergeTree tables which makes it more aggressive for the partitions that are close to the limit by the number of parts. It is controlled by the merge_selector_use_blurry_base MergeTree-level setting. #70645 ( Nikita Mikhaylov ). Implement generic ser/de between Avro's Union and ClickHouse's Variant types. Resolves #69713 . #69712 ( Jiří Kozlovský ). Performance Improvement {#performance-improvement-2} Refactor IDisk and IObjectStorage for better performance. Tables from plain and plain_rewritable object storages will initialize faster. #68146 ( Alexey Milovidov , Julia Kartseva ). Do not call the LIST object storage API when determining if a file or directory exists on the plain rewritable disk, as it can be cost-inefficient. #70852 ( Julia Kartseva ). Reduce the number of object storage HEAD API requests in the plain_rewritable disk. #70915 ( Julia Kartseva ). Added an ability to parse data directly into sparse columns. #69828 ( Anton Popov ). Improved performance of parsing formats with high number of missed values (e.g. JSONEachRow ). #69875 ( Anton Popov ). Supports parallel reading of parquet row groups and prefetching of row groups in single-threaded mode. #69862 ( LiuNeng ). Support minmax index for pointInPolygon . #62085 ( JackyWoo ). Use bloom filters when reading Parquet files. #62966 ( Arthur Passos ). Lock-free parts rename to avoid INSERT affect SELECT (due to parts lock) (under normal circumstances with fsync_part_directory , QPS of SELECT with INSERT in parallel, increased 2x, under heavy load the effect is even bigger). Note, this only includes ReplicatedMergeTree for now. #64955 ( Azat Khuzhin ). Respect ttl_only_drop_parts on materialize ttl ; only read necessary columns to recalculate TTL and drop parts by replacing them with an empty one. #65488 ( Andrey Zvonov ). Optimized thread creation in the ThreadPool to minimize lock contention. Thread creation is now performed outside of the critical section to avoid delays in job scheduling and thread management under high load conditions. This leads to a much more responsive ClickHouse under heavy concurrent load. #68694 ( filimonov ). Enable reading LowCardinality string columns from ORC . #69481 ( 李扬 ).
{"source_file": "2024.md"}
[ -0.006007691845297813, -0.01918909326195717, -0.02272026054561138, -0.007870173081755638, -0.11540493369102478, -0.07119311392307281, -0.03679456189274788, 0.12836815416812897, -0.05470898002386093, -0.002543551614508033, -0.015950025990605354, 0.010573038831353188, -0.029088450595736504, ...
c0118e0d-0dea-4185-b0ac-7c63a19e8c21
Enable reading LowCardinality string columns from ORC . #69481 ( 李扬 ). Use LowCardinality for ProfileEvents in system logs such as part_log , query_views_log , filesystem_cache_log . #70152 ( Alexey Milovidov ). Improve performance of fromUnixTimestamp / toUnixTimestamp functions. #71042 ( kevinyhzou ). Don't disable nonblocking read from page cache for the entire server when reading from a blocking I/O. This was leading to a poorer performance when a single filesystem (e.g., tmpfs) didn't support the preadv2 syscall while others do. #70299 ( Antonio Andelic ). ALTER TABLE .. REPLACE PARTITION doesn't wait anymore for mutations/merges that happen in other partitions. #59138 ( Vasily Nemkov ). Don't do validation when synchronizing ACL from Keeper. It's validating during creation. It shouldn't matter that much, but there are installations with tens of thousands or even more user created, and the unnecessary hash validation can take a long time to finish during server startup (it synchronizes everything from keeper). #70644 ( Raúl Marín ). Improvement {#improvement-2} CREATE TABLE AS will copy PRIMARY KEY , ORDER BY , and similar clauses (of MergeTree tables). #69739 ( sakulali ). Support 64-bit XID in Keeper. It can be enabled with the use_xid_64 configuration value. #69908 ( Antonio Andelic ). Command-line arguments for Bool settings are set to true when no value is provided for the argument (e.g. clickhouse-client --optimize_aggregation_in_order --query "SELECT 1" ). #70459 ( davidtsuk ). Added user-level settings min_free_disk_bytes_to_perform_insert and min_free_disk_perform_to_throw_insert to prevent insertions on disks that are almost full. #69755 ( Marco Vilas Boas ). Embedded documentation for settings will be strictly more detailed and complete than the documentation on the website. This is the first step before making the website documentation always auto-generated from the source code. This has long-standing implications: - it will be guaranteed to have every setting; - there is no chance of having default values obsolete; - we can generate this documentation for each ClickHouse version; - the documentation can be displayed by the server itself even without Internet access. Generate the docs on the website from the source code. #70289 ( Alexey Milovidov ). Allow empty needle in the function replace , the same behavior with PostgreSQL. #69918 ( zhanglistar ). Allow empty needle in functions replaceRegexp* . #70053 ( zhanglistar ). Symbolic links for tables in the data/database_name/ directory are created for the actual paths to the table's data, depending on the storage policy, instead of the store/... directory on the default disk. #61777 ( Kirill ). While parsing an Enum field from JSON , a string containing an integer will be interpreted as the corresponding Enum element. This closes #65119 . #66801 ( scanhex12 ).
{"source_file": "2024.md"}
[ -0.01848546601831913, -0.00467138784006238, -0.047286007553339005, -0.033726517111063004, 0.08169969916343689, -0.08750909566879272, -0.022566771134734154, 0.053191203624010086, 0.04133946821093559, -0.005550888366997242, 0.0462842658162117, -0.010303398594260216, -0.02044500596821308, -0....
e36bb2b5-d771-4d09-9e0d-5ac548b99e25
While parsing an Enum field from JSON , a string containing an integer will be interpreted as the corresponding Enum element. This closes #65119 . #66801 ( scanhex12 ). Allow TRIM -ing LEADING or TRAILING empty string as a no-op. Closes #67792 . #68455 ( Peter Nguyen ). Improve compatibility of cast(timestamp as String) with Spark. #69179 ( Wenzheng Liu ). Always use the new analyzer to calculate constant expressions when enable_analyzer is set to true . Support calculation of executable table function arguments without using SELECT query for constant expressions. #69292 ( Dmitry Novik ). Add a setting enable_secure_identifiers to disallow identifiers with special characters. #69411 ( tuanpach ). Add show_create_query_identifier_quoting_rule to define identifier quoting behavior in the SHOW CREATE TABLE query result. Possible values: - user_display : When the identifiers is a keyword. - when_necessary : When the identifiers is one of {"distinct", "all", "table"} and when it could lead to ambiguity: column names, dictionary attribute names. - always : Always quote identifiers. #69448 ( tuanpach ). Improve restoring of access entities' dependencies #69563 ( Vitaly Baranov ). If you run clickhouse-client or other CLI application, and it starts up slowly due to an overloaded server, and you start typing your query, such as SELECT , the previous versions will display the remaining of the terminal echo contents before printing the greetings message, such as SELECTClickHouse local version 24.10.1.1. instead of ClickHouse local version 24.10.1.1. . Now it is fixed. This closes #31696 . #69856 ( Alexey Milovidov ). Add new column readonly_duration to the system.replicas table. Needed to be able to distinguish actual readonly replicas from sentinel ones in alerts. #69871 ( Miсhael Stetsyuk ). Change the type of join_output_by_rowlist_perkey_rows_threshold setting type to unsigned integer. #69886 ( kevinyhzou ). Enhance OpenTelemetry span logging to include query settings. #70011 ( sharathks118 ). Add diagnostic info about higher-order array functions if lambda result type is unexpected. #70093 ( ttanay ). Keeper improvement: less locking during cluster changes. #70275 ( Antonio Andelic ). Add WITH IMPLICIT and FINAL keywords to the SHOW GRANTS command. Fix a minor bug with implicit grants: #70094 . #70293 ( pufit ). Respect compatibility for MergeTree settings. The compatibility value is taken from the default profile on server startup, and default MergeTree settings are changed accordingly. Further changes of the compatibility setting do not affect MergeTree settings. #70322 ( Nikolai Kochetov ). Avoid spamming the logs with large HTTP response bodies in case of errors during inter-server communication. #70487 ( Vladimir Cherkasov ).
{"source_file": "2024.md"}
[ -0.009120265021920204, 0.014072569087147713, -0.017181064933538437, 0.010309269651770592, -0.005931355524808168, -0.014098345302045345, 0.0066475048661231995, 0.052459124475717545, -0.05116986855864525, -0.0015252245357260108, -0.003306708065792918, -0.0852227509021759, -0.04553413391113281,...
8902ce58-40a0-4da2-ad2e-129bef8efed6
Avoid spamming the logs with large HTTP response bodies in case of errors during inter-server communication. #70487 ( Vladimir Cherkasov ). Added a new setting max_parts_to_move to control the maximum number of parts that can be moved at once. #70520 ( Vladimir Cherkasov ). Limit the frequency of certain log messages. #70601 ( Alexey Milovidov ). CHECK TABLE with PART qualifier was incorrectly formatted in the client. #70660 ( Alexey Milovidov ). Support writing the column index and the offset index using parquet native writer. #70669 ( LiuNeng ). Support parsing DateTime64 for microsecond and timezone in joda syntax ("joda" is a popular Java library for date and time, and the "joda syntax" is that library's style). #70737 ( kevinyhzou ). Changed an approach to figure out if a cloud storage supports batch delete or not. #70786 ( Vitaly Baranov ). Support for Parquet page v2 in the native reader. #70807 ( Arthur Passos ). A check if table has both storage_policy and disk set. A check if a new storage policy is compatible with an old one when using disk setting is added. #70839 ( Kirill ). Add system.s3_queue_settings and system.azure_queue_settings . #70841 ( Kseniia Sumarokova ). Functions base58Encode and base58Decode now accept arguments of type FixedString . Example: SELECT base58Encode(toFixedString('plaintext', 9)); . #70846 ( Faizan Patel ). Add the partition column to every entry type of the part log. Previously, it was set only for some entries. This closes #70819 . #70848 ( Alexey Milovidov ). Add MergeStart and MutateStart events into system.part_log which helps with merges analysis and visualization. #70850 ( Alexey Milovidov ). Add a profile event about the number of merged source parts. It allows the monitoring of the fanout of the merge tree in production. #70908 ( Alexey Milovidov ). Background downloads to the filesystem cache were enabled back. #70929 ( Nikita Taranov ). Add a new merge selector algorithm, named Trivial , for professional usage only. It is worse than the Simple merge selector. #70969 ( Alexey Milovidov ). Support for atomic CREATE OR REPLACE VIEW . #70536 ( tuanpach ) Added strict_once mode to aggregate function windowFunnel to avoid counting one event several times in case it matches multiple conditions, close #21835 . #69738 ( Vladimir Cherkasov ). Bug Fix (user-visible misbehavior in an official stable release) {#bug-fix-user-visible-misbehavior-in-an-official-stable-release-2} Apply configuration updates in global context object. It fixes issues like #62308 . #62944 ( Amos Bird ). Fix ReadSettings not using user set values, because defaults were only used. #65625 ( Kseniia Sumarokova ). Fix type mismatch issue in sumMapFiltered when using signed arguments. #58408 ( Chen768959 ).
{"source_file": "2024.md"}
[ 0.0092286616563797, 0.017838560044765472, -0.03567688912153244, -0.05896341800689697, -0.0054055629298090935, -0.09157223999500275, -0.04553333669900894, 0.005351956933736801, -0.002961377613246441, 0.061001356691122055, 0.003843706799671054, 0.015089670196175575, -0.01260916143655777, -0....
ea294c69-964a-4de4-869e-9a4a06de889e
Fix type mismatch issue in sumMapFiltered when using signed arguments. #58408 ( Chen768959 ). Fix toHour-like conversion functions' monotonicity when optional time zone argument is passed. #60264 ( Amos Bird ). Relax supportsPrewhere check for Merge tables. This fixes #61064 . It was hardened unnecessarily in #60082 . #61091 ( Amos Bird ). Fix use_concurrency_control setting handling for proper concurrent_threads_soft_limit_num limit enforcing. This enables concurrency control by default because previously it was broken. #61473 ( Sergei Trifonov ). Fix incorrect JOIN ON section optimization in case of IS NULL check under any other function (like NOT ) that may lead to wrong results. Closes #67915 . #68049 ( Vladimir Cherkasov ). Prevent ALTER queries that would make the CREATE query of tables invalid. #68574 ( János Benjamin Antal ). Fix inconsistent AST formatting for negate ( - ) and NOT functions with tuples and arrays. #68600 ( Vladimir Cherkasov ). Fix insertion of incomplete type into Dynamic during deserialization. It could lead to Parameter out of bound errors. #69291 ( Pavel Kruglov ). Zero-copy replication, which is experimental and should not be used in production: fix inf loop after restore replica in the replicated merge tree with zero copy. #69293 ( MikhailBurdukov ). Return back default value of processing_threads_num as number of cpu cores in storage S3Queue . #69384 ( Kseniia Sumarokova ). Bypass try/catch flow when de/serializing nested repeated protobuf to nested columns (fixes #41971 ). #69556 ( Eliot Hautefeuille ). Fix crash during insertion into FixedString column in PostgreSQL engine. #69584 ( Pavel Kruglov ). Fix crash when executing create view t as (with recursive 42 as ttt select ttt); . #69676 ( Han Fei ). Fixed maxMapState throwing 'Bad get' if value type is DateTime64. #69787 ( Michael Kolupaev ). Fix getSubcolumn with LowCardinality columns by overriding useDefaultImplementationForLowCardinalityColumns to return true . #69831 ( Miсhael Stetsyuk ). Fix permanent blocked distributed sends if a DROP of distributed table failed. #69843 ( Azat Khuzhin ). Fix non-cancellable queries containing WITH FILL with NaN keys. This closes #69261 . #69845 ( Alexey Milovidov ). Fix analyzer default with old compatibility value. #69895 ( Raúl Marín ). Don't check dependencies during CREATE OR REPLACE VIEW during DROP of old table. Previously CREATE OR REPLACE query failed when there are dependent tables of the recreated view. #69907 ( Pavel Kruglov ). Something for Decimal. Fixes #69730 . #69978 ( Arthur Passos ). Now DEFINER/INVOKER will work with parameterized views. #69984 ( pufit ). Fix parsing for view's definers. #69985 ( pufit ). Fixed a bug when the timezone could change the result of the query with a Date or Date32 arguments. #70036 ( Yarik Briukhovetskyi ).
{"source_file": "2024.md"}
[ -0.011886236257851124, -0.013126786798238754, 0.040893685072660446, 0.02527921088039875, -0.052980098873376846, -0.07696584612131119, -0.016098875552415848, 0.022543970495462418, -0.06679865717887878, 0.009575219824910164, -0.011952580884099007, -0.08458967506885529, -0.033022440969944, -0...
069d336a-71fc-42c7-85a9-36870d93688d
Fix parsing for view's definers. #69985 ( pufit ). Fixed a bug when the timezone could change the result of the query with a Date or Date32 arguments. #70036 ( Yarik Briukhovetskyi ). Fixes Block structure mismatch for queries with nested views and WHERE condition. Fixes #66209 . #70054 ( Nikolai Kochetov ). Avoid reusing columns among different named tuples when evaluating tuple functions. This fixes #70022 . #70103 ( Amos Bird ). Fix wrong LOGICAL_ERROR when replacing literals in ranges. #70122 ( Pablo Marcos ). Check for Nullable(Nothing) type during ALTER TABLE MODIFY COLUMN/QUERY to prevent tables with such data type. #70123 ( Pavel Kruglov ). Proper error message for illegal query JOIN ... ON * , close #68650 . #70124 ( Vladimir Cherkasov ). Fix wrong result with skipping index. #70127 ( Raúl Marín ). Fix data race in ColumnObject/ColumnTuple decompress method that could lead to heap use after free. #70137 ( Pavel Kruglov ). Fix possible hung in ALTER COLUMN with Dynamic type. #70144 ( Pavel Kruglov ). Now ClickHouse will consider more errors as retriable and will not mark data parts as broken in case of such errors. #70145 ( alesapin ). Use correct max_types parameter during Dynamic type creation for JSON subcolumn. #70147 ( Pavel Kruglov ). Fix the password being displayed in system.query_log for users with bcrypt password authentication method. #70148 ( Nikolay Degterinsky ). Fix event counter for the native interface (InterfaceNativeSendBytes). #70153 ( Yakov Olkhovskiy ). Fix possible crash related to JSON columns. #70172 ( Pavel Kruglov ). Fix multiple issues with arrayMin and arrayMax. #70207 ( Raúl Marín ). Respect setting allow_simdjson in the JSON type parser. #70218 ( Pavel Kruglov ). Fix a null pointer dereference on creating a materialized view with two selects and an INTERSECT , e.g. CREATE MATERIALIZED VIEW v0 AS (SELECT 1) INTERSECT (SELECT 1); . #70264 ( Konstantin Bogdanov ). Don't modify global settings with startup scripts. Previously, changing a setting in a startup script would change it globally. #70310 ( Antonio Andelic ). Fix ALTER of Dynamic type with reducing max_types parameter that could lead to server crash. #70328 ( Pavel Kruglov ). Fix crash when using WITH FILL incorrectly. #70338 ( Raúl Marín ). Fix possible use-after-free in SYSTEM DROP FORMAT SCHEMA CACHE FOR Protobuf . #70358 ( Azat Khuzhin ). Fix crash during GROUP BY JSON sub-object subcolumn. #70374 ( Pavel Kruglov ). Don't prefetch parts for vertical merges if part has no rows. #70452 ( Antonio Andelic ). Fix crash in WHERE with lambda functions. #70464 ( Raúl Marín ). Fix table creation with CREATE ... AS table_function(...) with database Replicated and unavailable table function source on secondary replica. #70511 ( Kseniia Sumarokova ).
{"source_file": "2024.md"}
[ -0.007415750529617071, -0.03331587091088295, -0.011907141655683517, 0.007839052937924862, -0.028462151065468788, 0.015894703567028046, -0.022532938048243523, 0.002231920138001442, -0.08095856755971909, 0.030585233122110367, 0.0069479565136134624, -0.09574845433235168, -0.04297996312379837, ...
bbfe3c5c-7046-46b6-937b-d5a6d01b36be
Fix table creation with CREATE ... AS table_function(...) with database Replicated and unavailable table function source on secondary replica. #70511 ( Kseniia Sumarokova ). Ignore all output on async insert with wait_for_async_insert=1 . Closes #62644 . #70530 ( Konstantin Bogdanov ). Ignore frozen_metadata.txt while traversing shadow directory from system.remote_data_paths. #70590 ( Aleksei Filatov ). Fix creation of stateful window functions on misaligned memory. #70631 ( Raúl Marín ). Fixed rare crashes in SELECT -s and merges after adding a column of Array type with non-empty default expression. #70695 ( Anton Popov ). Insert into table function s3 will respect query settings. #70696 ( Vladimir Cherkasov ). Fix infinite recursion when inferring a protobuf schema when skipping unsupported fields is enabled. #70697 ( Raúl Marín ). Disable enable_named_columns_in_function_tuple by default. #70833 ( Raúl Marín ). Fix S3Queue table engine setting processing_threads_num not being effective in case it was deduced from the number of cpu cores on the server. #70837 ( Kseniia Sumarokova ). Normalize named tuple arguments in aggregation states. This fixes #69732 . #70853 ( Amos Bird ). Fix a logical error due to negative zeros in the two-level hash table. This closes #70973 . #70979 ( Alexey Milovidov ). Fix limit by , limit with ties for distributed and parallel replicas. #70880 ( Nikita Taranov ). ClickHouse release 24.9, 2024-09-26 {#a-id249a-clickhouse-release-249-2024-09-26} Backward Incompatible Change {#backward-incompatible-change-3} Expressions like a[b].c are supported for named tuples, as well as named subscripts from arbitrary expressions, e.g., expr().name . This is useful for processing JSON. This closes #54965 . In previous versions, an expression of form expr().name was parsed as tupleElement(expr(), name) , and the query analyzer was searching for a column name rather than for the corresponding tuple element; while in the new version, it is changed to tupleElement(expr(), 'name') . In most cases, the previous version was not working, but it is possible to imagine a very unusual scenario when this change could lead to incompatibility: if you stored names of tuple elements in a column or an alias, that was named differently than the tuple element's name: SELECT 'b' AS a, CAST([tuple(123)] AS 'Array(Tuple(b UInt8))') AS t, t[1].a . It is very unlikely that you used such queries, but we still have to mark this change as potentially backward incompatible. #68435 ( Alexey Milovidov ).
{"source_file": "2024.md"}
[ -0.0012914930703118443, -0.10766676068305969, -0.03261386230587959, 0.04365351423621178, 0.0005442454130388796, -0.08322092145681381, -0.06568185985088348, 0.03423565626144409, -0.006443383637815714, 0.09070064127445221, 0.03646400198340416, -0.034853506833314896, -0.006512615364044905, -0...
3c5ee208-f2eb-4a7a-9a36-706fa240760a
When the setting print_pretty_type_names is enabled, it will print Tuple data type in a pretty form in SHOW CREATE TABLE statements, formatQuery function, and in the interactive mode in clickhouse-client and clickhouse-local . In previous versions, this setting was only applied to DESCRIBE queries and toTypeName . This closes #65753 . #68492 ( Alexey Milovidov ). Do not allow explicitly specifying UUID when creating a table in Replicated databases. Also, do not allow explicitly specifying Keeper path and replica name for *MergeTree tables in Replicated databases. It introduces a new setting database_replicated_allow_explicit_uuid and changes the type of database_replicated_allow_replicated_engine_arguments from Bool to UInt64 #66104 ( Alexander Tokmakov ). New Feature {#new-feature-3} Allow a user to have multiple authentication methods instead of only one. Allow authentication methods to be reset to most recently added method. If you want to run instances on 24.8 and one on 24.9 for some time, it's better to set max_authentication_methods_per_user = 1 for that period to avoid potential incompatibilities. #65277 ( Arthur Passos ). Add support for ATTACH PARTITION ALL FROM . #61987 ( Kirill Nikiforov ). Add the input_format_json_empty_as_default setting which, when enabled, treats empty fields in JSON inputs as default values. Closes #59339 . #66782 ( Alexis Arnaud ). Added functions overlay and overlayUTF8 which replace parts of a string by another string. Example: SELECT overlay('Hello New York', 'Jersey', 11) returns Hello New Jersey . #66933 ( 李扬 ). Add support for lightweight deletes in partition DELETE FROM [db.]table [ON CLUSTER cluster] [IN PARTITION partition_expr] WHERE expr; #67805 ( sunny ). Implemented comparison for Interval data type values of different domains (such as seconds and minutes) so they are converting now to the least supertype. #68057 ( Yarik Briukhovetskyi ). Add create_if_not_exists setting to default to IF NOT EXISTS behavior during CREATE statements. #68164 ( Peter Nguyen ). Makes it possible to read Iceberg tables in Azure and locally. #68210 ( Daniil Ivanik ). Query cache entries can now be dropped by tag. For example, the query cache entry created by SELECT 1 SETTINGS use_query_cache = true, query_cache_tag = 'abc' can now be dropped by SYSTEM DROP QUERY CACHE TAG 'abc' . #68477 ( Michał Tabaszewski ). Add storage encryption for named collections. #68615 ( Pablo Marcos ). Add virtual column _headers for the URL table engine. Closes #65026 . #68867 ( flynn ). Add system.projections table to track available projections. #68901 ( Jordi Villar ). Add new function arrayZipUnaligned for spark compatibility (which is named arrays_zip in Spark), which allowed unaligned arrays based on original arrayZip . #69030 ( 李扬 ).
{"source_file": "2024.md"}
[ 0.009651861153542995, -0.07900545001029968, -0.007493928540498018, 0.03545461222529411, -0.06482662260532379, -0.0700170174241066, -0.021533755585551262, -0.012439596466720104, -0.08412294089794159, 0.023293470963835716, 0.018302924931049347, -0.029593536630272865, 0.07848918437957764, -0....
0dddc007-99d4-4bd9-8a5f-e6b42db997ab
Add new function arrayZipUnaligned for spark compatibility (which is named arrays_zip in Spark), which allowed unaligned arrays based on original arrayZip . #69030 ( 李扬 ). Added cp / mv commands for the keeper client command line application which atomically copies/moves node. #69034 ( Mikhail Artemenko ). Adds argument scale (default: true ) to function arrayAUC which allows to skip the normalization step (issue #69609 ). #69717 ( gabrielmcg44 ). Experimental feature {#experimental-feature-2} Adds a setting input_format_try_infer_variants which allows Variant type to be inferred during schema inference for text formats when there is more than one possible type for column/array elements. #63798 ( Shaun Struwig ). Add aggregate functions distinctDynamicTypes / distinctJSONPaths / distinctJSONPathsAndTypes for better introspection of JSON column type content. #68463 ( Kruglov Pavel ). New algorithm to determine the unit of marks distribution between parallel replicas by a consistent hash. Different numbers of marks chosen for different read patterns to improve performance. #68424 ( Nikita Taranov ). Previously the algorithmic complexity of part deduplication logic in parallel replica announcement handling was O(n^2) which could take noticeable time for tables with many part (or partitions). This change makes the complexity O(n*log(n)). #69596 ( Alexander Gololobov ). Refreshable materialized view improvements: append mode ( ... REFRESH EVERY 1 MINUTE APPEND ... ) to add rows to existing table instead of overwriting the whole table, retries (disabled by default, configured in SETTINGS section of the query), SYSTEM WAIT VIEW <name> query that waits for the currently running refresh, some fixes. #58934 ( Michael Kolupaev ). Added min_max as a new type of (experimental) statistics. It supports estimating range predicates over numeric columns, e.g. x < 100 . #67013 ( JackyWoo ). Improve castOrDefault from Variant/Dynamic columns so it works when inner types are not convertible at all. #67150 ( Kruglov Pavel ). Replication of subset of columns is now available through MaterializedPostgreSQL. Closes #33748 . #69092 ( Kruglov Kirill ). Performance Improvement {#performance-improvement-3} Implemented reading of required files only for Hive partitioning. #68963 ( Yarik Briukhovetskyi ). Improve the JOIN performance by rearranging the right table by keys while the table keys are dense in the LEFT or INNER hash joins. #60341 ( kevinyhzou ). Improve ALL JOIN performance by appending the list of rows lazily. #63677 ( kevinyhzou ). Load filesystem cache metadata asynchronously during the boot process, in order to make restarts faster (controlled by setting load_metadata_asynchronously ). #65736 ( Daniel Pozo Escalona ). Functions array and map were optimized to process certain common cases much faster. #67707 ( 李扬 ).
{"source_file": "2024.md"}
[ -0.01847945898771286, -0.01019547414034605, -0.06724420934915543, -0.0030623171478509903, 0.023689113557338715, -0.02214757539331913, -0.030944203957915306, -0.02253425307571888, -0.02835685946047306, 0.009827448055148125, -0.029486501589417458, 0.01657872460782528, 0.0009966808138415217, ...