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
23,431
["src/Client/Connection.cpp", "src/Client/Connection.h", "src/DataStreams/RemoteQueryExecutor.cpp", "tests/queries/0_stateless/01851_hedged_connections_external_tables.reference", "tests/queries/0_stateless/01851_hedged_connections_external_tables.sql"]
Logical error: Can't initialize pipeline with empty pipe.: While executing Remote (version 21.4.4.30 (official build))
CREATE TABLE ladnl.dnl_log ( `event_date` Date, `date_id` UInt64, `tm` FixedString(8), `dt` DateTime DEFAULT toDateTime(concat(toString(event_date), ' ', tm)), `host_id` UInt32, `ip` Int32, `cc` FixedString(2), `code` UInt16, `topdir` String, `file` String, `size...
https://github.com/ClickHouse/ClickHouse/issues/23431
https://github.com/ClickHouse/ClickHouse/pull/23805
fa1e9de7f7325f5d90aea083fd8c1cc2925a6790
7ca42d2ce13e43baddd3ac4aeae214252af0d0f7
2021-04-21T11:21:33Z
c++
2021-05-01T05:13:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,430
["tests/integration/helpers/cluster.py", "tests/integration/test_storage_kafka/test.py"]
After the Kafka engine table is deleted, the materialized view cannot consume the Kafka data and submit the offset according to the original construction model. The offset will only be submitted when the Kafka table is queried by select
(you don't have to strictly follow this form) **Describe the bug** After the Kafka engine table is deleted, the materialized view cannot consume the Kafka data and submit the offset according to the original construction model. The offset will only be submitted when the Kafka table is queried by select **Does it...
https://github.com/ClickHouse/ClickHouse/issues/23430
https://github.com/ClickHouse/ClickHouse/pull/24941
c0e6aa97a68cb1c4ff67b73070e19aa9b8ad9e4a
b711cede82645667cbb3048d1047a77f187300eb
2021-04-21T10:21:35Z
c++
2021-06-09T22:13:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,391
["src/Functions/extractTimeZoneFromFunctionArguments.cpp", "src/Functions/now64.cpp", "tests/queries/0_stateless/00921_datetime64_basic.reference", "tests/queries/0_stateless/00921_datetime64_basic.sql"]
`now64` function does not support timezone argument
**Describe the unexpected behaviour** Neither of these works: ``` now64(3, 'UTC') now64('UTC', 3) ```
https://github.com/ClickHouse/ClickHouse/issues/23391
https://github.com/ClickHouse/ClickHouse/pull/24091
b0bad25dd38189cbd792e326afd9986c13c6b9e4
19fb0d2033ff048a153a38c70dad70051b3a12f9
2021-04-20T21:04:12Z
c++
2021-05-14T07:36:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,376
["docs/en/interfaces/cli.md", "docs/ru/interfaces/cli.md", "programs/client/Client.cpp", "programs/local/LocalServer.cpp", "src/Client/ClientBase.cpp", "src/Client/ClientBase.h", "tests/queries/0_stateless/02048_parallel_reading_from_infile.sh", "tests/queries/0_stateless/02751_multiquery_with_argument.reference", "tes...
`clickhouse-client --multiquery`: allow to specify queries in the value of the `--multiquery` parameter.
**Use case** Currently query is accepted in `--query` parameter or in stdin. There is also `--multiquery` (or `-n`) parameter that is a switch to allow multiple queries. Example: ``` clickhouse-client --query "SELECT 1" clickhouse-client --multiquery --query "SELECT 1; SELECT 2;" ``` It will be very intui...
https://github.com/ClickHouse/ClickHouse/issues/23376
https://github.com/ClickHouse/ClickHouse/pull/49870
3e6314675c6467bc4dd78f659bac862f7e9648f8
f850a448ecebe6a097d1f4bf711f50a863652bc0
2021-04-20T18:40:15Z
c++
2023-05-23T11:48:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,365
["src/DataStreams/ColumnGathererStream.cpp", "src/Processors/Merges/Algorithms/ReplacingSortedAlgorithm.cpp", "tests/queries/0_stateless/00926_adaptive_index_granularity_replacing_merge_tree.reference", "tests/queries/0_stateless/01825_replacing_vertical_merge.reference", "tests/queries/0_stateless/01825_replacing_vert...
Vertical merges fails on granule/block size check
**Describe the bug** Vertical merges seems to be fed with a granule bigger by 1 rows than granularity size, and fails with the following error : ``` 2021.04.20 09:59:56.027482 [ 10195 ] {} <Error> database.table_local (813d322c-c51c-47f4-baa7-6c0b90bbab9e): auto DB::StorageReplicatedMergeTree::processQueueEntry(Rep...
https://github.com/ClickHouse/ClickHouse/issues/23365
https://github.com/ClickHouse/ClickHouse/pull/23459
ca230224cfa8939680bb05826fa1bc38e4c3648d
41ed8aab59b41904cce159b71a1b7ef49aa8a435
2021-04-20T14:33:57Z
c++
2021-04-24T00:30:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,305
["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/01540_verbatim_partition_pruning.reference", "tests/queries/0_stateless/01540_verbatim_partition_pruning.sql"]
Partition pruning toYYYYMM partition key. Wrong query result with !=
21.5.1 ```sql create table test(d Date, k Int64, s String) Engine=MergeTree partition by (toYYYYMM(d),k) order by (d, k) insert into test values ('2020-01-01', 1, ''); insert into test values ('2020-01-02', 1, ''); SELECT * FROM test WHERE d != '2020-01-01' 0 rows in set. Elapsed: 0.003 sec. SELECT *...
https://github.com/ClickHouse/ClickHouse/issues/23305
https://github.com/ClickHouse/ClickHouse/pull/23310
013555907cb17a7a13f4184c2e0224fb8b4f09cc
186b1128d013de950a6a98a68f840ef39d11b4ef
2021-04-19T11:10:42Z
c++
2021-04-27T04:13:18Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,292
["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "src/Storages/MergeTree/PartMovesBetweenShardsOrchestrator.cpp", "src/Storages/StorageMergeTree.cpp", "src/Storages/StorageMergeTree.h", "src/Storages/StorageReplicatedMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.h"]
Replication may stuck due to clearEmptyParts (>=20.12)
Symptoms: all threads in BackgroundScheduledPool busy, lot of tasks in replication queue, none of the tasks is executing. ![Screenshot from 2021-04-16 16-21-44_](https://user-images.githubusercontent.com/1549571/115193796-e767d600-a0ec-11eb-887c-5c9c2412e50c.png) Related to #16895 Possible workarounds (poor o...
https://github.com/ClickHouse/ClickHouse/issues/23292
https://github.com/ClickHouse/ClickHouse/pull/23315
4f129d3f93c94d236963ead62fed50269f6f16a5
c7bd3b8674db4971383779f37ca9084a7cbfe63b
2021-04-19T06:55:30Z
c++
2021-06-01T10:52:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,256
["src/Storages/System/StorageSystemStackTrace.cpp"]
Thread name in system.stack_trace
https://github.com/ClickHouse/ClickHouse/issues/23256
https://github.com/ClickHouse/ClickHouse/pull/24124
6024477424ca2a7ae29a217d792e6cc029652c89
3a98e7f427fcb0bf982763d79008e4c3673cb4cb
2021-04-18T04:49:11Z
c++
2021-05-18T11:48:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,236
["src/Dictionaries/getDictionaryConfigurationFromAST.cpp", "tests/queries/0_stateless/01821_dictionary_primary_key_wrong_order.reference", "tests/queries/0_stateless/01821_dictionary_primary_key_wrong_order.sql"]
Wrong behavior in dictionaries when key columns are not the first in column order
(you don't have to strictly follow this form) **Describe the bug** After upgrade to 21.3 below dictionaries stopped working properly (confirmed on layout hashed, Clickhouse and ODBC source). All other layouts and sources not tested. **Does it reproduce on recent release?** Reproduces in 21.3.4.25 **How to r...
https://github.com/ClickHouse/ClickHouse/issues/23236
https://github.com/ClickHouse/ClickHouse/pull/23262
6d3df1e02fbf56def5df8be73bac28b3c2561eb2
1f6736284331704a2ef5cf488c33bd1b908de330
2021-04-17T18:56:17Z
c++
2021-04-18T21:37:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,227
["CMakeLists.txt", "docker/packager/other/fuzzer.sh", "programs/CMakeLists.txt", "programs/local/CMakeLists.txt", "programs/local/LocalServer.cpp", "programs/main.cpp", "src/Functions/CMakeLists.txt", "src/Functions/getFuzzerData.cpp", "src/Functions/getFuzzerData.h", "src/Functions/registerFunctionsMiscellaneous.cpp"]
Add function `getFuzzerData`
**Use case** Test one ClickHouse SQL function with libFuzzer in a predefined SQL query. Example: ``` clickhouse-local --query 'SELECT extractTextFromHTML(getFuzzerData())' ``` **Describe the solution you'd like** If `clickhouse-local` is compiled with libFuzzer, the fuzzer will execute a query in infinit...
https://github.com/ClickHouse/ClickHouse/issues/23227
https://github.com/ClickHouse/ClickHouse/pull/27526
6c16348faa59805ebf44b4bdd92675eee5a2ad17
514120adfefd8836b8e0c9c6f89e878d5faf883e
2021-04-17T15:40:31Z
c++
2021-12-07T12:05:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,183
["contrib/libunwind"]
[aarch64] Uncaught exception in clickhouse-client
i download the ci build output binary ```shell wget https://clickhouse-builds.s3.yandex.net/0/9110a76d00807baf9dc368cd613512298188269b/clickhouse_special_build_check/clang-11-aarch64_relwithdebuginfo_none_bundled_unsplitted_disable_False_binary/clickhouse ``` and run command: ```shell root@ubuntu-8658944...
https://github.com/ClickHouse/ClickHouse/issues/23183
https://github.com/ClickHouse/ClickHouse/pull/25854
956b1f588dbf5e406bf61e8a9b4e329d35af8b70
011ed015fa49c8e1a37f6f103c28def5e637a23f
2021-04-16T10:14:58Z
c++
2021-06-30T13:18:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,163
["tests/queries/0_stateless/01915_merge_prewhere_virtual_column_rand_chao_wang.reference", "tests/queries/0_stateless/01915_merge_prewhere_virtual_column_rand_chao_wang.sql"]
Inconsistent query translation with filters on _table and rand()
**Describe the bug** Sometimes the query translation behaves incorrectly and inconsistently on queries with _table and rand() in Where clause **Does it reproduce on recent release?** ClickHouse server version 20.12.4 revision 54442 **How to reproduce* ``` CREATE TABLE abc ( `f1` String, `f2` String...
https://github.com/ClickHouse/ClickHouse/issues/23163
https://github.com/ClickHouse/ClickHouse/pull/25390
c48402d997d0fbf6fc91c13c96857559ec095a6b
d8174cb9fd45f2ad1f5f4af1c0c490c195bdbac6
2021-04-15T20:07:47Z
c++
2021-06-17T17:08:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,125
["src/Processors/QueryPlan/Optimizations/limitPushDown.cpp", "tests/queries/0_stateless/02265_limit_push_down_over_window_functions_bug.reference", "tests/queries/0_stateless/02265_limit_push_down_over_window_functions_bug.sql"]
Window function being applied after LIMIT.
Hi. I noticed that when using window functions with a LIMIT clause, the window function appears to be applied to the result _after_ applying the limit. To me this is rather unintuitive and different from the way I am used to it from other applications. Is this intended behaviour or should I raise an issue for this? ...
https://github.com/ClickHouse/ClickHouse/issues/23125
https://github.com/ClickHouse/ClickHouse/pull/36075
d9ce08915a05b6131cb171606a64a68fd2da6b60
362fcfd2b8f50edcf4fc4b43c15ac5ff7c2d964f
2021-04-15T12:00:32Z
c++
2022-04-13T09:57:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,056
["programs/server/Server.cpp"]
TSan: Segfault in `_exit` interceptor (false positive report in CI)
(you don't have to strictly follow this form) **Describe the bug** A clear and concise description of what works not as it is supposed to. - Fatal log ``` 2021.04.14 07:10:05.724520 [ 224553 ] {} <Fatal> BaseDaemon: ######################################## 2021.04.14 07:10:05.724783 [ 224553 ] {} <Fatal> Base...
https://github.com/ClickHouse/ClickHouse/issues/23056
https://github.com/ClickHouse/ClickHouse/pull/23616
9d0d1b9d30f06c207fb3b6858028e61bc227e44b
4fd56ef472ba6eb31e7d32403a2c7374cb8553fc
2021-04-14T06:37:56Z
c++
2021-04-25T07:33:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,029
["src/Core/Block.cpp", "src/Core/Block.h", "src/Processors/Pipe.cpp", "src/Processors/Port.cpp", "src/Processors/QueryPipeline.cpp", "tests/queries/0_stateless/01822_union_and_constans_error.reference", "tests/queries/0_stateless/01822_union_and_constans_error.sql"]
Logical error: Block structure mismatch in QueryPipeline::unitePipelines stream: different columns
**Describe the bug** TLPHaving of Sqlancer test - log [link](https://clickhouse-test-reports.s3.yandex.net/22706/520f4f39eccfcc16491fbc58d9cb44856deb5f53/sqlancer_test/TLPHaving.err) ``` + java -jar target/sqlancer-1.1.0.jar --num-threads 10 --timeout-seconds 300 --num-queries 1000 --username default --password...
https://github.com/ClickHouse/ClickHouse/issues/23029
https://github.com/ClickHouse/ClickHouse/pull/23359
b67f40bae112b4b946dd0ba82777108d4cb66409
9ec6fd19436cc0a7841be23cf77774f6105c85b3
2021-04-13T08:36:56Z
c++
2021-04-21T05:46:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
23,002
["src/Interpreters/TableJoin.h", "tests/queries/0_stateless/01115_join_with_dictionary.reference", "tests/queries/0_stateless/01115_join_with_dictionary.sql"]
(JOIN with dictionary) HashJoin: container overflow (range check)
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/22994/eaa092cae2c633d78c8b5856956df420a8c5096c/fuzzer_asan/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/23002
https://github.com/ClickHouse/ClickHouse/pull/23312
2cfc2c8825008767e1479c8d1e9e7ea8a2c132fc
bcede10919c68f53d551ad0aec3d3d2ec1f0db81
2021-04-12T20:37:31Z
c++
2021-04-24T01:40:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,959
["src/IO/ReadHelpers.h", "tests/queries/0_stateless/02313_negative_datetime64.reference", "tests/queries/0_stateless/02313_negative_datetime64.sql"]
DateTime64 mistreats fractional seconds part of negative timestamp
`toUnixTimestamp64*()` functions treat milli-, micro- and nanoseconds in a wrong way when timestamp is negative, for example: ```sql SELECT toUnixTimestamp64Milli(toDateTime64('1927-01-01 00:00:00', 0, 'Europe/Zurich')) ┌─toUnixTimestamp64Milli(toDateTime64('1927-01-01 00:00:00', 0, 'Europe/Zurich'))─┐ │ ...
https://github.com/ClickHouse/ClickHouse/issues/22959
https://github.com/ClickHouse/ClickHouse/pull/37697
d1cf7a52cc58a74fc6eabc5d97923156299c6ee9
7baa54f92f3f7d39894b5f4fd43ec72c40dad1b8
2021-04-10T16:40:35Z
c++
2022-06-15T16:30:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,948
["docs/en/sql-reference/functions/date-time-functions.md", "docs/ru/sql-reference/functions/date-time-functions.md"]
toYearWeek wrong value
According to [CH docs](https://clickhouse.tech/docs/en/sql-reference/functions/date-time-functions/#toweekdatemode), `toYearWeek` mode `0` has return years range 0 - 53, but instead of returning `*year*00` for the corresponding queries, it returns `*year-1*52`: ``` SELECT toYearWeek(toDateTime64('1930-01-01 00:00:0...
https://github.com/ClickHouse/ClickHouse/issues/22948
https://github.com/ClickHouse/ClickHouse/pull/52090
d365fade947599ac72cf788b63172eec4a131a89
78994c8a96c5f85d3d7881ba78031f4cfacb3ec5
2021-04-10T11:52:39Z
c++
2023-07-15T17:31:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,930
["docs/en/sql-reference/functions/date-time-functions.md", "docs/ru/sql-reference/functions/date-time-functions.md"]
toWeek returning wrong result for some dates
As I understand from [docs](https://clickhouse.tech/docs/en/sql-reference/functions/date-time-functions/#toweekdatemode), the week number for the last days of year must be counted starting from the beginning of THE SAME year (52 or 53). Either this behavior should be fixed or docs should be made more clear. ``` SELEC...
https://github.com/ClickHouse/ClickHouse/issues/22930
https://github.com/ClickHouse/ClickHouse/pull/58452
6b6f395cc7fd944f345a0ac088a6822ed05bca37
dfacb111230c173b0e3270a2cfd9e3847f3b93eb
2021-04-09T11:34:26Z
c++
2024-01-03T23:06:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,929
["tests/queries/0_stateless/02507_to_unix_timestamp_overflow.reference", "tests/queries/0_stateless/02507_to_unix_timestamp_overflow.sql"]
toUnixTimestamp throws exception when DateTime64 out of normal range
toUnixTimestamp() throws exception when DateTime64 out of normal range: ``` SELECT toUnixTimestamp(toDateTime64('1928-12-31 12:12:12.123', 3, 'UTC')) Received exception from server (version 21.5.1): Code: 407. DB::Exception: Received from localhost:9000. DB::Exception: Convert overflow: While processing toUnixTim...
https://github.com/ClickHouse/ClickHouse/issues/22929
https://github.com/ClickHouse/ClickHouse/pull/44341
1b21cc018ed7259d7ef25eab86184d203c9d0f56
55131f7ae812e55aaf943a65599b4741e0f537c7
2021-04-09T10:32:43Z
c++
2022-12-27T11:58:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,924
["src/Interpreters/QueryAliasesVisitor.cpp", "tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.reference", "tests/queries/0_stateless/01813_distributed_scalar_subqueries_alias.sql"]
"Not found column in block" in distributed query with subquery
**How to reproduce** * Which ClickHouse server version to use latest master/arcadia * Non-default settings, if any ```sql SET prefer_localhost_replica=0 ``` (With a local stream the query works fine) * `CREATE TABLE` statements for all tables involved ```sql create table "t0" (a Int64, b Int64) engine = Merge...
https://github.com/ClickHouse/ClickHouse/issues/22924
https://github.com/ClickHouse/ClickHouse/pull/23191
28e79973a2c4f32f1e9a98ca71370abfccbaced5
02515ff0a4aec0a68d510241d3b7ea013bc6b8cb
2021-04-09T09:33:50Z
c++
2021-04-20T21:58:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,862
["utils/CMakeLists.txt"]
Can't build memcpy-bench with lld and shared libraries
Using a clean tree with current master (dc7a2b7f8853b00ee85872d4c32b1ea421f7651f). **Operating system** Archlinux **Cmake version** cmake version 3.20.0 **Ninja version** 1.10.2 **Compiler name and version** clang version 11.1.0 (Using ccache via PATH) ccache version 4.2 **Full cmake and/or ninja ou...
https://github.com/ClickHouse/ClickHouse/issues/22862
https://github.com/ClickHouse/ClickHouse/pull/22875
8af2352e2729e890f113dd2d51449a7c0fec8381
6ce5bead4f51d2254ad265d6199c4952468f5aec
2021-04-08T16:34:04Z
c++
2021-04-09T06:18:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,857
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01803_const_nullable_map.reference", "tests/queries/0_stateless/01803_const_nullable_map.sql"]
Experimental data type Map: segfault.
Always reproduced: ``` milovidov-desktop :) create table table_map (a Map(String, String), b String) engine = MergeTree() order by a; CREATE TABLE table_map ( `a` Map(String, String), `b` String ) ENGINE = MergeTree ORDER BY a Query id: 8f8120c1-c165-452a-815f-2bcae3957e2a Ok. 0 rows in se...
https://github.com/ClickHouse/ClickHouse/issues/22857
https://github.com/ClickHouse/ClickHouse/pull/22939
8b34a54c2d0f58c69e1834b12644a8f7b4d910b9
969d9f495bbdffeb5387c905d42b05fe4d68e1ee
2021-04-08T12:53:02Z
c++
2021-04-10T11:13:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,852
["src/Functions/formatDateTime.cpp", "src/IO/ReadHelpers.h", "tests/queries/0_stateless/018002_formatDateTime_DateTime64_century.reference", "tests/queries/0_stateless/018002_formatDateTime_DateTime64_century.sql", "tests/queries/0_stateless/018002_toDateTime64_large_values.reference", "tests/queries/0_stateless/018002...
formatDateTime() wrong value when year out of normal range
`formatDateTime(..., '%C')` returns wrong value when date is outwith normal range ``` SELECT formatDateTime(toDateTime64('1935-12-12 12:12:12', 0, 'Europe/Moscow'), '%C') ┌─formatDateTime(toDateTime64('1935-12-12 12:12:12', 0, 'Europe/Moscow'), '%C')─┐ │ 20 ...
https://github.com/ClickHouse/ClickHouse/issues/22852
https://github.com/ClickHouse/ClickHouse/pull/22937
7e867a26d793395d7962a95a15b7ea3034784fa1
ee9aaab4bcf8b7f98b485d2b6f30f1a0c41c3988
2021-04-08T11:11:51Z
c++
2021-04-12T22:40:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,824
["src/Functions/dateDiff.cpp", "tests/queries/0_stateless/018001_dateDiff_DateTime64.reference", "tests/queries/0_stateless/018001_dateDiff_DateTime64.sql"]
dateDiff() not working with DateTime64
DateDiff() function does not support DateTime64: ``` SELECT dateDiff('second', toDateTime64('1927-01-01 00:00:00', 0, 'UTC'), toDateTime64('1927-01-01 00:00:00', 0, 'UTC')) 0 rows in set. Elapsed: 0.024 sec. Received exception from server (version 21.5.1): Code: 44. DB::Exception: Received from localhost:9000...
https://github.com/ClickHouse/ClickHouse/issues/22824
https://github.com/ClickHouse/ClickHouse/pull/22931
aa6183af864af3b3b3a77ab250eb36a71041dd73
b571656fd762f13afca4e5ad51b1c41930828ed7
2021-04-07T19:14:57Z
c++
2021-04-11T18:36:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,736
["src/Interpreters/JoinToSubqueryTransformVisitor.cpp", "tests/queries/0_stateless/01839_join_to_subqueries_rewriter_columns_matcher.reference", "tests/queries/0_stateless/01839_join_to_subqueries_rewriter_columns_matcher.sql"]
Bug in COLUMNS function in query with 3+ joins
**Describe the bug** columns('regexp') didn't return all columns by regexp where 3+ joins in query **Does it reproduce on recent release?** version 21.3.4 revision 54447 **How to reproduce** in query we have 3 columns 'test' but returned only one: ``` select columns('test') from ...
https://github.com/ClickHouse/ClickHouse/issues/22736
https://github.com/ClickHouse/ClickHouse/pull/23501
f27002b1be1c1b818fb7cff224e7dc8c414d9332
2b822d896da8359c705f84b41428dcd5fad90d79
2021-04-07T06:44:38Z
c++
2021-04-22T21:24:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,728
["src/AggregateFunctions/AggregateFunctionMannWhitney.h", "src/AggregateFunctions/AggregateFunctionRankCorrelation.h", "src/Common/Arena.h", "tests/queries/0_stateless/01802_rank_corr_mann_whitney_over_window.reference", "tests/queries/0_stateless/01802_rank_corr_mann_whitney_over_window.sql"]
Server crash when using mannWhitneyUTest over a window
**Describe the bug** Crash in 21.4.1.6378 when using mannWhitneyUTest aggregate function. **How to reproduce** ``` CREATE TABLE default.empsalary ( `depname` LowCardinality(String), `empno` UInt64, `salary` Int32, `enroll_date` Date ) ENGINE = MergeTree ORDER BY enroll_date SETTINGS ind...
https://github.com/ClickHouse/ClickHouse/issues/22728
https://github.com/ClickHouse/ClickHouse/pull/22876
1c28878f5d2144c5fd59deeb0c1e41ec49068269
8af2352e2729e890f113dd2d51449a7c0fec8381
2021-04-06T22:09:12Z
c++
2021-04-09T06:17:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,727
["src/Functions/FunctionsExternalDictionaries.h"]
dictGetOrDefault('dict','col',Null,0.0) returns Null
**Describe the unexpected behaviour** If Null being passed as dictionary key, dictGetOrDefault returns null instead of default value. **How to reproduce** Clickhouse version 21.5, 21.1, 20.8 ``` CREATE VIEW dict_null_source AS SELECT 1 as key, 1 as val; CREATE DICTIONARY dict_null (key UInt64, val UInt32) P...
https://github.com/ClickHouse/ClickHouse/issues/22727
https://github.com/ClickHouse/ClickHouse/pull/22821
ed367855d5b96e52ce2f23c4c382ac6f97b94465
b8e239c211a28675eb3f2a09acc28fe9c8848c5d
2021-04-06T20:20:15Z
c++
2021-04-08T07:41:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,679
["src/Storages/MergeTree/DataPartsExchange.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.h", "src/Storages/MergeTree/MergeTreeData.cpp", "tests/integration/test_s3_zero_copy_replication/configs/config.d/s3.xml", "tests/integration/test_s3_zero_copy_replication/test.py...
Replicated tables with TTL moves or delete do not work when <allow_s3_zero_copy_replication> is set to 1
**Describe the bug** When <allow_s3_zero_copy_replication> is set to 1 in the <merge_tree> configuration, replicated tables with TTL moves or delete are broken. SELECT from replicated tables with TTL moves or delete causes errors. **Does it reproduce on recent release?** [The list of releases](https://github.com/C...
https://github.com/ClickHouse/ClickHouse/issues/22679
https://github.com/ClickHouse/ClickHouse/pull/22864
1d5522af623c70c4b55baed12989a15075f52610
5638c1814097476e924b678105f095facdce8a83
2021-04-06T00:04:50Z
c++
2021-05-26T07:28:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,672
["src/Storages/StorageDistributed.cpp"]
can't use default DB in shard config w/o warnings
The only way to use this feature is to specify an empty database name in Distributed table definition, but then you get a warning: ``` CREATE TABLE `demo_loan_all` (...) ENGINE=Distributed(test_cluster_two_shards_different_databases, '', demo_loan_01568, cityHash64(id)); <Warning> StorageDistributed (demo_loan_a...
https://github.com/ClickHouse/ClickHouse/issues/22672
https://github.com/ClickHouse/ClickHouse/pull/22990
da681d990708cd15d9ca1d8603bc2505d0bfae45
1525e38a3cf29cd7816f223f98418f878ca52e24
2021-04-05T18:25:24Z
c++
2021-04-13T15:58:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,671
["src/Common/ZooKeeper/TestKeeper.cpp", "tests/queries/0_stateless/01152_cross_replication.reference", "tests/queries/0_stateless/01152_cross_replication.sql", "tests/queries/skip_list.json"]
assertion failure in `ON CLUSTER` query with TestKeeper
``` 2021.04.05 20:41:11.963398 [ 589679 ] {f459c27c-24b9-4ca7-ba41-6da0b34e1162} <Debug> executeQuery: (from [::1]:36122, using production parser) (comment: /home/akuzm/ch2/ch/tests/queries/0_stateless/01568_window_functions_distributed.sql) CREATE TABLE demo_loan_01568 ON CLUSTER test_cluster_two_shards_different_...
https://github.com/ClickHouse/ClickHouse/issues/22671
https://github.com/ClickHouse/ClickHouse/pull/23041
fd424eceb00e4aa535f2e312c4f1e9957a2cac84
021cafff49e4e355c337fa0f858b1e64f33c9c7c
2021-04-05T17:45:29Z
c++
2021-04-14T20:25:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,631
["src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp", "tests/queries/0_stateless/01801_nullable_low_cardinality_tsv.reference", "tests/queries/0_stateless/01801_nullable_low_cardinality_tsv.sh"]
TSV parser reports the incorrect error.
``` CREATE TABLE testTSV ( A Date, S LowCardinality(Nullable(String)), X Int32, S1 LowCardinality(Nullable(String)), S2 Array(String) ) ENGINE = Memory; printf '2020-01-01\t\N\t32\t\N\n'|clickhouse-client -q 'insert into testTSV format TSV' DB::Exception: Unexpected NULL value of not...
https://github.com/ClickHouse/ClickHouse/issues/22631
https://github.com/ClickHouse/ClickHouse/pull/22863
f7edcdf7c847f7d45ceede4a6073400ec2c985b7
ee9b53a34209ef0284ec87f97f947832da7a7655
2021-04-05T00:16:54Z
c++
2021-04-09T06:50:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,626
["src/Core/DecimalComparison.h", "src/DataTypes/IDataType.h", "src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/00700_decimal_compare.reference", "tests/queries/0_stateless/00700_decimal_compare.sql", "tests/queries/0_stateless/02124_comparison_betwwen_decimal_and_float.reference", "tests/queries/0_stat...
No operation greater between Decimal(9, 2) and Float64
**Describe the bug** It's not possible to compare Decimal and Float values. But actually both of them point to some specific value on real number line, so we can compare and that wouldn't produce any precision loss. **How to reproduce** Clickhouse 21.5 ``` SELECT toDecimal32('11.00', 2) > 1. Query id: f2c1cba...
https://github.com/ClickHouse/ClickHouse/issues/22626
https://github.com/ClickHouse/ClickHouse/pull/31966
a8203dd01ea65182daa89d9babfae41a9f5a4919
12195b149fd9285e85c5589e7527db9389b97de1
2021-04-04T19:02:57Z
c++
2022-01-14T09:56:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,621
["src/Functions/FunctionBinaryArithmetic.h", "src/Functions/intDiv.cpp", "src/Functions/modulo.cpp", "tests/queries/0_stateless/02015_division_by_nullable.reference", "tests/queries/0_stateless/02015_division_by_nullable.sql"]
Null in decimal datatype, division by zero.
**Describe the bug** There is a lot of similar reports (https://github.com/ClickHouse/ClickHouse/issues/7509) but they mostly related to https://github.com/ClickHouse/ClickHouse/issues/12587 and If/case statements. **How to reproduce** Clickhouse version 21.5 ``` SELECT 1 / CAST(NULL, 'Nullable(UInt32)') AS...
https://github.com/ClickHouse/ClickHouse/issues/22621
https://github.com/ClickHouse/ClickHouse/pull/28352
13b2fdc23b8ea653cd8a9d6b925dbf5248d3c1ed
4bc14dedfb5df5f66ddc10e867852f5ada461892
2021-04-04T18:15:46Z
c++
2021-10-07T11:47:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,579
["src/Server/TCPHandler.cpp"]
Segfault on 21.3.4.25
`clickhouse-server.err.log`: ``` 2021.04.03 20:00:30.453884 [ 7949 ] {} <Error> ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, e.displayText() = Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below): 0. Poco::Net::SocketImpl::error(int, st...
https://github.com/ClickHouse/ClickHouse/issues/22579
https://github.com/ClickHouse/ClickHouse/pull/22591
a9eb7a7c7e9592c0a62be0b54fbcc6298e46d50e
f78c846bdf9b02ffff2fbc9c5f49571c7b01eff3
2021-04-03T23:08:20Z
c++
2021-04-05T01:32:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,573
["src/Databases/DatabaseOnDisk.cpp", "src/Interpreters/InterpreterCreateQuery.cpp", "src/Interpreters/InterpreterCreateQuery.h", "src/Interpreters/InterpreterSystemQuery.cpp", "src/TableFunctions/parseColumnsListForTableFunction.cpp", "tests/queries/0_stateless/01269_create_with_null.reference", "tests/queries/0_statel...
data_type_default_nullable=1 in default profile prevent clickhouse from start
**How to reproduce** Clickhouse version 21.5 ``` cat /etc/clickhouse-server/users.xml <?xml version="1.0"?> <yandex> <!-- Profiles of settings. --> <profiles> <!-- Default settings. --> <default> <data_type_default_nullable>1</data_type_default_nullable> <loa...
https://github.com/ClickHouse/ClickHouse/issues/22573
https://github.com/ClickHouse/ClickHouse/pull/23185
2634bccfc2457fbe65a4492a2f5a03b34fc7d3ec
138c6ae2286acc8aacd9d1ec95ad4ac8d598345b
2021-04-03T22:26:02Z
c++
2021-04-17T13:13:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,563
["src/Columns/IColumnDummy.h", "tests/queries/0_stateless/01787_arena_assert_column_nothing.reference", "tests/queries/0_stateless/01787_arena_assert_column_nothing.sql"]
Failed assertion in Arena: additional_bytes > 0
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/22534/0733144b4a355394fecb837ba01af76a50e3fa05/fuzzer_debug/server.log **How to reproduce** `SELECT emptyArrayToSingle(arrayFilter(x -> (x != inf), arrayJoin([[1024], []]))) FROM system.one ANY LEFT JOIN (SELECT dummy, [257], NULL, dummy AS value) ...
https://github.com/ClickHouse/ClickHouse/issues/22563
https://github.com/ClickHouse/ClickHouse/pull/22565
72cf7b01e88a4c69fddd687a933d3cc075a52c98
0e1035735ce3e6d96daeb9d5c1ad7e7687b2c3eb
2021-04-03T19:10:14Z
c++
2021-04-04T12:38:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,517
["src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp", "tests/queries/0_stateless/01247_some_msan_crashs_from_22517.reference", "tests/queries/0_stateless/01247_some_msan_crashs_from_22517.sql"]
ASan report in ExecuteScalarSubqueriesMatcher
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/22475/2952cb296de0145a458d08dcd55365b0165c0248/fuzzer_asan/server.log **How to reproduce** ``` SELECT x FROM (SELECT dummy AS x, plus(ignore(ignore(ignore(ignore('-922337203.6854775808', ignore(NULL)), ArrLen = 256, ignore(100, Arr.C3, ignore(NULL...
https://github.com/ClickHouse/ClickHouse/issues/22517
https://github.com/ClickHouse/ClickHouse/pull/26428
ccf9d2fd7f462155325619c368be35081958e3f3
f3a5d3227a153fcf077f5d3e6bd4496a0a55959d
2021-04-02T18:34:14Z
c++
2021-07-16T22:11:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,491
["src/Interpreters/ApplyWithSubqueryVisitor.cpp", "src/Interpreters/ApplyWithSubqueryVisitor.h", "src/Interpreters/InterpreterCreateQuery.cpp", "tests/queries/0_stateless/01711_cte_subquery_fix.sql"]
create view statement support CTE expression
such as ``` create view view1 as with t as (select number n from numbers(3)) select n from t ```
https://github.com/ClickHouse/ClickHouse/issues/22491
https://github.com/ClickHouse/ClickHouse/pull/22657
c8bcfe89ad6fa1814154edc4a7f22d649310bc83
9b546f3b8963f542822d90c8ca9013e617ed772b
2021-04-02T08:23:31Z
c++
2021-04-14T23:01:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,433
["src/IO/PeekableReadBuffer.cpp", "src/Server/HTTP/ReadHeaders.cpp"]
Get 'Malformed message: Field name is invalid or no colon found' for some very specific requests
**Describe the bug** When the requests are done in a very specific environment, they got an error from ClickHouse. The partially it was fixed in https://github.com/ClickHouse/ClickHouse/pull/21936 **Does it reproduce on recent release?** It's reproducible with docker image `yandex/clickhouse-server:latest` having ...
https://github.com/ClickHouse/ClickHouse/issues/22433
https://github.com/ClickHouse/ClickHouse/pull/22518
48af7a898cb8e987f5eadccb0eed520eeaeffa4e
aa47eb7d5e6b15a7963eae32bf39f316f064327d
2021-04-01T10:07:43Z
c++
2021-04-07T13:22:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,432
["base/mysqlxx/Pool.h", "src/Databases/DatabaseFactory.cpp", "src/Storages/StorageMaterializeMySQL.cpp", "tests/integration/test_materialize_mysql_database/materialize_with_ddl.py", "tests/integration/test_materialize_mysql_database/test.py"]
Ошибка ClickHouse Code: 10, e.displayText() = DB::Exception: Not found column equals(catalog_id, 1041) in block
Имеется Materialized база, данные реплицируюся нормально, в базе данные есть Если выполнить запрос ``` SELECT DISTINCT P.id, P.name, P.catalog_id FROM products P WHERE P.name ILIKE '%Легкие%' ``` То получим результат: ` |name ...
https://github.com/ClickHouse/ClickHouse/issues/22432
https://github.com/ClickHouse/ClickHouse/pull/23200
738d8a757bf03f91be660bab0528f9405eecc08c
70c89eeff6d626293fe285503064f7045be32cb2
2021-04-01T08:22:29Z
c++
2021-04-20T17:05:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,408
["src/AggregateFunctions/QuantileTDigest.h", "tests/queries/0_stateless/00273_quantiles.reference", "tests/queries/0_stateless/00725_quantiles_shard.reference"]
quantileTDigest inaccuracy with extreme quanties.
**Use case** Clickhouse version 21.4 ``` SELECT quantileTiming(0.95)(key) AS timing, quantileExact(0.95)(key) AS exact, quantileTDigest(0.95)(key) AS tdigest FROM ( SELECT 9000 AS key, 2 AS count UNION ALL SELECT 3000, 11 UNION ALL SELECT ...
https://github.com/ClickHouse/ClickHouse/issues/22408
https://github.com/ClickHouse/ClickHouse/pull/23314
9bb4d8769f1064ada4cce6b26d8ff61c11356965
013555907cb17a7a13f4184c2e0224fb8b4f09cc
2021-03-31T11:25:52Z
c++
2021-04-27T03:57:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,406
["src/Processors/Formats/Impl/CSVRowInputFormat.cpp", "tests/queries/0_stateless/01818_input_format_with_names_use_header.reference", "tests/queries/0_stateless/01818_input_format_with_names_use_header.sh"]
Disabling `input_format_with_names_use_header` discards all the input
**Describe the bug** When you set the setting `input_format_with_names_use_header` to `0`, `INSERT` does not actually insert rows. **How to reproduce** * Which ClickHouse server version to use: git master `a21fe0b492cbc8628126a3cd493b83e82abf9978`, checked out on 2021-03-31 * Which interface to use: the native co...
https://github.com/ClickHouse/ClickHouse/issues/22406
https://github.com/ClickHouse/ClickHouse/pull/23202
632a5288fa7e12cc0a87acb2921f62195687ea8e
16e77150393030aca7545aa1a511c8a50a895296
2021-03-31T09:31:56Z
c++
2021-04-20T17:00:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,388
["src/Interpreters/MergeJoin.cpp", "src/Interpreters/MergeJoin.h", "tests/queries/0_stateless/01785_pmj_lc_bug.reference", "tests/queries/0_stateless/01785_pmj_lc_bug.sql"]
ASan report in MergeJoin.
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/22328/43d9972f18d43c6736c08e67c01deb64b733109a/fuzzer_asan/server.log **How to reproduce** `SELECT * FROM (SELECT number AS l FROM system.numbers LIMIT 3) ANY LEFT JOIN (SELECT toLowCardinality(number) AS r FROM system.numbers LIMIT 1025) ON (l + 1...
https://github.com/ClickHouse/ClickHouse/issues/22388
https://github.com/ClickHouse/ClickHouse/pull/22510
143f4b59a00747415931b9eef64f51b17740914b
30ece2c28f3044e0ae8b8edb3a93fabe7358b897
2021-03-31T01:00:39Z
c++
2021-04-03T09:54:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,379
["docker/test/fasttest/run.sh", "src/Interpreters/ExpressionAnalyzer.cpp", "src/Storages/ReadInOrderOptimizer.cpp", "tests/queries/0_stateless/01833_test_collation_alvarotuso.reference", "tests/queries/0_stateless/01833_test_collation_alvarotuso.sql", "tests/queries/0_stateless/arcadia_skip_list.txt"]
ORDER BY column_name COLLATE does not work for primary keys
(you don't have to strictly follow this form) **Describe the bug** When using `ORDER BY column_name COLLATE 'en'`, `COLLATE` is ignored if `column_name` is the primary key **How to reproduce** * version 21.1.2 * `CREATE TABLE` statements for all tables involved: ``` CREATE TABLE test.test_collation ( ...
https://github.com/ClickHouse/ClickHouse/issues/22379
https://github.com/ClickHouse/ClickHouse/pull/23375
68e93959c103e1b9556c63c89036f3c99754b3c9
9c649932bcea896b135980f140a855b7d1b634b6
2021-03-30T17:56:37Z
c++
2021-04-21T12:00:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,377
["docs/en/sql-reference/functions/array-functions.md", "docs/ru/sql-reference/functions/array-functions.md"]
arrayFill description in Russian
**Describe the issue** `arrayFill`, `arrayReverseFill`, `arraySplit`, `arrayReverseSplit` descriptions are not exists in Russian documentation.
https://github.com/ClickHouse/ClickHouse/issues/22377
https://github.com/ClickHouse/ClickHouse/pull/22493
645bea04c3f457d1984d6f41ec9bb7231b5007b8
014b443a22dbd46562dada5bfee6c746ca2ca63b
2021-03-30T17:08:51Z
c++
2021-04-02T18:12:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,355
["src/Dictionaries/ExecutableDictionarySource.cpp", "src/Dictionaries/ExecutablePoolDictionarySource.cpp"]
Allow executable DDL dictionaries in clickhouse-local
May be useful to interface with some external program, e.g. I want to use `clickhouse-format` to beautify the queries for performance test reports. For now, DDL dictionaries don't work for `clickhouse-local` at all (https://github.com/ClickHouse/ClickHouse/issues/22354) We should do it through DDL, because the xm...
https://github.com/ClickHouse/ClickHouse/issues/22355
https://github.com/ClickHouse/ClickHouse/pull/26510
20f03f6ed740e00a178678da7829ea5135f04e91
0fae3a318899ac45d80ef42352b44b3507736664
2021-03-30T11:25:25Z
c++
2021-07-19T20:51:18Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,290
["src/Interpreters/TreeRewriter.cpp", "tests/queries/0_stateless/01803_untuple_subquery.reference", "tests/queries/0_stateless/01803_untuple_subquery.sql"]
Logical error: 'Cannot find column NULL in ActionsDAG result'
``` SELECT (0.5, '92233720368547758.07', NULL), '', '1.00', untuple(('256', NULL)), NULL FROM (SELECT untuple(((NULL, untuple((('0.0000000100', (65536, NULL, (65535, 9223372036854775807), '25.7', (0.00009999999747378752, '10.25', 1048577), 65536)), '0.0000001024', '65537', NULL))), untuple((9223372036854775807, -inf, ...
https://github.com/ClickHouse/ClickHouse/issues/22290
https://github.com/ClickHouse/ClickHouse/pull/22991
ee9aaab4bcf8b7f98b485d2b6f30f1a0c41c3988
e731dfe650e4c77aafbd608ab379e4372ebbcd6c
2021-03-29T11:15:12Z
c++
2021-04-13T06:53:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,234
["programs/client/ConnectionParameters.cpp", "src/Client/Connection.h", "src/Interpreters/Cluster.cpp", "src/Storages/Distributed/DirectoryMonitor.cpp", "tests/queries/0_stateless/00933_test_fix_extra_seek_on_compressed_cache.reference", "tests/queries/0_stateless/01598_memory_limit_zeros.sql"]
Network compression should be disabled when interacting via localhost.
**Describe the situation** ``` $ ./clickhouse-21.3.3 client --query "SELECT * FROM system.numbers_mt FORMAT Native" | pv > /dev/null ^C,1GiB 0:00:45 [ 710MiB/s] [ ...
https://github.com/ClickHouse/ClickHouse/issues/22234
https://github.com/ClickHouse/ClickHouse/pull/22237
75c4728787d4aa38a91090a8aa582897db32409a
7f3a40e1b031777348f1daade7c2bd0160c74f2a
2021-03-29T00:34:02Z
c++
2021-04-18T00:13:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,221
["docs/en/development/build-osx.md", "src/Access/MemoryAccessStorage.h"]
LDAP: changing groups for user makes Clickhouse fail to log in
**Describe the bug** Clickhouse fails to log users after changing groups at LDAP for one user **Does it reproduce on recent release?** I've checked It on 21.2.5.5 and 21.3.4.25 **How to reproduce** E.g. there is LDAP user *user_1* and there are two LDAP groups *role_1* and *role_2*, which are mapped to the Cli...
https://github.com/ClickHouse/ClickHouse/issues/22221
https://github.com/ClickHouse/ClickHouse/pull/24431
38493bde487ce48e37f0fdbcb2894f55d78298c3
e2460164bc1f6b44c22b6f20533ac5f1521d7138
2021-03-28T12:02:58Z
c++
2021-05-31T19:14:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,160
["tests/queries/0_stateless/02508_index_analysis_to_date_timezone.reference", "tests/queries/0_stateless/02508_index_analysis_to_date_timezone.sql"]
Timezone: toDate() works different in different query clauses
**Describe the bug** I have a table with column `date DateTime('Asia/Kamchatka')`, server/client timezone is `'Europe/Moscow'`. Two queries return different results: ``` local :) select uid, date, toDate(date) = toDate('2021-03-24') res FROM table WHERE res = 1 SELECT uid, date, toDate(date) = t...
https://github.com/ClickHouse/ClickHouse/issues/22160
https://github.com/ClickHouse/ClickHouse/pull/44355
21d9e7ebc3a01bded5c616cf339c6ac4c7a8df68
31348a0c2b9c6ae4cfa503bf786b178e4328cd7c
2021-03-26T11:55:08Z
c++
2022-12-27T11:53:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,158
["programs/client/Suggest.cpp", "programs/client/Suggest.h", "tests/queries/0_stateless/01676_long_clickhouse_client_autocomplete.reference", "tests/queries/0_stateless/01676_long_clickhouse_client_autocomplete.sh"]
Unexpected errors in read-only mode
**Describe the bug** When connecting via read-only user to clickhouse, unexpected exceptions are logged both by clickhouse-client and clickhouse-server. **Does it reproduce on recent release?** [The list of releases](https://github.com/ClickHouse/ClickHouse/blob/master/utils/list-versions/version_date.tsv) Reprod...
https://github.com/ClickHouse/ClickHouse/issues/22158
https://github.com/ClickHouse/ClickHouse/pull/23040
86e20905e5fd38bf1d2ead8089a7f788931a484a
35260089e0ce8b593a33aaff860eda398c6b1c56
2021-03-26T10:07:48Z
c++
2021-04-14T10:55:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,157
["src/Functions/array/range.cpp", "tests/queries/0_stateless/01780_range_msan.reference", "tests/queries/0_stateless/01780_range_msan.sql"]
MSan: use of uninitialized value in FunctionRange::executeImpl
https://clickhouse-test-reports.s3.yandex.net/22133/33647ef3d53997b72d15df1e5abd8cf750609afc/fuzzer_msan/report.html#fail1 In debug it's a logical error. ``` SELECT arrayJoin(range(toUInt256(1048577), 100)) AS x FROM remote('127.0.0.2', system.one) WHERE x GLOBAL IN (SELECT toUInt8(arrayJoin(range(100)) + 50)) ...
https://github.com/ClickHouse/ClickHouse/issues/22157
https://github.com/ClickHouse/ClickHouse/pull/22387
f8534acb13ac3650e689c6a15cb70ec6f39b6b04
124d9e14ad07daf0cbd6784471aeda27413100a0
2021-03-26T10:06:35Z
c++
2021-03-31T06:05:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,130
["src/Storages/System/StorageSystemZooKeeper.cpp", "src/Storages/System/StorageSystemZooKeeper.h", "tests/config/config.d/zookeeper_write.xml", "tests/config/install.sh", "tests/queries/0_stateless/02311_system_zookeeper_insert.reference", "tests/queries/0_stateless/02311_system_zookeeper_insert.sql", "tests/queries/0_...
Allow writes into system.zookeeper table
**Use case** Manually modify the contents of ZooKeeper. Not for normal usage scenarios... mostly for operations engineers. **Describe the solution you'd like** Allow INSERT. It should contain only subset of the columns, because some of the columns in `system.zookeeper` table (like numChildren, ctime, etc...) ca...
https://github.com/ClickHouse/ClickHouse/issues/22130
https://github.com/ClickHouse/ClickHouse/pull/37596
37a4d11c6446f626d1105043fe8574d6c7b86cb0
a893595025e666060cd190099e78d203c2de7442
2021-03-25T14:48:45Z
c++
2022-06-02T12:09:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,100
["docker/server/entrypoint.sh"]
Docker entrypoint script try to chown '.' if log path is not set in config
**Describe the bug** Docker entrypoint script try to chown '.' if log path is not set in config because LOG_DIR = $(dirname "" || true) returns '.' **Does it reproduce on recent release?** 21.3.3.14 **How to reproduce** Remove logger.log or logger.errorlog from config.xml. **Expected behavior** The docker...
https://github.com/ClickHouse/ClickHouse/issues/22100
https://github.com/ClickHouse/ClickHouse/pull/22102
607d36dd9dc91bd4812b683f6f241414737301ce
4c67e25152c25ead180512d3157c92f2ad0a7d4f
2021-03-24T21:04:46Z
c++
2021-03-26T19:19:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,093
["src/Functions/bar.cpp", "tests/queries/0_stateless/01774_bar_with_illegal_value.reference", "tests/queries/0_stateless/01774_bar_with_illegal_value.sql"]
src/Common/UnicodeBar.cpp:31 -nan is outside the range of representable values of type 'unsigned long'
```sql SELECT greatCircleAngle(1048575, 257, -9223372036854775808, 1048576) - NULL, bar(7, -inf, 1024) ``` https://clickhouse-test-reports.s3.yandex.net/21889/5de2b8512f4260964413448e8099c6ff5cc23881/fuzzer_ubsan/report.html#fail1 ``` 2021.03.23 04:33:11.673801 [ 176 ] {a0a4476b-33dd-419b-bbc3-3d2cc08b3ea8} <Debu...
https://github.com/ClickHouse/ClickHouse/issues/22093
https://github.com/ClickHouse/ClickHouse/pull/22114
ddbd95be2d2ca8acba467c88b73afaba2577b121
0e4206052337ce47da91866c96049da688ea55be
2021-03-24T14:43:07Z
c++
2021-03-25T23:36:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,067
["src/IO/WriteBufferFromS3.cpp", "src/Server/InterserverIOHTTPHandler.cpp"]
Uncaught DB::Exception: Cannot write to ostream
**Describe the bug** We have clickhouse-server going down now and then when inserting large amounts of data via clickhouse-client with an uncaught exception: "Terminate called for uncaught exception:#012Code: 24, e.displayText() = DB::Exception: Cannot write to ostream at offset 7937". I see there are several PRs (#20...
https://github.com/ClickHouse/ClickHouse/issues/22067
https://github.com/ClickHouse/ClickHouse/pull/22146
a455762933559d75bad92c1fa9318b203ec2ea9b
ac53d30e53e06ae617a87c732c07df3c6cd54df2
2021-03-24T04:30:25Z
c++
2021-03-26T14:23:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,028
["src/Functions/connectionID.cpp", "src/Functions/version.cpp", "tests/queries/0_stateless/01773_case_sensitive_version.reference", "tests/queries/0_stateless/01773_case_sensitive_version.sql", "tests/queries/0_stateless/01774_case_sensitive_connection_id.reference", "tests/queries/0_stateless/01774_case_sensitive_conn...
why connection_id() and version() aliases exists, but CONNECTION_ID() and VERSION() is not? ;)
**Describe the bug** According to https://jira.percona.com/browse/PT-1945 and https://github.com/ClickHouse/ClickHouse/pull/21367 **Does it reproduce on a recent release?** yep **How to reproduce** - define `mysql_port` - run following SQL queries via MySQL client ``` mysql> SELECT DATABASE(), CONNECTION_ID...
https://github.com/ClickHouse/ClickHouse/issues/22028
https://github.com/ClickHouse/ClickHouse/pull/22042
103de0838b4290dc0fe2435f3af5c48e1b5a6db3
bb925e16bf727be2b61df23261f987672800f0c0
2021-03-23T13:00:57Z
c++
2021-03-29T18:02:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,017
["src/Interpreters/convertFieldToType.cpp", "tests/queries/0_stateless/01774_tuple_null_in.reference", "tests/queries/0_stateless/01774_tuple_null_in.sql"]
Optimization for nullable tuple create invalid ClickHouse filtering
**Describe the bug** Using a `NULL` tuple as a left operand with a chained or operands produce an invalid ClickHouse filtering. **Does it reproduce on recent release?** Can be reproduced with `21.2.2.8` **How to reproduce** ``` SELECT (NULL, NULL) = (8, 0) OR (NULL, NULL) = (3, 2) OR (NULL, NULL) = (0, 0) OR ...
https://github.com/ClickHouse/ClickHouse/issues/22017
https://github.com/ClickHouse/ClickHouse/pull/22063
f58d470dd633099f1b7c602991d0d699aba72f68
37a4f3ab3aead4cbfe2963ecd1911f999c60db9b
2021-03-23T07:53:23Z
c++
2021-03-25T12:59:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
22,008
["src/DataStreams/NativeBlockOutputStream.cpp", "src/DataStreams/NativeBlockOutputStream.h", "src/Processors/Formats/Impl/ParallelFormattingOutputFormat.cpp", "src/Processors/Formats/Impl/ParallelFormattingOutputFormat.h", "tests/queries/0_stateless/01783_parallel_formatting_memory.reference", "tests/queries/0_stateles...
Memory limit sometimes doesn't work with TSan
(you don't have to strictly follow this form) **Describe the bug** The following query leads to OOM if server was built with thread sanitizer. ```sql SELECT range(65535) FROM system.one ARRAY JOIN range(65536) AS number
https://github.com/ClickHouse/ClickHouse/issues/22008
https://github.com/ClickHouse/ClickHouse/pull/22425
85fbb7eccf4f01376a0169ebee99211ecfeba22d
e3aa47c525e39c1861f3fa2f5f70ff97b620a0e6
2021-03-22T21:15:37Z
c++
2021-04-01T13:23:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,991
["tests/queries/0_stateless/01765_tehran_dst.reference", "tests/queries/0_stateless/01765_tehran_dst.sql"]
Tehran wrong TZ info (+0430) for summer DST
export TZ=Asia/Tehran ``` $ date Mon 22 Mar 2021 08:46:47 PM +0430 SELECT toTimeZone(now(), 'Asia/Tehran') ┌─toTimeZone(now(), 'Asia/Tehran')─┐ │ 2021-03-22 19:47:04 │ └──────────────────────────────────┘ ``` related https://github.com/ClickHouse/ClickHouse/issues/13845
https://github.com/ClickHouse/ClickHouse/issues/21991
https://github.com/ClickHouse/ClickHouse/pull/21995
7a48ce6b794b1259898d919b24ae0abbc25cac06
7c0dba1b0ce30ff216f82fb1fa87b1d11b88b5d6
2021-03-22T16:17:39Z
c++
2021-03-23T17:04:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,935
["src/Dictionaries/HashedDictionary.cpp"]
Increased hashed dictionary RAM x4 usage after upgrade CH to 21.3
After upgrade CH from 20.8 to 21.3 I noticed RAM used by dictionary with `hashed` layout was increased exactly in **4** times. OS: Ubuntu 20.04 Processor: AMD EPYC 7502P 32-Core Processor RAM: 252 GB `<dictionaries_lazy_load>false</dictionaries_lazy_load> ` In 20.8 release CH was using less memory for dicti...
https://github.com/ClickHouse/ClickHouse/issues/21935
https://github.com/ClickHouse/ClickHouse/pull/21948
6ce7acb5a9ce361dc4acda55c871330d98b76c58
af25805a7017223c9f2b4c3f289ee95484ef92fb
2021-03-19T19:20:56Z
c++
2021-03-22T11:11:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,911
["programs/copier/ClusterCopier.cpp", "programs/copier/ClusterCopier.h", "programs/copier/TaskCluster.h"]
some copier work needs to be improved
- some copier work needs to be improved 1. clickhouse create destionation table just once if success 2. support settings_push.replication_alter_partitions_sync =1 at attach partition 3. ...
https://github.com/ClickHouse/ClickHouse/issues/21911
https://github.com/ClickHouse/ClickHouse/pull/21912
0696ed390d100611d5569e7213e0c157540c78e7
18dc213cee72bb95150ed6e74de996dd131a00eb
2021-03-19T12:55:26Z
c++
2021-03-30T11:42:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,907
["src/IO/HTTPChunkedReadBuffer.cpp", "src/IO/HTTPChunkedReadBuffer.h", "src/Server/HTTP/HTTPServerRequest.cpp", "tests/queries/0_stateless/01783_http_chunk_size.reference", "tests/queries/0_stateless/01783_http_chunk_size.sh", "tests/queries/skip_list.json"]
JDBC driver / specific HTTP clients: Chunk size is too large error when executing an "INSERT INTO" with HTTP client compression
I recently doing some tests for updating from clickhouse 20.3 to 21.3.2.5. With this new build, when I am executing large insertion over the HTTP connection, with compression activated on the client side Like this query POST /?query=INSERT+INTO+%60avc%60.%60topconversationdetails%60+FORMAT+RowBinary&database=avc&...
https://github.com/ClickHouse/ClickHouse/issues/21907
https://github.com/ClickHouse/ClickHouse/pull/22322
c3a9cbe01c1c07d21cd1f89b31291a194fc21b25
3d860fc6ace8466b0159cd45af69fa0c78afe330
2021-03-19T10:58:55Z
c++
2021-04-02T22:58:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,906
["src/Storages/Distributed/DirectoryMonitor.cpp", "src/Storages/Distributed/DistributedBlockOutputStream.cpp", "tests/queries/0_stateless/01790_dist_INSERT_block_structure_mismatch_types_and_names.reference", "tests/queries/0_stateless/01790_dist_INSERT_block_structure_mismatch_types_and_names.sql", "tests/queries/0_st...
DirectoryMonitor: Structure does not match
Hello, after updating clickhouse from 21.2.3.15-2 to 21.3.2.5-2 I see those warnings : `<Warning> default.osb4_reverse.DirectoryMonitor: Structure does not match (remote: Path LowCardinality(String) ColumnLowCardinality(size = 0, UInt8(size = 0), ColumnUnique(size = 1, String(size = 1))), Value Float64 Float64(s...
https://github.com/ClickHouse/ClickHouse/issues/21906
https://github.com/ClickHouse/ClickHouse/pull/22325
7baafcb567a18a8caa6a8a6dede2e623eba73c60
db0550013c3158aed8ba4ded9a263312c53c0ec5
2021-03-19T10:48:24Z
c++
2021-04-07T08:51:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,905
["CHANGELOG.md"]
Recent ClickHouse versions seem to be having problems with `remote_servers` substitution
**Describe the unexpected behaviour** `remote_servers` substition doesn't seem to be respected. **How to reproduce** Problematic ClickHouse version: 21.2 The last good version: 20.x Tested this on two docker containers: `yandex/clickhouse-server:21.2` (bad), `yandex/clickhouse-server:20.8.9.6` (good) `/etc/cl...
https://github.com/ClickHouse/ClickHouse/issues/21905
https://github.com/ClickHouse/ClickHouse/pull/25083
e39f25517941ffeb14ae66b543eb479eba39c0cf
c9e87ae989d6ca542a864a0aae63e8f443591b20
2021-03-19T10:29:19Z
c++
2021-06-08T16:14:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,897
["docker/test/fasttest/run.sh", "src/Functions/FunctionsAES.h", "tests/queries/0_stateless/01776_decrypt_aead_size_check.reference", "tests/queries/0_stateless/01776_decrypt_aead_size_check.sql"]
UBSan: PODArray.h:252:25: runtime error: addition of unsigned offset overflowed
https://clickhouse-test-reports.s3.yandex.net/21846/f2ac17cfba1d3bfcc82faf0c5f9816ac04e933cd/fuzzer_tsan/report.html#fail1 ``` SELECT decrypt('aes-128-gcm', 'text', 'key', 'IV') #0 0xe95b4f2 in DB::PODArrayBase<1ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::resize_assume_reserved(unsigned long) o...
https://github.com/ClickHouse/ClickHouse/issues/21897
https://github.com/ClickHouse/ClickHouse/pull/22064
cb6926629e1dd0315127a460699a2c8475a6115f
52396acba12360d093e55f1d2651e07025025463
2021-03-18T23:36:08Z
c++
2021-03-25T13:01:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,876
["utils/CMakeLists.txt"]
Build fails on Mac OS, on assembly files from utils/memcpy-bench/memcpy_jart.S
git diff and all submodules are clean **Operating system** Mac OS 11.1 "Big Sur" **Cmake version** cmake version 3.18.4 **Ninja version** **Compiler name and version** llvm clang 10.0.1 ``` /usr/local/opt/llvm/bin/clang++ --version clang version 10.0.1 Target: x86_64-apple-darwin20.2.0 Thread model:...
https://github.com/ClickHouse/ClickHouse/issues/21876
https://github.com/ClickHouse/ClickHouse/pull/22056
4de5afed4eb15e1fc2f57721df0e464557410a43
2ae2539c2132cb8b00ba00809cd0686aeabbc09c
2021-03-18T15:38:49Z
c++
2021-03-24T00:43:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,834
["src/Functions/randDistribution.cpp", "tests/queries/0_stateless/02462_distributions.reference", "tests/queries/0_stateless/02462_distributions.sql"]
Generate random data with boundaries
**Use case** It could be useful to generate random data with boundaries. Currently, both generateRandom functions and engine, allow to define a table like: ```sql CREATE TABLE randomt ( `value` Decimal(5,2), `date` Date, `zone_id` UInt64, `type` Enum8('blue' = 0, 'green' = 1, 'red' = 2), ...
https://github.com/ClickHouse/ClickHouse/issues/21834
https://github.com/ClickHouse/ClickHouse/pull/42411
0d8a814d80f715f9eeb9efad18337fb4836593cd
9a73eb2fbbcdc199458f09dcc3e7c52e6b4f8071
2021-03-17T13:25:16Z
c++
2022-10-20T15:25:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,773
["src/Interpreters/ActionsDAG.cpp", "src/Interpreters/ActionsDAG.h", "src/Processors/QueryPlan/Optimizations/filterPushDown.cpp", "tests/queries/0_stateless/01763_filter_push_down_bugs.reference", "tests/queries/0_stateless/01763_filter_push_down_bugs.sql"]
Would use 1.00 EiB ... while executing ConvertingAggregatedToChunksTransform
Abnormal memory requirements for a query with string filter Appeared fresh after upgrade to 21.3.2.5 The table is not big - 480 mb compressed Getting an error ``` SQL Error [241]: ClickHouse exception, code: 241, host: localhost, port: 8123; Code: 241, e.displayText() = DB::Exception: Memory limit (for qu...
https://github.com/ClickHouse/ClickHouse/issues/21773
https://github.com/ClickHouse/ClickHouse/pull/21841
b8a437c35adc40cf91dc6961d76c655790ec4b6e
03cb0299a94cf72519784e22aa8ee6b3564858b1
2021-03-16T09:37:29Z
c++
2021-03-18T10:30:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,755
["src/Storages/MergeTree/MergeTreeData.cpp"]
Multidisk setup & reused zookeeper path
When i reuse the same zookeeper path I get the following misleading exception: ``` Received exception from server (version 21.1.6): Code: 1000. DB::Exception: Received from clickhouse101.demo.trial.altinity.cloud:9440. DB::Exception: File not found: /var/lib/clickhouse3/store/f18/f183d094-a0e5-429a-ac96-5f8b663fcf...
https://github.com/ClickHouse/ClickHouse/issues/21755
https://github.com/ClickHouse/ClickHouse/pull/23433
41ed8aab59b41904cce159b71a1b7ef49aa8a435
c66e715f49b6d6a423921a6c342875e12d46e982
2021-03-15T16:46:44Z
c++
2021-04-24T00:34:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,721
["docs/en/sql-reference/statements/create/view.md", "src/Core/Settings.h", "src/Interpreters/SystemLog.cpp", "src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/queries/0_stateless/02572_materialized_views_ignore_errors.reference", "tests/queries/0_stateless/02572_materialized_views_ignore_errors.sql", "te...
A new setting to allow (suppress) errors during an insert into Materialized Views.
A new setting for Materialized Views (e.g. suppress_insert_exceptions=1) to silently skip (suppress) errors. For example we have a materialized view which logs inserts into table Engine=Remote and we want to skip insertion errors into this MV.
https://github.com/ClickHouse/ClickHouse/issues/21721
https://github.com/ClickHouse/ClickHouse/pull/46658
65d671b7c72c7b1da23f831faa877565cf34f92c
575ffbc4653b117e918356c8e60f7748df956643
2021-03-15T00:16:29Z
c++
2023-03-09T11:19:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,698
["debian/clickhouse-common-static.install", "debian/clickhouse-server.config", "debian/clickhouse-server.postinst", "debian/clickhouse-server.preinst", "debian/clickhouse-server.prerm", "debian/clickhouse-server.templates", "debian/clickhouse.limits", "debian/rules", "debian/watch", "programs/install/Install.cpp"]
Setting password during installation
I installed a CH from debian repos (just copied from docs) and installation process asking me for a password, I typed my testing password ended by "();" witouth quotes. After install I can access without any password. users.xml show like "<password></password>" for default user. ¯\\\_(ツ)\_/¯
https://github.com/ClickHouse/ClickHouse/issues/21698
https://github.com/ClickHouse/ClickHouse/pull/22976
7614a18ff27703f0055300c29e9e962521a43a38
ca03670e60cfec19c84e1dfb683e74a0eb3ae65c
2021-03-13T10:42:43Z
c++
2021-04-14T21:17:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,632
["src/Functions/FunctionsExternalDictionaries.h", "src/Interpreters/ExternalDictionariesLoader.h", "src/Interpreters/ExternalLoader.cpp", "src/Interpreters/ExternalLoader.h", "tests/queries/0_stateless/01760_ddl_dictionary_use_current_database_name.reference", "tests/queries/0_stateless/01760_ddl_dictionary_use_current...
dictGet without database for SQL dictionaries.
dictGet('name', ...) should check for XML dictionary 'name' if XML dict=name does not exists then use SQL dictionary from the currectDatabase()
https://github.com/ClickHouse/ClickHouse/issues/21632
https://github.com/ClickHouse/ClickHouse/pull/21859
b5e344bf49155402f9de14f1eec9eb6e919a09da
f340e71913758a54038b26e53189e59234aa885a
2021-03-11T16:56:05Z
c++
2021-03-19T08:39:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,620
["src/Dictionaries/PolygonDictionary.cpp", "src/Dictionaries/PolygonDictionary.h", "src/Dictionaries/PolygonDictionaryImplementations.cpp", "src/Dictionaries/PolygonDictionaryImplementations.h", "src/Dictionaries/PolygonDictionaryUtils.cpp", "src/Dictionaries/PolygonDictionaryUtils.h", "tests/queries/0_stateless/01760_...
bytes_allocated for polygon dictionaries is 0, even when loaded
``` SELECT * FROM system.dictionaries WHERE name LIKE 'XXXX%' Row 1: ────── database: default name: XXXX_dict uuid: 00000000-0000-0000-0000-000000000000 status: LOADED origin: default.XXXX_dict type: ...
https://github.com/ClickHouse/ClickHouse/issues/21620
https://github.com/ClickHouse/ClickHouse/pull/21890
af25805a7017223c9f2b4c3f289ee95484ef92fb
330e74b665a6a33799b4516940d41e0ac8b472e4
2021-03-11T09:33:17Z
c++
2021-03-22T11:49:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,613
["src/Functions/array/arrayAggregation.cpp", "tests/queries/0_stateless/01768_array_product.reference", "tests/queries/0_stateless/01768_array_product.sql"]
arrayProduct
for the last year I replied 3 times with a silly snippet: ``` SELECT [2, 3, 4] AS x, pow(2, arraySum(i -> log2(i), x)) AS arrayProduct ┌─x───────┬─arrayProduct─┐ │ [2,3,4] │ 24 │ └─────────┴──────────────┘ ``` I think we need a function to multiply elements of an array.
https://github.com/ClickHouse/ClickHouse/issues/21613
https://github.com/ClickHouse/ClickHouse/pull/23782
9f633205893ded3cdf6a8a74aeeb9c803042a773
fa1e9de7f7325f5d90aea083fd8c1cc2925a6790
2021-03-11T01:05:47Z
c++
2021-04-30T21:53:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,592
["tests/queries/0_stateless/01911_logical_error_minus.reference", "tests/queries/0_stateless/01911_logical_error_minus.sql"]
Arguments of 'minus' have incorrect data types: '' of type 'UInt64', '' of type 'Nullable(Nothing)''
https://clickhouse-test-reports.s3.yandex.net/0/f4db00bdb28617f621ce87ba5ddeab7f2fc720d6/fuzzer_debug/report.html#fail1 **Describe the bug** ``` Logical error: 'Arguments of 'minus' have incorrect data types: '' of type 'UInt64', '' of type 'Nullable(Nothing)''. Logical error: 'Arguments of 'minus' have incorrect ...
https://github.com/ClickHouse/ClickHouse/issues/21592
https://github.com/ClickHouse/ClickHouse/pull/25262
35ef7266dbec1f04758a5e756af0d4b5e7001ec4
d822ba1f3b89b62da981823e035c8ff9ca10c4ca
2021-03-10T13:32:56Z
c++
2021-10-03T09:09:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,588
["src/DataStreams/RemoteQueryExecutorReadContext.cpp", "src/DataStreams/RemoteQueryExecutorReadContext.h"]
Unknown packet XX from server
Some queries to distributed table fail with this error ` 2021.03.10 09:55:07.000828 [ 8466 ] {88a44f07-ba05-443a-88cc-14fd260b8297} <Error> executeQuery: Code: 100, e.displayText() = DB::Exception: Unknown packet 97 from server node2-dal13-sl.systems:9000 (version 21.2.5.5 (official build)) (from 54.208.201.221:3597...
https://github.com/ClickHouse/ClickHouse/issues/21588
https://github.com/ClickHouse/ClickHouse/pull/21643
f9bead5f33350b61fbb64d551f41e4e5520161e2
0ffea300acb5d7e7e82e28b8dc20e18046eec3b0
2021-03-10T10:42:49Z
c++
2021-03-16T12:51:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,556
["src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp", "tests/queries/0_stateless/01824_move_to_prewhere_many_columns.reference", "tests/queries/0_stateless/01824_move_to_prewhere_many_columns.sql"]
Performance degradation when migrating to 21.1
After we migrate to new the newest releases of ClickHouse, we started to notice a considerable performance degradation in almost all of our queries. Specifically, we migrated from 20.12 to 21.1. ### Query Here is one of our simplest queries that got affected: ```sql SELECT ProjectId, UserId, S...
https://github.com/ClickHouse/ClickHouse/issues/21556
https://github.com/ClickHouse/ClickHouse/pull/23397
877d245d8f10a14ad3c4fdfed4120acb1f3d3bce
2cfc2c8825008767e1479c8d1e9e7ea8a2c132fc
2021-03-09T13:06:25Z
c++
2021-04-24T01:39:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,539
["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/01540_verbatim_partition_pruning.reference", "tests/queries/0_stateless/01540_verbatim_partition_pruning.sql"]
Equals Comparison betwenn Date and String fails with special Partition Key
**Describe the bug** Under certain conditions the equals comparison between String and Date yields the wrong result. Range Comparisons with greather-than-equals returns the correct result set. **How to reproduce** * Which ClickHouse server version to use: 21.2.5.5 (latest at the time of this issue) * Which interf...
https://github.com/ClickHouse/ClickHouse/issues/21539
https://github.com/ClickHouse/ClickHouse/pull/23310
013555907cb17a7a13f4184c2e0224fb8b4f09cc
186b1128d013de950a6a98a68f840ef39d11b4ef
2021-03-09T06:17:12Z
c++
2021-04-27T04:13:18Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,536
["docs/en/engines/database-engines/materialized-mysql.md", "src/Common/mysqlxx/mysqlxx/Types.h", "src/Core/MySQL/MySQLReplication.cpp", "src/DataTypes/DataTypeString.cpp", "src/DataTypes/DataTypesNumber.cpp", "src/Databases/MySQL/MaterializedMySQLSyncThread.cpp", "src/Interpreters/MySQL/InterpretersMySQLDDLQuery.cpp", ...
MaterializeMySQL not support data type 'time'
when I create table in MySQL like below: create table test1(a time PRIMARY key); Code: 50. DB::Exception: Received from 172.17.6.55:9100. DB::Exception: Unknown data type family: time: While executing MYSQL_QUERY_EVENT. The query: create table test1(a time PRIMARY key). We need to synchronize data from Mysql to...
https://github.com/ClickHouse/ClickHouse/issues/21536
https://github.com/ClickHouse/ClickHouse/pull/33429
677a7f1133c7e176dc38b291d54f63f0207e8799
9e91a9dfd1dae8072d9d2132a4b3e4bbb70e1c1d
2021-03-09T01:00:26Z
c++
2022-01-26T08:29:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,481
["src/Interpreters/Cluster.cpp", "src/Interpreters/MutationsInterpreter.cpp", "src/Interpreters/MutationsInterpreter.h", "tests/config/config.d/clusters.xml", "tests/queries/0_stateless/01753_mutate_table_predicated_with_table.reference", "tests/queries/0_stateless/01753_mutate_table_predicated_with_table.sql", "tests/...
_shard_num and clusterAllReplicas()
**Bug description** Unlike `cluster()`, `clusterAllReplicas()` does not implement `_shard_num`. I would expect ``` SELECT _shard_num FROM clusterAllReplicas(prod, system.one) ORDER BY _shard_num ASC FORMAT PrettyCompactMonoBlock ┌─_shard_num─┐ │ 0 │ │ 0 │ │ 0 │ │ 0...
https://github.com/ClickHouse/ClickHouse/issues/21481
https://github.com/ClickHouse/ClickHouse/pull/21498
88113ccb990637b1726b54509efdb33e1dda3bdb
858d1fe5939c3911dca2d6975e102219509d1569
2021-03-06T00:21:32Z
c++
2021-03-29T20:21:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,469
["tests/queries/0_stateless/02690_subquery_identifiers.reference", "tests/queries/0_stateless/02690_subquery_identifiers.sql"]
Query fails when it is wrapped with `select * from (...)`
**Describe the bug** **How to reproduce** * Which ClickHouse server version to use Latest version in Arcadia. * `CREATE TABLE` statements for all tables involved ```sql di.man.yp-c.yandex.net :) create table t_str (creation_time String) engine = MergeTree() partition by creation_time order by creation_time C...
https://github.com/ClickHouse/ClickHouse/issues/21469
https://github.com/ClickHouse/ClickHouse/pull/47736
329a762dedb1d6961fde199675e5ef2f565ff016
f78e9dec492352dc083405828791b82ce558f1a7
2021-03-05T07:26:46Z
c++
2023-03-20T12:05:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,437
["src/Processors/Formats/Impl/AvroRowInputFormat.cpp", "src/Processors/Formats/Impl/AvroRowInputFormat.h", "tests/integration/test_storage_kafka/test.py"]
loading more than one Avro formatted message from kafka does not work
In recent ClickHouse versions (21.3) Avro format for kafka does not work at all. In ClickHouse 20.3 one Avro formatted kafka message can read, than stall forever. Reportedly in ClickHouse prior 20.3 Avro formatted kafka messages work Ok while contain only single record
https://github.com/ClickHouse/ClickHouse/issues/21437
https://github.com/ClickHouse/ClickHouse/pull/21438
61dee8c05660531dfc16fed3d2dff63f354852df
c8b5be636f443031e1ef392717218906119a9e17
2021-03-04T08:19:04Z
c++
2021-03-19T14:06:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,435
["PreLoad.cmake", "cmake/add_warning.cmake", "cmake/linux/default_libs.cmake", "contrib/krb5-cmake/CMakeLists.txt", "contrib/protobuf-cmake/CMakeLists.txt", "contrib/sysroot", "docker/test/fasttest/run.sh", "docker/test/pvs/Dockerfile", "src/Common/renameat2.cpp"]
Unable to run integration tests if Ubuntu 20.10 host
Ubuntu 20.10 has glibc 2.32 and ClickHouse built in a plain way has two symbols marked GLIBC_2.32, namely ``` ilejn@ilejn-Latitude-5400:~/projects/ClickHouse/build$ objdump -T ./programs/clickhouse | grep GLIBC_2.32 0000000000000000 DF *UND* 0000000000000000 GLIBC_2.32 pthread_sigmask 000000000000000...
https://github.com/ClickHouse/ClickHouse/issues/21435
https://github.com/ClickHouse/ClickHouse/pull/30011
4082c6c4e569249b209cc5f7b035b318bd3e0118
e1c2e629d8c077193f951cdb02fac9c0b1631c65
2021-03-03T22:32:24Z
c++
2021-11-25T02:27:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,419
["src/Storages/StorageReplicatedMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.h", "tests/queries/0_stateless/01305_replica_create_drop_zookeeper.sh"]
01305_replica_create_drop_zookeeper flap
https://clickhouse-test-reports.s3.yandex.net/0/bd7b540b8255475ad584e814a8eeeb1386645fda/functional_stateless_tests_(release).html#fail1 server logs ``` 2021.03.03 07:12:43.919384 [ 34343 ] {9e90754b-c3a1-4c51-a7a1-697104df992d} <Error> TCPHandler: Code: 999, e.displayText() = DB::Exception: Can't get data for nod...
https://github.com/ClickHouse/ClickHouse/issues/21419
https://github.com/ClickHouse/ClickHouse/pull/23294
20a5fed53e8d1ad572d865ce1f322149f5a13c11
6c5ff3db7d195fc76952e9671766d78ede6aa6d2
2021-03-03T15:27:51Z
c++
2021-04-21T13:06:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,388
["src/Interpreters/InterpreterCreateQuery.cpp", "src/Storages/StorageFactory.cpp", "src/Storages/StorageURL.cpp", "src/Storages/StorageURL.h", "src/TableFunctions/ITableFunction.cpp", "src/TableFunctions/ITableFunctionXDBC.cpp", "src/TableFunctions/ITableFunctionXDBC.h", "tests/integration/test_odbc_interaction/test.py...
21.2.3: range_hashed dictionary with ClickHouse source over a VIEW with odbc/jdbc function - possible dangling reference to Context
This issue happens on production of one user that enabled Sentry: ![Screenshot_20210303_002028](https://user-images.githubusercontent.com/18581488/109716945-7f9a1200-7bb6-11eb-8cf4-1080ad535d18.png) Build id: 49938CCB63EE2A4E16CF0528307EE15F08469219.
https://github.com/ClickHouse/ClickHouse/issues/21388
https://github.com/ClickHouse/ClickHouse/pull/21913
40a99b7431e49aba57a30c1b73a200776fba3cc0
ae62bee939b536ccfd04700486ee68dd21444726
2021-03-02T21:23:04Z
c++
2021-03-26T07:39:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,383
["src/Functions/visitParamExtractBool.cpp", "src/Functions/visitParamExtractFloat.cpp", "src/Functions/visitParamExtractInt.cpp", "src/Functions/visitParamExtractRaw.cpp", "src/Functions/visitParamExtractString.cpp", "src/Functions/visitParamExtractUInt.cpp", "src/Functions/visitParamHas.cpp", "tests/queries/0_stateles...
Add aliases to visitParam (e.g. JSONS (Simplified))
visitParamHas -> JSONSHas visitParamExtractUInt -> JSONSExtractUInt
https://github.com/ClickHouse/ClickHouse/issues/21383
https://github.com/ClickHouse/ClickHouse/pull/21519
f380d641fac3220d38368791e62af739e6d2c926
b80951b06a948dca6c6719c8edf3e9e081d4d7bf
2021-03-02T19:07:30Z
c++
2021-04-02T07:31:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,197
["src/Core/Settings.h", "tests/queries/0_stateless/01753_max_uri_size.sh"]
Make maximum URL size configurable and raise it to 1 MiB by default
Use case: See #21187
https://github.com/ClickHouse/ClickHouse/issues/21197
https://github.com/ClickHouse/ClickHouse/pull/22997
e731dfe650e4c77aafbd608ab379e4372ebbcd6c
e687fc320fa76537ca04b5502bd38949c78e8458
2021-02-25T16:27:04Z
c++
2021-04-13T08:26:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,191
["contrib/mariadb-connector-c-cmake/CMakeLists.txt"]
Enable MySQL in MacOS builds
null
https://github.com/ClickHouse/ClickHouse/issues/21191
https://github.com/ClickHouse/ClickHouse/pull/46316
1564b94761950fd942bc2ffab429fe91ee5d6190
ec15e68348b28ad2cf3da0fcd3551a348d4f5428
2021-02-25T13:37:04Z
c++
2024-01-01T19:36:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,170
["src/Interpreters/InterpreterSelectWithUnionQuery.cpp", "src/Interpreters/NormalizeSelectWithUnionQueryVisitor.cpp", "src/Interpreters/NormalizeSelectWithUnionQueryVisitor.h", "src/Interpreters/executeQuery.cpp", "src/Interpreters/ya.make", "tests/queries/0_stateless/01732_explain_syntax_union_query.reference", "tests...
panic when A union B union all C
**Describe the bug** 1. execute SQL: `select 1 from a union select 1 from b union all select 1 from c` 2. server panic **Does it reproduce on recent release?** * 21.3.1.1 * 21.2.2.8 **Expected behavior** SQL should error with message: "Expected ALL or DISTINCT in SelectWithUnion query, because setting (union...
https://github.com/ClickHouse/ClickHouse/issues/21170
https://github.com/ClickHouse/ClickHouse/pull/21246
d9e22ba646d9946a4c3e3abee39a1842b552dfc3
8e6fa404c4b6eb618d84411814432e59fc1d9a72
2021-02-25T07:22:02Z
c++
2021-03-02T18:37:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,167
["src/Client/MultiplexedConnections.cpp", "src/Core/Settings.h", "src/Server/TCPHandler.cpp", "src/Server/TCPHandler.h", "tests/queries/0_stateless/01822_async_read_from_socket_crash.reference", "tests/queries/0_stateless/01822_async_read_from_socket_crash.sh"]
Crash 21.2.4.6
Had the similar problem after upgrade from 20.12.5.14 ``` [ch-01] 2021.02.24 20:31:13.845342 [ 17553 ] <Fatal> BaseDaemon: ######################################## [ch-01] 2021.02.24 20:31:13.845469 [ 17553 ] <Fatal> BaseDaemon: (version 21.2.4.6 (official build), build id: 6E2E926515F53BCF094B3D6BD7E9EB65BC5BCE6B...
https://github.com/ClickHouse/ClickHouse/issues/21167
https://github.com/ClickHouse/ClickHouse/pull/23309
9ec6fd19436cc0a7841be23cf77774f6105c85b3
44112587d414cb9be64734ad16e52b03e06ad484
2021-02-25T04:11:07Z
c++
2021-04-21T05:47:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,140
["src/Processors/Formats/Impl/ConstantExpressionTemplate.cpp", "src/Processors/Formats/Impl/ConstantExpressionTemplate.h", "src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp", "tests/queries/0_stateless/01746_lc_values_format_bug.reference", "tests/queries/0_stateless/01746_lc_values_format_bug.sql"]
Version 21.1 Code: 49. DB::Exception: Bad cast from type DB::ColumnString to DB::ColumnLowCardinality:
**Describe the issue** Can't insert `String` data to column with `LowCardinality` type. Starting from 21.1 this query fails **How to reproduce** ```sql CREATE TABLE default.lc_test ( `id` LowCardinality(String) ) ENGINE = MergeTree PARTITION BY tuple() ORDER BY id; Ok. 0 rows in set. Elapsed: ...
https://github.com/ClickHouse/ClickHouse/issues/21140
https://github.com/ClickHouse/ClickHouse/pull/21357
d305b233389fcd0c044d4e291286455fd6e3ea6b
ee22eeea6cf62795701d542bd548f4bfe2c4fd97
2021-02-24T10:52:57Z
c++
2021-03-02T10:12:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,137
["src/Interpreters/HashJoin.cpp", "src/Interpreters/IJoin.h", "src/Interpreters/MergeJoin.cpp", "src/Interpreters/join_common.cpp", "src/Interpreters/join_common.h", "tests/queries/0_stateless/01637_nullable_fuzz3.reference", "tests/queries/0_stateless/01637_nullable_fuzz3.sql"]
Segfault in FULL JOIN
https://clickhouse-test-reports.s3.yandex.net/21020/2ced21c837006053542b9f04c338faebf504f413/fuzzer_asan/server.log
https://github.com/ClickHouse/ClickHouse/issues/21137
https://github.com/ClickHouse/ClickHouse/pull/21248
63b95c7451c70f35d3692b88340d87c4a0e4649d
df728dc4ba5cae45958a1c5ee96d49049f1d6919
2021-02-24T10:43:25Z
c++
2021-02-27T08:31:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,118
["contrib/cppkafka", "src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp", "src/Storages/Kafka/ReadBufferFromKafkaConsumer.h", "tests/integration/test_storage_kafka/test.py"]
Having consumer group member failover problem in ClickHouse Kafka engine
## Environment * ClickHouse server version: 21.2.4 revision 54447 ## Background I m in the process of setting up a 2-node ClickHouse cluster, each node is with identical tables (as follows) for fetching data from Kafka topic. ``` CREATE TABLE `queue_05` ( `id` UInt64, ... ) ENGINE = Kafka() SETTINGS ...
https://github.com/ClickHouse/ClickHouse/issues/21118
https://github.com/ClickHouse/ClickHouse/pull/21267
d0aa387e64b4ec70b6c8ad7276b98cd1afe08c42
77721734ed1d49f3923da55c00f3c6f0319261f1
2021-02-24T04:14:41Z
c++
2021-06-13T22:42:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,092
["src/Parsers/ASTWindowDefinition.cpp"]
Wrong SQL echo in window functions
```sql RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING VS RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED PRECEDING select product_name, price, group_name, round(avg0), round(avg1) from ( SELECT product_name, price, group_name, avg(price) OVER (PARTITION BY group_name ORDER BY p...
https://github.com/ClickHouse/ClickHouse/issues/21092
https://github.com/ClickHouse/ClickHouse/pull/21572
e27715e55e471dc4d7f825eb4097b468a9a4a451
b399f80b7e8b140ebcd552e443c8f537b5353bf3
2021-02-23T00:40:07Z
c++
2021-03-10T10:38:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,059
["src/Interpreters/ExpressionActions.cpp", "tests/queries/0_stateless/01800_log_nested.reference", "tests/queries/0_stateless/01800_log_nested.sql"]
Logical error: no information about file (part of nested column) in StorageLog
https://clickhouse-test-reports.s3.yandex.net/20599/0a62f95bbe380abe8d8846ef9690b8a18c6a762b/fuzzer_debug/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/21059
https://github.com/ClickHouse/ClickHouse/pull/22654
32cf4e378edddebc1b2c6df533bb88cadc376eff
c5354885a6fa9deefa0fa185f14703fbcfa76295
2021-02-22T10:37:56Z
c++
2021-04-05T21:34:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,034
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01691_DateTime64_clamp.reference", "tests/queries/0_stateless/01691_DateTime64_clamp.sql", "tests/queries/0_stateless/01734_datetime64_from_float.reference", "tests/queries/0_stateless/01734_datetime64_from_float.sql"]
Unreleased: change in behaviour of converting Float to DateTime64
21.2: ``` milovidov-desktop :) SELECT CAST(1111111111.222 AS DateTime64(3)) SELECT cast(1111111111.222, 'DateTime64(3)') Query id: d10c8623-5c74-4a38-b535-a99f6af4d28d ┌─cast(1111111111.222, 'DateTime64(3)')─┐ │ 2005-03-18 04:58:31.222 │ └───────────────────────────────────────┘ ``` mas...
https://github.com/ClickHouse/ClickHouse/issues/21034
https://github.com/ClickHouse/ClickHouse/pull/21050
9f9b862a477e545288d3d67ca36a08f0c39d012f
8b82c7ea0c6079a135dfbaa6b1b755579ae8beb1
2021-02-21T13:03:27Z
c++
2021-02-22T10:12:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,032
["src/Columns/ColumnMap.cpp", "src/DataTypes/DataTypeTuple.cpp", "src/Interpreters/convertFieldToType.cpp", "src/Processors/Formats/Impl/ConstantExpressionTemplate.cpp", "src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp", "src/Processors/Formats/Impl/ValuesBlockInputFormat.h", "tests/queries/0_stateless/01550_cre...
Map Type: can't insert negative int values
**Describe the bug** Can't insert negative values into `Map(Int8, Int8)` column either as keys or values. The same when trying to insert negative values into `Map(Int8, Int16)`, `Map(Int8, Int32)` or `Map(Int8, Int64)`. Similar problem when trying to insert negative keys into `Map(Int16, Int8)`, `Map(Int32, Int8)` o...
https://github.com/ClickHouse/ClickHouse/issues/21032
https://github.com/ClickHouse/ClickHouse/pull/20541
427e5f295cf0f88fc1ea0de2722f016d0998cfc7
7bbc4e013af6e008c53630fdeca7b6d61b4f9c8f
2021-02-21T12:54:57Z
c++
2021-02-24T09:00:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
21,031
["src/Columns/ColumnMap.cpp", "src/DataTypes/DataTypeTuple.cpp", "src/Interpreters/convertFieldToType.cpp", "src/Processors/Formats/Impl/ConstantExpressionTemplate.cpp", "src/Processors/Formats/Impl/ValuesBlockInputFormat.cpp", "src/Processors/Formats/Impl/ValuesBlockInputFormat.h", "tests/queries/0_stateless/01550_cre...
Map Type: can't insert UInt256 value
Can't insert `115792089237316195423570985008687907853269984665640564039457584007913129639935` value into `Map(Int8, UInt256)` column. ``` Feb 21,2021 7:42:41 ⟥ Example UInt256 Check what values we can insert into map type column with value integer. ...
https://github.com/ClickHouse/ClickHouse/issues/21031
https://github.com/ClickHouse/ClickHouse/pull/20541
427e5f295cf0f88fc1ea0de2722f016d0998cfc7
7bbc4e013af6e008c53630fdeca7b6d61b4f9c8f
2021-02-21T12:45:13Z
c++
2021-02-24T09:00:48Z