status stringclasses 1
value | repo_name stringclasses 13
values | repo_url stringclasses 13
values | issue_id int64 1 104k | updated_files stringlengths 11 1.76k | title stringlengths 4 369 | body stringlengths 0 254k ⌀ | issue_url stringlengths 38 55 | pull_url stringlengths 38 53 | before_fix_sha stringlengths 40 40 | after_fix_sha stringlengths 40 40 | report_datetime timestamp[ns, tz=UTC] | language stringclasses 5
values | commit_datetime timestamp[us, tz=UTC] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,983 | ["src/Storages/MergeTree/DataPartsExchange.cpp", "src/Storages/MergeTree/DataPartsExchange.h", "src/Storages/StorageReplicatedMergeTree.cpp"] | No such file or directory: `data.cmrk3` | https://s3.amazonaws.com/clickhouse-test-reports/0/39bda355f6a41b16bb015d9039884eca6508be6f/stateless_tests__asan__[2/2].html
https://s3.amazonaws.com/clickhouse-test-reports/43749/a50482ecd34b68e65566d5fdc4ed895a97e5ceb3/stateless_tests__tsan__[1/5].html
https://s3.amazonaws.com/clickhouse-test-reports/43686/2b6... | https://github.com/ClickHouse/ClickHouse/issues/43983 | https://github.com/ClickHouse/ClickHouse/pull/50339 | 3444dfda8cb3b9a938fefec08f325dade9883d08 | 06432929a7a0bf5e9cd906144458eaa6757dbec2 | 2022-12-06T13:19:50Z | c++ | 2023-06-01T11:42:34Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,933 | ["CMakeLists.txt", "cmake/split_debug_symbols.cmake", "docker/packager/binary/build.sh", "programs/library-bridge/CMakeLists.txt", "programs/odbc-bridge/CMakeLists.txt", "src/Common/SymbolIndex.cpp"] | Azure AD based ssh extention poisons ClickHouse with preloaded shared library | ```bash
$ clickhouse-client -h 127.0.0.1 --port 9000 -q 'show databases'
INFORMATION_SCHEMA
default
information_schema
system
Aborted (core dumped)
```
This also happens when just connecting an interactive session and disconnecting with ctrl+d.
**Does it reproduce on recent release?**
This is the latest... | https://github.com/ClickHouse/ClickHouse/issues/43933 | https://github.com/ClickHouse/ClickHouse/pull/47475 | d1c66574ce2a83a6bfb173b048392e0d321d082b | 3b481b9abdb991826f49d016dfb4785af6d1a03d | 2022-12-05T10:03:06Z | c++ | 2023-07-30T09:21:17Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,919 | ["src/IO/HTTPCommon.cpp"] | Double whitespace in error message. | **Describe the issue**
```
Code: 86. DB::HTTPException: Received error from remote server /?endpoint=DataPartsExchange%3A%2Fclickhouse%2Ftables%2F091f5ec4-13f0-485a-9afe-92cefaf15518%2F1%2Freplicas%2Fus&part=all_14200_14486_63&client_protocol_version=7&compress=false. HTTP status code: Internal Server Error, body:... | https://github.com/ClickHouse/ClickHouse/issues/43919 | https://github.com/ClickHouse/ClickHouse/pull/43920 | c5eb26951529f7c88fa11cd6f58c6c71290ff5d8 | 87663d36890272c1f5b77d7bc0397be9fe9646b1 | 2022-12-04T01:13:45Z | c++ | 2022-12-06T09:04:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,891 | ["src/Backups/BackupSettings.cpp", "src/Backups/BackupsWorker.cpp", "src/Backups/BackupsWorker.h", "src/Backups/RestoreSettings.cpp", "src/Backups/RestoreSettings.h", "src/Backups/SettingsFieldOptionalUUID.cpp", "src/Backups/SettingsFieldOptionalUUID.h", "src/Interpreters/Context.cpp", "tests/integration/test_backup_re... | Introduce a server setting to disallow concurrently running backups. | > (you don't have to strictly follow this form)
**Use case**
Sometimes, for really sophisticated scenarios it can be hard to control the amount of in-progress backups run externally. For the purpose of simpler control we can introduce server-level setting which disallows running concurrent backups of any type.
... | https://github.com/ClickHouse/ClickHouse/issues/43891 | https://github.com/ClickHouse/ClickHouse/pull/45072 | c7d12564cbf9d7c8e06c08581ce154a4cf95380c | 6aa63414db7a8da40947be9f7f3cad646f920132 | 2022-12-02T15:02:16Z | c++ | 2023-01-20T08:17:20Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,806 | ["docs/en/operations/server-configuration-parameters/settings.md"] | Prometheus http endpoint | Hello.
Follow this doc [https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#server_configuration_parameters-prometheus](url) I enabled prometheus http endpoint.
But, it listens only on localhost, so I can't export metrics to external prometheus server.
Is it possible to change listen a... | https://github.com/ClickHouse/ClickHouse/issues/43806 | https://github.com/ClickHouse/ClickHouse/pull/49353 | 49a7eb71a79544dcd23b405af71f7481183745e2 | 7902a1415eac73393388969cbc8cd8e4f3888219 | 2022-11-29T15:04:26Z | c++ | 2023-05-01T13:24:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,800 | ["src/Storages/FileLog/ReadBufferFromFileLog.h", "src/Storages/FileLog/StorageFileLog.cpp", "src/Storages/FileLog/StorageFileLog.h", "tests/queries/0_stateless/02022_storage_filelog_one_file.sh", "tests/queries/0_stateless/02023_storage_filelog.sh", "tests/queries/0_stateless/02025_storage_filelog_virtual_col.sh", "tes... | BC check: `StorageFileLog`: Read meta file failed | ```
2022.11.28 23:39:57.139031 [ 295613 ] {} <Error> DB::StorageFileLog::StorageFileLog(const DB::StorageID &, DB::ContextPtr, const DB::ColumnsDescription &, const DB::String &, const DB::String &, const DB::String &, std::unique_ptr<FileLogSettings>, const DB::String &, bool): Code: 33. DB::Exception: Read meta file... | https://github.com/ClickHouse/ClickHouse/issues/43800 | https://github.com/ClickHouse/ClickHouse/pull/43826 | 371e85d854281d78c23f76d6d09cbe25b2dad4fa | a4525bb98fbba22d6edac138e4c69dc3d1648e13 | 2022-11-29T13:36:09Z | c++ | 2022-12-13T13:14:42Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,755 | ["docs/en/sql-reference/functions/type-conversion-functions.md", "src/Functions/parseDateTime.cpp", "tests/queries/0_stateless/02415_all_new_functions_must_be_documented.reference", "tests/queries/0_stateless/02668_parse_datetime.reference", "tests/queries/0_stateless/02668_parse_datetime.sql", "tests/queries/0_statele... | MySQL dialect parity: str_to_date | > (you don't have to strictly follow this form)
**Use case**
We are using ClickHouse as a pseudo-MySQL data source for the QuickSight dashboard.
When using calculated columns which convert strings and dates, QuickSight issues queries with MySQL's [str_to_date](https://dev.mysql.com/doc/refman/8.0/en/date-and-tim... | https://github.com/ClickHouse/ClickHouse/issues/43755 | https://github.com/ClickHouse/ClickHouse/pull/48000 | 954c1abc84d9793fc31cf39afd53a23b56ffe382 | 7cf494acc20daff02b1983d3b04d4b576c22f616 | 2022-11-28T13:58:24Z | c++ | 2023-03-28T08:04:56Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,740 | ["docs/en/engines/table-engines/special/join.md", "docs/en/engines/table-engines/special/set.md", "docs/en/operations/settings/settings.md"] | Documentation is wrong | https://clickhouse.com/docs/en/operations/settings/settings#persistent
The "persistent" setting in the documentation does not appear in system.settings table
Also, if you add it con users.xml, the server does not start.
```
<?xml version="1.0"?>
<clickhouse>
<profiles>
<default>
<p... | https://github.com/ClickHouse/ClickHouse/issues/43740 | https://github.com/ClickHouse/ClickHouse/pull/45004 | 758c98e83245d5ed2fb5963cb03df256f02bb5d8 | 7741ce549f40638eeff3ab42fd7b4f30851eb0de | 2022-11-28T00:26:56Z | c++ | 2023-01-07T22:28:40Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,605 | ["docs/en/sql-reference/functions/other-functions.md"] | Catboost clickhouse-library-bridge is not responding | After upgrade ClickHouse, I try to repair my queries with `modelEvaluate` function.
I configured and try to use `catboostEvaluate` like in docs:
https://clickhouse.com/docs/en/sql-reference/functions/other-functions/#catboostevaluatepath_to_model-feature_1-feature_2--feature_n
But get a problem with:
```
20... | https://github.com/ClickHouse/ClickHouse/issues/43605 | https://github.com/ClickHouse/ClickHouse/pull/43875 | 68ac76d60e5c8d8719740476568bfc5cc4797b06 | eba7dd58262db14493fd9f3e4eb8d719c91ad034 | 2022-11-24T10:46:29Z | c++ | 2022-12-02T12:53:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,570 | ["src/Interpreters/PartLog.cpp", "src/Interpreters/PartLog.h", "src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/02491_part_log_has_table_uuid.reference", "tests/queries/0_stateless/02491_part_log_has_table_uuid.sql"] | 02491_part_log_has_table_uuid flacky | Statistics
https://play.clickhouse.com/play?user=play#c2VsZWN0IAp0b1N0YXJ0T2ZIb3VyKGNoZWNrX3N0YXJ0X3RpbWUpIGFzIGQsCmNvdW50KCksICBncm91cFVuaXFBcnJheShwdWxsX3JlcXVlc3RfbnVtYmVyKSwgIGFueShyZXBvcnRfdXJsKQpmcm9tIGNoZWNrcyB3aGVyZSAnMjAyMi0wNi0wMScgPD0gY2hlY2tfc3RhcnRfdGltZSBhbmQgdGVzdF9uYW1lIGxpa2UgJyUwMjQ5MV9wYXJ0X2xvZ19oY... | https://github.com/ClickHouse/ClickHouse/issues/43570 | https://github.com/ClickHouse/ClickHouse/pull/43595 | a3276005c75425dd13500ddfaaf4c57cf6aabfe6 | f35aa891d2c6bdce463d2e17d352bb4547635dfe | 2022-11-23T13:33:29Z | c++ | 2022-11-28T11:02:44Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,558 | ["src/Interpreters/InterpreterInsertQuery.cpp", "src/Interpreters/InterpreterSelectQueryAnalyzer.cpp", "src/Interpreters/InterpreterSelectQueryAnalyzer.h", "tests/queries/0_stateless/02501_analyzer_expired_context_crash_fix.reference", "tests/queries/0_stateless/02501_analyzer_expired_context_crash_fix.sql", "tests/que... | `Context has expired` while using new analyzer and optimize_aggregation_in_order | https://s3.amazonaws.com/clickhouse-test-reports/42033/ebdfbf43db5e5eacaff81b4a3dd55c5a285ee025/fuzzer_astfuzzerasan//report.html
How to reproduce:
```
:) create table data_02295 (b Int64, a Int64, grp_aggreg AggregateFunction(groupArrayArray, Array(UInt64))) engine = MergeTree() order by a;
:) set allow_experiment... | https://github.com/ClickHouse/ClickHouse/issues/43558 | https://github.com/ClickHouse/ClickHouse/pull/44234 | f0fda580d0d498744be42ab3aa3633ff549f7f12 | 6594aa8f1ede867e5a116e24fdf32271df8d7029 | 2022-11-23T12:42:07Z | c++ | 2023-01-21T15:49:50Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,544 | ["src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/00933_test_fix_extra_seek_on_compressed_cache.reference", "tests/queries/0_stateless/00933_test_fix_extra_seek_on_compressed_cache.sh", "tests/queries/0_stateless/02286_drop_filesystem_cache.sh"] | Test `00933_test_fix_extra_seek_on_compressed_cache` is flaky | Example: https://s3.amazonaws.com/clickhouse-test-reports/0/481b9face12511b559ef021e1b032427547dabd7/stateless_tests__asan_.html
https://play.clickhouse.com/play?user=play#c2VsZWN0IAp0b1N0YXJ0T2ZEYXkoY2hlY2tfc3RhcnRfdGltZSkgYXMgZCwKY291bnQoKSwgIGdyb3VwVW5pcUFycmF5KHB1bGxfcmVxdWVzdF9udW1iZXIpLCAgYW55KHJlcG9ydF91cmwpC... | https://github.com/ClickHouse/ClickHouse/issues/43544 | https://github.com/ClickHouse/ClickHouse/pull/47490 | 8e228187d5a4b18c669d4f0c95ec8fb09f25b1e1 | 956ef6bd2133ce93524734a1158483c4ecb185c9 | 2022-11-23T11:22:17Z | c++ | 2023-03-12T15:25:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,534 | ["src/Storages/StorageS3Cluster.cpp", "tests/queries/0_stateless/01801_s3_cluster_count.reference", "tests/queries/0_stateless/01801_s3_cluster_count.sql"] | s3Cluster function returns NOT_FOUND_COLUMN_IN_BLOCK error | (you don't have to strictly follow this form)
**Describe the unexpected behaviour**
We are seeing errors like
```
Received exception from server (version 22.10.2):
Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column count() in block. There are only columns: COUNT(): While exec... | https://github.com/ClickHouse/ClickHouse/issues/43534 | https://github.com/ClickHouse/ClickHouse/pull/43629 | e1f7f047528f8af81273f75869707c66aa4d5ca2 | b6eddbac0dcd52e45701905b22cef69759171e76 | 2022-11-23T07:54:26Z | c++ | 2022-12-02T14:43:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,524 | ["src/Analyzer/Passes/UniqInjectiveFunctionsEliminationPass.cpp", "tests/queries/0_stateless/02493_analyzer_uniq_injective_functions_elimination.reference", "tests/queries/0_stateless/02493_analyzer_uniq_injective_functions_elimination.sql"] | Experimental Analyzer: wrong analysis of tuples. | **Describe the bug**
https://s3.amazonaws.com/clickhouse-test-reports/43308/9ecda9f45c911047e04e8a089741a19ee49fe16a/fuzzer_astfuzzerubsan//report.html
**How to reproduce**
```
milovidov-desktop :) SET allow_experimental_analyzer = 1
SET allow_experimental_analyzer = 1
Query id: 16b87806-ef86-4541-8632-b854... | https://github.com/ClickHouse/ClickHouse/issues/43524 | https://github.com/ClickHouse/ClickHouse/pull/43547 | 4081a5f9e940beda18b3585537fadb8d767e62d3 | fbb404a4c6e1a798ddc0d34f5f5d8c48c14b40f9 | 2022-11-22T19:15:05Z | c++ | 2022-11-25T10:14:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,510 | ["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02481_pk_analysis_with_enum_to_string.reference", "tests/queries/0_stateless/02481_pk_analysis_with_enum_to_string.sql"] | Enum toString cannot be filtered by IN properly | These two queries are expected to be the same result (dataset = https://play.clickhouse.com/play?user=play), but actually _not_:
```sql
SELECT actor_login,
created_at,
toString(event_type) AS event_type,
toString(action) AS action, number,
... | https://github.com/ClickHouse/ClickHouse/issues/43510 | https://github.com/ClickHouse/ClickHouse/pull/43596 | 88c338c0909eb55fce455248a8757a482a900690 | dc7742e8f9babe5bf6f1ad3e038efc665309ceb9 | 2022-11-22T16:19:39Z | c++ | 2022-11-25T21:15:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,426 | ["src/Common/ThreadFuzzer.cpp"] | ASan binaries does not work with glibc 2.36 | Tested with the following docker images:
- debian:testing
- archlinux
```sh
$ ASAN_SYMBOLIZER_PATH=/bin/llvm-symbolizer ./clickhouse-asan
AddressSanitizer:DEADLYSIGNAL
=================================================================
==17112==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc ... | https://github.com/ClickHouse/ClickHouse/issues/43426 | https://github.com/ClickHouse/ClickHouse/pull/44811 | ee31da9e1e4eaec79f5967249f424ce9105110bc | 62a8de34cc964e3fe8dd8f1e88ec78a543917580 | 2022-11-21T09:57:34Z | c++ | 2023-01-23T20:57:20Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,421 | ["src/Storages/StorageLog.cpp", "src/Storages/StorageLogSettings.cpp", "src/Storages/StorageLogSettings.h", "src/Storages/StorageStripeLog.cpp", "tests/queries/0_stateless/02554_log_faminy_support_storage_policy.reference", "tests/queries/0_stateless/02554_log_faminy_support_storage_policy.sql"] | Storage policies don't work for `StripeLog` table engine at all | https://pastila.nl/?00ad7b6b/de8e258f58c3483bb8028a627d636398 | https://github.com/ClickHouse/ClickHouse/issues/43421 | https://github.com/ClickHouse/ClickHouse/pull/46044 | 91bbcde97e7e63182e4209d94dd4235a8f0145a4 | 187f7482e15183d35593797183ed499c7eea1145 | 2022-11-21T09:19:43Z | c++ | 2023-02-16T11:09:47Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,397 | ["src/Interpreters/TreeOptimizer.cpp", "src/Interpreters/TreeOptimizer.h", "src/Interpreters/TreeRewriter.cpp", "tests/queries/0_stateless/02494_optimize_group_by_function_keys_and_alias_columns.reference", "tests/queries/0_stateless/02494_optimize_group_by_function_keys_and_alias_columns.sql"] | NOT_FOUND_COLUMN_IN_BLOCK when grouping by ALIAS column in Distributed table | On a distributed table with columns `timestamp DateTime, day ALIAS toYYYYMMDD(timestamp)`, grouping by **both** columns results in a `DB::Exception: Not found column toYYYYMMDD(timestamp) in block. (NOT_FOUND_COLUMN_IN_BLOCK)`
Could this be related to https://github.com/ClickHouse/ClickHouse/issues/37032 ?
**How ... | https://github.com/ClickHouse/ClickHouse/issues/43397 | https://github.com/ClickHouse/ClickHouse/pull/43709 | 24940ad5bb61945a57c75fc45e615c9e9b6cd5ce | 488610bd96415bdb8a718135676cb6a665829922 | 2022-11-19T15:29:37Z | c++ | 2022-11-29T17:22:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,377 | ["src/Interpreters/InterpreterSelectQuery.cpp", "tests/queries/1_stateful/00176_distinct_limit_by_limit_bug_43377.reference", "tests/queries/1_stateful/00176_distinct_limit_by_limit_bug_43377.sql"] | Bug: DISTINCT + LIMIT BY + LIMIT | **Describe what's wrong**
Request with `DISTINCT`+`LIMIT BY`+`LIMIT` return less rows than provided in `LIMIT`
**Does it reproduce on recent release?**
22.11
**How to reproduce**
The following query from hits table returns less number of rows then provided in LIMIT
```
SELECT DISTINCT
Title,
Search... | https://github.com/ClickHouse/ClickHouse/issues/43377 | https://github.com/ClickHouse/ClickHouse/pull/43410 | a58e10298cdc0fd5eaed6abe5ca07aecddbefa57 | 6ef83f455c7f680dc85e7364ad7449a34648b6c3 | 2022-11-18T18:41:25Z | c++ | 2022-11-23T11:43:15Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,370 | ["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02540_date_column_consistent_insert_behaviour.reference", "tests/queries/0_stateless/02540_date_column_consistent_insert_behaviour.sql"] | toDate conversion does not match Date column conversion | **Describe the unexpected behaviour**
Using `toDate(integer`) returns a different value than inserting the same integer into a Date column.
**How to reproduce**
* Which ClickHouse server version to use
ClickHouse server version 22.8.6 revision 54460
```
clickhouse1 :) select toDate(65535)
SELECT toDate(65535... | https://github.com/ClickHouse/ClickHouse/issues/43370 | https://github.com/ClickHouse/ClickHouse/pull/46042 | b5cb3209be5294952bb5264007ea60932b3c3c9f | 19a2fba0b35fff3181821a98f39f92f5197110b5 | 2022-11-18T16:02:52Z | c++ | 2023-02-10T01:49:28Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,358 | ["src/Common/QueryProfiler.cpp", "src/Common/StringSearcher.h", "src/Common/Volnitsky.h", "src/Functions/HasTokenImpl.h", "src/Functions/hasToken.cpp", "src/Functions/hasTokenCaseInsensitive.cpp", "tests/queries/0_stateless/02809_has_token.reference", "tests/queries/0_stateless/02809_has_token.sql"] | Function hasToken return incorrect result | **Describe the unexpected behaviour**
Function `hasToken` may return wrong result in some cases.
**How to reproduce**
See: [fiddle](https://fiddle.clickhouse.com/781c4a16-0531-4afd-b6ce-1a0b41e62abf)
**Expected behavior**
In the above case, `hasToken` should return 0.
**Additional context**
When the search... | https://github.com/ClickHouse/ClickHouse/issues/43358 | https://github.com/ClickHouse/ClickHouse/pull/51378 | a7d225561c0d79586419d57f7f42edc95c4864a6 | 583d48edcd3ac1e24c29fe45b4e1056694dde9ef | 2022-11-18T07:27:53Z | c++ | 2023-07-07T23:22:39Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,333 | ["src/Functions/array/range.cpp", "tests/queries/0_stateless/01408_range_overflow.reference", "tests/queries/0_stateless/01408_range_overflow.sql", "tests/queries/0_stateless/02494_array_function_range.reference", "tests/queries/0_stateless/02494_array_function_range.sql"] | Add support for signed arguments in range() | **Describe the issue**
Allow to call `range()` with Int* data types.
Validate that arguments are positive.
**How to reproduce**
```
SELECT range(CAST('1', 'Int8'), CAST('10', 'Int8'))
Query id: 8710056b-08d9-454d-bb6a-e858b61dc9a3
0 rows in set. Elapsed: 0.081 sec.
Received exception from server (vers... | https://github.com/ClickHouse/ClickHouse/issues/43333 | https://github.com/ClickHouse/ClickHouse/pull/43733 | 4dcfe3e2166c54fee15d43c77fecc005e6250e34 | 7627786af72a6d5ec3da500fcbe307230842e659 | 2022-11-17T15:49:00Z | c++ | 2022-12-20T12:56:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,290 | ["docs/en/sql-reference/statements/select/from.md"] | Storage ReplicatedMergeTree doesn't support FINAL | > You have to provide the following information whenever possible.
*Description**
*I try to use FINAL keyword on ReplicatedMergeTree and I get:
SQL Error [181] [07000]: Code: 181. DB::Exception: Storage ReplicatedMergeTree doesn't support FINAL. (ILLEGAL_FINAL) (version 22.8.8.3 (official build))
**Does it r... | https://github.com/ClickHouse/ClickHouse/issues/43290 | https://github.com/ClickHouse/ClickHouse/pull/44488 | 99e37b8736bacf611cdb8b2d04aea319a7191852 | 8da98001da6930cbec70ba3934f09a85852946d8 | 2022-11-16T13:43:54Z | c++ | 2022-12-22T16:30:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,286 | ["tests/ci/cancel_and_rerun_workflow_lambda/Dockerfile", "tests/ci/cancel_and_rerun_workflow_lambda/app.py", "tests/ci/cancel_and_rerun_workflow_lambda/build_and_deploy_archive.sh", "tests/ci/workflow_approve_rerun_lambda/app.py"] | CI/CD: strange workflow stop | see https://github.com/ClickHouse/ClickHouse/actions/runs/3474277872 | https://github.com/ClickHouse/ClickHouse/issues/43286 | https://github.com/ClickHouse/ClickHouse/pull/43295 | 874a1a9d833b50309a965a15bd62682728a790c6 | f4ef20b5e41d1e7c8ca6c644173d520d41f9880c | 2022-11-16T13:06:47Z | c++ | 2022-11-21T11:03:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,257 | ["src/Analyzer/Passes/AggregateFunctionsArithmericOperationsPass.cpp", "tests/queries/0_stateless/02481_optimize_aggregation_arithmetics.reference", "tests/queries/0_stateless/02481_optimize_aggregation_arithmetics.sql"] | Aggregation result is incorrect using new analyzer | Query:
```sql
SELECT round(avg(log(2) * number), 6) AS k FROM numbers(10000000)
GROUP BY (number % 2) * (number % 3), number % 3, number % 2
HAVING avg(log(2) * number) > 3465735.3 ORDER BY k
SETTINGS allow_experimental_analyzer=1, optimize_group_by_function_keys=0;
```
Output:
```
Ok.
0 rows in set. Elapse... | https://github.com/ClickHouse/ClickHouse/issues/43257 | https://github.com/ClickHouse/ClickHouse/pull/43372 | f0567f7a25a29bd2b5007ed1ffc02070e7ac590d | d41107a94261feb6e7033c0bfc5bce08755d8813 | 2022-11-15T17:23:45Z | c++ | 2023-01-11T09:06:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,205 | ["docs/en/sql-reference/functions/date-time-functions.md"] | "date_sub" working as described? | Afai can see, this should be working according to the [docs](https://clickhouse.com/docs/en/sql-reference/functions/date-time-functions/#date_sub).
**Query:**
```
select date_sub('day', 1, toDate('2022-01-01'));
```
```
Received exception from server:
Code: 42. DB::Exception: Number of arguments for function... | https://github.com/ClickHouse/ClickHouse/issues/43205 | https://github.com/ClickHouse/ClickHouse/pull/45005 | 81290a5ed683d1a71bc527d64750ae0f5c3dc547 | 758c98e83245d5ed2fb5963cb03df256f02bb5d8 | 2022-11-14T01:14:28Z | c++ | 2023-01-07T22:28:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,188 | ["programs/server/Server.cpp", "src/Common/ProfileEvents.cpp", "tests/queries/0_stateless/02532_profileevents_server_startup_time.reference", "tests/queries/0_stateless/02532_profileevents_server_startup_time.sql"] | Record the startup time in ProfileEvents. | Simply record the time from entering `main` to start listening sockets. | https://github.com/ClickHouse/ClickHouse/issues/43188 | https://github.com/ClickHouse/ClickHouse/pull/45250 | 190c9b31564a4aa1a59931dcd187bdb3814130e3 | d859976fbda8df3f32e6f26179f1c4ee8869a162 | 2022-11-11T21:07:10Z | c++ | 2023-01-16T11:20:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,184 | ["tests/queries/0_stateless/02671_quantile_fuse_msan.reference", "tests/queries/0_stateless/02671_quantile_fuse_msan.sql"] | `use-of-uninitialized-value` with queries using `quantile` and enabled `optimize_syntax_fuse_functions` | **Describe the bug**
https://s3.amazonaws.com/clickhouse-test-reports/43087/94aab4276c72dd62fa1b99d80bacdbfa6fe85f37/fuzzer_astfuzzermsan//report.html
MSan triggers on queries with multiple `quantile` calls while `optimize_syntax_fuse_functions` and `Date`, `DateTime`, or `DateTime64` is used.
**How to reproduce... | https://github.com/ClickHouse/ClickHouse/issues/43184 | https://github.com/ClickHouse/ClickHouse/pull/46848 | 25853da4ad0c0e51659291235aba736bdf8ab8f7 | 93dffb13c2e0f949465bc6a08591228b6e678056 | 2022-11-11T16:34:34Z | c++ | 2023-02-25T19:56:05Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,167 | ["tests/queries/0_stateless/02480_tlp_nan.reference", "tests/queries/0_stateless/02480_tlp_nan.sql"] | not(sqrt(-1)) = not(not(sqrt(-1)) = 0 | ```
CREATE TABLE repro (col Int32) ENGINE = Memory;
INSERT INTO TABLE repro VALUES (-1);
```
```
SELECT MAX(sqrt(col))
FROM repro
GROUP BY col
┌─sqrt(col)─┐
│ nan │
└───────────┘
1 row in set. Elapsed: 0.010 sec.
```
Partition by HAVING clause `NOT MAX(sqrt(col))` lost `nan`.
```
SELECT M... | https://github.com/ClickHouse/ClickHouse/issues/43167 | https://github.com/ClickHouse/ClickHouse/pull/43216 | 3cab3ce484523b2486f53e532b2c8bd23b815524 | 83ecbf7f0b86fcbd11af0a3a9d6cf4a0e6686bc1 | 2022-11-11T12:16:47Z | c++ | 2022-11-15T00:12:42Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,160 | ["src/Functions/array/arrayFirstLast.cpp", "tests/queries/0_stateless/02241_array_first_last_or_null.reference", "tests/queries/0_stateless/02241_array_first_last_or_null.sql"] | Inconsistent behaviour of arrayFirst* and arrayLast* with Nullable columns | Tested with latest version on play.clickhouse.com (22.10.1.1875)
```sql
SELECT arrayFirst((x,f) -> f, [1,2,3,NULL], [0,1,0,0]) as test
```
returns 2 as expected.
But:
```sql
SELECT arrayFirstOrNull((x,f) -> f, [1,2,3,NULL], [0,1,0,0]) as test
Code: 44. DB::Exception: Nullable(UInt8) cannot be inside Nulla... | https://github.com/ClickHouse/ClickHouse/issues/43160 | https://github.com/ClickHouse/ClickHouse/pull/43274 | 1f93183dc7c0dbc4ed237b8518714de5976ee476 | a03fc9293c84dd6c3976e84d91f3fda00bcd01dc | 2022-11-11T11:04:02Z | c++ | 2022-12-01T12:14:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,145 | ["docs/en/sql-reference/aggregate-functions/reference/covarsamp.md"] | covarSamp function returns nan for n<=1 but docs say it returns +inf | covarSamp() aggregate function returns `nan` for `n<=1` but docs say `+inf`
**Describe the issue**
https://clickhouse.com/docs/en/sql-reference/aggregate-functions/reference/covarsamp says
> Returns Float64. When n <= 1, returns +∞.
but in fact the function returns `nan` instead.
```
user-host :) SELECT c... | https://github.com/ClickHouse/ClickHouse/issues/43145 | https://github.com/ClickHouse/ClickHouse/pull/47034 | afac2801a2ccf3d5855cd2c5679a897fc1183590 | 357415f4f5394fdc0d621b17fda8732ee2fce040 | 2022-11-10T21:37:05Z | c++ | 2023-02-28T19:10:52Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,125 | ["src/Compression/CompressionCodecDelta.cpp"] | oss-fuzz Issue 52768 delta_decompress_fuzzer | null | https://github.com/ClickHouse/ClickHouse/issues/43125 | https://github.com/ClickHouse/ClickHouse/pull/43255 | 93a4950dae1ec7ad7dd2aae28a65b9efc81f7e0f | 0b4e643c2764543911b0b4c0c3745846af05742e | 2022-11-10T13:19:10Z | c++ | 2022-11-19T13:16:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 43,101 | ["src/Analyzer/Passes/NormalizeCountVariantsPass.cpp", "tests/queries/0_stateless/02479_analyzer_aggregation_crash.reference", "tests/queries/0_stateless/02479_analyzer_aggregation_crash.sql"] | Sigsegv Interpreters/Aggregator.cpp in memory sanitiser build | Build from master with memory sanitiser. Enabled analyzer.
I run queries with SQLancer and server crashed. Same stack traces are reported from 3 threads but they are the same.
I could not reproduce error by running the same query after server restart. Probably some data race?
```
2022.11.09 21:19:55.754257 [ 59... | https://github.com/ClickHouse/ClickHouse/issues/43101 | https://github.com/ClickHouse/ClickHouse/pull/43118 | b9f2ae6c245574a14eb978b36690ed8e3b678a60 | ebde28bc50b8569221b5833dff827c7348214f99 | 2022-11-09T21:29:22Z | c++ | 2022-11-11T22:15:22Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,966 | ["docs/en/sql-reference/functions/type-conversion-functions.md", "src/DataTypes/IDataType.h", "src/Functions/FunctionSnowflake.h", "tests/queries/0_stateless/01942_dateTimeToSnowflake.reference", "tests/queries/0_stateless/01942_dateTimeToSnowflake.sql", "tests/queries/0_stateless/01942_snowflakeToDateTime.sql"] | snowflakeToDateTime64 creates wrong timestamp with precision '6' | The following query creates wrong results when using `snowflakeToDateTime64`/`dateTime64ToSnowflake` and `DateTime64` with _precision_ 6:
```sql
SELECT
now64(6) AS ts,
snowflakeToDateTime64(dateTime64ToSnowflake(ts)) AS sf
┌─────────────────────────ts─┬──────────────────────sf─┐
│ 2022-11-04 13:40:06... | https://github.com/ClickHouse/ClickHouse/issues/42966 | https://github.com/ClickHouse/ClickHouse/pull/55983 | 489e6d9bdcbc28c7dea94fa4942a1298eb57706e | 5801b06529d690dcf9719ecbae8807ee8ed5a444 | 2022-11-04T12:47:07Z | c++ | 2023-10-27T08:22:35Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,856 | ["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "tests/integration/test_materialized_mysql_database/materialize_with_ddl.py", "tests/integration/test_materialized_mysql_database/test.py"] | MaterializedMySQL got error Unsupported query event:SAVEPOINT `__EFSavePoint` | Hello! When I used MaterializedMySQL to replicate data got this error: `Unsupported query event:SAVEPOINT __EFSavePoint`
Any configurations to ignore this error and continue to replication ? | https://github.com/ClickHouse/ClickHouse/issues/42856 | https://github.com/ClickHouse/ClickHouse/pull/43086 | 63d06c8b53abb90afd96ac4020209543678de180 | a42daf504cbf369c04d84ec7739b1bca5560ff65 | 2022-11-01T10:37:26Z | c++ | 2022-11-11T11:53:05Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,832 | ["src/Interpreters/HashJoin.cpp", "tests/queries/0_stateless/02475_join_bug_42832.reference", "tests/queries/0_stateless/02475_join_bug_42832.sql"] | MSan report in JoinCommon::tryConvertColumnToNullable | https://s3.amazonaws.com/clickhouse-test-reports/42778/66c179217cdfdee1ba0d4b4b577b1a62655caed0/fuzzer_astfuzzermsan//report.html
Minimal example
```sql
#!/usr/bin/clickhouse-client --queries-file
DROP TABLE IF EXISTS tab1;
DROP TABLE IF EXISTS tab2;
SET allow_suspicious_low_cardinality_types = 1;
create... | https://github.com/ClickHouse/ClickHouse/issues/42832 | https://github.com/ClickHouse/ClickHouse/pull/42876 | 74a1de564e7add52b27a92c3bb6b3550d67f08f8 | 8ecc81d56879cb257875324972db7bd445b64a64 | 2022-10-31T15:43:37Z | c++ | 2022-11-03T12:03:13Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,825 | ["src/Compression/LZ4_decompress_faster.cpp", "src/Compression/tests/gtest_compressionCodec.cpp"] | Check oss-fuzz reports about lz4 | null | https://github.com/ClickHouse/ClickHouse/issues/42825 | https://github.com/ClickHouse/ClickHouse/pull/42868 | fb43aa3db9a82a32504983e28f9b4c90c96817e0 | 2c7708a03edf0495fb83fe5fcf1c16bfbae25a6e | 2022-10-31T12:19:24Z | c++ | 2022-11-04T21:12:36Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,819 | ["src/Interpreters/ExpressionAnalyzer.cpp", "tests/queries/0_stateless/02497_having_without_actual_aggregation_bug.reference", "tests/queries/0_stateless/02497_having_without_actual_aggregation_bug.sql"] | Logical error: Chunk info was not set for chunk in GroupingAggregatedTransform | https://s3.amazonaws.com/clickhouse-test-reports/42805/f53df7870c50dab252969a7bf37e3f776686888d/fuzzer_astfuzzerasan//report.html
```
2022.10.30 20:52:58.861494 [ 157 ] {27daf74f-bfcd-480c-9107-9ef9fcd60c78} <Debug> executeQuery: (from [::ffff:127.0.0.1]:34870) SELECT count(NULL) FROM (SELECT -9223372036854775808, ... | https://github.com/ClickHouse/ClickHouse/issues/42819 | https://github.com/ClickHouse/ClickHouse/pull/44051 | e0a6ccc83091dfa20ead90a422b20eedc41888cc | 3e3738bd49f8028c756c6eb218f0f447ac71a0f5 | 2022-10-31T11:04:45Z | c++ | 2022-12-10T12:28:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,818 | ["src/DataTypes/Serializations/SerializationString.cpp", "tests/queries/0_stateless/02475_bad_cast_low_cardinality_to_string_bug.reference", "tests/queries/0_stateless/02475_bad_cast_low_cardinality_to_string_bug.sql"] | Bad cast from type DB::ColumnLowCardinality to DB::ColumnString. (if+LowCardinality(String)+extract) | **Describe what's wrong**
Logical error during query
**Does it reproduce on recent release?**
Yes
**Enable crash reporting**
**How to reproduce**
22.3.13
22.10
```
SELECT if(materialize(0), extract(materialize(CAST('aaaaaa', 'LowCardinality(String)')), '\\w'), extract(materialize(CAST('bbbbb', 'Low... | https://github.com/ClickHouse/ClickHouse/issues/42818 | https://github.com/ClickHouse/ClickHouse/pull/42937 | 5be30b9cb73ca47d7621b686ee8dddc483bc99d7 | 3fad4131bf2ceaefc6a1accb61a9033f25422c23 | 2022-10-31T10:44:15Z | c++ | 2022-11-04T22:34:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,787 | ["src/Planner/Planner.cpp", "tests/queries/0_stateless/02479_analyzer_aggregation_totals_rollup_crash_fix.reference", "tests/queries/0_stateless/02479_analyzer_aggregation_totals_rollup_crash_fix.sql"] | Bad cast from type DB::DataTypeNumber to DB::DataTypeAggregateFunction | https://s3.amazonaws.com/clickhouse-test-reports/42284/ad91b625f76e61f745a516beac2b36da20eeaf97/fuzzer_astfuzzerubsan//report.html
```
2022.10.28 17:39:08.091815 [ 148 ] {b0b50a64-b11a-45fb-a2d4-f5d741b2159d} <Debug> executeQuery: (from [::ffff:127.0.0.1]:56246) CREATE TABLE test__fuzz_45 (`dim1` Nullable(UInt128),... | https://github.com/ClickHouse/ClickHouse/issues/42787 | https://github.com/ClickHouse/ClickHouse/pull/43119 | 7b2cc4ed21b1716b64a7e098c6e2cbe96d23126e | ef7d867966ad0235780c4046c94c12e8ec9df6ee | 2022-10-29T01:07:12Z | c++ | 2022-11-16T22:32:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,772 | ["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/SelectQueryInfo.h", "tests/queries/0_stateless/02515_projections_with_totals.reference", "tests/queries/0_stateless/02515_projections_with_totals.sql", "tests/queries/0_stateless/02516_projections_with_rollup.reference", "tests/queries/0_stateless/02516_project... | Projections and mismatched number of columns | ```
$ clickhouse-local
ClickHouse local version 22.10.1.1.
milovidov-desktop :) CREATE TABLE video_log
(
`datetime` DateTime,
`user_id` UInt64,
`device_id` UInt64,
`domain` LowCardinality(... | https://github.com/ClickHouse/ClickHouse/issues/42772 | https://github.com/ClickHouse/ClickHouse/pull/44615 | 9645941cdff8f8bdc844ea950358f2c27b231f22 | 464a513f0ed5f4e1f90b91a25ecda2ae6d270cec | 2022-10-28T14:29:26Z | c++ | 2022-12-27T12:31:03Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,758 | ["docs/en/sql-reference/functions/date-time-functions.md"] | toYYYYMMDDhhmmss(): second argument is not documented. | ```
SELECT toYYYYMMDDhhmmss(now(), 2)
Query id: 4d7a3005-4d57-4e40-9321-d80e02f0621d
0 rows in set. Elapsed: 0.001 sec.
Received exception from server (version 22.3.2):
Code: 43. DB::Exception: Received from localhost:9000. DB::Exception: Function toYYYYMMDDhhmmss supports 1 or 2 arguments. The 1st argume... | https://github.com/ClickHouse/ClickHouse/issues/42758 | https://github.com/ClickHouse/ClickHouse/pull/47146 | 1bbf5acd47b86e19f6767619d372466bca28bec2 | 687df5f1b549f933b93637421cdb5e2d156077b8 | 2022-10-28T09:19:21Z | c++ | 2023-03-03T13:01:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,757 | ["src/Common/ThreadProfileEvents.h", "src/Common/ThreadStatus.h", "src/Interpreters/ThreadStatusExt.cpp", "src/Processors/Transforms/buildPushingToViewsChain.cpp"] | Overflows(?) in UserTimeMicroseconds & SystemTimeMicroseconds metrics | ```
┌───────────────now()─┬─event────────────────┬────────────────value─┐
│ 2022-10-28 08:09:26 │ UserTimeMicroseconds │ 13760641375459361349 │
│ 2022-10-28 08:11:57 │ UserTimeMicroseconds │ 17081055181340065261 │
│ 2022-10-28 08:13:31 │ UserTimeMicroseconds │ 2803275110436731712 │
│ 2022-10-28 08:14:19 │ UserTim... | https://github.com/ClickHouse/ClickHouse/issues/42757 | https://github.com/ClickHouse/ClickHouse/pull/42791 | 75dbd6828a00f18739ae5346bb5df15fa96f9aea | c23b8c69dbf343de7f7e0a7e11c2e563b464167b | 2022-10-28T09:16:11Z | c++ | 2022-11-22T18:22:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,756 | ["src/Functions/LowerUpperUTF8Impl.h", "tests/queries/0_stateless/02071_lower_upper_utf8_row_overlaps.reference", "tests/queries/0_stateless/02071_lower_upper_utf8_row_overlaps.sql"] | Function "lowerUTF8" handles some sequences of cyrillic characters incorrectly | ### The function "lowerUTF8" handles some sequences of cyrillic characters incorrectly
How to reproduce:
ClickHouse server version >=22.9
execute:
```SELECT lowerUTF8('АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ')```
this will works fine and return correct result:
> абвгдеёжзийклмнопрстуфхцчшщъыьэюя
but executing... | https://github.com/ClickHouse/ClickHouse/issues/42756 | https://github.com/ClickHouse/ClickHouse/pull/42812 | fe48a1ce7e2155fb691e6ec2816e431d95e7722f | f67f0183f6200c0208f01a7b50b81ab89bf7fa87 | 2022-10-28T08:49:06Z | c++ | 2022-11-01T11:01:00Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,734 | ["tests/integration/test_server_reload/test.py"] | thread sanitizer reports a race in the grpc | thread sanitizer log from https://github.com/ClickHouse/ClickHouse/issues/42463
<details>
<summary><b>StackTrace</b></summary>
```
WARNING: ThreadSanitizer: data race (pid=1)
Atomic write of size 4 at 0x7f89eb673540 by main thread (mutexes: write M0, write M1):
#0 int std::__1::__cxx_atomic_fetch_add<in... | https://github.com/ClickHouse/ClickHouse/issues/42734 | https://github.com/ClickHouse/ClickHouse/pull/44444 | 5df5f7d0dcffd3f56883014b93edfc5dbe476d1b | e49deb740fab90b0aaadad70f4a00f620d55fcd0 | 2022-10-27T10:07:31Z | c++ | 2022-12-21T13:31:12Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,691 | ["tests/queries/0_stateless/02802_with_cube_with_totals.reference", "tests/queries/0_stateless/02802_with_cube_with_totals.sql"] | Chunk info was not set for chunk in TotalsHavingTransform | https://s3.amazonaws.com/clickhouse-test-reports/42397/302df3af122533a8ddd683100395fdcbd71b55ba/fuzzer_astfuzzerubsan//report.html
```
SELECT tuple((2147483648, (-0., 1.1754943508222875e-38, 2147483646, '-9223372036854775808', NULL))), toInt128(0.0001) GROUP BY ((256, toInt64(1.1754943508222875e-38), NULL), NULL, -... | https://github.com/ClickHouse/ClickHouse/issues/42691 | https://github.com/ClickHouse/ClickHouse/pull/51352 | 10fd4d6372c6b316cd00a809a454b4a47982a4c3 | ffbb11dc190547e4b3088dea35c118d95724123a | 2022-10-26T12:26:22Z | c++ | 2023-07-07T23:27:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,638 | ["base/base/safeExit.cpp"] | Temporary remove Azure Blob Storage support, because a test has failed. | See https://github.com/Azure/azure-sdk-for-cpp/issues/4047
Note: there is no intent to remove the Azure Blob Storage support from ClickHouse.
But after upgrading to LLVM-15, it starts to complain about this issue, and we need to eliminate it to simply move forward. | https://github.com/ClickHouse/ClickHouse/issues/42638 | https://github.com/ClickHouse/ClickHouse/pull/43009 | c5edea19f381076fb01184fb2d31b91393d4bba6 | fc77d53db1165ffc01af356b2b44cb52976a4270 | 2022-10-25T03:10:48Z | c++ | 2022-11-07T19:20:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,637 | ["src/Interpreters/MutationsInterpreter.cpp", "tests/queries/0_stateless/02504_disallow_arrayjoin_in_mutations.reference", "tests/queries/0_stateless/02504_disallow_arrayjoin_in_mutations.sql"] | `arrayJoin` in mutation can lead to logical error `Trying to get non existing mark 2, while size is 2` | **Describe the bug**
https://s3.amazonaws.com/clickhouse-test-reports/42463/4645d465b12013d99d88956020034cbfa47d9455/fuzzer_astfuzzerubsan//server.log
**How to reproduce**
```
CREATE TABLE test_wide_nested (`id` Int, `info.id` Array(Int), `info.name` Array(String), `info.age` Array(Int)) ENGINE = MergeTree ORDER ... | https://github.com/ClickHouse/ClickHouse/issues/42637 | https://github.com/ClickHouse/ClickHouse/pull/44447 | adfc4d4a239f2007e6bd1a47d124943dc94985ed | f629425f96c462b842d7218c3b0c462627ed86ba | 2022-10-25T03:07:46Z | c++ | 2023-01-05T17:00:16Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,632 | ["src/Functions/FunctionsJSON.cpp", "tests/performance/low_cardinality_from_json.xml", "tests/queries/0_stateless/02452_check_low_cardinality.reference", "tests/queries/0_stateless/02452_check_low_cardinality.sql", "tests/queries/0_stateless/02455_extract_fixed_string_from_nested_json.reference", "tests/queries/0_state... | Crash in function `JSONExtract` with `LowCardinality` | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/0/bef3c71453b14efc72e4b2ce37f2ec87f69b4e40/fuzzer_astfuzzerasan//report.html)
**How to reproduce**
```sql
select JSONExtract('{"a" : {"b" : {"c" : 1, "d" : "str"}}}', 'Tuple( a LowCardinality(String), b LowCardinality(Str... | https://github.com/ClickHouse/ClickHouse/issues/42632 | https://github.com/ClickHouse/ClickHouse/pull/42633 | 8c6d5cdbac1d17c60a48432ae6cd135702e554a8 | 011ae8675a2f35c0fff427709457e46effb9a32b | 2022-10-24T23:11:56Z | c++ | 2022-10-26T06:10:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,631 | ["tests/queries/0_stateless/02803_remote_cannot_clone_block.reference", "tests/queries/0_stateless/02803_remote_cannot_clone_block.sql"] | Logical error: 'Cannot clone block with columns because block has 0 columns, but 1 columns given' | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/0/bef3c71453b14efc72e4b2ce37f2ec87f69b4e40/fuzzer_astfuzzerubsan//report.html)
**How to reproduce**
```sql
DROP TABLE IF EXISTS numbers_10_00223;
CREATE TABLE numbers_10_00223
ENGINE = Log AS
SELECT *
FROM system.nu... | https://github.com/ClickHouse/ClickHouse/issues/42631 | https://github.com/ClickHouse/ClickHouse/pull/51353 | 91f9b09cef928f4b4fc165fe7898bbc8541004ff | 17693fbdc949473a060fdb6ba06a5fbfbba84c80 | 2022-10-24T22:49:25Z | c++ | 2023-06-30T09:20:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,629 | ["tests/integration/test_global_overcommit_tracker/configs/global_overcommit_tracker.xml", "tests/integration/test_global_overcommit_tracker/test.py", "tests/integration/test_overcommit_tracker/__init__.py", "tests/integration/test_overcommit_tracker/test.py", "tests/queries/0_stateless/02104_overcommit_memory.referenc... | Test 02104_overcommit_memory is flaky in debug | Started October 20th as I see
https://play.clickhouse.com/play?user=play#c2VsZWN0IAp0b1N0YXJ0T2ZIb3VyKGNoZWNrX3N0YXJ0X3RpbWUpIGFzIGQsCmNvdW50KCksIGdyb3VwVW5pcUFycmF5KHB1bGxfcmVxdWVzdF9udW1iZXIpLCAgYW55KHJlcG9ydF91cmwpCmZyb20gY2hlY2tzIHdoZXJlICcyMDIyLTAxLTAxJyA8PSBjaGVja19zdGFydF90aW1lIGFuZCB0ZXN0X25hbWUgbGlrZSAnJTAyMT... | https://github.com/ClickHouse/ClickHouse/issues/42629 | https://github.com/ClickHouse/ClickHouse/pull/43105 | 505af344c411f1539fcf637b70520e43bb678813 | 31794284cb326e6a0cd0092e5432aaf6579dd5b3 | 2022-10-24T21:09:51Z | c++ | 2022-11-11T16:34:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,610 | ["tests/queries/0_stateless/01910_view_dictionary_check_refresh.reference", "tests/queries/0_stateless/01910_view_dictionary_check_refresh.sql"] | Dictionary relead from the view issue | It seems clickhouse somehow caches the scalar subquery used in the VIEW (which is a dictionary source):
Test case:
```sql
DROP TABLE IF EXISTS TestTbl;
DROP VIEW IF EXISTS TestTbl_view;
DROP DICTIONARY IF EXISTS TestTblDict;
CREATE TABLE TestTbl
(
`id` UInt16,
`dt` Date,
`val` String
)
ENG... | https://github.com/ClickHouse/ClickHouse/issues/42610 | https://github.com/ClickHouse/ClickHouse/pull/50409 | 413b9c776ab5f6783ba05a704aafb0cac443b337 | 2fbf826b5c41bb46d70825598d21a5587423a138 | 2022-10-24T10:26:46Z | c++ | 2023-06-01T22:16:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,548 | ["src/Client/ClientBase.cpp", "tests/queries/0_stateless/02473_infile_progress.py", "tests/queries/0_stateless/02473_infile_progress.reference"] | No progress indication on INSERT FROM INFILE. | ```
milovidov-desktop :) CREATE TABLE hits2 AS hits
CREATE TABLE hits2 AS hits
Query id: ef73b907-c73b-42ba-8194-db88c88cc85b
Ok.
0 rows in set. Elapsed: 0.024 sec.
milovidov-desktop :) INSERT INTO hits2 FROM INFILE 'hits.tsv'
INSERT INTO hits2 FROM INFILE 'hits.tsv'
Query id: 0588941e-ff9e-4741-... | https://github.com/ClickHouse/ClickHouse/issues/42548 | https://github.com/ClickHouse/ClickHouse/pull/42634 | c88dcba36e0e036f7a1208a8aea9cd366b6a8653 | 9f7f1f05b6315573e43a4abb16224eb70b6b4493 | 2022-10-20T23:15:39Z | c++ | 2022-11-08T02:58:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,533 | ["src/Functions/array/arrayElement.cpp", "tests/queries/0_stateless/02473_map_element_nullable.reference", "tests/queries/0_stateless/02473_map_element_nullable.sql"] | Bad cast in `arrayElement` with type `Map` and `Nullable` value and `Nullable` index | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/42516/00f9ae99249c636320141607ee51dac170ae6938/fuzzer_astfuzzerasan//report.html)
**How to reproduce**
```sql
WITH map(1, 2, 3, NULL) AS m
SELECT toTypeName(m);
┌─toTypeName(m)───────────────┐
│ Map(UInt8, Nullable... | https://github.com/ClickHouse/ClickHouse/issues/42533 | https://github.com/ClickHouse/ClickHouse/pull/42623 | 5c4444237e689e553502c3cda8a0214dcd7af458 | e2ff7aa261b87795e1cbb8d9d6db4355a3115e1c | 2022-10-20T13:34:03Z | c++ | 2022-10-25T12:59:52Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,502 | ["src/Formats/newLineSegmentationEngine.cpp", "src/Formats/newLineSegmentationEngine.h", "src/Formats/registerFormats.cpp", "src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp", "src/Processors/Formats/Impl/RegexpRowInputFormat.cpp", "tests/performance/line_as_string_parsing.xml"] | `LineAsString` format can be faster; and it does not support parallel parsing. | ```
yes | clickhouse-local --format LineAsString --structure 'line String' --progress --query "SELECT * FROM table" > /dev/null
``` | https://github.com/ClickHouse/ClickHouse/issues/42502 | https://github.com/ClickHouse/ClickHouse/pull/42780 | 8ec4c773528e773c0c61dce89252c6bcc4eadee8 | 38124b65331426ab9a96285cc04b573b8950c8bb | 2022-10-19T18:15:30Z | c++ | 2022-11-02T12:21:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,460 | ["src/Interpreters/Set.cpp", "tests/queries/0_stateless/02467_set_with_lowcardinality_type.reference", "tests/queries/0_stateless/02467_set_with_lowcardinality_type.sql"] | Segfault in bloom filter index with `Nullable(String)` and `LowCardinality(String)` columns | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/0/4dd41cc1b73ee55f2174b27a8cd43e2f1b87b87e/fuzzer_astfuzzerubsan//report.html)
**How to reproduce**
```sql
DROP TABLE IF EXISTS bloom_filter_nullable_index__fuzz_0;
CREATE TABLE bloom_filter_nullable_index__fuzz_0
(
... | https://github.com/ClickHouse/ClickHouse/issues/42460 | https://github.com/ClickHouse/ClickHouse/pull/42579 | db422fa90310f0bff87940f74f0c761141f509fe | b8ee5600be1f8bb8eb3e3dcafdc3a467a09ff7c1 | 2022-10-18T20:54:00Z | c++ | 2022-10-26T12:17:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,453 | ["src/Functions/FunctionBinaryArithmetic.h", "tests/queries/0_stateless/02469_interval_msan.reference", "tests/queries/0_stateless/02469_interval_msan.sql", "tests/queries/0_stateless/02470_suspicious_low_cardinality_msan.reference", "tests/queries/0_stateless/02470_suspicious_low_cardinality_msan.sql"] | Msan: use-of-uninitialized-value in `FunctionConvert` with suspicious `LowCardinality` | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/0/772978d4c0487ecc77f80b9e2aba98b8278676d2/fuzzer_astfuzzermsan//report.html)
**How to reproduce**
```sql
DROP TABLE IF EXISTS alias_2__fuzz_25;
SET allow_suspicious_low_cardinality_types = 1;
CREATE TABLE ali... | https://github.com/ClickHouse/ClickHouse/issues/42453 | https://github.com/ClickHouse/ClickHouse/pull/42573 | 6c69bdd34d880302e6617e15fea4fe049797df81 | ebf330ca1ad338d77b30b69d1affeda8617bd540 | 2022-10-18T17:35:22Z | c++ | 2022-10-22T23:31:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,452 | ["src/Interpreters/ConvertFunctionOrLikeVisitor.cpp", "src/Interpreters/QueryNormalizer.cpp", "tests/queries/0_stateless/02475_or_function_alias_and_const_where.reference", "tests/queries/0_stateless/02475_or_function_alias_and_const_where.sql"] | Logical error: 'LogicalExpressionsOptimizer: parent node information is corrupted' | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/0/8af95a6fc2cff71db3407c5da987f6e7565f7148/fuzzer_astfuzzerasan//report.html)
**How to reproduce**
```sql
SELECT time, round(exp_smooth, 10), bar(exp_smooth, -9223372036854775807, 1048575, 50) AS bar FROM (SELECT 2 OR (nu... | https://github.com/ClickHouse/ClickHouse/issues/42452 | https://github.com/ClickHouse/ClickHouse/pull/42827 | 3eec14790628077ce56bf74e92745f3ea5c917fc | 1c1432c11f212ce60ac0caaf218ee548a3b6f8b9 | 2022-10-18T17:16:26Z | c++ | 2022-11-09T07:11:22Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,439 | ["src/AggregateFunctions/AggregateFunctionWelchTTest.cpp", "tests/queries/0_stateless/02461_welch_t_test_fuzz.reference", "tests/queries/0_stateless/02461_welch_t_test_fuzz.sql"] | Logical error in function `welchTTest`: Degrees of freedom argument is -nan, but must be > 0 | **Describe the bug**
[A link to the report
](https://s3.amazonaws.com/clickhouse-test-reports/42413/1a9d190788e4e9db7e1bb367d57b50719621e9a0/fuzzer_astfuzzerasan//report.html)
**How to reproduce**
```sql
DROP TABLE IF EXISTS welch_ttest__fuzz_7;
CREATE TABLE welch_ttest__fuzz_7 (left UInt128, right UInt128) ENG... | https://github.com/ClickHouse/ClickHouse/issues/42439 | https://github.com/ClickHouse/ClickHouse/pull/42487 | 4f374f64f3cb83a1ebee47b19c349f013ea72cee | 0d07aeec2f1393730ba1ac99a17db02a4f645b88 | 2022-10-18T12:52:57Z | c++ | 2022-10-20T11:09:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,282 | ["CMakeLists.txt", "cmake/tools.cmake"] | Suppress ld warning in macOS | > Make sure that `git diff` result is empty and you've just pulled fresh master. Try cleaning up cmake cache. Just in case, official build instructions are published here: https://clickhouse.com/docs/en/development/build/
**Operating system**
macOS 12.3
**Cmake version**
```shell
% cmake --version
cma... | https://github.com/ClickHouse/ClickHouse/issues/42282 | https://github.com/ClickHouse/ClickHouse/pull/42470 | f081e52880947e8c4fc54e122b7d9d38a2445293 | cb1aede69452949c6874a3a8bb5b795f57a3c8fd | 2022-10-13T12:59:32Z | c++ | 2022-11-08T18:34:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,276 | ["src/Access/ExternalAuthenticators.cpp", "src/Access/LDAPClient.cpp", "src/Access/LDAPClient.h", "src/Common/SipHash.h"] | Not AD authorization because many groups in LDAP memberOf container | **Problem:**
Some AD users can't log in, they get the error:
`Authentification failed: password is incorrect or there is no user with such name`
Clickhouse version 22.3.2.1
**There is an error in Clickhouse logs:**
`<Error> Access(user directories): from: 10.11.12.13, user: AD_USERNAME: Authentification faile... | https://github.com/ClickHouse/ClickHouse/issues/42276 | https://github.com/ClickHouse/ClickHouse/pull/42461 | b6fd28cd851dc7da1635fea696d2bcaa714298a6 | 8cb34913a1b5d90cdd9910e0011f4393b35643e5 | 2022-10-13T07:27:52Z | c++ | 2022-11-22T19:05:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,264 | ["src/Storages/System/StorageSystemDetachedParts.cpp", "tests/integration/test_partition/test.py", "tests/queries/0_stateless/00502_custom_partitioning_local.sql", "tests/queries/0_stateless/02117_show_create_table_system.reference"] | Size of parts in system.detached_parts | Right now size of data parts is available only for non-detached parts in `system.parts`, but `system.detached_parts` lacks this information. It will be useful for analyzing disk space usage.
| https://github.com/ClickHouse/ClickHouse/issues/42264 | https://github.com/ClickHouse/ClickHouse/pull/42303 | 2c568df7142a5dfcb64a7031051c00fbe6f9b0d7 | 92b5ca326c74df79a6b19fcfe9500ad7a8f05f7b | 2022-10-12T14:45:07Z | c++ | 2022-11-08T11:00:56Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,226 | ["src/Storages/StorageBuffer.cpp", "tests/queries/0_stateless/02459_read_in_order_bufer.reference", "tests/queries/0_stateless/02459_read_in_order_bufer.sql"] | Unexpected / incorrect result when selecting from Buffer table with ORDER BY DESC | **Describe what's wrong**
Selecting from a Buffer table with ORDER BY <col> DESC clause returns wrong rows, and the returned rows are not ordered.
**Does it reproduce on recent release?**
Tested version: 22.7.2.15
**How to reproduce**
* Which ClickHouse server version to use
22.7.2.15
* `CREATE TABLE` ... | https://github.com/ClickHouse/ClickHouse/issues/42226 | https://github.com/ClickHouse/ClickHouse/pull/42236 | 26e8d0a93d0976cf7ffd9490941a3ac74f0ac982 | 9af817bb438c8ae0cd47655cb81a73bf9d3bd2bf | 2022-10-10T16:23:03Z | c++ | 2022-10-17T12:25:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,192 | ["src/Interpreters/Context.cpp", "src/Interpreters/Context.h", "src/Storages/StorageFile.cpp"] | When importing from multiple files using globs, the number of parallel parsing threads should be lowered. | Similarly to reading from the internal tables in `Merge` table. | https://github.com/ClickHouse/ClickHouse/issues/42192 | https://github.com/ClickHouse/ClickHouse/pull/46661 | 701e2fb6e350a6f84c0826b8abec419316cd664d | f2172ab8dddbde33d6155e5d991c48818c9d21dc | 2022-10-08T19:36:26Z | c++ | 2023-05-30T06:53:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,189 | ["src/Storages/MergeTree/KeyCondition.cpp", "src/Storages/MergeTree/KeyCondition.h", "src/Storages/System/StorageSystemMergeTreeMetadataCache.cpp", "tests/queries/0_stateless/02458_key_condition_not_like_prefix.reference", "tests/queries/0_stateless/02458_key_condition_not_like_prefix.sql"] | Primary key is not used for NOT LIKE 'prefix%' | According to the following page, a primary key is used for both LIKE and NOT LIKE conditions:
https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#functions-support
As I found, a primary key is not used for NOT LIKE 'prefix%' conditions, engine scans all granules.
**How to reproduce**... | https://github.com/ClickHouse/ClickHouse/issues/42189 | https://github.com/ClickHouse/ClickHouse/pull/42209 | 12c6a1116c16ddefce8632138b7871753e1394f3 | bb507356ef33ae55f094cadfbd8ad78e7bff51b0 | 2022-10-08T15:18:49Z | c++ | 2022-11-08T09:07:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,185 | ["src/Processors/QueryPlan/Optimizations/distinctReadInOrder.cpp", "tests/queries/0_stateless/02317_distinct_in_order_optimization.reference", "tests/queries/0_stateless/02317_distinct_in_order_optimization.sql"] | DISTINCT in order: LOGICAL_ERROR if first column in sorting key contains function | **Describe what's wrong**
if the first column in sorting key contains function, `DISTINCT` query with the same column will fail
Example:
<pre>
CREATE TABLE t
(
`datetime` DateTime,
`a` UInt64
)
ENGINE = MergeTree
ORDER BY <b>toDate(datetime)</b>;
INSERT INTO t FORMAT Values ('2000-01-01', 1);
SELE... | https://github.com/ClickHouse/ClickHouse/issues/42185 | https://github.com/ClickHouse/ClickHouse/pull/42186 | 8a2ba6cd816ded5718f403a4f9751390e2550649 | dac71f445b5096e3c7e4e3f6d9f07387819ed1a0 | 2022-10-08T09:56:21Z | c++ | 2022-10-10T07:51:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,161 | ["src/Storages/MergeTree/MutateTask.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp", "tests/queries/0_stateless/02012_zookeeper_changed_enum_type_incompatible.reference", "tests/queries/0_stateless/02012_zookeeper_changed_enum_type_incompatible.sql", "tests/queries/0_stateless/02461_alter_update_respect_part... | alter update "corrupts" collumns.txt | ```sql
drop table if exists src;
create table src( A Int64, B String, C String) Engine=MergeTree order by A
SETTINGS min_bytes_for_wide_part=0;
insert into src values(1, 'one', 'test');
alter table src detach partition tuple();
alter table src modify column B Nullable(String);
alter table src attach part... | https://github.com/ClickHouse/ClickHouse/issues/42161 | https://github.com/ClickHouse/ClickHouse/pull/42319 | cf6442fa65c2598cd8fc03bd1a13b949a52a6832 | c9aa6a655cf3f6621a27c45ea921304297c33f19 | 2022-10-07T17:43:05Z | c++ | 2022-10-17T10:44:16Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,138 | ["src/IO/ReadHelpers.h", "tests/queries/0_stateless/01802_toDateTime64_large_values.reference", "tests/queries/0_stateless/01802_toDateTime64_large_values.sql"] | toDateTime64 unexpected behaviour for dates around 2299-01-01 | ```sql
SELECT
toDate32('2299-01-01') AS x,
toDateTime64(x, 3),
toDateTime64('2299-01-01 00:00:00', 0);
┌──────────x─┬─toDateTime64(toDate32('2299-01-01'), 3)─┬─toDateTime64('2299-01-01 00:00:00', 0)─┐
│ 2299-01-01 │ 2299-01-01 00:00:00.000 │ 2299-01-01 00:00:00 │
... | https://github.com/ClickHouse/ClickHouse/issues/42138 | https://github.com/ClickHouse/ClickHouse/pull/52130 | 6524031348c3a1148e27ef926baabb35e833a09c | 1f1fcd027ae2828a9b449f53700554ed81fc15e5 | 2022-10-06T22:26:35Z | c++ | 2023-07-16T16:11:28Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,077 | ["src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp", "tests/queries/0_stateless/02896_union_distinct_http_format.reference", "tests/queries/0_stateless/02896_union_distinct_http_format.sh"] | UNION DISTINCT may strip FORMAT from the query | Union distinct can not be returned as PrettyCompactMonoBlock.
```
select 1
union all
select 2
format PrettyCompactMonoBlock
```
https://play.clickhouse.com/?user=play&query=select%201%20union%20all%20select%202%20format%20PrettyCompactMonoBlock
Returns as expected:
```
┌─[1m1[0m─┐
│ 1 │
│ 2 │
└───┘... | https://github.com/ClickHouse/ClickHouse/issues/42077 | https://github.com/ClickHouse/ClickHouse/pull/55887 | 9313b343e4102a328a2fe1112a0d690f13d79b2c | da42f2eb0fb414a3fd7ab1f6e7c73c86e7606f72 | 2022-10-05T07:22:46Z | c++ | 2023-10-26T11:53:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,038 | ["src/IO/parseDateTimeBestEffort.cpp", "tests/queries/0_stateless/02457_parse_date_time_best_effort.reference", "tests/queries/0_stateless/02457_parse_date_time_best_effort.sql"] | `parseDateTimeBestEffort` function does not for for `01/12/2017, 18:31:44` format | `select parseDateTimeBestEffort('01/12/2017, 18:31:44')`
It is confused by a comma - should be easy to fix. | https://github.com/ClickHouse/ClickHouse/issues/42038 | https://github.com/ClickHouse/ClickHouse/pull/42049 | 8123f2f30812fb2ce165199d9caa9e1e8e882279 | 0513824fa2f9f320c960bc131b6f785215a22261 | 2022-10-03T19:14:19Z | c++ | 2022-10-06T09:11:42Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,012 | ["src/AggregateFunctions/AggregateFunctionRankCorrelation.h", "tests/queries/0_stateless/02347_rank_corr_size_overflow.reference", "tests/queries/0_stateless/02347_rank_corr_size_overflow.sql"] | rankCorr wrong result | rankCorr returns huge number (-17.543489999420327 for my case). It should be between -1 and 1.
clickhouse version: 22.8.5.29
test data are located at (oneDrive share, 150M):
https://1drv.ms/u/s!AuNxjqg2JayilU2PtuLTicBa662Z?e=ofy3ZG
simply create a table, import the csv, and then select the rankCorr to reproduce... | https://github.com/ClickHouse/ClickHouse/issues/42012 | https://github.com/ClickHouse/ClickHouse/pull/42020 | 980600dc2f1cff0cefaea4ee027b8e35bb8e0388 | 85e431112738c8c96f9ff8cd4bbe188ca11cba71 | 2022-10-03T03:36:30Z | c++ | 2022-10-05T07:19:57Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 42,009 | ["src/Processors/Formats/Impl/ParallelParsingInputFormat.cpp", "tests/integration/test_storage_s3/test.py"] | Abort in `~ParallelParsingInputFormat` | https://s3.amazonaws.com/clickhouse-test-reports/41945/e40917a9c50f2a9e9e90d4a0f5e065195671f7f3/stateless_tests__release__wide_parts_enabled_.html
```
2022.10.02 02:23:19.183911 [ 10348 ] {} <Fatal> BaseDaemon: ########################################
2022.10.02 02:23:19.184022 [ 10348 ] {} <Fatal> BaseDaemon: (ve... | https://github.com/ClickHouse/ClickHouse/issues/42009 | https://github.com/ClickHouse/ClickHouse/pull/45498 | 4e0dd08f8cf92e9455957d278e1e7216677cf20d | 61b0c4da380028b50971ad40dd6277f20097dcce | 2022-10-02T12:13:52Z | c++ | 2023-01-23T13:12:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,985 | ["docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md", "docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md", "src/Dictionaries/ClickHouseDictionarySource.cpp", "src/Dictionaries/ClickHouseDictionarySource.h", "src/Dictionaries/HashedDictionary.cpp"... | Excessive dictionary memory preallocating | This bug is reproduced on any version ( 22.1.3.7 , 22.3.11.12 , 22.9.3)
**How to reproduce**
*(cant reproduce well on fiddle, but easy locally or on production)*
**NOT OK (with preallocate)**
```
CREATE TABLE default.oom_table (key String) ENGINE = MergeTree() ORDER BY tuple();
INSERT INTO default.oom_tab... | https://github.com/ClickHouse/ClickHouse/issues/41985 | https://github.com/ClickHouse/ClickHouse/pull/45388 | 9c0ba7c7ca987a87033cf755f8be7437d8711011 | 3e08a98f163bb3879954ce5747cc5c7f241e0e7b | 2022-10-01T09:03:02Z | c++ | 2023-01-20T11:51:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,848 | ["src/Parsers/ASTFunction.cpp", "tests/queries/0_stateless/02990_format_lambdas.reference", "tests/queries/0_stateless/02990_format_lambdas.sh"] | Parsing/formatting of lambdas is broken | https://s3.amazonaws.com/clickhouse-test-reports/41796/19062e9d9743f6a926d24fa26abe1f3b56cd2354/fuzzer_astfuzzertsan//report.html
```
CREATE FUNCTION IF NOT EXISTS `02102_test_function` AS x -> plus(x, (x -> ('214748364.6' + 256)) -> plus(1048576), 1)
Found error: The query formatting is broken.
Changed setting... | https://github.com/ClickHouse/ClickHouse/issues/41848 | https://github.com/ClickHouse/ClickHouse/pull/60012 | cc59e06fea463c382d356b602cdc91640e13e2bc | b1a911108aca4d86c1ebe1af66fcbf4837dad810 | 2022-09-27T19:13:26Z | c++ | 2024-02-15T16:59:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,736 | ["docs/en/interfaces/formats.md"] | parsing error for jsoncompactcolumns | This text was changed after I realized that in jsoncompactcolumns you need to put the data in columns not rows as it may seem at a first glance in the documentation | https://github.com/ClickHouse/ClickHouse/issues/41736 | https://github.com/ClickHouse/ClickHouse/pull/46244 | 279232fc64d330496129cc01229f8318cf2adb0c | b3e60530f27ddd89f70a030f49f98d075ab28547 | 2022-09-23T15:05:03Z | c++ | 2023-02-09T18:06:45Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,727 | ["tests/queries/0_stateless/02806_cte_block_cannot_be_empty.reference", "tests/queries/0_stateless/02806_cte_block_cannot_be_empty.sql"] | Exception: Column name in Block cannot be empty: while executing 'FUNCTION | ClickHouse version 22.3.12.19
When I execute the following request
`
with c as (
select 1 ID, today() dt, 0 p
)
select
multiIf(t.ID = 1, formatRowNoNewline('JSONEachRow', dd), '') AS params
from (
select ID, case when p = 0 then toString(date_add(hour, p, dt)) else '2022-01-01' end as dd
from c... | https://github.com/ClickHouse/ClickHouse/issues/41727 | https://github.com/ClickHouse/ClickHouse/pull/51355 | 0fca64ced48e24c873290bd87116b100e5c22634 | 845ea87fbfa8e41fa2390caa1eee4ce66aaf1fbf | 2022-09-23T12:24:35Z | c++ | 2023-07-19T20:17:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,716 | ["src/Interpreters/InterpreterCreateQuery.cpp", "src/Storages/AlterCommands.cpp", "tests/queries/0_stateless/02454_disable_mergetree_with_lightweight_delete_column.reference", "tests/queries/0_stateless/02454_disable_mergetree_with_lightweight_delete_column.sql"] | Lightweight delete causes segfault when table is created with _row_exists column | **Describe the unexpected behaviour**
The lightweight delete feature implementation causes server side segfault when table is created with a `_row_exists` column.
**How to reproduce**
Tested on ~~master branch (commit `74ffb8438`)~~ tag `v22.8.5.29-lts`.
Edit: WARNING: be careful when testing, the created table... | https://github.com/ClickHouse/ClickHouse/issues/41716 | https://github.com/ClickHouse/ClickHouse/pull/41763 | caf6a99f41af59033ef61c7b06d6d6d70105b7e5 | 1719e000ea4bd3f461f06c3e647a3e7f3fc35a4d | 2022-09-23T08:21:28Z | c++ | 2022-09-27T10:20:19Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,692 | ["src/Interpreters/ClusterProxy/executeQuery.cpp", "src/Interpreters/ClusterProxy/executeQuery.h", "src/Storages/getStructureOfRemoteTable.cpp", "tests/queries/0_stateless/02346_additional_filters.reference", "tests/queries/0_stateless/02346_additional_filters.sql", "tests/queries/0_stateless/02346_additional_filters_d... | additional_table_filters with distributed table | This impacts the Grafana plugin.
From https://github.com/grafana/clickhouse-datasource/issues/198
if an adhoc filter is specified for the field t1_distributed.f2
the following query will be built by the plugin SELECT f1 from t1_distributed settings additional_table_filters = {'t1_distributed': 'f2 ... | https://github.com/ClickHouse/ClickHouse/issues/41692 | https://github.com/ClickHouse/ClickHouse/pull/42322 | 10b176fe197d5fde73f7254c64545bcf58655449 | d85bfe6ea346889680314edfa1bea6c5309ea11e | 2022-09-22T13:31:13Z | c++ | 2022-10-19T15:09:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,686 | ["src/DataTypes/DataTypesDecimal.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01691_DateTime64_clamp.reference", "tests/queries/0_stateless/01734_datetime64_from_float.reference", "tests/queries/0_stateless/01734_datetime64_from_float.sql"] | toDateTime64 returns different output with Float type and int type arguments. |
select toDateTime64(-86400 ,9,'UTC') == 1969-12-31 00:00:00.000000000
select toDateTime64(-86400.00 ,9,'UTC') == 1970-01-01 00:00:00.000000000
However, I expect both outputs to be same.
Version affected : 22.8 | https://github.com/ClickHouse/ClickHouse/issues/41686 | https://github.com/ClickHouse/ClickHouse/pull/42025 | f4f85a069b2a246118e8e454c2efccaf7e7e0dfa | 5e86375f177d79054b5f47cebbce7fc7234029e8 | 2022-09-22T12:40:07Z | c++ | 2022-10-04T12:12:18Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,647 | ["src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/02460_projections_and_aggregate_null_if_empty.reference", "tests/queries/0_stateless/02460_projections_and_aggregate_null_if_empty.sh"] | select max(date) from test_date always return -127593672 | **Describe the unexpected behaviour**
max(date) and min(date) always return the same negative value: -127593672
**How to reproduce**
ClickHouse version: Docker -- clickhouse/clickhouse-server:22.6.8.35-alpine
Architecture: linux/arm64
```
MySQL [test]> create table test_date (
date Int32,
hour Int32
... | https://github.com/ClickHouse/ClickHouse/issues/41647 | https://github.com/ClickHouse/ClickHouse/pull/42198 | 509f0426a9a447807ab5e5f0ac33b5f2bf738324 | 018c68b36d97d2bfe7b850f0165a208944c1b1fa | 2022-09-21T16:43:45Z | c++ | 2022-10-14T01:14:19Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,490 | ["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02426_to_string_nullable_fixedstring.reference", "tests/queries/0_stateless/02426_to_string_nullable_fixedstring.sql"] | 21.9+: Illegal column Nullable(FixedString(32)) of first argument of function toString | **Describe what's wrong**
```sql
SELECT toTypeName(s), toString(s) FROM
(
SELECT toFixedString('',32) AS s
UNION ALL
SELECT null AS s
)
```
this query works in all versions from 19.17 to 21.8, but stop works after 21.9+
https://fiddle.clickhouse.com/7bd65b36-a6e6-470a-8bdc-4c98a33ff453
21.8 works... | https://github.com/ClickHouse/ClickHouse/issues/41490 | https://github.com/ClickHouse/ClickHouse/pull/41541 | 49e0a87b8fe84670ba7ce85968f1463fc3809fa5 | a4feb81383c66a176e0f54874ad08bb66ff9f993 | 2022-09-19T08:06:18Z | c++ | 2022-09-21T17:44:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,452 | ["src/Core/Settings.h", "src/Interpreters/InterpreterCreateQuery.cpp", "tests/queries/0_stateless/02426_create_suspicious_fixed_string.reference", "tests/queries/0_stateless/02426_create_suspicious_fixed_string.sql", "tests/queries/0_stateless/02426_low_cardinality_fixed_string_insert_field.sh"] | A setting `allow_suspicious_fixed_string_types` | **Use case**
If FixedString is used with more than 256 bytes in size, it is suspicious and most likely indicates misusage.
Forbid this by default and add a setting to override it; ATTACH queries should allow creating tables nevertheless.
See also: `allow_suspicious_low_cardinality_types`.
| https://github.com/ClickHouse/ClickHouse/issues/41452 | https://github.com/ClickHouse/ClickHouse/pull/41495 | 0414d9587887c5b5718aa95141910ce66437b457 | 49e0a87b8fe84670ba7ce85968f1463fc3809fa5 | 2022-09-18T02:25:17Z | c++ | 2022-09-21T17:35:34Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,443 | ["src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp", "src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.h", "src/DataTypes/Serializations/SerializationArray.cpp", "tests/queries/0_stateless/02425_categorical_information_value_properties.reference", "tests/queries/0_stateless/024... | Crash in `categorialInformationValue` function | ```
SELECT categoricalInformationValue(x.1, x.2) FROM (SELECT arrayJoin([(0, 0), (NULL, 2), (1, 0), (1, 1)]) AS x)
``` | https://github.com/ClickHouse/ClickHouse/issues/41443 | https://github.com/ClickHouse/ClickHouse/pull/41449 | 45dc3faecadd5617c870678a314c0d556300e67a | c8c728e7407ad899adf36fa0c31ad32855bf2647 | 2022-09-17T21:27:58Z | c++ | 2022-09-18T02:26:26Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,418 | ["src/Common/Exception.cpp", "src/Common/Exception.h", "tests/queries/0_stateless/00956_sensitive_data_masking.reference", "tests/queries/0_stateless/00956_sensitive_data_masking.sh"] | query_masking_rules not work for exception messages at query_log | version 22.8.4.7
How to reproduce:
1. Add section to config.xml
` <query_masking_rules>
<rule>
<name>hide encrypt/decrypt arguments</name>
<regexp>((?:aes_)?(?:encrypt|decrypt)(?:_mysql)?)\s*\(\s*(?:'(?:\\'|.)+'|.*?)\s*\)</regexp>
<!-- or more secure, but also m... | https://github.com/ClickHouse/ClickHouse/issues/41418 | https://github.com/ClickHouse/ClickHouse/pull/42940 | 581e57be9fa4ee68e507fe0eb4f33bf787423119 | 6c2b53f0ae767b222ce41d01df256e85382161e4 | 2022-09-16T14:50:43Z | c++ | 2022-11-21T22:20:15Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,416 | ["programs/client/Client.cpp", "tests/queries/shell_config.sh"] | Duplicate accept request on self-signed server certificate | **Describe the unexpected behaviour**
On connection with server having self-signed certificate warning message and acceptance request issued twice.
**How to reproduce**
Provide server with self-signed certificate and make a secure connection.
**Expected behavior**
Only one warning message and acceptance reques... | https://github.com/ClickHouse/ClickHouse/issues/41416 | https://github.com/ClickHouse/ClickHouse/pull/41743 | 072c19ba96236a9dc3a8a613afe607c3c7cf6aa9 | b5768be1cadda0d5f28ccdcecd15c5eaab16a33c | 2022-09-16T12:58:37Z | c++ | 2022-09-28T14:13:13Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,383 | ["src/Processors/OffsetTransform.cpp", "tests/queries/0_stateless/02429_offset_pipeline_stuck_bug.reference", "tests/queries/0_stateless/02429_offset_pipeline_stuck_bug.sql"] | Logical error: Pipeline stuck | https://pastila.nl/?001ae728/52bc538966a011139c5dac06472b22f6 | https://github.com/ClickHouse/ClickHouse/issues/41383 | https://github.com/ClickHouse/ClickHouse/pull/41588 | c849dd4c76fe8f7d9987daf602f0d179cfc5ffd1 | 7e0914c3cebf513db693c12cd948e4c274d54f3b | 2022-09-15T16:06:49Z | c++ | 2022-09-21T14:42:42Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,380 | ["docker/test/integration/runner/compose/docker_compose_ldap.yml", "src/Access/LDAPAccessStorage.h", "src/Access/MemoryAccessStorage.h", "tests/integration/helpers/cluster.py", "tests/integration/test_ldap_external_user_directory/__init__.py", "tests/integration/test_ldap_external_user_directory/configs/ldap_with_role_... | Using LDAP user from a group with no matching ClickHouse role causes hangup. | **Describe the unexpected behaviour**
I have an LDAP user in a group with no matching role. When I try to execute a query as that user, ClickHouse hangs.
**How to reproduce**
* Which ClickHouse server version to use
22.8.5.29-alpine
```
Sep 07,2022 16:06:49 ⟥ When I add LDAP user to the group that ... | https://github.com/ClickHouse/ClickHouse/issues/41380 | https://github.com/ClickHouse/ClickHouse/pull/55119 | 48ce595e247c76020f3a74dd9ea965aec1e3ce10 | b38d4b5b0fb6956242e9a870ea5d6275210f3a22 | 2022-09-15T15:52:45Z | c++ | 2023-10-07T22:38:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,269 | ["src/Interpreters/MonotonicityCheckVisitor.h", "tests/queries/0_stateless/02147_order_by_optimizations.sql"] | Clickhouse got stuck and had thrown a coredump |
Clickhouse got stuck and had thrown a coredump
Optimize table process has been started there before the fail
**Does it reproduce on recent release?**
v22.3.6.5-lts
**Error message and/or stacktrace**
https://pastila.nl/?00ea0713/9ad972e00fde60564ff00853050fcc1d
Can't provide the coredump file for ND... | https://github.com/ClickHouse/ClickHouse/issues/41269 | https://github.com/ClickHouse/ClickHouse/pull/41740 | cea21846ea8977b811802b3e7ec3979651c24b4c | da375f27c5ead71ac5f70e883164a368b07d53c9 | 2022-09-13T16:13:57Z | c++ | 2022-09-28T12:45:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,200 | ["docker/server/entrypoint.sh"] | Not found: https_port (version 22.9.1.1693 (official build)) | Hello,
I just updated my local clickhouse version in docker to head (from 22.8.4.7) and now it refuses to start.
The error in the log is :
Poco::Exception. Code: 1000, e.code() = 0, Not found: https_port (version 22.9.1.1693 (official build))
Is there any extra configuration to do for version 22.9 ?
Thank... | https://github.com/ClickHouse/ClickHouse/issues/41200 | https://github.com/ClickHouse/ClickHouse/pull/41693 | e36a53a762e0c18e34ceeda25a454ba8d1c6d229 | 10bb41a2b7842a45f43bf92b1c0aa051c3f744de | 2022-09-12T08:55:42Z | c++ | 2022-09-22T14:02:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,182 | ["src/Processors/Transforms/PartialSortingTransform.cpp", "tests/queries/0_stateless/02428_partial_sort_optimization_bug.reference", "tests/queries/0_stateless/02428_partial_sort_optimization_bug.sql"] | Random results of ORDER BY with LIMIT and a segfault | Hello! It seems I have managed to produce a segfault in my ClickHouse server.
I have a table that looks like this:
```
CREATE TABLE test_table (
"column_1" String NOT NULL,
"column_2" LowCardinality(String) NOT NULL,
"column_3" LowCardinality(String) NOT NULL,
"timestamp" Datetime64(6) NOT NULL
)
ENGINE ... | https://github.com/ClickHouse/ClickHouse/issues/41182 | https://github.com/ClickHouse/ClickHouse/pull/41576 | 7e0914c3cebf513db693c12cd948e4c274d54f3b | 1204f643f1b0f2e8eb92bc844ca8fac3865db3c2 | 2022-09-10T18:16:23Z | c++ | 2022-09-21T14:47:18Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,076 | ["src/Coordination/CoordinationSettings.h", "src/Coordination/KeeperDispatcher.cpp", "tests/integration/test_keeper_session/configs/keeper_config1.xml", "tests/integration/test_keeper_session/configs/keeper_config2.xml", "tests/integration/test_keeper_session/configs/keeper_config3.xml", "tests/integration/test_keeper_... | Remove all connected sessions during keeper shutdown | Sessions in clickhouse-keeper are local entity for each quorum participant but some information about session are global for the state of keeper: session_ids and corresponding ephemeral nodes. It make sense to send close requests to RAFT during server shutdown so all connected sessions will be closed properly and corre... | https://github.com/ClickHouse/ClickHouse/issues/41076 | https://github.com/ClickHouse/ClickHouse/pull/41215 | 7e3fb0a681618676475f5721f6a0f06ec33fc77b | 36f46891ddada9fded30156dce733e3cee03c5e6 | 2022-09-07T09:45:45Z | c++ | 2022-09-13T17:09:34Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,043 | ["docs/zh/whats-new/changelog/2017.md", "docs/zh/whats-new/changelog/2018.md", "docs/zh/whats-new/changelog/2019.md", "docs/zh/whats-new/changelog/2020.md"] | The changelog in Chinese has unreasonable and outdated mistranslations | (you don't have to strictly follow this form)
**Describe the issue**
A clear and concise description of what's wrong in documentation.
- The changelog in Chinese has unreasonable and outdated mistranslations. For example, `碌莽禄release拢.0755-88888888` is actually a malicious advertising call, which will mislead p... | https://github.com/ClickHouse/ClickHouse/issues/41043 | https://github.com/ClickHouse/ClickHouse/pull/41174 | 6924a931c63a9f151318c55fab1d83308925e173 | 115de2c843c9f61af5ca0f1ba02d7d3769bef8e8 | 2022-09-06T12:16:11Z | c++ | 2022-09-10T04:03:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,018 | ["src/Parsers/ParserSelectQuery.cpp", "src/Parsers/ParserTablesInSelectQuery.cpp", "src/Parsers/ParserTablesInSelectQuery.h", "tests/queries/0_stateless/02417_from_select_syntax.reference", "tests/queries/0_stateless/02417_from_select_syntax.sql"] | FROM table SELECT column | **Use case**
We're building a publicly available CH query interface (like Play UI but with enhanced capabilities like exploring the data and other goodies).
Essentially, it will contain TBs of publicly available blockchain analytics data served over browser and powered by CH.
Thousands of users are expected to use... | https://github.com/ClickHouse/ClickHouse/issues/41018 | https://github.com/ClickHouse/ClickHouse/pull/41095 | 9eeed564aa0b7521a39efcda9552ae46ff7971d1 | c2ceb783ea793df7a792a21a20a885dcc7905d84 | 2022-09-05T23:31:43Z | c++ | 2022-12-02T19:17:44Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,017 | ["utils/self-extracting-executable/decompressor.cpp"] | Issue running client from MacOS Aarch64 (Apple Silicon) binary | Hi,
I'm running the ClickHouse binary, I downloaded it with the command
```bash
curl -O 'https://builds.clickhouse.com/master/macos-aarch64/clickhouse' && chmod a+x ./clickhouse
```
But when I run `./clickhouse client` I got the following error:
```
$ ./clickhouse client
open maps: No such file or direc... | https://github.com/ClickHouse/ClickHouse/issues/41017 | https://github.com/ClickHouse/ClickHouse/pull/41006 | b7bdd38e410826953353e6cfa1687d91215a9bd3 | 6339b106beb18fb57739a841d9ad9a258c529258 | 2022-09-05T22:30:10Z | c++ | 2022-09-06T01:45:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,004 | ["base/base/StringRef.h", "src/Columns/ColumnNullable.cpp", "src/Columns/ColumnNullable.h", "src/Columns/ColumnUnique.h", "src/Columns/IColumnUnique.h", "src/Functions/array/arrayIndex.h", "src/Processors/Formats/Impl/RawBLOBRowOutputFormat.cpp", "tests/queries/0_stateless/02419_contingency_array_nullable.reference", "... | Buffer overflow in `AggregateFunctionCrossTab` | https://s3.amazonaws.com/clickhouse-test-reports/0/e12858dca51e4587b01547cc132e527502f136c1/stateless_tests__asan__[1/2].html
```
==641==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60c002494a40 at pc 0x000039cd0635 bp 0x7f4d78fa9f00 sp 0x7f4d78fa9ef8
READ of size 8 at 0x60c002494a40 thread T1818 (Qu... | https://github.com/ClickHouse/ClickHouse/issues/41004 | https://github.com/ClickHouse/ClickHouse/pull/40195 | 49e0b1316df5e7ddff014af19b67bcb21f01f2d0 | 2aedd410233e8590df7c0ec46e941fbcdb13972c | 2022-09-05T15:01:39Z | c++ | 2022-09-12T14:29:23Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 41,001 | ["src/Interpreters/ProcessList.cpp", "src/Interpreters/ProcessList.h", "tests/queries/0_stateless/02450_kill_distributed_query_deadlock.reference", "tests/queries/0_stateless/02450_kill_distributed_query_deadlock.sh"] | Lock order inversion in OvercommitTracker | https://s3.amazonaws.com/clickhouse-test-reports/0/8ea7b9c9784f7014dccb4fe0dfd269265126a30d/stress_test__msan_.html
Post-processed traces: https://pastila.nl/?0006a09d/4a3864799d8b23c3998deeefcdca5d8f
Post-processed traces without boring threads: https://pastila.nl/?0006a09d/f342d95a823d513df62d68a5d8a1a50b
Expl... | https://github.com/ClickHouse/ClickHouse/issues/41001 | https://github.com/ClickHouse/ClickHouse/pull/41467 | 8d88b68a85c0a9d94823a75ef91ef9f7c959015c | c8f2820bf1f107b7d874bd98753e69074c7063c8 | 2022-09-05T13:34:12Z | c++ | 2022-09-20T10:59:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 40,913 | ["programs/server/config.xml", "src/Access/AccessControl.cpp", "src/Access/AccessControl.h", "src/Interpreters/Access/InterpreterCreateUserQuery.cpp", "tests/queries/0_stateless/02422_allow_implicit_no_password.config.xml", "tests/queries/0_stateless/02422_allow_implicit_no_password.reference", "tests/queries/0_statele... | An option to prevent creating a user identified with no password when the section IDENTIFIED WITH is omitted. | **Describe the solution you'd like**
An option to make the `IDENTIFIED WITH` section mandatory.
| https://github.com/ClickHouse/ClickHouse/issues/40913 | https://github.com/ClickHouse/ClickHouse/pull/41341 | 63e757a659ad9040968620242a0c7fcf6adb89a0 | a7f3c7086c66c972aa72988c2fb63da9bd1b6c75 | 2022-09-01T23:17:20Z | c++ | 2022-09-22T13:19:43Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 40,846 | ["src/Processors/Transforms/AggregatingTransform.cpp", "tests/queries/0_stateless/02418_do_not_return_empty_blocks_from_ConvertingAggregatedToChunksTransform.reference", "tests/queries/0_stateless/02418_do_not_return_empty_blocks_from_ConvertingAggregatedToChunksTransform.sh"] | multiple empty blocks in the result | ```sql
cat s1.sql
drop table if exists temp2;
CREATE TABLE temp2
(
`u` Date,
`c` String,
`p` UInt32
)
ENGINE = Log as
select * from (
select '2022-08-01' u ,'A',202208 from numbers(300000)
union all select '2022-08-02','A',202208 from numbers(300000)
union all select '2022-08-03','A',202208 ... | https://github.com/ClickHouse/ClickHouse/issues/40846 | https://github.com/ClickHouse/ClickHouse/pull/41152 | 6e77751581121a41949882bfc7907594905b3d87 | 6f186d3dd2e67f32ba300272c0b4e15e6333c63e | 2022-08-31T12:20:36Z | c++ | 2022-09-16T19:54:36Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 40,706 | ["src/Storages/StorageView.cpp", "tests/queries/0_stateless/02402_merge_engine_with_view.reference", "tests/queries/0_stateless/02402_merge_engine_with_view.sql"] | Logical error: invalid table expression | **How to reproduce**
clickhouse-local:
```
CREATE TABLE f (`s` String) ENGINE = File(TSV, '/dev/null');
CREATE VIEW v AS SELECT * FROM f;
SELECT '', NULL FROM merge('', '\0');
```
| https://github.com/ClickHouse/ClickHouse/issues/40706 | https://github.com/ClickHouse/ClickHouse/pull/40734 | b3fc6eafe7098050d3b5a9046e3734b721be8c2b | 018f4118bb11b199f1c5f632034f789b60e1bd16 | 2022-08-27T14:07:28Z | c++ | 2022-09-01T10:20:00Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 40,637 | ["src/Interpreters/DatabaseCatalog.cpp", "src/Storages/StorageBuffer.cpp", "src/Storages/StorageBuffer.h", "tests/queries/0_stateless/02391_recursive_buffer.reference", "tests/queries/0_stateless/02391_recursive_buffer.sql"] | SegFault with "recursive" buffer table | ClickHouse crushed on request to system.tables if has an incorrect "self-flushing" buffer table.
```
xxxx :) CREATE TABLE test (key UInt32) Engine=Buffer(default, test, 16, 10, 100, 10000, 1000000, 10000000, 100000000);
CREATE TABLE test
(
`key` UInt32
)
ENGINE = Buffer(default, test, 16, 10, 100, 1000... | https://github.com/ClickHouse/ClickHouse/issues/40637 | https://github.com/ClickHouse/ClickHouse/pull/40643 | abfddf17e29199be3345b61be782f099e1a09330 | 7569cbb38184c631772b3c130a7515f1e55b77b3 | 2022-08-25T18:54:15Z | c++ | 2022-08-27T16:27:24Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.