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
40,629
["src/Processors/QueryPlan/AggregatingStep.cpp", "tests/queries/0_stateless/02343_group_by_use_nulls.reference", "tests/queries/0_stateless/02343_group_by_use_nulls.sql"]
Bad cast from type DB::ColumnNullable to DB::ColumnVector<unsigned long>
ERROR: type should be string, got "https://s3.amazonaws.com/clickhouse-test-reports/0/66e677b307558eec0fa18444dca828983c5d3093/fuzzer_astfuzzerubsan//report.html\r\n\r\n```\r\n2022.08.25 13:46:47.095221 [ 212 ] {477e3605-187f-4cad-9574-998bde09e74f} <Debug> executeQuery: (from [::ffff:127.0.0.1]:37656) SELECT 0, sum(number) AS val FROM numbers(1048576) GROUP BY GROUPING SETS (('1025'), (number)) ORDER BY '0.2147483646' ASC, (number, number % 2, val) DESC SETTINGS group_by_use_nulls = 1 (stage: Complete)\r\n2022.08.25 13:46:47.095336 [ 212 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> ContextAccess (default): Access granted: CREATE TEMPORARY TABLE ON *.*\r\n2022.08.25 13:46:47.095758 [ 212 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> InterpreterSelectQuery: FetchColumns -> Complete\r\n2022.08.25 13:46:47.098240 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> AggregatingTransform: Aggregating\r\n2022.08.25 13:46:47.098243 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> AggregatingTransform: Aggregating\r\n2022.08.25 13:46:47.098269 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> Aggregator: Aggregation method: without_key\r\n2022.08.25 13:46:47.098288 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> Aggregator: Aggregation method: key64\r\n2022.08.25 13:46:47.098957 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Debug> AggregatingTransform: Aggregated. 1048576 to 1 rows (from 8.00 MiB) in 0.003004867 sec. (348959205.183 rows/sec., 2.60 GiB/sec.)\r\n2022.08.25 13:46:47.098979 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> Aggregator: Merging aggregated data\r\n2022.08.25 13:46:47.098995 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> Aggregator: Statistics updated for key=7339891029760931553: new sum_of_sizes=1, median_size=1\r\n2022.08.25 13:46:47.238693 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Debug> AggregatingTransform: Aggregated. 1048576 to 1048576 rows (from 8.00 MiB) in 0.142719459 sec. (7347113.052 rows/sec., 56.05 MiB/sec.)\r\n2022.08.25 13:46:47.238730 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> Aggregator: Merging aggregated data\r\n2022.08.25 13:46:47.238749 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Trace> Aggregator: Statistics updated for key=7339891029760931553: new sum_of_sizes=1048576, median_size=1048576\r\n2022.08.25 13:46:47.607124 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Debug> DiskLocal: Reserving 36.00 MiB on disk `_tmp_default`, having unreserved 83.77 GiB.\r\n2022.08.25 13:46:47.607259 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Information> MergeSortingTransform: Sorting and writing part of data into temporary file ./tmp/tmp126mkaaaa\r\n2022.08.25 13:46:47.607367 [ 448 ] {477e3605-187f-4cad-9574-998bde09e74f} <Information> MergeSortingTransform: There are 1 temporary sorted parts to merge.\r\n2022.08.25 13:46:47.643680 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Fatal> : Logical error: 'Bad cast from type DB::ColumnNullable to DB::ColumnVector<unsigned long>'.\r\n2022.08.25 13:48:59.940799 [ 212 ] {477e3605-187f-4cad-9574-998bde09e74f} <Information> TCPHandler: Query was cancelled.\r\n2022.08.25 13:48:59.941136 [ 450 ] {} <Fatal> BaseDaemon: (version 22.9.1.1 (official build), build id: C0F734BC13E32605) (from thread 449) (query_id: 477e3605-187f-4cad-9574-998bde09e74f) (query: SELECT 0, sum(number) AS val FROM numbers(1048576) GROUP BY GROUPING SETS (('1025'), (number)) ORDER BY '0.2147483646' ASC, (number, number % 2, val) DESC SETTINGS group_by_use_nulls = 1) Received signal Aborted (6)\r\n\r\n\r\n2022.08.25 13:46:47.643680 [ 449 ] {477e3605-187f-4cad-9574-998bde09e74f} <Fatal> : Logical error: 'Bad cast from type DB::ColumnNullable to DB::ColumnVector<unsigned long>'.\r\n2022.08.25 13:48:59.940978 [ 450 ] {} <Fatal> BaseDaemon: ########################################\r\n2022.08.25 13:48:59.941136 [ 450 ] {} <Fatal> BaseDaemon: (version 22.9.1.1 (official build), build id: C0F734BC13E32605) (from thread 449) (query_id: 477e3605-187f-4cad-9574-998bde09e74f) (query: SELECT 0, sum(number) AS val FROM numbers(1048576) GROUP BY GROUPING SETS (('1025'), (number)) ORDER BY '0.2147483646' ASC, (number, number % 2, val) DESC SETTINGS group_by_use_nulls = 1) Received signal Aborted (6)\r\n2022.08.25 13:48:59.941289 [ 450 ] {} <Fatal> BaseDaemon: \r\n2022.08.25 13:48:59.941472 [ 450 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f133f91100b 0x7f133f8f0859 0x1027d5e3 0x1027d88f 0x18c7e484 0x24b072d8 0x24ae8454 0x24b460e8 0x26fc4986 0x26fc41f3 0x273fef0f 0x26fd6ae5 0x270054a5 0x27004fcb 0x26ff505b 0x26ff6660 0x26ff6546 0x10348272 0x1034aec3 0x7f133fac8609 0x7f133f9ed133\r\n2022.08.25 13:48:59.941691 [ 450 ] {} <Fatal> BaseDaemon: 3. raise in ?\r\n2022.08.25 13:48:59.941932 [ 450 ] {} <Fatal> BaseDaemon: 4. abort in ?\r\n2022.08.25 13:48:59.969995 [ 450 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/Common/Exception.cpp:47: DB::abortOnFailedAssertion(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in /workspace/clickhouse\r\n2022.08.25 13:48:59.993479 [ 450 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Common/Exception.cpp:70: DB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, bool) in /workspace/clickhouse\r\n2022.08.25 13:49:00.968140 [ 450 ] {} <Fatal> BaseDaemon: 7. DB::ColumnVector<unsigned long> const& typeid_cast<DB::ColumnVector<unsigned long> const&, DB::IColumn const>(DB::IColumn const&) in /workspace/clickhouse\r\n2022.08.25 13:49:00.981626 [ 450 ] {} <Fatal> BaseDaemon: 8. ./build_docker/../src/DataTypes/Serializations/SerializationNumber.cpp:137: DB::SerializationNumber<unsigned long>::serializeBinaryBulk(DB::IColumn const&, DB::WriteBuffer&, unsigned long, unsigned long) const in /workspace/clickhouse\r\n2022.08.25 13:49:00.987036 [ 450 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/../contrib/libcxx/include/vector:1594: std::__1::vector<DB::ISerialization::Substream, std::__1::allocator<DB::ISerialization::Substream> >::pop_back()\r\n2022.08.25 13:49:00.987062 [ 450 ] {} <Fatal> BaseDaemon: 9. ../src/DataTypes/Serializations/SerializationNamed.cpp:55: DB::SerializationNamed::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::__1::shared_ptr<DB::ISerialization::SerializeBinaryBulkState>&) const in /workspace/clickhouse\r\n2022.08.25 13:49:00.997745 [ 450 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/DataTypes/Serializations/SerializationTuple.cpp:0: DB::SerializationTuple::serializeBinaryBulkWithMultipleStreams(DB::IColumn const&, unsigned long, unsigned long, DB::ISerialization::SerializeBinaryBulkSettings&, std::__1::shared_ptr<DB::ISerialization::SerializeBinaryBulkState>&) const in /workspace/clickhouse\r\n2022.08.25 13:49:01.008365 [ 450 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Formats/NativeWriter.cpp:64: DB::writeData(DB::ISerialization const&, COW<DB::IColumn>::immutable_ptr<DB::IColumn> const&, DB::WriteBuffer&, unsigned long, unsigned long) in /workspace/clickhouse\r\n2022.08.25 13:49:01.017867 [ 450 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Formats/NativeWriter.cpp:166: DB::NativeWriter::write(DB::Block const&) in /workspace/clickhouse\r\n2022.08.25 13:49:01.050545 [ 450 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Processors/Transforms/MergeSortingTransform.cpp:0: DB::BufferingToFileTransform::consume(DB::Chunk) in /workspace/clickhouse\r\n2022.08.25 13:49:01.062069 [ 450 ] {} <Fatal> BaseDaemon: 14.1. inlined from ./build_docker/../src/Processors/Chunk.h:32: ~Chunk\r\n2022.08.25 13:49:01.062096 [ 450 ] {} <Fatal> BaseDaemon: 14. ../src/Processors/IAccumulatingTransform.cpp:97: DB::IAccumulatingTransform::work() in /workspace/clickhouse\r\n2022.08.25 13:49:01.069074 [ 450 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:50: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) in /workspace/clickhouse\r\n2022.08.25 13:49:01.075486 [ 450 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:93: DB::ExecutionThreadContext::executeTask() in /workspace/clickhouse\r\n2022.08.25 13:49:01.090797 [ 450 ] {} <Fatal> BaseDaemon: 17. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:228: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) in /workspace/clickhouse\r\n2022.08.25 13:49:01.107881 [ 450 ] {} <Fatal> BaseDaemon: 18. ./build_docker/../contrib/libcxx/include/type_traits:3648: decltype(static_cast<DB::PipelineExecutor::spawnThreads()::$_0&>(fp)()) std::__1::__invoke_constexpr<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) in /workspace/clickhouse\r\n2022.08.25 13:49:01.124948 [ 450 ] {} <Fatal> BaseDaemon: 19.1. inlined from ./build_docker/../contrib/libcxx/include/tuple:0: operator()\r\n2022.08.25 13:49:01.124973 [ 450 ] {} <Fatal> BaseDaemon: 19. ../contrib/libcxx/include/type_traits:3640: decltype(static_cast<DB::PipelineExecutor::spawnThreads()::$_0>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) in /workspace/clickhouse\r\n2022.08.25 13:49:01.134093 [ 450 ] {} <Fatal> BaseDaemon: 20.1. inlined from ./build_docker/../contrib/libcxx/include/__functional/function.h:1157: std::__1::function<void ()>::operator=(std::nullptr_t)\r\n2022.08.25 13:49:01.134114 [ 450 ] {} <Fatal> BaseDaemon: 20. ../src/Common/ThreadPool.cpp:284: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) in /workspace/clickhouse\r\n2022.08.25 13:49:01.144858 [ 450 ] {} <Fatal> BaseDaemon: 21. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()> >(void*) in /workspace/clickhouse\r\n2022.08.25 13:49:01.144881 [ 450 ] {} <Fatal> BaseDaemon: 22. ? in ?\r\n2022.08.25 13:49:01.144930 [ 450 ] {} <Fatal> BaseDaemon: 23. __clone in ?\r\n2022.08.25 13:49:01.457050 [ 450 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: DBD24847576AE046A0B2EF4B7FE55D76)\r\n\r\n```\r\n"
https://github.com/ClickHouse/ClickHouse/issues/40629
https://github.com/ClickHouse/ClickHouse/pull/40997
2587ba96c3262afd330a571d210353aacc064810
981e9dbce2fbcb68ab4700c20363846f7e04bbf5
2022-08-25T15:11:03Z
c++
2022-09-06T22:08:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,621
["contrib/NuRaft", "docs/en/operations/clickhouse-keeper.md", "src/Coordination/CoordinationSettings.cpp", "src/Coordination/FourLetterCommand.cpp", "src/Coordination/FourLetterCommand.h", "src/Coordination/Keeper4LWInfo.h", "src/Coordination/KeeperDispatcher.h", "src/Coordination/KeeperServer.cpp", "src/Coordination/K...
Support manually snapshot for Keeper.
> (you don't have to strictly follow this form) **Use case** Support manually snapshot for Keeper. **Describe the solution you'd like** Throught 4lw commands, such as `csnp`.
https://github.com/ClickHouse/ClickHouse/issues/40621
https://github.com/ClickHouse/ClickHouse/pull/41766
e08f94d0f812e296fad969453d7076fe37312c24
9ac829d4c4beee74f3e11da2b9c16e0ac0399066
2022-08-25T12:42:03Z
c++
2022-11-07T08:18:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,611
["src/Common/OvercommitTracker.cpp", "src/Common/OvercommitTracker.h", "src/Interpreters/ProcessList.cpp", "src/Interpreters/ProcessList.h"]
Strange hung in OvercommitTracker
Preprocessed traces: https://pastila.nl/?0006a09d/f3f1725be8a2ec8787b2d5c8b1eb6532 Report: https://s3.amazonaws.com/clickhouse-test-reports/40506/f2be18b3a644debbb882b8a9e8396b0375461b36/stress_test__undefined_.html
https://github.com/ClickHouse/ClickHouse/issues/40611
https://github.com/ClickHouse/ClickHouse/pull/40677
2588901bc9178284f304cd6e3e72965e3da64554
0ec7f068ccbfe71e7e84d76bfbe2d835ef0540d8
2022-08-25T11:04:21Z
c++
2022-08-30T10:54:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,599
["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/02420_key_condition_actions_dag_bug_40599.reference", "tests/queries/0_stateless/02420_key_condition_actions_dag_bug_40599.sql"]
22.8.2.11 sql filter exception
> Make sure to check documentation https://clickhouse.com/docs/en/ first. If the question is concise and probably has a short answer, asking it in Telegram chat https://telegram.me/clickhouse_en is probably the fastest way to find the answer. For more complicated questions, consider asking them on StackOverflow with "c...
https://github.com/ClickHouse/ClickHouse/issues/40599
https://github.com/ClickHouse/ClickHouse/pull/41281
9597a470169e68cd0a380bed6db9780da5b329b3
16f78eb8043444f8b50ede478b833fad4379292d
2022-08-25T06:46:22Z
c++
2022-09-16T14:06:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,595
["src/Access/Common/AllowedClientHosts.cpp", "src/Common/CaresPTRResolver.cpp", "src/Common/CaresPTRResolver.h", "src/Common/DNSPTRResolver.h", "src/Common/DNSResolver.cpp", "src/Common/DNSResolver.h", "tests/integration/test_host_regexp_hosts_file_resolution/__init__.py", "tests/integration/test_host_regexp_hosts_file...
22.8.2 version users.xml <host_regexp> abnormal
> Make sure to check documentation https://clickhouse.com/docs/en/ first. If the question is concise and probably has a short answer, asking it in Telegram chat https://telegram.me/clickhouse_en is probably the fastest way to find the answer. For more complicated questions, consider asking them on StackOverflow with "c...
https://github.com/ClickHouse/ClickHouse/issues/40595
https://github.com/ClickHouse/ClickHouse/pull/40769
be81d21fdfa30523a4310fd554df70140d40a7de
022f440ad08bb1c193a3d9ea3a708f5c2866ef60
2022-08-25T01:17:19Z
c++
2022-08-30T11:35:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,593
["docker/test/stateless/run.sh", "tests/clickhouse-test"]
Check what components are not covered by tests
After functional tests are finished, run the following query: ``` SELECT name FROM system.functions WHERE NOT is_aggregate AND origin = 'System' AND alias_to = '' AND name NOT IN (SELECT arrayJoin(used_functions) FROM system.query_log) ORDER BY name ``` This will give you a list of functions not covered by te...
https://github.com/ClickHouse/ClickHouse/issues/40593
https://github.com/ClickHouse/ClickHouse/pull/40647
f86242c17e48c50b348f98326fd366c064b57a70
7bd1142f63c777fba545a2d36818d6ecb382d8a3
2022-08-24T22:03:03Z
c++
2022-08-27T20:13:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,587
["src/Common/base58.h", "src/Functions/FunctionBase58Conversion.h", "tests/queries/0_stateless/02337_base58.reference", "tests/queries/0_stateless/02337_base58.sql"]
base58Encode does not work correctly if a string starts with null byte
`base58Encode` does not encode the data correctly. Compare output from `base58Encode` to the one from `hex`: ``` :) select base58Encode('\x00\x0b\xe3\xe1\xeb\xa1\x7a\x47\x3f\x89\xb0\xf7\xe8\xe2\x49\x40\xf2\x0a\xeb\x8e\xbc\xa7\x1a\x88\xfd\xe9\x5d\x4b\x83\xb7\x1a\x09') as encoded_data format JSONEachRow; {"encoded...
https://github.com/ClickHouse/ClickHouse/issues/40587
https://github.com/ClickHouse/ClickHouse/pull/40620
c9dea66f8d37c13e27678eeeec246c6a97e40e67
1c8c83ccf3f37d30d879fd88be3cd9bd21225b37
2022-08-24T16:25:42Z
c++
2022-08-26T08:18:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,573
["docs/en/sql-reference/functions/arithmetic-functions.md", "docs/ru/sql-reference/functions/arithmetic-functions.md", "src/Functions/FunctionsDecimalArithmetics.cpp", "src/Functions/FunctionsDecimalArithmetics.h", "tests/queries/0_stateless/02475_precise_decimal_arithmetics.reference", "tests/queries/0_stateless/02475...
Add precise Decimal division
Right now, `Decimal` devision (#30341, #38054) can cause some pain. It works fine, but with strict limitations -- e.g. we cannot divide Decimals that have scale more than half of max scale (#39600). Currently used division has good speed -- in fact, we just make 1 division (expensive) and multiplication (not so ex...
https://github.com/ClickHouse/ClickHouse/issues/40573
https://github.com/ClickHouse/ClickHouse/pull/42438
58557c87c23535e9831695b39bf038cf68524d1d
87fcf1b5dbb0449d472b71f13edaa3e6326212aa
2022-08-24T11:02:54Z
c++
2022-11-25T16:35:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,571
["contrib/NuRaft", "src/Coordination/KeeperServer.cpp", "src/Coordination/KeeperStorage.cpp", "src/Coordination/KeeperStorage.h"]
Clickhouse Keeper v22.7 crashing on every startup with segfault 11
**Describe what's wrong** Clickhouse keeper is crashing during initialization with segfault. This repeats on every start - we're unable to start the keeper server, either from existing data or from the new ones, it always crashes after a few minutes of initializing. We're running a standalone dockerized keeper insta...
https://github.com/ClickHouse/ClickHouse/issues/40571
https://github.com/ClickHouse/ClickHouse/pull/40627
e98ceb2575133ff1218fb79df3558089814aa223
cecdcb50598aad333d8cb784b914a19a567e0b88
2022-08-24T10:50:52Z
c++
2022-09-01T07:13:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,558
["docs/en/operations/tips.md", "utils/check-style/aspell-ignore/en/aspell-dict.txt"]
Update File System Section of Clickhouse Documentation
I was trying to use ClickHouse on an exFAT storage system, but every mutation query was throwing an error. This thread (https://github.com/Altinity/clickhouse-operator/issues/813) helped me understand that Clickhouse requires a file system that has hard linking (which to my understanding exFAT does not support). ...
https://github.com/ClickHouse/ClickHouse/issues/40558
https://github.com/ClickHouse/ClickHouse/pull/40967
507ad0c4d9c1b331a35dc9c91e79aeb9bc96ed35
928c1cd0d4cf47d83dc085ac89aaae6dc1802903
2022-08-23T22:27:24Z
c++
2022-09-08T13:56:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,547
["utils/self-extracting-executable/decompressor.cpp"]
Self-extracting: possible race condition on decompression.
**Describe the unexpected behaviour** When compressed clickhouse started multiple times it is possible (and maybe quite probable) that some of them will end up with errors. It happens due to the fact that decompression process is trying to manipulate files in order to substitute compressed clickhouse with decompressed...
https://github.com/ClickHouse/ClickHouse/issues/40547
https://github.com/ClickHouse/ClickHouse/pull/40591
45fe9c800a1ca05edcc3a7ffaefab503e999f6b5
6815d7910266d0862118cd1d1519966438d3beaa
2022-08-23T15:13:22Z
c++
2022-09-02T10:26:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,536
["src/Common/base58.h", "src/Functions/FunctionBase58Conversion.h", "tests/queries/0_stateless/02337_base58.reference", "tests/queries/0_stateless/02337_base58.sql"]
base58Decode produces incorrect output
It looks like ClickHouse's base58Decode function works incorrectly. For example, base58-encoded value `1BWutmTvYPwDtmw9abTkS4Ssr8no61spGAvW1X6NDix` should be decoded to a 32 byte array. Here is an example from python which works correctly: ``` $ python3 -m venv ~/.venv/base58 $ ~/.venv/base58/bin/pip install ba...
https://github.com/ClickHouse/ClickHouse/issues/40536
https://github.com/ClickHouse/ClickHouse/pull/40620
c9dea66f8d37c13e27678eeeec246c6a97e40e67
1c8c83ccf3f37d30d879fd88be3cd9bd21225b37
2022-08-23T11:48:41Z
c++
2022-08-26T08:18:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,333
["src/Columns/ColumnObject.cpp", "src/Columns/ColumnObject.h", "src/DataTypes/ObjectUtils.cpp", "src/DataTypes/ObjectUtils.h", "src/DataTypes/Serializations/SerializationObject.cpp", "tests/queries/0_stateless/02287_type_object_convert.reference", "tests/queries/0_stateless/02287_type_object_convert.sql"]
ClickHouse terminates on JSONAsObject
ClickHouse terminates on executing - version `22.8.1.1917` `SELECT * FROM url('https://datahub.io/core/geo-countries/r/0.geojson', JSONAsObject)` works as expected with JSONAsString ``` 2022.08.18 08:54:45.969150 [ 459927 ] {} <Fatal> BaseDaemon: 16.1. inlined from ./build_docker/../contrib/libcxx/include/v...
https://github.com/ClickHouse/ClickHouse/issues/40333
https://github.com/ClickHouse/ClickHouse/pull/40483
ddac1b3f113bd011c6de73a2525756ea21e6054d
5a3e24c4e4c23b4e56a89ac0c06a0b357d92d3c7
2022-08-18T08:58:26Z
c++
2022-08-31T14:07:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,330
["src/Interpreters/Context.cpp", "tests/integration/test_log_levels_update/configs/log.xml", "tests/integration/test_log_levels_update/test.py"]
Warning suppression mechanism
I have ClickHouse server running in virtual environment that reports the following warning: ``` # clickhouse-client ClickHouse client version 22.7.2.15 (official build). Connecting to localhost:9000 as user default. Connected to ClickHouse server version 22.7.2 revision 54457. Warnings: * Linux is not using...
https://github.com/ClickHouse/ClickHouse/issues/40330
https://github.com/ClickHouse/ClickHouse/pull/40548
a16d4dd605e74c80a59be8bc2012f3aba0268876
5cbe7e08464a0ed2744551eec8d4ac8f03dc4e75
2022-08-18T08:47:44Z
c++
2022-08-29T12:02:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,325
[".github/workflows/backport_branches.yml", ".github/workflows/docs_check.yml", ".github/workflows/pull_request.yml", "tests/ci/merge_pr.py"]
Automatically merge the best pull requests
If a pull request is approved and has no modifications after it is approved and all the checks are green and there are more than 100 checks, merge automatically. https://github.com/ClickHouse/ClickHouse/blob/be29057de1835f6f4a17e03a422b45b81efe6833/docs/ru/whats-new/extended-roadmap.md#735-%D0%BD%D0%B0%D1%87%D0%B0%D...
https://github.com/ClickHouse/ClickHouse/issues/40325
https://github.com/ClickHouse/ClickHouse/pull/41110
75318e4cee34c2757f96322c797f3e00022ce2fb
e6b3f54842290cbca46808791370b4b13bd9ffde
2022-08-18T06:25:32Z
c++
2023-01-13T20:16:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,280
["src/Client/ClientBase.cpp"]
/ (shortcut) to repeat the last (previous) SQL command (clickHouse-client)
Oracle cli client (sqlplus) has a neat feature, if you put `/[enter]` in the prompt, it re-executes the last SQL. ```sql :) select 1; ┌─1─┐ │ 1 │ └───┘ :) / ┌─1─┐ │ 1 │ └───┘ ``` currently `<up><enter>` pollutes the screen by the SQL text and can contain SQL script, not a single query. Probably echo sh...
https://github.com/ClickHouse/ClickHouse/issues/40280
https://github.com/ClickHouse/ClickHouse/pull/40750
56eece40ec3a91eeb156e85c655b19293d40e558
b3fc6eafe7098050d3b5a9046e3734b721be8c2b
2022-08-16T16:23:08Z
c++
2022-09-01T08:27:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,105
["src/Common/ErrorCodes.cpp", "src/Storages/MergeTree/MergeTreeSettings.h", "src/Storages/MergeTree/ReplicatedMergeTreeAttachThread.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeAttachThread.h", "src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp", "src/Storages/StorageReplicatedMergeTree.cpp", "src/Stor...
ReplicatedMergeTree tables should be able to start up if ZooKeeper is configured but unavailable
**Describe the solution you'd like** We already can run clickhouse-server without configured ZooKeeper (the tables will start in read-only mode) and with configured ZooKeeper, if it starts to be inaccessible at runtime (the tables will be read-only until the session is re-established). Let's also make it possibl...
https://github.com/ClickHouse/ClickHouse/issues/40105
https://github.com/ClickHouse/ClickHouse/pull/40148
13de3d0665545ba6d34a8b1e65b7f7f6670f1eb5
eae2667a1c29565c801be0ffd465f8bfcffe77ef
2022-08-11T06:03:50Z
c++
2022-08-25T16:39:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,097
["src/Functions/array/arrayDifference.cpp", "tests/queries/0_stateless/01716_array_difference_overflow.reference", "tests/queries/0_stateless/01716_array_difference_overflow.sql"]
arrayDifference function didn't get expected result on type UInt32
Clickhouse Server version: 22.3.2.1 and 21.6.5.37 Minimal Reproducible Code: `select arrayJoin(arrayDifference(groupArray(nb))) as res from ( select toUInt32(number % 11) as nb from numbers(100))` When I using arrayDifference function on an array of UInt32 elements, I get huge numbers around 2^32 ...
https://github.com/ClickHouse/ClickHouse/issues/40097
https://github.com/ClickHouse/ClickHouse/pull/40211
3a5f05bd227d8ccd5d634bad5fc09ce3ec1cd0bc
ad936ae32a591759cefde5e79d7360bfebbc3e7a
2022-08-11T02:54:44Z
c++
2022-08-15T01:52:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,021
["src/Interpreters/Set.cpp", "src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/02416_in_set_same_ast_diff_columns.reference", "tests/queries/0_stateless/02416_in_set_same_ast_diff_columns.sql"]
KeyCondition: `index out of bounds` when extracting prepared set
``` ../contrib/libcxx/include/vector:1449: _LIBCPP_ASSERT '__n < size()' failed. vector[] index out of bounds Received signal 6 Received signal Aborted (6) ``` https://s3.amazonaws.com/clickhouse-test-reports/39973/24ee3e022df7e970b5925fea657bec3ad7303702/fuzzer_astfuzzerdebug//report.html
https://github.com/ClickHouse/ClickHouse/issues/40021
https://github.com/ClickHouse/ClickHouse/pull/40850
7dea71c83f902e40c45f62f8eade627ec638c8fd
fdcced8962fa481d30cccd6994bf5fe970dd5eb0
2022-08-09T09:21:34Z
c++
2022-09-02T18:40:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
40,014
["src/Storages/StorageMerge.cpp", "tests/queries/0_stateless/02402_merge_engine_with_view.reference", "tests/queries/0_stateless/02402_merge_engine_with_view.sql"]
Merge Table Engine does not use the indexes of tables.
We use Merge Table Engine to merge a ReplicatedMergeTree Engine table and a normal view without Distributed Table Engine based on another ReplicatedMergeTree Engine table. And we found that the Merge Table Engine does not use the indexes of view. But if we use Distributed Table Engine to make these tables and vie...
https://github.com/ClickHouse/ClickHouse/issues/40014
https://github.com/ClickHouse/ClickHouse/pull/40233
7c18d5b34f62d45e46d3ab2eabe3dea0d8cc3777
24682556a4d0fe7fd7f8cb31fa479a576b9829e6
2022-08-09T03:33:06Z
c++
2022-08-19T12:24:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,989
["tests/jepsen.clickhouse-keeper/src/jepsen/clickhouse_keeper/counter.clj"]
Jepsen: invalid analysis
https://s3.amazonaws.com/clickhouse-test-reports/0/b4f5d9ca10b2ee4285fce354c232b8d50c829380/clickhouse_keeper_jepsen.html cc: @antonio2368
https://github.com/ClickHouse/ClickHouse/issues/39989
https://github.com/ClickHouse/ClickHouse/pull/39992
be69169f9712931e93d0ede6fa92e6ce9464a19f
4b4b5e91b2af30a2c3cd4aef6dae9bcd79502e5a
2022-08-08T13:04:36Z
c++
2022-08-11T18:38:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,987
["src/Functions/FunctionsAES.h", "tests/queries/0_stateless/02384_decrypt_bad_arguments.reference", "tests/queries/0_stateless/02384_decrypt_bad_arguments.sql"]
FunctionDecrypt: Too large size ... passed to allocator. It indicates an error
https://s3.amazonaws.com/clickhouse-test-reports/0/73f4643afa8f135f7a7f0e39be41a09ccc3c8d96/fuzzer_astfuzzerubsan//report.html ``` 2022.08.08 03:52:55.453638 [ 186 ] {cc0a6186-fc89-4e20-b705-9b884df4b79f} <Fatal> : Logical error: 'Too large size (18446603393237392928) passed to allocator. It indicates an error.'. ...
https://github.com/ClickHouse/ClickHouse/issues/39987
https://github.com/ClickHouse/ClickHouse/pull/40194
cb75da8e4aa08171a9e41bbeb16edebb4305d64b
3d0948b77ef12a6bce1551c8b7e3f6869a3cfd84
2022-08-08T12:59:53Z
c++
2022-08-14T06:46:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,960
["programs/server/play.html"]
Play UI regression: no progress indicator.
It does not show. How to reproduce: `SELECT sleep(1), rand()`
https://github.com/ClickHouse/ClickHouse/issues/39960
https://github.com/ClickHouse/ClickHouse/pull/39961
2ba87b1b8149d12dfa99d11e0ee0e0cc7ff70f16
738c94a9e0a4f0c38e0cfe00fa7eb250d4563f59
2022-08-08T00:31:04Z
c++
2022-08-08T05:07:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,957
["programs/server/play.html"]
Play UI: non pixel-perfect on iPad
**Describe the issue** Slightly misaligned controls. Need to set margin: 0, border-radius: 0.
https://github.com/ClickHouse/ClickHouse/issues/39957
https://github.com/ClickHouse/ClickHouse/pull/39961
2ba87b1b8149d12dfa99d11e0ee0e0cc7ff70f16
738c94a9e0a4f0c38e0cfe00fa7eb250d4563f59
2022-08-07T19:17:55Z
c++
2022-08-08T05:07:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,949
["CMakeLists.txt", "cmake/warnings.cmake"]
Cannot build with clang-16 latest commit
Hello, When I try to build the project with clang-16. I got the error ```ClickHouse/contrib/magic_enum/include/magic_enum.hpp:448:41: error: no matching function for call to 'is_valid'``` And it's very likely related to this [issue](https://github.com/Neargye/magic_enum/issues/204). More details: ``` -- Cross-c...
https://github.com/ClickHouse/ClickHouse/issues/39949
https://github.com/ClickHouse/ClickHouse/pull/40181
4cc2ef5a34314061005734446d064480a537c773
a716d78264a136211311c92a2f573b4ca23af742
2022-08-07T06:45:37Z
c++
2022-08-13T04:06:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,944
["src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp"]
Add support for extended (chunked) arrays for Parquet format in ClickHouse please
### Problem The S3 function fails with an exception when reading from a Parquet file with large map data. ### Version 22.3.6.5 ### Reproduction Here is the SELECT that triggers the problem. ``` select id, fields_map from s3( 'my_parquet_file.parquet', 'Parquet', 'id Int64, fields_map Map(String, Str...
https://github.com/ClickHouse/ClickHouse/issues/39944
https://github.com/ClickHouse/ClickHouse/pull/40485
2279012ddf0be4748aeb773cd0e4f4ba7ed4a380
f53aa86a2035cade10abbb78a695d13831b309f0
2022-08-06T18:49:04Z
c++
2022-09-01T17:40:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,915
["src/Storages/MergeTree/DataPartsExchange.cpp", "tests/integration/test_fetch_memory_usage/__init__.py", "tests/integration/test_fetch_memory_usage/configs/config.xml", "tests/integration/test_fetch_memory_usage/test.py"]
Do replicated fetches use up RAM and how to prevent it?
We have a big replicated table (~15TB/server compressed) with two replicas. When I tried to add two more replicas on new servers, they started to restart because of OOM: ![image](https://user-images.githubusercontent.com/979624/183004927-32fbbf77-854b-4bc0-805e-59d8832e7922.png) I tried to set the `max_replicated_f...
https://github.com/ClickHouse/ClickHouse/issues/39915
https://github.com/ClickHouse/ClickHouse/pull/39990
99b9e85a8fb4fce1f6bea579a6588ca9e51b280b
fdb1c2545f6acda414510e510bb537d719f162d0
2022-08-05T05:08:01Z
c++
2022-08-09T19:10:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,907
["src/Storages/StorageFile.cpp", "tests/queries/0_stateless/02377_fix_file_virtual_column.reference", "tests/queries/0_stateless/02377_fix_file_virtual_column.sql"]
Logical error: Invalid number of columns in chunk pushed to OutputPort (when selecting only virtual columns from File)
``` SELECT _file, _path FROM file('exists.csv', 'CSVWithNames') Query id: 8bff0d32-cad0-4832-907a-be39f13ac49c 0 rows in set. Elapsed: 0.099 sec. Received exception from server (version 22.7.1): Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Invalid number of columns in ch...
https://github.com/ClickHouse/ClickHouse/issues/39907
https://github.com/ClickHouse/ClickHouse/pull/39943
a120452c3d41e17822d3bf198f107077602618f2
a1ecbefcdbf397b8945ab1546a1338f360df912c
2022-08-04T22:12:56Z
c++
2022-08-09T08:57:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,903
["src/Client/Connection.cpp", "src/Client/Connection.h", "src/Core/ProtocolDefines.h", "src/Server/TCPHandler.cpp", "src/Server/TCPHandler.h", "tests/integration/test_distributed_inter_server_secret/configs/remote_servers.xml", "tests/integration/test_distributed_inter_server_secret/configs/remote_servers_backward.xml"...
Salt in "interserver mode" is useless and does not protect from replay attack
"Interserver mode" was introduced in #13156. The idea is great, however, the implementation is questionable. In particular, `salt` is generated on client and sent to server (see `receiveClusterNameAndSalt()`). Seems like it was supposed to protect from replay attack, but since salt is controlled by client, we cannot re...
https://github.com/ClickHouse/ClickHouse/issues/39903
https://github.com/ClickHouse/ClickHouse/pull/47213
4337a3161a67c27543039849e46be59325149c3a
6a653060ff20b2e7659931ca91c1cc02a7df1030
2022-08-04T15:27:38Z
c++
2023-03-15T13:26:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,896
["src/Storages/MergeTree/MutateTask.cpp"]
Update fails on CH22.3-lts after materialize index for wide part, but works on master.
**Describe the unexpected behaviour** An update fails after materialize index is called for wide part on CH 22.3.9, but works fine on master [master just create hard link for the skipping index, no recalculated on updated column, not correct too]. Should we fix this issue on 22.3-lts? **How to reproduce** drop ...
https://github.com/ClickHouse/ClickHouse/issues/39896
https://github.com/ClickHouse/ClickHouse/pull/40095
c746dcd6449ca300f762757525987624a8dc52e9
d1051d822c02804292ac1e9486c104247e37418f
2022-08-04T10:44:12Z
c++
2022-08-11T10:39:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,880
["docs/en/sql-reference/functions/string-functions.md", "docs/zh/sql-reference/functions/string-functions.md", "src/Functions/soundex.cpp", "tests/queries/0_stateless/02711_soundex_function.reference", "tests/queries/0_stateless/02711_soundex_function.sql"]
SOUNDEX function
https://mariadb.com/kb/en/soundex/ ```sql mysql> select SOUNDEX('aksel'); +------------------+ | SOUNDEX('aksel') | +------------------+ | A240 | +------------------+ 1 row in set (0.00 sec) mysql> select SOUNDEX('axel'); +-----------------+ | SOUNDEX('axel') | +-----------------+ | A240 ...
https://github.com/ClickHouse/ClickHouse/issues/39880
https://github.com/ClickHouse/ClickHouse/pull/48567
b6c17759f4ca34e1da749d50093a7e97052da564
658d6c8870119365a42fbfcc3b6b83f54ba72c70
2022-08-03T23:23:41Z
c++
2023-04-13T09:20:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,824
["utils/self-extracting-executable/post_build.sh"]
Meet unable to extract decompressor error when building on macos
**Operating system** Macos **Cmake version** cmake version 3.23.3 **Ninja version** 1.11.0 **Compiler name and version** **Full cmake and/or ninja output** [18/18] cd /Users/jianzjzhang/Documents/ClickHouse/build/programs/self-extracting && /usr/local/Cellar/cmake/3.23.3/b...&& /Users/jianzjzhang/Docu...
https://github.com/ClickHouse/ClickHouse/issues/39824
https://github.com/ClickHouse/ClickHouse/pull/39843
70d97e9393885b8949115827438fde29d5f8a733
e2a5faede91980b07dc8ff193f008f17d5ba634f
2022-08-02T13:38:11Z
c++
2022-08-03T02:55:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,818
["src/Common/ColumnsHashing.h", "src/Processors/Transforms/IntersectOrExceptTransform.cpp", "tests/queries/0_stateless/02381_intersect_except_const_column.reference", "tests/queries/0_stateless/02381_intersect_except_const_column.sql"]
Wrong result of intersect
```sql select 1 from numbers(10) intersect select 1 from numbers(10) SELECT 1 FROM numbers(10) INTERSECT SELECT 1 FROM numbers(10) Query id: 9f2d11c5-269c-41dc-9b4c-8f1423aafcc7 ┌─1─┐ │ 1 │ │ 1 │ │ 1 │ │ 1 │ │ 1 │ │ 1 │ │ 1 │ │ 1 │ └───┘ 8 rows in set. Elapsed: 0.002 sec. ```
https://github.com/ClickHouse/ClickHouse/issues/39818
https://github.com/ClickHouse/ClickHouse/pull/40020
17956cb668e2af2f9f19b5618820e9e5c843badd
4c7222d938e6ebc4b564be9a838c8ce7b5253fd8
2022-08-02T09:50:11Z
c++
2022-08-12T12:40:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,807
["src/Common/CaresPTRResolver.cpp", "src/Common/DNSPTRResolverProvider.cpp"]
When I upgrade to 22.7.1.2484 from 21.8.14.5, after a few minutes all servers crash.The part of log are as follows.
![image](https://user-images.githubusercontent.com/45587738/182279814-651a1636-8f30-47f3-bead-273cf65794cd.png)
https://github.com/ClickHouse/ClickHouse/issues/39807
https://github.com/ClickHouse/ClickHouse/pull/40134
18c3ae5b377068fbafd4c0d2185ffd776c9c059e
4482465ce36b2c128ef86f2f6d85b53370a01aab
2022-08-02T02:38:26Z
c++
2022-08-16T18:06:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,793
["docs/en/sql-reference/functions/other-functions.md", "docs/ru/sql-reference/functions/other-functions.md", "src/Core/Settings.h", "src/Functions/FunctionDateOrDateTimeAddInterval.h", "src/Functions/FunctionNumericPredicate.h", "src/Functions/makeDate.cpp", "src/Functions/throwIf.cpp", "tests/queries/0_stateless/00602...
New function: throwError
Is there any way to manually make CH throw a specific error? Something like this: ```sql SELECT throwError(999); Received exception from server (version 22.2.2): Code: 999. DB::Exception: KEEPER_EXCEPTION ... ``` PS: *Although there is a similar function (`throwIf`), it only returns code=395 (FUNCTION_THR...
https://github.com/ClickHouse/ClickHouse/issues/39793
https://github.com/ClickHouse/ClickHouse/pull/40319
68e98e43ed58d08deedfa7776b45b9b441db33a0
24615059fbd534bf6c25d48b914b730aa780d910
2022-08-01T14:15:57Z
c++
2022-08-19T07:49:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,753
["src/Disks/IO/ThreadPoolReader.cpp"]
Linux kernels 5.9..5.10: Cannot read all data in CH 22.7 ( pread_threadpool )
I created the issue to ease a search of a solution for others. solution: ```xml cat /etc/clickhouse-server/users.d/local_filesystem_read_method.xml <?xml version="1.0" ?> <clickhouse> <profiles> <default> <local_filesystem_read_method>pread</local_filesystem_read_method> </d...
https://github.com/ClickHouse/ClickHouse/issues/39753
https://github.com/ClickHouse/ClickHouse/pull/39800
6405439976e8e6e5321230ec3e47dd60e846293c
2a5b023b0f50aa610f95452cbe9fd2e9d4ace8ca
2022-07-31T02:21:09Z
c++
2022-08-02T14:06:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,719
["src/Client/ClientBase.cpp", "tests/queries/0_stateless/02360_send_logs_level_colors.reference", "tests/queries/0_stateless/02360_send_logs_level_colors.sh"]
`send_log_level` with redirect to stdout may fail
**Describe what's wrong** Query in clickhouse-client may fail with options `--send_logs_level=trace --server_logs_file=-` (`--server_logs_file=-` means write server logs to stdout). **How to reproduce** ``` while true; do clickhouse-client -q "select 1" --send_logs_level=trace --server_logs_file=- >log; done C...
https://github.com/ClickHouse/ClickHouse/issues/39719
https://github.com/ClickHouse/ClickHouse/pull/39731
c882bdc88e75b249ecc901ac68145f1a6cf93ed9
eeb9366010f3d336689dba3ccefc4bc6c0477b69
2022-07-29T16:32:41Z
c++
2022-08-01T12:22:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,704
["src/Interpreters/Set.cpp", "tests/queries/0_stateless/02374_in_tuple_index.reference", "tests/queries/0_stateless/02374_in_tuple_index.sql"]
IN operator is not working with tuples
**Describe what's wrong** When adding new values to IN operator with tuples, result set is reduced. <br class="Apple-interchange-newline"> **Does it reproduce on recent release?** Probably not working since v22.4.2.1-stable Still not working on v22.7.1.2484-stable <br class="Apple-interchange-newline"> ...
https://github.com/ClickHouse/ClickHouse/issues/39704
https://github.com/ClickHouse/ClickHouse/pull/39752
eeb9366010f3d336689dba3ccefc4bc6c0477b69
8a3ec52b5e06f20ccd3472aed7fa440b625ebc0e
2022-07-29T10:13:51Z
c++
2022-08-01T12:41:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,701
["src/Storages/RocksDB/StorageEmbeddedRocksDB.cpp", "tests/queries/0_stateless/02375_rocksdb_with_filters.reference", "tests/queries/0_stateless/02375_rocksdb_with_filters.sh"]
EmbeddedRocksDB does full scan when using `params`
**Describe the situation** When using parameters (`param`) in the CLI or with the HTTP interface, the EmbeddedRocksDB engine will scan through all the data causing significant slowdown, instead of doing a proper RocksDB key lookup. **How to reproduce** setup.sql: ```sql CREATE TABLE test1 (key String, value ...
https://github.com/ClickHouse/ClickHouse/issues/39701
https://github.com/ClickHouse/ClickHouse/pull/39757
379d8c5c6a2732c4c9e6e87ae347e0e4690975a8
9ec27c0ab45c78699f07c7175845358d604d713e
2022-07-29T09:32:19Z
c++
2022-08-01T10:17:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,693
["src/Formats/JSONUtils.cpp", "src/Processors/Formats/Impl/JSONRowOutputFormat.h", "tests/queries/0_stateless/02375_double_escaping_json.reference", "tests/queries/0_stateless/02375_double_escaping_json.sql"]
Inconsistent behavior of back-slash escaping in json format for meta and data
Reproducible on 22.7.1 and 22.6.1 **How to reproduce** SELECT 1 AS `\\"ph"` FORMAT JSON Query id: 0159c301-b91e-4b59-b8e1-840056d18ffb ``` { "meta": [ { "name": "\\\\\\\"ph\\\"", "type": "UInt8" } ], "data": [ { "\\\"ph\"": 1 } ], "rows": 1, "statistics": { ...
https://github.com/ClickHouse/ClickHouse/issues/39693
https://github.com/ClickHouse/ClickHouse/pull/39747
c9e685030625f749c7564fc861d8aa1aab8f5e60
d259c4fa6c4aedc93f5021e4cf8091a458da98c6
2022-07-28T23:02:17Z
c++
2022-07-31T09:28:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,678
["src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp", "tests/queries/0_stateless/02381_arrow_dict_of_nullable_string_to_lc.reference", "tests/queries/0_stateless/02381_arrow_dict_of_nullable_string_to_lc.sh", "tests/queries/0_stateless/02381_arrow_dict_to_lc.reference", "tests/queries/0_stateless/02381_arrow_dict_t...
Dictionary in Arrow format issue
```py ## writing ArrowStream file from python import pyarrow as pa data = [ pa.array([1, 2, 3, 4, 5]), pa.array(["one", "two", "three", "four", "five"]).dictionary_encode(), pa.array([1, 2, 3, 4, 5]).dictionary_encode(), pa.array([True, False, True, True, True]) ] batch = pa.record_batch(data, ...
https://github.com/ClickHouse/ClickHouse/issues/39678
https://github.com/ClickHouse/ClickHouse/pull/40037
1196d1d11785491db2d7ec701ad55259f4a0fc4f
a006ff0a43ed9302253819660362c1c9a853f9d9
2022-07-28T14:28:58Z
c++
2022-08-10T09:40:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,635
["src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp", "tests/queries/0_stateless/02381_arrow_dict_of_nullable_string_to_lc.reference", "tests/queries/0_stateless/02381_arrow_dict_of_nullable_string_to_lc.sh", "tests/queries/0_stateless/02381_arrow_dict_to_lc.reference", "tests/queries/0_stateless/02381_arrow_dict_t...
Nested type LowCardinality(String) cannot be inside Nullable type: While executing ArrowBlockInputFormat
``` clickhouse-local -mn --query='SELECT * FROM table' --stacktrace --input-format=ArrowStream < test.arrow ``` ``` Code: 43. DB::Exception: Nested type LowCardinality(String) cannot be inside Nullable type: While executing ArrowBlockInputFormat: While executing File. (ILLEGAL_TYPE_OF_ARGUMENT), Stack trace (when...
https://github.com/ClickHouse/ClickHouse/issues/39635
https://github.com/ClickHouse/ClickHouse/pull/40037
1196d1d11785491db2d7ec701ad55259f4a0fc4f
a006ff0a43ed9302253819660362c1c9a853f9d9
2022-07-27T08:55:41Z
c++
2022-08-10T09:40:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,598
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02388_conversion_from_string_with_datetime64_to_date_and_date32.reference", "tests/queries/0_stateless/02388_conversion_from_string_with_datetime64_to_date_and_date32.sql"]
toDate() function should ignore the time part
Hello! I've started to use `DateTime64` recently and faced the next issue with `toDate()`/`toDate32()` functions. This query works fine: ```sql SELECT toDate('2022-07-26 00:00:00') Query id: bf64d8a8-018d-4b3e-ae24-f92600a1fa15 ┌─toDate('2022-07-26 00:00:00')─┐ │ 2022-07-26 │ └───────...
https://github.com/ClickHouse/ClickHouse/issues/39598
https://github.com/ClickHouse/ClickHouse/pull/40475
f68db41c1c330a5066eca9337292cbe713f4bb0b
c9177d2cb3717318b9c8aede7125fc7506b77644
2022-07-26T08:47:17Z
c++
2022-08-24T15:33:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,559
["contrib/NuRaft"]
Jepsen: invalid analysis
https://s3.amazonaws.com/clickhouse-test-reports/0/73c04b64e35354264a5943b131f879753f3eaaca/clickhouse_keeper_jepsen.html cc: @antonio2368, @alesapin
https://github.com/ClickHouse/ClickHouse/issues/39559
https://github.com/ClickHouse/ClickHouse/pull/39609
ee515b8862a9be0c940ffdef0a56e590b5facdb2
b1f014f9a65467472244b3c5f55a48a58949f4d8
2022-07-25T14:01:17Z
c++
2022-07-28T11:55:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,546
["programs/server/Server.cpp", "src/Databases/DatabaseOrdinary.cpp", "src/Databases/DatabaseOrdinary.h", "src/Databases/IDatabase.h", "src/Interpreters/loadMetadata.cpp", "src/Interpreters/loadMetadata.h", "src/Storages/StorageLog.cpp", "src/Storages/StorageReplicatedMergeTree.cpp", "src/Storages/StorageStripeLog.cpp",...
Mechanism to migrate databases from Ordinary to Atomic engine
Ordinary database engine is deprecated but there is no simple mean to change database engine to Atomic for existing databases. Possible options: - ALTER DATABASE MODIFY ENGINE query. - Flag that triggers migration at ClickHouse startup. The latter should be easier to implement.
https://github.com/ClickHouse/ClickHouse/issues/39546
https://github.com/ClickHouse/ClickHouse/pull/39933
d23296ef85b615d9ee9f844145d09104bf9e615c
caa270b72abff4dea10739f242ad7f532774aee7
2022-07-25T07:32:37Z
c++
2022-08-17T09:40:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,534
["programs/obfuscator/Obfuscator.cpp", "tests/queries/1_stateful/00096_obfuscator_save_load.reference", "tests/queries/1_stateful/00096_obfuscator_save_load.sh"]
clickhouse-obfuscator: allow to save and load models.
**Use case** Generate models once and reuse them. **Describe the solution you'd like** Add command line options: ``` --save file - write serialized models on disk after training and before generating the data; the user can set --limit to 0 to only train the models and save them without proceeding to data gen...
https://github.com/ClickHouse/ClickHouse/issues/39534
https://github.com/ClickHouse/ClickHouse/pull/39541
9254ae1f4316f9ffc5b32cf7abe91f515231f8b1
75d0232265a66bb889af7b9c7123a147fcc0f202
2022-07-24T18:33:34Z
c++
2022-07-25T18:18:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,525
["contrib/nats-io-cmake/CMakeLists.txt", "docker/test/integration/runner/compose/docker_compose_nats.yml", "src/Storages/NATS/NATSConnection.cpp", "src/Storages/NATS/NATSConnection.h", "tests/integration/helpers/cluster.py", "tests/integration/test_storage_nats/nats_certs.sh", "tests/integration/test_storage_nats/test....
NATS is built with no TLS support
I.e. ```sql CREATE TABLE queue ( key UInt64, value UInt64 ) ENGINE = NATS SETTINGS nats_url = 'demo.nats.io', nats_subjects = 'subject1', nats_format = 'JSONEachRow', date_time_input_format = 'best_effort'; ``` Will fail with "compiled without TLS" Wi...
https://github.com/ClickHouse/ClickHouse/issues/39525
https://github.com/ClickHouse/ClickHouse/pull/39527
cb7f072fe88a66387a0f990920db626c1774741f
0921548a3731b84bbd0aad92a668dc16ab29973c
2022-07-24T14:12:44Z
c++
2022-08-08T05:28:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,522
["docs/en/sql-reference/functions/date-time-functions.md", "src/Functions/blockNumber.cpp", "src/Functions/now.cpp", "src/Functions/nowInBlock.cpp", "src/Functions/registerFunctionsDateTime.cpp", "tests/queries/0_stateless/02372_now_in_block.reference", "tests/queries/0_stateless/02372_now_in_block.sql"]
`nowInBlock` function
**Use case** Workload generation with continuous queries. **Describe the solution you'd like** Similar to now() but non-constant.
https://github.com/ClickHouse/ClickHouse/issues/39522
https://github.com/ClickHouse/ClickHouse/pull/39533
21d88f346fe7f4205576747123c4ac9d3302baca
6fdcb009ffe3592f15148f25bc504a906ccfea02
2022-07-24T01:20:49Z
c++
2022-07-25T01:22:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,521
["programs/obfuscator/Obfuscator.cpp", "tests/queries/1_stateful/00175_obfuscator_schema_inference.reference", "tests/queries/1_stateful/00175_obfuscator_schema_inference.sh"]
`clickhouse-obfuscator`: add schema inference
Don't require the `--structure` argument.
https://github.com/ClickHouse/ClickHouse/issues/39521
https://github.com/ClickHouse/ClickHouse/pull/40120
4c30dbc9059061184059c03d179f2e0a85d88cac
95847775b697df969859c4c02f2df72f4fc99d00
2022-07-24T01:13:43Z
c++
2022-09-05T20:03:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,511
["src/Interpreters/DDLWorker.cpp", "tests/queries/0_stateless/02319_sql_standard_create_drop_index.reference", "tests/queries/0_stateless/02319_sql_standard_create_drop_index.sql"]
CREATE INDEX on ReplicatedMergeTree table in a Replicated database causes infinite failure loop
Hey, I'd like to report a bug using the new CREATE INDEX syntax. **Description** - Using ClickHouse version 22.7.1.2484, in a cluster with 2 shards and 2 replicas for each shard (total of 4 nodes) - When using the new CREATE INDEX statement added in this version, on a ReplicatedMergeTree table that exists insi...
https://github.com/ClickHouse/ClickHouse/issues/39511
https://github.com/ClickHouse/ClickHouse/pull/39565
8fc075a527bdb5f1c4b55bd29436bd3b52670547
44463cfca0af49bd50a6a1b994fe7fcac024f959
2022-07-22T19:14:50Z
c++
2022-07-27T10:21:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,476
["docs/en/engines/table-engines/mergetree-family/mergetree.md"]
projections are production ready but stays experimental in doc
By the ClickHouse [release v22.2, 2022-02-17](https://github.com/ClickHouse/ClickHouse/blob/master/CHANGELOG.md#new-feature-5) the projections are set as production ready: > Projections are production ready. Set allow_experimental_projection_optimization by default and deprecate this setting. https://github.com/Clic...
https://github.com/ClickHouse/ClickHouse/issues/39476
https://github.com/ClickHouse/ClickHouse/pull/39502
75d0232265a66bb889af7b9c7123a147fcc0f202
b6cb0e33f59458f96634c380c3b6f976b19c5981
2022-07-21T19:54:32Z
c++
2022-07-25T20:41:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,469
["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/SelectQueryInfo.h", "tests/queries/0_stateless/02371_select_projection_normal_agg.reference", "tests/queries/0_stateless/02371_select_projection_normal_agg.sql"]
Projection select query exception. Not found column toStartOfHour(datetime) in block.
**Describe what's wrong** I am testing projection. An exception was found during query: ```DB::Exception: Not found column toStartOfHour(datetime) in block.``` **Does it reproduce on recent release?** v22.3.4.20-lts **How to reproduce** * My ClickHouse server version is 22.3.4.20 and 22.7.1 ``` C...
https://github.com/ClickHouse/ClickHouse/issues/39469
https://github.com/ClickHouse/ClickHouse/pull/39470
0dc183921f96f0b7738b59e1527c150c6dd1704f
201cf69854e8486c8c002e42775a9b75282ba4f4
2022-07-21T15:50:13Z
c++
2022-08-13T00:13:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,468
["src/Common/TLDListsHolder.cpp", "src/Common/TLDListsHolder.h", "src/Functions/URL/ExtractFirstSignificantSubdomain.h", "src/Functions/URL/FirstSignificantSubdomainCustomImpl.h", "tests/queries/0_stateless/01601_custom_tld.reference", "tests/queries/0_stateless/01601_custom_tld.sql"]
FirstSignificantSubdomain & Public Suffix list - lack of support for asterisk rules
For [the rule in the list](https://github.com/ClickHouse/ClickHouse/blob/82fc7375dd3ac4faae6c3b0db9f3a28fb2802d05/tests/config/top_level_domains/public_suffix_list.dat#L6430) `*.sch.uk` and domain like `www.something.sheffield.sch.uk` the correct / expected result is `sheffield.sch.uk` Example with python (corr...
https://github.com/ClickHouse/ClickHouse/issues/39468
https://github.com/ClickHouse/ClickHouse/pull/39496
7666c4e39c165b0617a343107ab289782bcd3411
904a05ac21f1c44dadd130582b01536935e6fd4d
2022-07-21T15:22:18Z
c++
2022-07-27T06:55:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,419
["src/Columns/ColumnArray.cpp", "src/DataTypes/Serializations/SerializationTuple.cpp", "tests/queries/0_stateless/02381_parse_array_of_tuples.reference", "tests/queries/0_stateless/02381_parse_array_of_tuples.sql"]
offsets_column has data inconsistent with nested_column: data for INSERT was parsed from query. (LOGICAL_ERROR)
https://pastila.nl/?00ad187f/ecfb3d92d2e879533cc3aea0536ab3d7 22.3 Exception on client: Code: 49. DB::Exception: offsets_column has data inconsistent with nested_column: data for INSERT was parsed from query. (LOGICAL_ERROR) 22.7 the insert hangs 21.8.4 Received exception from server (version 21.8.4): Code: 6...
https://github.com/ClickHouse/ClickHouse/issues/39419
https://github.com/ClickHouse/ClickHouse/pull/40034
6bec0f5854c96d256c57de4df8f70ba5520eefaa
c746dcd6449ca300f762757525987624a8dc52e9
2022-07-20T15:06:49Z
c++
2022-08-11T10:10:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,287
["docs/en/sql-reference/functions/arithmetic-functions.md", "docs/ru/sql-reference/functions/arithmetic-functions.md", "docs/zh/sql-reference/functions/arithmetic-functions.md"]
modulo function behavior doesn't match description
ERROR: type should be string, got "https://clickhouse.com/docs/en/sql-reference/functions/arithmetic-functions/#moduloa-b-a--b-operator\r\n\r\n**modulo(a, b), a % b operator**\r\n`\r\nCalculates the remainder after division. If arguments are floating-point numbers, they are pre-converted to integers by dropping the decimal portion. The remainder is taken in the same sense as in C++. Truncated division is used for negative numbers. An exception is thrown when dividing by zero or when dividing a minimal negative number by minus one.\r\n`\r\n\r\n```sql\r\nselect 11.5::Float64 % 3.5::Float64\r\n--\r\n1\r\n\r\n-- truncate decimal portion as in description:\r\n11.0::Float64 % 3.0::Float64\r\n--\r\n2\r\n```"
https://github.com/ClickHouse/ClickHouse/issues/39287
https://github.com/ClickHouse/ClickHouse/pull/40110
1da908ef7191aff1f6228d51c71b738c7820f28a
35ee71a908ca3459ec16717518553a3ce3a8b331
2022-07-16T13:24:28Z
c++
2022-08-11T20:14:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,248
["src/DataTypes/Serializations/SerializationDate.cpp", "src/IO/ReadHelpers.h", "tests/queries/0_stateless/02457_csv_parse_date_out_of_range.reference", "tests/queries/0_stateless/02457_csv_parse_date_out_of_range.sh"]
Parsing out of range dates in CSV lead to unexpected result
When you parse Date column which have values bigger than by different format ```sql DROP TABLE IF EXISTS test_date_imports; create temporary table test_date_imports (f String, t Date); insert into test_date_imports(t) format TSV 2200-01-01 insert into test_date_imports format CSV 'csv',2200-01-01 insert into t...
https://github.com/ClickHouse/ClickHouse/issues/39248
https://github.com/ClickHouse/ClickHouse/pull/42044
2bc30634cbe97b443f9d1a55c4a40612bce44146
486780ba807d4b8078deb65ed0c94b21bb5821d3
2022-07-15T07:22:47Z
c++
2022-10-19T11:10:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,242
["docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md", "docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-sources.md"]
SECURE flag no longer valid for MySQL external dictionary DDL query
**Describe what's wrong** We use external MySQL dictionaries created by DDL queries like this one: ```SQL CREATE DICTIONARY common.countries ( `id` UInt64, `code` String, `name` String ) PRIMARY KEY id SOURCE(MYSQL(PORT '3306' USER 'staging' PASSWORD 'xxxxxxxxxxxxx' REPLICA (HOST 'staging-db' ...
https://github.com/ClickHouse/ClickHouse/issues/39242
https://github.com/ClickHouse/ClickHouse/pull/39356
061e61919afb295083e3f581227e59067c164188
b9c8feb2b24ee97b3b16c38a834ecd6400966e0d
2022-07-14T18:33:08Z
c++
2022-07-26T15:11:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,174
["docker/test/stress/run.sh"]
Upgrade check fails if threre's invalid mutation
Example: https://s3.amazonaws.com/clickhouse-test-reports/0/334b3f3c730053eb282491de12864239aa23ded2/stress_test__undefined__actions_.html There are lot of error on server startup, because some mutation cannot be executed: ``` 2022.07.13 11:29:46.963353 [ 926970 ] {} <Error> MutateFromLogEntryTask: virtual bool D...
https://github.com/ClickHouse/ClickHouse/issues/39174
https://github.com/ClickHouse/ClickHouse/pull/43436
c636c323ea2fda5a9702f8fa82f1397b4f0d62a8
ae8391c5dc377d0308104abf52d28b722ad95947
2022-07-13T12:20:53Z
c++
2022-11-22T17:08:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
39,164
["src/Interpreters/ActionsDAG.cpp", "tests/queries/0_stateless/01881_union_header_mismatch_bug.sql"]
Invalid number of columns in chunk pushed to OutputPort. Expected 3, found 4
https://s3.amazonaws.com/clickhouse-test-reports/0/ec24f730b12074446b334eafbf94e7d505cdec6c/stress_test__debug__actions_.html ``` SELECT toDateTime64(toString(toString('0000-00-00 00:00:000000-00-00 00:00:00', toDateTime64(toDateTime64('655.36', -2, NULL)))), NULL) FROM t1_00850 GLOBAL INNER JOIN (SELECT toDateTi...
https://github.com/ClickHouse/ClickHouse/issues/39164
https://github.com/ClickHouse/ClickHouse/pull/39799
316528817b2458fd37960b965f9eef10b4d13535
a3bf9496d4c1eaa231d40427bb3cc8c265667659
2022-07-13T09:26:33Z
c++
2022-08-02T08:35:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,972
["utils/self-extracting-executable/compressor.cpp", "utils/self-extracting-executable/decompressor.cpp", "utils/self-extracting-executable/types.h"]
Self-extracting compressor utility should have --decompressor parameter.
**Use case** We want to use self-extracting compressor utility during build, which can be cross-compiled. Currently self-extracting compressor utility includes appended decompressor binary, which is a base for building self-extracting executable. The problem arise from the fact that self-extracting executable usually...
https://github.com/ClickHouse/ClickHouse/issues/38972
https://github.com/ClickHouse/ClickHouse/pull/39065
df190b14b289e279af94bceef4d16e9d4ff6326a
2079699f7542527d62cbaed828940d54b0ca00a2
2022-07-07T19:06:20Z
c++
2022-07-13T05:50:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,962
["src/Common/ZooKeeper/ZooKeeper.cpp", "src/Common/ZooKeeper/ZooKeeperCommon.h", "src/Coordination/KeeperDispatcher.cpp"]
OpNum for watch response doesn't exist (Run time inconsistency)
https://s3.amazonaws.com/clickhouse-test-reports/0/10dc83b7a9c18228c4a4fc0dcfe6b18d2427462e/stress_test__debug__actions_.html I found weird exception while investigating why ephemeral nodes were not removed for a long time: https://pastila.nl/?00ec9776/d8858e442f8453f9b9e31a2f1da3cc8b
https://github.com/ClickHouse/ClickHouse/issues/38962
https://github.com/ClickHouse/ClickHouse/pull/38963
f15d9ca59cf5edae887f77eb745207a8233bfc98
1d93dc1c9a2d4f619c5e9702efdf92f3c2a9d77a
2022-07-07T15:05:58Z
c++
2022-07-07T19:01:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,959
["docs/en/operations/performance-test.md"]
Manual steps for benchmark not working (might need new prepared partitions)
(you don't have to strictly follow this form) **Describe the unexpected behaviour** When following the manual steps for testing harware at https://clickhouse.com/docs/en/operations/performance-test `clickhouse server` fails to start and complains about the metadata for the default database missing or older than 20....
https://github.com/ClickHouse/ClickHouse/issues/38959
https://github.com/ClickHouse/ClickHouse/pull/39172
8f348edbbd1701ef35abec5060b3754bcc7dbbcc
df627a3e4dcf6e50438eb9677238482265f9cdfb
2022-07-07T13:22:33Z
c++
2022-07-30T02:23:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,930
["src/DataTypes/DataTypesDecimal.h", "src/DataTypes/getLeastSupertype.cpp", "tests/queries/0_stateless/02364_dictionary_datetime_64_attribute_crash.reference", "tests/queries/0_stateless/02364_dictionary_datetime_64_attribute_crash.sql"]
Segfault with Dictionary with DateTime64(9) attribute
```sql create table dat (blockNum Decimal(10,0), eventTimestamp DateTime64(9) ) Engine=MergeTree() primary key eventTimestamp; insert into dat values (1, '2022-01-24 02:30:00.008122000'); CREATE DICTIONARY datDictionary ( `blockNum` Decimal(10, 0), `eventTimestamp` DateTime64(9) ) PRIMARY KEY blockN...
https://github.com/ClickHouse/ClickHouse/issues/38930
https://github.com/ClickHouse/ClickHouse/pull/39391
3759ee76a73e6da62605baa61954ee75d9c77452
3b755ffb2a56a2b7205ab060060e20add5c13339
2022-07-06T19:27:03Z
c++
2022-07-20T21:14:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,908
["src/Parsers/ExpressionListParsers.cpp", "src/TableFunctions/TableFunctionExecutable.cpp", "src/TableFunctions/TableFunctionExecutable.h", "tests/integration/test_executable_table_function/test.py"]
`executable()` table function has no way to set up settings available in Executable storage
Executable settings like `max_command_execution_time` or `command_termination_timeout` cannot be set for `executable()` table function at all. Which means that the hardcoded values will be used. I suggest to add it to executable function definition. The simplest way is: ``` SELECT * FROM executable('<script name>',...
https://github.com/ClickHouse/ClickHouse/issues/38908
https://github.com/ClickHouse/ClickHouse/pull/39681
bf574b91547aec799364d032564606feb5a8bf03
31891322a51febe79ec3edba6278b5cecdd9e8df
2022-07-06T14:49:07Z
c++
2022-08-01T15:59:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,906
["contrib/vectorscan-cmake/CMakeLists.txt", "contrib/vectorscan-cmake/rageled_files/Parser.cpp", "contrib/vectorscan-cmake/rageled_files/aarch64/Parser.cpp", "contrib/vectorscan-cmake/rageled_files/aarch64/control_verbs.cpp", "contrib/vectorscan-cmake/rageled_files/amd64/Parser.cpp", "contrib/vectorscan-cmake/rageled_f...
Enable vectorscan for ARM
**Describe the unexpected behaviour** VectorScan is cross-platform, yet ClickHouse enables it only for x86 **Additional context** - #38171 replaced hyperscan by vectorscan which is a cross-platform fork of hyperscan. Due to wrong results on ARM (see the PR), we currently compile vectorscan only for x86. Need to ch...
https://github.com/ClickHouse/ClickHouse/issues/38906
https://github.com/ClickHouse/ClickHouse/pull/41033
9a0892c40c9bbe5f27981014468fccb1edf16d57
485262991e50788983c632694e4b7c45deec4c00
2022-07-06T14:17:45Z
c++
2022-09-11T19:57:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,889
["src/Common/ShellCommand.cpp", "src/Common/waitForPid.cpp", "src/Common/waitForPid.h"]
ArrowStream feeding into executable has an unexpected slowdown of ~1 sec
Playing with various formats for the `executable()` table function got to a peculiar perf problem. Query: ```sql caspiandb6 :) SELECT * FROM executable('arrow_sum.py', 'ArrowStream', 'sum UInt64', (SELECT * FROM numbers(10*1000000))); SELECT * FROM executable('arrow_sum.py', 'ArrowStream', 'sum UInt64', ( S...
https://github.com/ClickHouse/ClickHouse/issues/38889
https://github.com/ClickHouse/ClickHouse/pull/38929
eabdd6adbb7456927e1373d9c680a1b38262588d
d3ce4ffc88e314553e6caabccef6220bd4652f27
2022-07-06T09:13:54Z
c++
2022-07-20T09:26:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,872
["src/DataTypes/DataTypeTuple.cpp", "src/DataTypes/DataTypeTuple.h", "src/Functions/tupleElement.cpp", "tests/queries/0_stateless/02354_tuple_element_with_default.reference", "tests/queries/0_stateless/02354_tuple_element_with_default.sql"]
tupleElement with default value
``` select tupleElement(CAST(tuple(1,2),'Tuple(x UInt64, y UInt64)'), 'x') -- ok select tupleElement(CAST(tuple(1,2),'Tuple(x UInt64, y UInt64)'), 'z') -- fails -- Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Tuple doesn't have element with name 'z': While processing tupleElement(CAST...
https://github.com/ClickHouse/ClickHouse/issues/38872
https://github.com/ClickHouse/ClickHouse/pull/38989
64a189249f18bf0d793388e64b46ab41f3893472
68aab132a5c311892b560d9b638cc0afcc2b1837
2022-07-05T21:25:43Z
c++
2022-07-21T11:58:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,833
["docs/en/sql-reference/functions/string-replace-functions.md", "docs/ru/sql-reference/functions/string-replace-functions.md", "src/Functions/registerFunctionsStringRegexp.cpp", "src/Functions/translate.cpp", "tests/queries/0_stateless/02353_translate.reference", "tests/queries/0_stateless/02353_translate.sql"]
Multireplace / Transliterate?
> (you don't have to strictly follow this form) **Use case** Change the used aphabet for some encoding (see https://github.com/ClickHouse/ClickHouse/issues/38832, https://github.com/ClickHouse/ClickHouse/issues/38002 etc), implement Caesar cipher, change DNA to RNA etc. :) **Describe the solution you'd ...
https://github.com/ClickHouse/ClickHouse/issues/38833
https://github.com/ClickHouse/ClickHouse/pull/38935
812143c76ba0ef50041f16c98c5c5c05c6fd4292
cfe7413678e1cbaf7e4af8e150e578b7b536db6e
2022-07-04T21:15:56Z
c++
2022-07-14T00:31:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,784
["docs/en/sql-reference/functions/other-functions.md", "src/Functions/parseTimeDelta.cpp", "src/Functions/registerFunctionsFormatting.cpp", "tests/fuzz/all.dict", "tests/fuzz/dictionaries/functions.dict", "tests/queries/0_stateless/00534_filimonov.data", "tests/queries/0_stateless/02354_parse_timedelta.reference", "tes...
`parseTimeDelta` function
Opposite for `formatReadableTimeDelta`. **Use case** Parsing text inputs. **Describe the solution you'd like** It should parse a sequence of numbers followed by something resembling a time unit. Examples: ``` 1 min 35 sec 0m;11.23s. 11hr 25min 3.1s 0.00123 seconds 1yr2mo 11s+22min ``` Should r...
https://github.com/ClickHouse/ClickHouse/issues/38784
https://github.com/ClickHouse/ClickHouse/pull/39071
acb1fa53ed06a922143134c3c80f6d90e8e9f6b4
12221cffc9800de647080071dfc40d12fc069b4d
2022-07-04T01:42:42Z
c++
2022-07-19T10:39:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,772
["src/Interpreters/InterpreterSelectQuery.cpp", "src/Interpreters/RewriteOrderByVisitor.cpp", "src/Interpreters/RewriteOrderByVisitor.hpp", "src/Interpreters/TreeRewriter.cpp", "tests/performance/order_by_read_in_order.xml", "tests/queries/0_stateless/02353_order_by_tuple.reference", "tests/queries/0_stateless/02353_or...
ORDER BY with columns in braces
Performance of ORDER BY on sorting key prefix with braces is 2x slower than without due to inefficient execution plan. Without braces: ```sql EXPLAIN PIPELINE SELECT CounterID, EventDate FROM hits_v1 ORDER BY CounterID ASC, EventDate ASC ┌─explain───────────────────────────┐ │ (Expression)...
https://github.com/ClickHouse/ClickHouse/issues/38772
https://github.com/ClickHouse/ClickHouse/pull/38873
8ffd6cd22cee62790d70fa60537b771fa43daa06
fac42db3800a9396959609206da8144de747d948
2022-07-03T21:50:27Z
c++
2022-07-07T17:16:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,756
["src/Client/ClientBase.cpp", "src/Common/EventRateMeter.h", "src/Common/ProgressIndication.cpp", "src/Common/ProgressIndication.h"]
CPU metric in clickhouse-client is wrong
CPU usage is misreported. Currently "0 CPU" means "no CPU metric received in the previous ProfileEvents packet". But there can be many ProfileEvents packets and only a few with CPU increment. That's why the CPU metric shows something weird like: ``` 0 0 0 0 0 1234 0 0 0 ... ``` This is unbearable, ...
https://github.com/ClickHouse/ClickHouse/issues/38756
https://github.com/ClickHouse/ClickHouse/pull/39280
7146685f9d5a91207c103922288ffe5bb8f6bb94
499818751ef56e7b53bd36ad33fea884b7eb6cea
2022-07-03T17:27:04Z
c++
2022-07-19T13:17:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,741
["src/Interpreters/ExpressionAnalyzer.cpp", "tests/queries/0_stateless/02366_window_function_order_by.reference", "tests/queries/0_stateless/02366_window_function_order_by.sql"]
Not found column value in block, with WF over tuple
```sql SELECT groupArray(tuple(value)) OVER () FROM (select number value from numbers(10)) ORDER BY value ASC; Received exception from server (version 22.7.1): Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Not found column value in block. There are only columns: groupArray(tuple(value...
https://github.com/ClickHouse/ClickHouse/issues/38741
https://github.com/ClickHouse/ClickHouse/pull/39354
6a09340f1159f3e9a96dc4c01de4e7607b2173c6
b01f5bdca8ed6e71b551234d94b861be299ceabc
2022-07-02T20:44:49Z
c++
2022-09-19T06:22:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,729
["tests/queries/0_stateless/02524_fuzz_and_fuss_2.reference", "tests/queries/0_stateless/02524_fuzz_and_fuss_2.sql"]
Block structure mismatch in Pipes stream: different types:
``` CREATE TABLE default.data_a_02187 ( `a` Nullable(Int64) ) ENGINE = Memory INSERT INTO data_a_02187 SELECT * FROM system.one SETTINGS max_block_size = '1', min_insert_block_size_rows = '65536', min_insert_block_size_bytes = '0', max_insert_threads = '0', max_threads = '3', receive_timeout = '10', rece...
https://github.com/ClickHouse/ClickHouse/issues/38729
https://github.com/ClickHouse/ClickHouse/pull/45035
2254855f09256708fbec70ce545ad7e7e1f4aeac
0eaf05a2dd246fc6fee4e58ba78d3e9f51dac40c
2022-07-02T11:08:25Z
c++
2023-01-08T07:22:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,671
["src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/integration/test_postgresql_replica_database_engine_2/test.py"]
Replication from PostgreSQL to CH with MaterializedPostgreSQL database engine stopped after materialized view created
When create materialized view on ClickHouse table in materialized PostgreSQL database, replication process not update or insert data into this table. After remove MV, replication resumes, but data lossed. ClickHouse version: 22.6.1.1399 Postgres version: PostgreSQL 12.11 (Ubuntu 12.11-0ubuntu0.20.04.1) **Post...
https://github.com/ClickHouse/ClickHouse/issues/38671
https://github.com/ClickHouse/ClickHouse/pull/40807
2c0395b346e49f3426324d899b84c8ceba25f407
fc619d06ba76fa20ea741c599aea597bcdbbaa2a
2022-07-01T08:12:56Z
c++
2023-02-28T14:10:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,666
["tests/queries/0_stateless/02786_transform_float.reference", "tests/queries/0_stateless/02786_transform_float.sql", "tests/queries/0_stateless/02787_transform_null.reference", "tests/queries/0_stateless/02787_transform_null.sql"]
CASE operator works incorrectly
ClickHouse version 22.3.3.44 When I use CASE operator with redundant section ELSE, it works as expected, but if section ELSE is absent, operator always return only NULL value. ``` select case 1 when 1 then 'a' else 'b' end value ``` ``` value ----- a ``` ``` select ...
https://github.com/ClickHouse/ClickHouse/issues/38666
https://github.com/ClickHouse/ClickHouse/pull/50833
572c9dec4e81dc323e98e0d87eaafcf8c863d843
826dfe4467a63187fa897e841659ec2a7ff3de5e
2022-07-01T04:06:57Z
c++
2023-06-10T17:07:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,629
["docker/test/stress/run.sh", "src/Storages/MergeTree/DataPartStorageOnDisk.cpp", "tests/queries/0_stateless/01701_clear_projection_and_part_remove.reference", "tests/queries/0_stateless/01701_clear_projection_and_part_remove.sql"]
BC check: Cannot quickly remove directory ... by removing files
https://s3.amazonaws.com/clickhouse-test-reports/0/bd4a208428c8f17c4c3148886e6bf008bb064f58/stress_test__memory__actions_.html ``` 2022.06.30 05:04:05.434426 [ 461303 ] {} <Error> test_35.tp_1 (1ff2034b-af50-401f-90fd-ac714bb9d202): Cannot quickly remove directory /var/lib/clickhouse/store/1ff/1ff2034b-af50-401f-90...
https://github.com/ClickHouse/ClickHouse/issues/38629
https://github.com/ClickHouse/ClickHouse/pull/39119
69de9ee0e83ecfad68465b2cfbab7e03aaf73c21
8efbe6d44d049fa200c12c045f617b7a2ef1b9ac
2022-06-30T13:32:36Z
c++
2022-07-12T14:24:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,618
["src/Access/ContextAccess.cpp", "tests/integration/test_access_control_on_cluster/test.py"]
GRANT/REVOKE with ON CLUSTER causes Segmentation fault
When you run GRANT with ON CLUSTER, every server in the cluster will crash. Version 22.6.2.12. I used the official docker image to create a small cluster. You can see the config here and try it out with docker-compose: https://github.com/maybedino/test-clickhouse Then log in with the default user and try to a...
https://github.com/ClickHouse/ClickHouse/issues/38618
https://github.com/ClickHouse/ClickHouse/pull/38674
c4155433349cdab8ff54584a982076030587e29e
b4103c1a0e02177b618de5905f3a82de7b432466
2022-06-30T08:43:02Z
c++
2022-07-04T08:13:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,611
["src/Functions/isNullable.cpp", "src/Functions/registerFunctionsNull.cpp", "tests/queries/0_stateless/02353_isnullable.reference", "tests/queries/0_stateless/02353_isnullable.sql"]
isNullable function
**Use case** Is that column nullable or not **Describe the solution you'd like** SELECT isNullable(NULL); 1 -- or true **Describe alternatives you've considered** ``` WITH materialize(NULL) AS x SELECT match(toColumnTypeName(x), 'Nullable') AS res Query id: fa279bf2-38d5-41ae-89cb-187e588908db ...
https://github.com/ClickHouse/ClickHouse/issues/38611
https://github.com/ClickHouse/ClickHouse/pull/38841
fa1d5b8bdbc2113521d9c113cb1b146d1e32cd2c
7c60714b4b5e6507ed0ca74887932ffc1496cd60
2022-06-29T22:57:56Z
c++
2022-07-07T09:49:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,585
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01556_accurate_cast_or_null.reference", "tests/queries/0_stateless/01556_accurate_cast_or_null.sql", "tests/queries/0_stateless/01601_accurate_cast.reference", "tests/queries/0_stateless/01601_accurate_cast.sql", "tests/queries/0_stateless/02026_accurat...
accurateCastOrNull raises an exception, rather than simply returning null when casting an invalid value to Bool
**Describe what's wrong** accurateCastOrNull raises an exception, rather than simply returning null when casting an invalid value to Bool ``` Code: 467. DB::Exception: Received from 127.0.0.1:9000. DB::Exception: Cannot parse boolean value here: 'test', should be 'true' or 'false' controlled by setting bool_true...
https://github.com/ClickHouse/ClickHouse/issues/38585
https://github.com/ClickHouse/ClickHouse/pull/54629
bee9eb5df47091229c149755dbd0b05966317e88
975f954a26b5cd9a7fae7c6ebd2a6d8f0b67f7f8
2022-06-29T15:33:59Z
c++
2023-10-25T08:31:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,560
["src/Processors/Executors/ExecutingGraph.cpp", "src/Processors/Executors/ExecutingGraph.h"]
Hung Check: PullingAsyncPipelineExecutor::cancel, fibers, QueryProfiler, libunwind
https://s3.amazonaws.com/clickhouse-test-reports/38541/9b4da86e2e5cf74a8b5b1205bbabc909e357d654/stress_test__debug__actions_.html ``` { "is_initial_query": 1, "user": "default", "query_id": "64ae3520-41dc-45e9-93b7-bf9d986c4ca7", "address": "::1", "port": 41342, ...
https://github.com/ClickHouse/ClickHouse/issues/38560
https://github.com/ClickHouse/ClickHouse/pull/42874
bb507356ef33ae55f094cadfbd8ad78e7bff51b0
88033562cd3906537cdf60004479495ccedd3061
2022-06-29T11:10:10Z
c++
2022-11-08T09:52:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,538
["src/Interpreters/ActionsVisitor.cpp", "src/Interpreters/ActionsVisitor.h", "src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/ExpressionAnalyzer.h", "src/Interpreters/GetAggregatesVisitor.cpp", "tests/queries/0_stateless/02354_window_expression_with_aggregation_expression.reference", "tests/queries/0_statel...
NOT_FOUND_COLUMN_IN_BLOCK: Not found column multiply(sum(a), 100) in block
This window function does not work ``` select sum(a)*100/sum(sum(a)) over (partition by b) as r from ( SELECT 1 as a, 2 as b UNION ALL SELECT 3 as a, 4 as b UNION ALL SELECT 5 as a, 2 as b ) as t group by b ``` ``` Received exception from server (version 22.7.1): Code:...
https://github.com/ClickHouse/ClickHouse/issues/38538
https://github.com/ClickHouse/ClickHouse/pull/39112
71aba5b4c663716752a1677d0971f576760648fd
9e4f516f357027779668b01b54c5cc458c82ada3
2022-06-28T14:50:58Z
c++
2022-07-13T16:19:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,536
["contrib/NuRaft", "docs/en/operations/server-configuration-parameters/settings.md", "docs/ru/operations/server-configuration-parameters/settings.md", "src/Coordination/KeeperServer.cpp", "src/Coordination/KeeperServer.h"]
Clickhouse keeper ignores listen_host for port 9234
Clickhouse keeper binding to :::9234 ignores <listen_host> from config **How to reproduce** Put keeper_config.xml into a local keeper directory and then mount it into a container ``` <clickhouse> <listen_host>127.0.0.198</listen_host> <keeper_server> <tcp_port>9181</tcp_port> <server...
https://github.com/ClickHouse/ClickHouse/issues/38536
https://github.com/ClickHouse/ClickHouse/pull/39973
0765495be105c4187018ff5376006da432cb01ee
a87a762b0cf6ad6fd07d9a5ae9a24c3085a42576
2022-06-28T14:24:59Z
c++
2022-08-23T07:03:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,534
["tests/queries/0_stateless/02960_partition_by_udf.reference", "tests/queries/0_stateless/02960_partition_by_udf.sql"]
UDF in partition by
```sql CREATE FUNCTION f1 AS (x) -> x; CREATE TABLE hit ( `UserID` UInt32, `URL` String, `EventTime` DateTime ) ENGINE = MergeTree partition by f1(URL) ORDER BY (EventTime); Received exception from server (version 22.6.1): Code: 49. DB::Exception: Received from localhost:9000. DB::Exception...
https://github.com/ClickHouse/ClickHouse/issues/38534
https://github.com/ClickHouse/ClickHouse/pull/58391
1f5e0f52ff889e675782226c18d1029ffc731f4c
1564b94761950fd942bc2ffab429fe91ee5d6190
2022-06-28T13:09:16Z
c++
2024-01-01T17:54:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,532
["src/Columns/ColumnDecimal.h", "src/Common/IntervalKind.cpp", "src/Common/IntervalKind.h", "src/Processors/Transforms/WindowTransform.cpp", "tests/queries/0_stateless/02346_non_negative_derivative.reference", "tests/queries/0_stateless/02346_non_negative_derivative.sql"]
nonNegativeDerivative window function fails with LOGICAL_ERROR
**Describe the unexpected behaviour** New `nonNegativeDerivative` window function fails with LOGICAL_ERROR. **How to reproduce** ``` root@clickhouse1:/# clickhouse client ClickHouse client version 22.6.1.1985 (official build). Connecting to localhost:9000 as user default. Connected to ClickHouse server versi...
https://github.com/ClickHouse/ClickHouse/issues/38532
https://github.com/ClickHouse/ClickHouse/pull/38774
db838f1343567321da844725f4d54331f5985e20
f15d9ca59cf5edae887f77eb745207a8233bfc98
2022-06-28T12:49:31Z
c++
2022-07-07T18:39:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,498
["src/Common/parseGlobs.cpp", "src/Common/tests/gtest_makeRegexpPatternFromGlobs.cpp", "tests/queries/0_stateless/02297_regex_parsing_file_names.reference", "tests/queries/0_stateless/02297_regex_parsing_file_names.sh"]
`{0..10}` expansion in external file names is incorrect.
It is interpreted as an "aligned" expansion producing something like 00, 01, 02... 10 instead of 0, 1, 2... 10. https://pastila.nl/?09014b44/8155336bcfbf55d813814753465a1adf
https://github.com/ClickHouse/ClickHouse/issues/38498
https://github.com/ClickHouse/ClickHouse/pull/38502
d6a09acb382103428a86302496fc7d17074761ab
110862a11ec2e8bf8ec8e47a132cb69e8466e2c0
2022-06-28T00:55:44Z
c++
2022-07-14T06:27:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,474
["base/base/safeExit.cpp"]
Thread leak (TCPHandler)
https://s3.amazonaws.com/clickhouse-test-reports/38335/fe1b1aa77ba89d68abebc62dac536dee17d4ddc9/stress_test__thread__actions_.html ``` ================== WARNING: ThreadSanitizer: thread leak (pid=643) Thread T845 'TCPHandler' (tid=10064, finished) created by thread T250 at: #0 pthread_create <null> (click...
https://github.com/ClickHouse/ClickHouse/issues/38474
https://github.com/ClickHouse/ClickHouse/pull/43009
c5edea19f381076fb01184fb2d31b91393d4bba6
fc77d53db1165ffc01af356b2b44cb52976a4270
2022-06-27T17:48:40Z
c++
2022-11-07T19:20:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,471
["tests/ci/fast_test_check.py", "tests/ci/pr_info.py", "tests/ci/run_check.py", "tests/ci/style_check.py"]
Make `FastTest` and `StyleCheck` required for merge checks
We want to gradually make our checks required for merge: https://github.com/ClickHouse/ClickHouse/issues/18507. The first step is to implement such requirements for StyleCheck and FastTest. GitHub has a mechanism (https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the...
https://github.com/ClickHouse/ClickHouse/issues/38471
https://github.com/ClickHouse/ClickHouse/pull/38744
bd97233a4f64f2148c44857aaea3115a6debe668
af1136c9906c49dcc03986318c5717914e73ab96
2022-06-27T17:01:09Z
c++
2022-07-08T08:17:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,460
["src/Functions/getScalar.cpp", "tests/queries/0_stateless/02375_scalar_lc_cte.reference", "tests/queries/0_stateless/02375_scalar_lc_cte.sql"]
Scalar CTE with LowCardinality result: Invalid column type for ColumnUnique::insertRangeFrom. Expected String, got ColumnLowCardinality
``` WITH ( SELECT toLowCardinality('a') ) AS bar SELECT bar ``` ``` Received exception from server (version 22.6.1): Code: 44. DB::Exception: Received from localhost:9000. DB::Exception: Invalid column type for ColumnUnique::insertRangeFrom. Expected String, got ColumnLowCardinality: While processing __getScal...
https://github.com/ClickHouse/ClickHouse/issues/38460
https://github.com/ClickHouse/ClickHouse/pull/39716
e6efb47aa362d1ce0731e4f1f7e4070cd6eaa367
b84e65bb3b7d4162e9caf0fadd296a895db38b3e
2022-06-27T13:54:05Z
c++
2022-08-03T16:53:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,457
["docs/en/sql-reference/functions/geo/index.md"]
missing index page in Geo section
https://clickhouse.com/docs/en/sql-reference/functions/geo/ Should list 4 subpages.
https://github.com/ClickHouse/ClickHouse/issues/38457
https://github.com/ClickHouse/ClickHouse/pull/38549
80e7abd0feaffd3441afa8f0f73f2b73e028f3ad
c45e9a36bd7dd7d72ce3d3ee1aa12d340543051b
2022-06-27T12:08:24Z
c++
2022-06-29T10:11:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,425
["src/Parsers/ParserCreateQuery.cpp", "tests/queries/0_stateless/02345_create_table_allow_trailing_comma.reference", "tests/queries/0_stateless/02345_create_table_allow_trailing_comma.sql"]
Allow trailing comma in columns list
**Use case** ``` CREATE TABLE t ( x UInt8, y UInt8, ) ```
https://github.com/ClickHouse/ClickHouse/issues/38425
https://github.com/ClickHouse/ClickHouse/pull/38440
4cda5491f639081428765181996cf1e118af5cfa
0d27672ac8132626daccda9aca4edca271134234
2022-06-25T04:30:41Z
c++
2022-06-29T06:47:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,423
["src/Functions/filesystem.cpp", "tests/queries/0_stateless/02345_filesystem_local.reference", "tests/queries/0_stateless/02345_filesystem_local.sh"]
filesystem* functions don't work in `clickhouse-local`
``` milovidov@milovidov-desktop:~/work/ClickHouse/benchmark/clickhouse-benchmark$ clickhouse-local ClickHouse local version 22.7.1.1. milovidov-desktop :) SELECT filesystemAvailable() SELECT filesystemAvailable() Query id: 3ef2d5d8-b3e7-470d-a1e0-e6146f18b9b8 0 rows in set. Elapsed: 0.145 sec. Rece...
https://github.com/ClickHouse/ClickHouse/issues/38423
https://github.com/ClickHouse/ClickHouse/pull/38424
7439ed8403a9f6df1245cb6215288fada7163a3c
3c196214543143f0a75be8812f1517419a34da7e
2022-06-25T04:04:23Z
c++
2022-06-25T09:10:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,396
["src/AggregateFunctions/AggregateFunctionRankCorrelation.h", "src/AggregateFunctions/StatCommon.h", "tests/queries/0_stateless/01848_http_insert_segfault.sh", "tests/queries/0_stateless/02347_rank_corr_nan.reference", "tests/queries/0_stateless/02347_rank_corr_nan.sql"]
RankCorrelationData::getResult() takes long time
``` CREATE TABLE default.`01802_empsalary` ( `depname` LowCardinality(String), `empno` UInt64, `salary` Int32, `enroll_date` Date ) ENGINE = MergeTree ORDER BY enroll_date SETTINGS index_granularity = 8192; insert into 01802_empsalary values ('sales',1,5000,'2006-10-01'),('develop',8,6000,'20...
https://github.com/ClickHouse/ClickHouse/issues/38396
https://github.com/ClickHouse/ClickHouse/pull/38722
1ee752b9a599dffea4c5d3d20aa7e1f90c9ae381
bfc9ed61725ae1e123a0ba7ef5b4ccce8491f153
2022-06-24T16:30:33Z
c++
2022-07-03T17:30:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,383
["src/AggregateFunctions/AggregateFunctionCategoricalInformationValue.cpp", "tests/queries/0_stateless/02427_column_nullable_ubsan.reference", "tests/queries/0_stateless/02427_column_nullable_ubsan.sql"]
fuzzer: failed assert_cast to ColumnNullable
ERROR: type should be string, got "\r\nhttps://s3.amazonaws.com/clickhouse-test-reports/36171/f7b329ee57bd6ddc758e3de4a07ae33af989124e/fuzzer_astfuzzerubsan,actions//report.html\r\n```\r\n../src/Common/assert_cast.h:50:12: runtime error: downcast of address 0x7f7ca4004220 which does not point to an object of type 'const DB::ColumnNullable'\r\n0x7f7ca4004220: note: object is of type 'DB::ColumnConst'\r\n 00 00 00 00 b0 19 c4 0a 00 00 00 00 01 00 00 00 00 00 00 00 e0 63 23 a0 7c 7f 00 00 01 00 00 00\r\n ^~~~~~~~~~~~~~~~~~~~~~~\r\n vptr for 'DB::ColumnConst'\r\n2022.06.24 00:44:49.000150 [ 397 ] {} <Trace> AsynchronousMetrics: MemoryTracking: was 786.19 MiB, peak 788.19 MiB, will set to 796.76 MiB (RSS), difference: 10.58 MiB\r\n #0 0x242f2b6b in DB::ColumnNullable const& assert_cast<DB::ColumnNullable const&, DB::IColumn const&>(DB::IColumn const&) build_docker/../src/Common/assert_cast.h:50:12\r\n #1 0x242f2b6b in DB::ColumnNullable::compareAtImpl(unsigned long, unsigned long, DB::IColumn const&, int, Collator const*) const build_docker/../src/Columns/ColumnNullable.cpp:317:43\r\n #2 0x254bcb70 in DB::(anonymous namespace)::compareWithThreshold(std::__1::vector<DB::IColumn const*, std::__1::allocator<DB::IColumn const*> > const&, unsigned long, std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn> > > const&, DB::SortDescription const&) build_docker/../src/Processors/Transforms/PartialSortingTransform.cpp:74:73\r\n #3 0x254bba4a in DB::PartialSortingTransform::transform(DB::Chunk&) build_docker/../src/Processors/Transforms/PartialSortingTransform.cpp:157:13\r\n #4 0x1d43caea in DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) build_docker/../src/Processors/ISimpleTransform.h:32:9\r\n #5 0x250e3590 in DB::ISimpleTransform::work() build_docker/../src/Processors/ISimpleTransform.cpp:89:9\r\n #6 0x2510a97f in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26\r\n #7 0x2510a556 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:86:9\r\n #8 0x250fcb32 in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:222:26\r\n #9 0x250fc4e3 in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:187:5\r\n #10 0x250fc4e3 in DB::PipelineExecutor::executeImpl(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:331:9\r\n #11 0x250fc089 in DB::PipelineExecutor::execute(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:88:9\r\n #12 0x2510f182 in DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::__1::shared_ptr<DB::ThreadGroupStatus>, unsigned long) build_docker/../src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:79:24\r\n #13 0x2510f0e1 in DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0::operator()() const build_docker/../src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:107:13\r\n #14 0x2510f0e1 in decltype(static_cast<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&>(fp)()) std::__1::__invoke_constexpr<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) build_docker/../contrib/libcxx/include/type_traits:3648:23\r\n #15 0x2510ef9a in decltype(auto) std::__1::__apply_tuple_impl<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::__1::tuple<>&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/libcxx/include/tuple:1595:1\r\n #16 0x2510ef9a in decltype(auto) std::__1::apply<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::__1::tuple<>&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&, std::__1::tuple<>&) build_docker/../contrib/libcxx/include/tuple:1604:1\r\n #17 0x2510ef9a in ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:188:13\r\n #18 0x2510ef9a in decltype(static_cast<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) build_docker/../contrib/libcxx/include/type_traits:3640:23\r\n #19 0xff2aa20 in std::__1::__function::__policy_func<void ()>::operator()() const build_docker/../contrib/libcxx/include/__functional/function.h:843:16\r\n #20 0xff2aa20 in std::__1::function<void ()>::operator()() const build_docker/../contrib/libcxx/include/__functional/function.h:1184:12\r\n #21 0xff2aa20 in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:281:17\r\n #22 0xff2d5e1 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:143:73\r\n #23 0xff2d5e1 in decltype(static_cast<void>(fp)()) std::__1::__invoke<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(void&&) build_docker/../contrib/libcxx/include/type_traits:3640:23\r\n #24 0xff2d5e1 in void std::__1::__thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/libcxx/include/thread:282:5\r\n #25 0xff2d5e1 in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()> >(void*) build_docker/../contrib/libcxx/include/thread:293:5\r\n #26 0x7f7e2c1fe608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8\r\n #27 0x7f7e2c123132 in __clone /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95\r\n\r\nSUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/Common/assert_cast.h:50:12 in \r\n2022.06.24 00:44:49.696666 [ 114 ] {} <Trace> BaseDaemon: Received signal -3\r\n2022.06.24 00:44:49.697091 [ 428 ] {} <Fatal> BaseDaemon: ########################################\r\n2022.06.24 00:44:49.697199 [ 428 ] {} <Fatal> BaseDaemon: (version 22.7.1.1, build id: 1676B9CB06093897) (from thread 411) (query_id: e0ce4034-e820-41f4-b995-23087965ec08) (query: SELECT * FROM (SELECT * FROM (SELECT 0 AS a, toNullable(number) AS b, toString(number) AS c FROM numbers(1000000.)) ORDER BY a DESC, b DESC, c ASC LIMIT 1500) LIMIT 10) Received signal Unknown signal (-3)\r\n2022.06.24 00:44:49.697232 [ 428 ] {} <Fatal> BaseDaemon: Sanitizer trap.\r\n2022.06.24 00:44:49.697280 [ 428 ] {} <Fatal> BaseDaemon: Stack trace: 0xfe784e3 0x100e7d11 0xfe2ae86 0xfe3fa8d 0x242f2b6c 0x254bcb71 0x254bba4b 0x1d43caeb 0x250e3591 0x2510a980 0x2510a557 0x250fcb33 0x250fc4e4 0x250fc08a 0x2510f183 0x2510f0e2 0x2510ef9b 0xff2aa21 0xff2d5e2 0x7f7e2c1fe609 0x7f7e2c123133\r\n2022.06.24 00:44:49.706415 [ 428 ] {} <Fatal> BaseDaemon: 0.1. inlined from ./build_docker/../src/Common/StackTrace.cpp:305: StackTrace::tryCapture()\r\n2022.06.24 00:44:49.706450 [ 428 ] {} <Fatal> BaseDaemon: 0. ../src/Common/StackTrace.cpp:266: StackTrace::StackTrace() @ 0xfe784e3 in /workspace/clickhouse\r\n2022.06.24 00:44:49.722487 [ 428 ] {} <Fatal> BaseDaemon: 1. ./build_docker/../src/Daemon/BaseDaemon.cpp:0: sanitizerDeathCallback() @ 0x100e7d11 in /workspace/clickhouse\r\n2022.06.24 00:44:50.000109 [ 397 ] {} <Trace> AsynchronousMetrics: MemoryTracking: was 796.76 MiB, peak 796.76 MiB, will set to 875.25 MiB (RSS), difference: 78.49 MiB\r\n2022.06.24 00:44:50.628688 [ 428 ] {} <Fatal> BaseDaemon: 2. __sanitizer::Die() @ 0xfe2ae86 in /workspace/clickhouse\r\n2022.06.24 00:44:51.000108 [ 397 ] {} <Trace> AsynchronousMetrics: MemoryTracking: was 875.25 MiB, peak 875.25 MiB, will set to 1.19 GiB (RSS), difference: 338.25 MiB\r\n2022.06.24 00:44:51.000145 [ 397 ] {} <Debug> MemoryTracker: Current memory usage (total): 1.19 GiB.\r\n2022.06.24 00:44:51.518815 [ 428 ] {} <Fatal> BaseDaemon: 3. ? @ 0xfe3fa8d in /workspace/clickhouse\r\n2022.06.24 00:44:51.531085 [ 428 ] {} <Fatal> BaseDaemon: 4.1. inlined from ./build_docker/../src/Common/assert_cast.h:0: DB::ColumnNullable const& assert_cast<DB::ColumnNullable const&, DB::IColumn const&>(DB::IColumn const&)\r\n2022.06.24 00:44:51.531131 [ 428 ] {} <Fatal> BaseDaemon: 4. ../src/Columns/ColumnNullable.cpp:317: DB::ColumnNullable::compareAtImpl(unsigned long, unsigned long, DB::IColumn const&, int, Collator const*) const @ 0x242f2b6c in /workspace/clickhouse\r\n2022.06.24 00:44:51.549196 [ 428 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/Processors/Transforms/PartialSortingTransform.cpp:0: DB::(anonymous namespace)::compareWithThreshold(std::__1::vector<DB::IColumn const*, std::__1::allocator<DB::IColumn const*> > const&, unsigned long, std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn> > > const&, DB::SortDescription const&) @ 0x254bcb71 in /workspace/clickhouse\r\n2022.06.24 00:44:51.564524 [ 428 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Processors/Transforms/PartialSortingTransform.cpp:156: DB::PartialSortingTransform::transform(DB::Chunk&) @ 0x254bba4b in /workspace/clickhouse\r\n2022.06.24 00:44:51.580101 [ 428 ] {} <Fatal> BaseDaemon: 7. ./build_docker/../src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x1d43caeb in /workspace/clickhouse\r\n2022.06.24 00:44:51.591796 [ 428 ] {} <Fatal> BaseDaemon: 8. ./build_docker/../src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x250e3591 in /workspace/clickhouse\r\n2022.06.24 00:44:51.599182 [ 428 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:50: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x2510a980 in /workspace/clickhouse\r\n2022.06.24 00:44:51.605811 [ 428 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:87: DB::ExecutionThreadContext::executeTask() @ 0x2510a557 in /workspace/clickhouse\r\n2022.06.24 00:44:51.620511 [ 428 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:222: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) @ 0x250fcb33 in /workspace/clickhouse\r\n2022.06.24 00:44:51.633345 [ 428 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:333: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x250fc4e4 in /workspace/clickhouse\r\n2022.06.24 00:44:51.647674 [ 428 ] {} <Fatal> BaseDaemon: 13.1. inlined from ./build_docker/../contrib/libcxx/include/__memory/unique_ptr.h:284: std::__1::unique_ptr<DB::ExecutingGraph, std::__1::default_delete<DB::ExecutingGraph> >::operator->() const\r\n2022.06.24 00:44:51.647719 [ 428 ] {} <Fatal> BaseDaemon: 13. ../src/Processors/Executors/PipelineExecutor.cpp:91: DB::PipelineExecutor::execute(unsigned long) @ 0x250fc08a in /workspace/clickhouse\r\n2022.06.24 00:44:51.662334 [ 428 ] {} <Fatal> BaseDaemon: 14. ./build_docker/../src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:0: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::__1::shared_ptr<DB::ThreadGroupStatus>, unsigned long) @ 0x2510f183 in /workspace/clickhouse\r\n2022.06.24 00:44:51.676850 [ 428 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../contrib/libcxx/include/type_traits:3648: decltype(static_cast<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&>(fp)()) std::__1::__invoke_constexpr<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x2510f0e2 in /workspace/clickhouse\r\n2022.06.24 00:44:51.691297 [ 428 ] {} <Fatal> BaseDaemon: 16.1. inlined from ./build_docker/../contrib/libcxx/include/tuple:0: operator()\r\n2022.06.24 00:44:51.691330 [ 428 ] {} <Fatal> BaseDaemon: 16. ../contrib/libcxx/include/type_traits:3640: decltype(static_cast<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x2510ef9b in /workspace/clickhouse\r\n2022.06.24 00:44:51.701042 [ 428 ] {} <Fatal> BaseDaemon: 17.1. inlined from ./build_docker/../contrib/libcxx/include/__functional/function.h:1157: std::__1::function<void ()>::operator=(std::nullptr_t)\r\n2022.06.24 00:44:51.701073 [ 428 ] {} <Fatal> BaseDaemon: 17. ../src/Common/ThreadPool.cpp:284: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0xff2aa21 in /workspace/clickhouse\r\n2022.06.24 00:44:51.712213 [ 428 ] {} <Fatal> BaseDaemon: 18. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()> >(void*) @ 0xff2d5e2 in /workspace/clickhouse\r\n2022.06.24 00:44:51.712243 [ 428 ] {} <Fatal> BaseDaemon: 19. ? @ 0x7f7e2c1fe609 in ?\r\n2022.06.24 00:44:51.712265 [ 428 ] {} <Fatal> BaseDaemon: 20. __clone @ 0x7f7e2c123133 in ?\r\n```"
https://github.com/ClickHouse/ClickHouse/issues/38383
https://github.com/ClickHouse/ClickHouse/pull/41463
560bc2bc22e2cb562bc0eebd58d90c7f2832a5cd
df52df83f9195d6d2c26b00fa04fd904b0c8f1a6
2022-06-24T12:21:45Z
c++
2022-09-19T03:27:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,357
["docs/en/operations/server-configuration-parameters/settings.md", "docs/en/operations/settings/settings.md"]
Docs mention max_concurrent_queries_for_all_users as server-level but it produces an error
`max-concurrent-queries-for-all-users` (and `max_concurrent_queries_for_user`) are in [server configuration docs](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#max-concurrent-queries-for-all-users) but using it like this leads to `<Error> Application: DB::Exception: A setting 'max_...
https://github.com/ClickHouse/ClickHouse/issues/38357
https://github.com/ClickHouse/ClickHouse/pull/50478
c97f1735671a49293614162ae65f6df612009e40
fb11f7eb6f8c53ba7a2c9066b4e001f529a6a0b1
2022-06-23T19:04:18Z
c++
2023-06-02T14:56:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,333
["src/Functions/FunctionDateOrDateTimeToSomething.h", "tests/queries/0_stateless/02346_to_hour_monotonicity_fix.reference", "tests/queries/0_stateless/02346_to_hour_monotonicity_fix.sql"]
Index analysis doesn't work with toHour and Timezone condition
**Describe what's wrong** Filter condition doesn't work correctly when functions like toHour are involved, I have another examples involved toDayOfWeek function as well where produced results are incorrect but I'll report in separate ticket about it. **Does it reproduce on recent release?** Yes, verified as part o...
https://github.com/ClickHouse/ClickHouse/issues/38333
https://github.com/ClickHouse/ClickHouse/pull/39037
ca2e27aaa2be06575725f2d9525d647f69075bce
57a719bafdb23fb955540859fd76b81efad36d18
2022-06-23T08:30:32Z
c++
2022-07-11T11:36:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,284
["docs/en/sql-reference/aggregate-functions/grouping_function.md"]
Add grouping function to documentation
GROUPING aggregate function is added to ClickHouse, need docs. Dmitri, is this where you would want the docs to appear: ![image](https://user-images.githubusercontent.com/25182304/174850037-f07e3b99-ff9f-4f71-a1b1-154474c28543.png) If we cover everything in these test files, is that what is needed? ``` tests...
https://github.com/ClickHouse/ClickHouse/issues/38284
https://github.com/ClickHouse/ClickHouse/pull/38308
6a69e0879923a059b28cb31e609d50730f47e03e
c9dea66f8d37c13e27678eeeec246c6a97e40e67
2022-06-21T16:52:55Z
c++
2022-08-25T20:03:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,282
["src/Interpreters/InterpreterSelectQuery.cpp", "tests/queries/0_stateless/02344_distinct_limit_distiributed.reference", "tests/queries/0_stateless/02344_distinct_limit_distiributed.sql"]
incorrect result: distinct + distributed + limit
21.8.13.6, 22.3.7.28, 22.5.1.2079, 22.6.1.1985 distinct + limit over distributed tables stops to read rows from the table before reaching the limit. ```sql cat xy.sql drop table if exists test; create table test (d Date, id Int64 ) Engine = MergeTree partition by toYYYYMM(d) order by d; insert into test s...
https://github.com/ClickHouse/ClickHouse/issues/38282
https://github.com/ClickHouse/ClickHouse/pull/38371
8246e55002a34c8d88f3f6de28d757441660df12
e78814f3bb843d11cb5d545558998a10845578ed
2022-06-21T16:06:50Z
c++
2022-06-29T12:02:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,134
["src/Interpreters/AsynchronousMetricLog.h"]
asynchronous_metric_log: `value Float64 CODEC(Gorilla, ZSTD(3))` is worse than simply `ZSTD(3)`
Maybe all the specialized codecs: DoubleDelta, Gorilla, etc. are obsolete and people should simply use ZSTD instead.
https://github.com/ClickHouse/ClickHouse/issues/38134
https://github.com/ClickHouse/ClickHouse/pull/38428
1d661d0badaf823e1d4eb3d81eefaae5988b561f
90307177b4f3d7e01be3c99e2c8276bf05ae02ed
2022-06-16T11:14:30Z
c++
2022-06-25T15:59:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,128
["tests/queries/0_stateless/02715_or_null.reference", "tests/queries/0_stateless/02715_or_null.sql"]
-OrNull combinator return unexpected values
**Describe the unexpected behaviour** A clear and concise description of what works not as it is supposed to. **How to reproduce** ClickHouse 22.3, 22.6 ``` SELECT argMaxOrNull(id, timestamp) FROM ( SELECT CAST(NULL, 'Nullable(UInt32)') AS id, 2 AS timestamp ) Query id: 17bf3c85-...
https://github.com/ClickHouse/ClickHouse/issues/38128
https://github.com/ClickHouse/ClickHouse/pull/48817
54f660bd4fed8a711fdad5d91b7ceb4d940245f9
fb40200302be136dc70c85149cdfc8dbf5857e94
2022-06-16T08:56:22Z
c++
2023-04-16T22:15:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,049
["src/Databases/DatabasesCommon.cpp", "src/Interpreters/InterpreterCreateQuery.cpp", "src/Parsers/ASTCreateQuery.cpp", "src/Parsers/ASTCreateQuery.h", "src/Parsers/ParserCreateQuery.cpp", "tests/queries/0_stateless/02343_create_empty_as_select.reference", "tests/queries/0_stateless/02343_create_empty_as_select.sql"]
CREATE TABLE ... EMPTY AS SELECT
CREATE TABLE ... **EMPTY** AS SELECT **Use case** Create a table with the same structure as SELECT query returns but don't fill it. **Describe alternatives you've considered** CREATE TABLE ... AS DESCRIBE (SELECT ...) \- more consistent but also more clunky.
https://github.com/ClickHouse/ClickHouse/issues/38049
https://github.com/ClickHouse/ClickHouse/pull/38272
d3bc7c0190fd8d670d4b2e2a1d3d7d332b1998ae
31c4f83469c6b9b24d3b3e16f9b4b191bee0f6f2
2022-06-14T11:26:16Z
c++
2022-06-22T10:25:12Z