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
20,880
["src/DataStreams/CheckConstraintsBlockOutputStream.cpp", "tests/queries/0_stateless/01720_constraints_complex_types.reference", "tests/queries/0_stateless/01720_constraints_complex_types.sql", "tests/queries/0_stateless/01721_constraints_constant_expressions.reference", "tests/queries/0_stateless/01721_constraints_con...
Constraints do not work on Nullable types
Constraints on Nullable types don't seem to work and return errors like the following: ``` Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Constraint `c0` does not return a value of type UInt8. ``` **Does it reproduce on recent release?** This issue has been encountered on Clickhouse `20....
https://github.com/ClickHouse/ClickHouse/issues/20880
https://github.com/ClickHouse/ClickHouse/pull/20990
df728dc4ba5cae45958a1c5ee96d49049f1d6919
9996f681606d2017c5fe9a2e8344831906e874ae
2021-02-18T14:31:05Z
c++
2021-02-27T10:16:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,876
["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...
EXPLAIN SYNTAX + UNION DISTINCT in subquery crash
How to reproduce: ```sql EXPLAIN SYNTAX SELECT x FROM ( SELECT 1 AS x UNION DISTINCT SELECT 1 ) Query id: e777bc02-5d1b-4d49-ba89-4ebe31172387 Exception on client: Code: 32. DB::Exception: Attempt to read after eof: while receiving packet from localhost:9000 ```
https://github.com/ClickHouse/ClickHouse/issues/20876
https://github.com/ClickHouse/ClickHouse/pull/21246
d9e22ba646d9946a4c3e3abee39a1842b552dfc3
8e6fa404c4b6eb618d84411814432e59fc1d9a72
2021-02-18T13:22:19Z
c++
2021-03-02T18:37:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,872
["src/Processors/QueryPlan/FillingStep.cpp", "src/Processors/Transforms/FillingTransform.cpp", "src/Processors/Transforms/FillingTransform.h", "tests/queries/0_stateless/01921_with_fill_with_totals.reference", "tests/queries/0_stateless/01921_with_fill_with_totals.sql"]
WITH FILL FROM TO breaks WITH TOTALS result
``` SELECT * FROM xrollup Query id: e702f6fe-8595-4a9f-aeff-ea65e2045801 ┌─metric─┬──────────b─┬─v─┐ │ 2 │ 2018-01-01 │ 1 │ │ 2 │ 2018-02-02 │ 1 │ └────────┴────────────┴───┘ ┌─metric─┬──────────b─┬─v─┐ │ 1 │ 2018-01-01 │ 1 │ │ 1 │ 2018-01-02 │ 1 │ │ 1 │ 2018-02-01 │ 1 │ │ ...
https://github.com/ClickHouse/ClickHouse/issues/20872
https://github.com/ClickHouse/ClickHouse/pull/25539
c2458778f68b284863624a8d65439dfdf49960b1
93f15e443de2fd7e08c2ac88486f92b24ff71f4d
2021-02-18T09:23:54Z
c++
2021-06-23T10:42:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,870
["tests/queries/0_stateless/01911_logical_error_minus.reference", "tests/queries/0_stateless/01911_logical_error_minus.sql"]
Invalid Field get from type UInt64 to type Float64 in PREWHERE
``` 2021.02.17 19:45:50.277814 [ 91 ] {fe83f01c-2b89-4f48-aff9-3597a3a8de31} <Debug> executeQuery: (from [::1]:37834, using production parser) SELECT c1.key, c1.name, c1.ref_valueF64, c1.valueF64, c1.ref_valueF64 - c1.valueF64 AS dF64, '', c2.key, c2.ref_valueF64 FROM codecTest AS c1 , codecTest AS c2 WHERE (dF64 != 3...
https://github.com/ClickHouse/ClickHouse/issues/20870
https://github.com/ClickHouse/ClickHouse/pull/25262
35ef7266dbec1f04758a5e756af0d4b5e7001ec4
d822ba1f3b89b62da981823e035c8ff9ca10c4ca
2021-02-18T08:40:55Z
c++
2021-10-03T09:09:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,629
["base/mysqlxx/PoolWithFailover.cpp"]
Randomize external dictionary replicas
First choice of replica for given external dictionary should be based on randomness instead of order in configuration file.
https://github.com/ClickHouse/ClickHouse/issues/20629
https://github.com/ClickHouse/ClickHouse/pull/20632
36c178c0231a073fdb3f75ca52a85ba9e4fbea7e
3cda69feaf1295333a1dc2f4030730bd3edbb425
2021-02-17T16:59:46Z
c++
2021-02-25T10:11:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,624
["tests/queries/0_stateless/01101_literal_column_clash.reference", "tests/queries/0_stateless/01101_literal_column_clash.sql"]
`Data compressed with different methods` if column name match expression from other column
**Describe the bug** ``` select 2 as `toString(x)`, x from (select 1 as x); ``` In debug it would be `LOGICAL_ERROR` ``` Code: 271, e.displayText() = DB::Exception: Data compressed with different methods, given method byte 0x69, previous method byte 0x82: while receiving packet from localhost:9000, Stack trace ...
https://github.com/ClickHouse/ClickHouse/issues/20624
https://github.com/ClickHouse/ClickHouse/pull/25409
3e71181451600c8433a53f6f071fc6395c42d523
85c64346d96d30799abb1c3b47f4c787434b6afc
2021-02-17T13:58:14Z
c++
2021-06-17T22:52:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,619
["src/Dictionaries/getDictionaryConfigurationFromAST.cpp", "tests/queries/0_stateless/01720_dictionary_create_source_with_functions.reference", "tests/queries/0_stateless/01720_dictionary_create_source_with_functions.sql"]
Signal 11 Crash on CREATE DICTIONARY SOURCE CLICKHOUSE
(you don't have to strictly follow this form) **Describe the bug** Clickhouse server crashes with `signal 11` message after executing following: **Does it reproduce on recent release?** Reproducible on `yandex/clickhouse-server:20.12.6.29` Docker image from dockerhub. **How to reproduce** * Which ClickHouse...
https://github.com/ClickHouse/ClickHouse/issues/20619
https://github.com/ClickHouse/ClickHouse/pull/20623
abe5d9df1e04a05d9864e74ee84d59dd68159ad8
dcabbc95ed4b4781f82d2667d1d40243bb201d09
2021-02-17T10:31:50Z
c++
2021-02-18T08:50:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,597
["src/Interpreters/InterpreterSelectQuery.cpp", "tests/queries/0_stateless/01720_union_distinct_with_limit.reference", "tests/queries/0_stateless/01720_union_distinct_with_limit.sql"]
UNION DISTINCT + LIMIT Bad cast from type DB::ASTSelectWithUnionQuery to DB::ASTSelectQuery.
**How to reproduce** Clickhouse version 21.2-21.3 ``` SELECT x FROM ( SELECT 1 AS x UNION DISTINCT SELECT 1 ) LIMIT 1 Query id: b82bbb8d-dea9-4f1c-9a2f-5b0e9b6c2422 0 rows in set. Elapsed: 0.002 sec. Received exception from server (version 21.2.3): Code: 49. DB::Exception: Received f...
https://github.com/ClickHouse/ClickHouse/issues/20597
https://github.com/ClickHouse/ClickHouse/pull/20610
f91caf2ccf96d425b79813b4cec2f41515e0a9ec
80e6ad7aae080ad9d3ab3d49a67214f8d713c11a
2021-02-16T23:32:40Z
c++
2021-02-17T18:24:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,558
["src/Interpreters/MutationsInterpreter.cpp", "src/Interpreters/MutationsInterpreter.h", "tests/queries/0_stateless/01753_mutate_table_predicated_with_table.reference", "tests/queries/0_stateless/01753_mutate_table_predicated_with_table.sql"]
21.X Deadlock in mutations referencing the same table in subquery
``` create table mmm engine=MergeTree ORDER BY number AS select number, rand()%10 as a from numbers(1000); alter table mmm delete where a in (select a from mmm); select * from system.mutations; ``` 20.12 - works. 21.1 and newer - hangs. Stacktrace from 21.3: ``` __lll_lock_wait __GI___pthread_m...
https://github.com/ClickHouse/ClickHouse/issues/20558
https://github.com/ClickHouse/ClickHouse/pull/21477
af906583697550994a4ca6afc3215d6f5e01bd5a
af2135ef9dc72f16fa4f229b731262c3f0a8bbdc
2021-02-16T11:53:44Z
c++
2021-03-05T23:08:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,551
["src/Interpreters/ActionsDAG.h", "src/Storages/StorageView.cpp", "src/Storages/StorageView.h", "src/TableFunctions/TableFunctionView.cpp", "tests/queries/0_stateless/00109_shard_totals_after_having.sql", "tests/queries/0_stateless/01866_view_persist_settings.reference", "tests/queries/0_stateless/01866_view_persist_se...
select with join_use_nulls=1 breaks some views created under join_use_nulls=0
Reproduction example: ```(sql) SET join_use_nulls = 0; create or replace view some_test_view as select * from ( select arrayJoin([1, 2]) as a, arrayJoin([11, 12]) as b ) as t1 full join ( select arrayJoin([2, 3]) as a, arrayJoin([22, 23]) as c ) as t2 ...
https://github.com/ClickHouse/ClickHouse/issues/20551
https://github.com/ClickHouse/ClickHouse/pull/24095
4a250dc14e41b071eaab1580eebfdb1bd9d4a619
930a2aa0b7b6d4181d04596d9b82c950fd687903
2021-02-16T09:10:51Z
c++
2021-06-25T13:44:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,549
["src/Functions/if.cpp", "tests/queries/0_stateless/00735_long_conditional.reference", "tests/queries/0_stateless/00735_long_conditional.sql", "tests/queries/0_stateless/01913_if_int_decimal.reference", "tests/queries/0_stateless/01913_if_int_decimal.sql"]
Full join, subqueries and decimal: Incompatible types of arguments corresponding to two conditional branches
Reproduction steps: ``` CREATE TABLE table_left ( ...
https://github.com/ClickHouse/ClickHouse/issues/20549
https://github.com/ClickHouse/ClickHouse/pull/25283
7aacca94e35151e78b4b927840a6f58b622cf144
fffd69b023a00c5ae01761264306d414c3a15b18
2021-02-16T08:06:48Z
c++
2021-06-17T06:17:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,514
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01761_cast_to_enum_nullable.reference", "tests/queries/0_stateless/01761_cast_to_enum_nullable.sql"]
Uninitialized memory read in CAST
https://clickhouse-test-reports.s3.yandex.net/20492/c5b96a522e29b38eae3f6c2d945540dd234e3c34/fuzzer_msan/server.log ``` for i in {1..100}; do clickhouse-client --query "SELECT toUInt8(assumeNotNull(cast(cast(NULL, 'Nullable(String)'), 'Nullable(Enum8(\'Hello\' = 1))')))"; done 160 224 128 192 64 64 32 160...
https://github.com/ClickHouse/ClickHouse/issues/20514
https://github.com/ClickHouse/ClickHouse/pull/22026
c19045da25b917dcd863ba9eab82fcc3dacaab9a
150a2df9df49442efe2d8839d1df829ebbe98e19
2021-02-15T12:42:27Z
c++
2021-03-23T20:51:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,512
["src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp", "src/Interpreters/ExpressionAnalyzer.cpp", "src/Processors/Executors/PullingAsyncPipelineExecutor.cpp", "src/Processors/Formats/LazyOutputFormat.cpp", "src/Processors/Formats/LazyOutputFormat.h", "tests/performance/subqueries.xml", "tests/queries/0_stateless/00205...
Multiple scalar subqueries can execute with less number of threads than max_threads in 21.2+
**How to reproduce** clickhouse server 21.1.4.46 ``` CREATE TABLE table_case (number UInt32) ENGINE=Memory(); INSERT INTO table_case SELECT * FROM numbers(100000000); set max_threads=1; SELECT multiIf( ( SELECT count(*) FROM table_case WHERE (number % 20) = 2 ...
https://github.com/ClickHouse/ClickHouse/issues/20512
https://github.com/ClickHouse/ClickHouse/pull/20550
976dbe8077f9076387528e2f40b6174f6d8a8b90
c98e6bb1add039789b3472fdabccd10c83f82b52
2021-02-15T11:32:35Z
c++
2021-03-01T12:49:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,497
["src/Interpreters/IdentifierSemantic.cpp", "src/Interpreters/PredicateExpressionsOptimizer.cpp", "src/Interpreters/PredicateExpressionsOptimizer.h", "src/Interpreters/PredicateRewriteVisitor.cpp", "src/Interpreters/PredicateRewriteVisitor.h", "tests/queries/0_stateless/00597_push_down_predicate.reference", "tests/quer...
Incorrect 'where' filtration after full join
**Describe the bug** Strange behavior with 'where' condition after join. Some rows are discarded by mistake. **How to reproduce** * Which ClickHouse server version to use Latest version in Arcadia. * `CREATE TABLE` statements for all tables involved ```sql create table t0 (a Int64) engine = MergeTree() prima...
https://github.com/ClickHouse/ClickHouse/issues/20497
https://github.com/ClickHouse/ClickHouse/pull/20622
3b799c5d7da8d6b3b69612f2f09172a1c64965a5
9b40f384e9bd4d8951d07e91cfea2f7240b0a9dc
2021-02-15T07:45:47Z
c++
2021-04-02T08:48:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,494
["base/common/DateLUTImpl.h", "tests/queries/0_stateless/01702_toDateTime_from_string_clamping.reference", "tests/queries/0_stateless/01702_toDateTime_from_string_clamping.sql"]
DateTime64: out of bound array access, garbage results.
``` milovidov-desktop :) SELECT toString(toDateTime('-922337203.6854775808', 1)) SELECT toString(toDateTime('-922337203.6854775808', 1)) Query id: 3d51ba80-4993-4f64-b6ef-da0c0f1bdf43 ┌─toString(toDateTime('-922337203.6854775808', 1))─┐ │ 2106-02-07 :rE:�.6 │ └────────────────...
https://github.com/ClickHouse/ClickHouse/issues/20494
https://github.com/ClickHouse/ClickHouse/pull/21023
0afbddd665ee12be64eb5698e887148e8f10d9c1
c8da611fcd5c454431b49a407df36fa4ff745b9b
2021-02-15T04:53:00Z
c++
2021-02-22T10:10:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,480
["src/AggregateFunctions/ReservoirSamplerDeterministic.h", "tests/queries/0_stateless/00273_quantiles.reference", "tests/queries/0_stateless/01533_quantile_deterministic_assert.reference", "tests/queries/0_stateless/01913_quantile_deterministic.reference", "tests/queries/0_stateless/01913_quantile_deterministic.sh"]
quantileDeterministic and friends are not deterministic
**Describe the bug** I've found that quantileDeterministic and relevant functions are not deterministic On 21.2.3 release: ```sql SELECT medianDeterministic(oid, oid) FROM ztf.dr4_meta ┌─medianDeterministic(oid, oid)─┐ │ 686709400040570 │ └───────────────────────────────┘ SELECT medianDeterm...
https://github.com/ClickHouse/ClickHouse/issues/20480
https://github.com/ClickHouse/ClickHouse/pull/25313
5de9f6cdca5f48e82b3c704ae0c16657cf20d32a
0e16ddd7d9d4c90e404148fda9273616a7f144eb
2021-02-14T17:37:29Z
c++
2021-06-16T22:24:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,469
["src/Functions/FunctionsCodingIP.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02234_cast_to_ip_address.reference", "tests/queries/0_stateless/02234_cast_to_ip_address.sql"]
Function to convert IPv6 to appropriate IPv4/6 string?
Following on from #19518, it would be nice to have a reverse function which operates on an ipv6 address and returns it in ipv4 or ipv6 notation depending on type. So basically `replaceOne(IPv6NumToString(ip), '::ffff:', '')`. This should then allow the `IPv6` type to work pretty much the same as the postgres `inet` typ...
https://github.com/ClickHouse/ClickHouse/issues/20469
https://github.com/ClickHouse/ClickHouse/pull/49759
9a75faad77f6b699b99defa53727deab5cd6a898
71678f64b184b3325820ab1f3882cbc5755cb196
2021-02-13T20:20:40Z
c++
2023-06-24T21:33:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,460
["src/Functions/transform.cpp", "tests/queries/0_stateless/01704_transform_with_float_key.reference", "tests/queries/0_stateless/01704_transform_with_float_key.sql"]
Function 'transform' does not work properly for floating point keys.
https://clickhouse-test-reports.s3.yandex.net/19673/e7de5f34b1b3ae5d6d4e5d96ba0cd7c45acfb329/fuzzer_ubsan/server.log **Describe the bug** ``` milovidov-desktop :) SELECT transform(number / 2, [0.5, 1.5], ['Hello', 'World'], '-') FROM numbers(10) SELECT transform(number / 2, [0.5, 1.5], ['Hello', 'World'], '-') ...
https://github.com/ClickHouse/ClickHouse/issues/20460
https://github.com/ClickHouse/ClickHouse/pull/20479
20a7ccf5b1a51f88ba0cb86d8881fd01964c1ecd
125bf1d0d9b38a96a26ba9184a97eba27e2c7e6d
2021-02-13T01:01:20Z
c++
2021-02-21T14:37:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,457
["src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp", "src/Interpreters/ExpressionAnalyzer.cpp", "src/Processors/Executors/PullingAsyncPipelineExecutor.cpp", "src/Processors/Formats/LazyOutputFormat.cpp", "src/Processors/Formats/LazyOutputFormat.h", "tests/performance/subqueries.xml", "tests/queries/0_stateless/00205...
where .. in (select ) by index does not work anymore in some cases that worked before
```sql drop table if exists t ; drop table if exists temp ; CREATE TABLE t ( game String, round String, casino Int32) ENGINE = MergeTree() ORDER BY (casino, game, round); CREATE TABLE temp ( game String, round String, casino Int32) ENGINE = MergeTree() ORDER BY (casino, game,...
https://github.com/ClickHouse/ClickHouse/issues/20457
https://github.com/ClickHouse/ClickHouse/pull/20550
976dbe8077f9076387528e2f40b6174f6d8a8b90
c98e6bb1add039789b3472fdabccd10c83f82b52
2021-02-13T00:05:28Z
c++
2021-03-01T12:49:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,381
["src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp", "src/Storages/MergeTree/MergeTreeDataSelectExecutor.h", "tests/queries/0_stateless/01508_partition_pruning.reference", "tests/queries/0_stateless/01508_partition_pruning_long.queries", "tests/queries/0_stateless/01508_partition_pruning_long.reference", "tests/q...
Noisy logging from (SelectExecutor): Not using primary index on part XXXX
Listing all parts in log have no sense. Should be either silenced, either combined into a single line.
https://github.com/ClickHouse/ClickHouse/issues/20381
https://github.com/ClickHouse/ClickHouse/pull/20466
6359d21dbf70863841c908092024556e65e096a5
9db6f4a452e8e1d44dfa27d1716e6c3683501be4
2021-02-12T12:48:26Z
c++
2021-02-14T01:30:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,366
["src/Interpreters/TableJoin.cpp", "tests/queries/0_stateless/01710_join_use_nulls.reference", "tests/queries/0_stateless/01710_join_use_nulls.sql"]
Logical error: 'Arguments of 'minus' have incorrect data types: '1' of type 'UInt8', '1' of type 'UInt8''.
``` 2021.02.11 23:27:54.667622 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Debug> executeQuery: (from [::1]:59602, using production parser) SELECT 1 - 1 FROM X RIGHT JOIN Y ON (X.id + 1) = Y.id SETTINGS join_use_nulls = 1 2021.02.11 23:27:54.673130 [ 92 ] {4f54a30b-1b30-453b-a1c3-482b0394d8d2} <Trace> ContextAcces...
https://github.com/ClickHouse/ClickHouse/issues/20366
https://github.com/ClickHouse/ClickHouse/pull/20461
37807e1a18a3bef186b97eb845faa943fa98f537
8be8746643d11ddf11c52709262424b626989bf1
2021-02-12T09:45:29Z
c++
2021-02-14T20:28:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,340
["src/IO/HTTPCommon.cpp"]
Irrelevant exception messages in clickhouse-server.log
After a replica fails to fetch a part from a host, the exception comes up every time the replica wants to download anything else from that host. The exception seems to be just an annoying message, fetching requests are able to complete successfully. I found this while investigating the behaviour of 'optimize_on_inser...
https://github.com/ClickHouse/ClickHouse/issues/20340
https://github.com/ClickHouse/ClickHouse/pull/39222
8fb70abe3e54cbbfa935825fa88cf4e8caf99537
22bc89690d3b3681362c5c3615f285293a2bcc2e
2021-02-11T17:17:16Z
c++
2022-07-30T23:24:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,309
["src/Interpreters/HashJoin.cpp", "src/Interpreters/TableJoin.cpp", "src/Interpreters/TableJoin.h", "src/Storages/StorageJoin.cpp", "tests/queries/0_stateless/00118_storage_join.reference", "tests/queries/0_stateless/00118_storage_join.sql", "tests/queries/0_stateless/00119_storage_join.sql"]
StorageJoin and with equals column names
If name of key column equals in both tables in Storage Join `JOIN ON` trows an error: ``` :) CREATE TABLE t1 (x String) ENGINE = TinyLog; :) CREATE TABLE t2 (x String) ENGINE = Join(ALL, INNER, x); :) select * from t1 join t2 USING(x); Ok. 0 rows in set. Elapsed: 0.036 sec. :) select * from t1 join t...
https://github.com/ClickHouse/ClickHouse/issues/20309
https://github.com/ClickHouse/ClickHouse/pull/23769
c7bd3b8674db4971383779f37ca9084a7cbfe63b
f51ecf8a72ee9389d70685e57b43152ff9499685
2021-02-11T07:05:02Z
c++
2021-06-01T11:42:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,304
["src/Storages/MergeTree/MergeTreeBlockOutputStream.cpp", "src/Storages/MergeTree/MergeTreeDataWriter.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeBlockOutputStream.cpp", "tests/integration/test_optimize_on_insert/__init__.py", "tests/integration/test_optimize_on_insert/test.py", "tests/queries/0_stateless/01560_op...
optimize_on_insert creates empty parts
It would be great if `optimize_on_insert` was smart enough to discard empty blocks ``` create table empty (num Int8) engine=Memory; CREATE MATERIALIZED VIEW empty_mv ( `num` Int8 ) ENGINE = SummingMergeTree ORDER BY tuple() AS SELECT num FROM empty; -- First insert set optimize_on_insert=1; insert ...
https://github.com/ClickHouse/ClickHouse/issues/20304
https://github.com/ClickHouse/ClickHouse/pull/20387
1b2ed51ff5e4a3dc45567d4967108f43f680c884
8fd3fbc5b3e9f18831228f660b88997766996db3
2021-02-10T21:53:36Z
c++
2021-03-16T07:20:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,283
["src/Functions/FunctionBinaryArithmetic.h", "tests/queries/0_stateless/01711_decimal_multiplication.reference", "tests/queries/0_stateless/01711_decimal_multiplication.sql"]
wrong toDecimalX minus result
I've been studying basic usage and I found wrong minus result on DecimalXX type. **Example Query** ` select toDecimal64(4,4) - toDecimal32(2,2) ` **Expected output** 2.0000 **Actual output** 3.9800 Is there anything wrong or maybe my misunderstanding of toDecimal ? ![image](https://user-images.githu...
https://github.com/ClickHouse/ClickHouse/issues/20283
https://github.com/ClickHouse/ClickHouse/pull/20339
e141367bcfa72a6b25de78dbc7f038d7285bf820
9aadbde86c7c8c216cbd14b6a2eae54c568905f2
2021-02-10T13:18:58Z
c++
2021-02-12T09:32:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,259
["src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp", "tests/queries/0_stateless/01712_no_adaptive_granularity_vertical_merge.reference", "tests/queries/0_stateless/01712_no_adaptive_granularity_vertical_merge.sql"]
21.2 DB::Exception: Incomplete granules are not allowed while blocks are granules size
I ran an optimize on 21.2, and the merge kept failing. ``` 2021.02.09 14:38:06.519295 [ 14569 ] {} <Trace> db.table: Executing log entry to merge parts all_0_91343_4396, all_91344_91581_59, all_91582_91582_0, all_91583_91583_0, all_91584_91584_0 to all_0_91584_4397 2021.02.09 14:38:06.519361 [ 14569 ] {} <Debug> Dis...
https://github.com/ClickHouse/ClickHouse/issues/20259
https://github.com/ClickHouse/ClickHouse/pull/20279
c2bb2c29024bac86be4c34ffbece61031c120e0a
121c5c96053ca07cdc9eca1f9458022400df3e22
2021-02-09T18:11:15Z
c++
2021-02-11T07:57:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,253
["docs/en/operations/external-authenticators/ldap.md", "programs/server/config.xml", "src/Access/ExternalAuthenticators.cpp", "src/Access/ExternalAuthenticators.h", "src/Access/LDAPAccessStorage.cpp", "src/Access/LDAPAccessStorage.h", "src/Access/LDAPClient.cpp", "src/Access/LDAPClient.h", "tests/testflows/ldap/role_ma...
Use service account for LDAP
**Use case** In some organisations are using AD with hierarchical structure (nested organisation unit) and DN follow this structure. As result we can not use permanent build_dn for users with different OU. **Describe the solution you'd like** Solution can be look like: 1) bind as service account 2) set dn for u...
https://github.com/ClickHouse/ClickHouse/issues/20253
https://github.com/ClickHouse/ClickHouse/pull/22228
ce48ad2434a5256bca5514f882dce1905d40f019
ce1c947f25abcc53777d2e09c051101a8865f178
2021-02-09T17:23:28Z
c++
2021-05-19T07:34:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,244
["src/DataTypes/Serializations/SerializationNullable.cpp", "tests/queries/0_stateless/01786_nullable_string_tsv_at_eof.reference", "tests/queries/0_stateless/01786_nullable_string_tsv_at_eof.sh"]
"Unexpected end of stream" with text formats without new line at the end
*Update by @alexey-milovidov: to fix the issue, set `input_format_null_as_default` to 0 as it was in older versions.* --- Clickhouse reports this when external dictionary not ends with "\n" and last column is empty: ``` root@clickhouse1:~# cat ~/passwd metrika:x:1000:1000::/home/metrika:/bin/bash clickhou...
https://github.com/ClickHouse/ClickHouse/issues/20244
https://github.com/ClickHouse/ClickHouse/pull/22527
687d1e9b548c281006bfdf4551a2d5754a14c8e5
143f4b59a00747415931b9eef64f51b17740914b
2021-02-09T13:21:11Z
c++
2021-04-03T09:51:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,242
["src/Processors/DelayedPortsProcessor.cpp"]
Logical error: Pipeline stuck
https://clickhouse-test-reports.s3.yandex.net/16193/5e0cbfe9720a56faad57d4c73a3abbea638d7ca8/fuzzer_debug/report.html#fail1 ``` :) set joined_subquery_requires_alias=0 :) set any_join_distinct_right_table_keys=1 :) SELECT a FROM (SELECT 0 AS a) ANY FULL OUTER JOIN (SELECT 2 AS a, NULL AS b) USING (a) WHERE (b = -...
https://github.com/ClickHouse/ClickHouse/issues/20242
https://github.com/ClickHouse/ClickHouse/pull/20251
1fdc59b453ab851269b3d32bc18c764d1d2cd2d2
253c72afc4a144182577094703d0457e89500045
2021-02-09T11:56:24Z
c++
2021-02-10T09:28:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,221
["contrib/libunwind"]
on aarch64 Huawei server build v21.3.1.5944-testing run the clickhouse got core file
**build step:** step 1. ------------- export CC=/usr/local/bin/gcc;export CXX=/usr/local/bin/g++;rm -rf build;mkdir -p build && cd build;cmake .. -DCMAKE_INSTALL_PREFIX=/opt/clickhouse step 2. ------------- changed: vim /data/ClickHouse/base/glibc-compatibility/musl/eventfd.c int eventfd(/*unsigned*/ in...
https://github.com/ClickHouse/ClickHouse/issues/20221
https://github.com/ClickHouse/ClickHouse/pull/25854
956b1f588dbf5e406bf61e8a9b4e329d35af8b70
011ed015fa49c8e1a37f6f103c28def5e637a23f
2021-02-09T05:26:41Z
c++
2021-06-30T13:18:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,214
["programs/install/Install.cpp"]
'/etc/init.d/clickhouse-server restart' cannot restart CH
The 'restart' option of the init script cannot restart CH if it was not able to shutdown in `shutdown_wait_unfinished` seconds. ``` # sudo /etc/init.d/clickhouse-server restart /var/run/clickhouse-server/clickhouse-server.pid file exists and contains pid = 14388. The process with pid = 14388 is running. Sent termi...
https://github.com/ClickHouse/ClickHouse/issues/20214
https://github.com/ClickHouse/ClickHouse/pull/23552
025d40ade6827579158002421c8da26a2fdcedc2
601108fb1c2864665191a5a9d949f817e36e97a6
2021-02-08T19:07:42Z
c++
2021-04-24T23:42:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,203
["src/Storages/MergeTree/BackgroundJobsExecutor.cpp", "src/Storages/MergeTree/BackgroundJobsExecutor.h", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/StorageMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.cpp", "src/Storages/tests/gtest_background_executor.cpp", "tests/queries/0_stateless/01715_ba...
ReplicatedMergeTreePartCheckThread spam in log
After update to version 20.12.4.5, Clickhouse started spamming to log messages ``` 2021.02.08 10:42:16.976140 [ 40737 ] {} <Warning> base.table (ReplicatedMergeTreePartCheckThread): Found parts with the same min block and with the same max block as the missing part 20180521_267052_277907_5309. Hoping that it will ev...
https://github.com/ClickHouse/ClickHouse/issues/20203
https://github.com/ClickHouse/ClickHouse/pull/20335
ebe79cfd8eb3ed6d6dd226874976d848be3ad196
a2bb586170a4e80a979fa3910aa9423889c03472
2021-02-08T11:04:36Z
c++
2021-02-12T07:06:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,195
["src/Interpreters/ExecuteScalarSubqueriesVisitor.cpp", "src/Interpreters/InterpreterSelectQuery.cpp", "src/Interpreters/SelectQueryOptions.h", "tests/queries/0_stateless/01711_cte_subquery_fix.reference", "tests/queries/0_stateless/01711_cte_subquery_fix.sql"]
Regression in the query parsing: 21.1.2 -> 21.2.2
**Describe the issue** The following query worked in 21.1.2, but doesn't work in 21.2.2 ```sql INSERT INTO ztf.dr4_source_obs_02 SELECT match.oid1 AS sid, obs.oid AS oid, obs.filter AS filter, obs.fieldid AS fieldid, obs.rcid AS rcid, coord.ra AS ra, coord.dec AS dec, obs.mj...
https://github.com/ClickHouse/ClickHouse/issues/20195
https://github.com/ClickHouse/ClickHouse/pull/20211
21b1a3fc6d5b96663df87d3f08c5190f51e67d1e
4ff3a28a9f8981c169ddf237725f1f62a6d75ab5
2021-02-08T04:47:37Z
c++
2021-02-09T23:12:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,096
["src/Parsers/ParserDataType.cpp", "tests/queries/0_stateless/01691_parser_data_type_exponential.reference", "tests/queries/0_stateless/01691_parser_data_type_exponential.sh"]
The following query is executing slowly.
See the attachment. [query.txt](https://github.com/ClickHouse/ClickHouse/files/5928271/query.txt)
https://github.com/ClickHouse/ClickHouse/issues/20096
https://github.com/ClickHouse/ClickHouse/pull/20132
011109c82a9ad5b083ac448a320519e1ac04b5b8
dee8f1fbf238dedc4fed32c05927b986877c3d7c
2021-02-04T20:17:26Z
c++
2021-02-06T05:42:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,092
["src/Interpreters/ArithmeticOperationsInAgrFuncOptimize.cpp", "src/Interpreters/ArithmeticOperationsInAgrFuncOptimize.h", "tests/queries/0_stateless/01702_rewrite_avg_for_algebraic_optimization.reference", "tests/queries/0_stateless/01702_rewrite_avg_for_algebraic_optimization.sql"]
Perform algebraic optimizations of arithmetic expressions inside aggregate functions.
Some aggregate functions are commutative with some arithmetic expressions. ``` avg(x + const) = avg(x) + const ``` This is applicable for aggregate functions: `sum`, `avg`, `min`, `max` and operations: `+`, `-`, `*`, `/` (but not for `intDiv` and `modulo`). In case of integer overflow it either works correct...
https://github.com/ClickHouse/ClickHouse/issues/20092
https://github.com/ClickHouse/ClickHouse/pull/20183
39c73cb448babc12020ef45d12517c3d9cf2a08d
faf28eeff3502aa402de35e40397b034c0e77706
2021-02-04T18:39:08Z
c++
2021-02-09T13:36:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,052
["src/DataTypes/NumberTraits.h", "src/Functions/tests/gtest_number_traits.cpp", "tests/queries/0_stateless/01700_mod_negative_type_promotion.reference", "tests/queries/0_stateless/01700_mod_negative_type_promotion.sql"]
Incorrect modulo(a, b), a % b behavior for Int fields
ClickHouse server version 20.8.9 revision 54438 Let's imagine some simple table structure: ``` CREATE TABLE users ( `user_id` Int32 ) ``` Modulo operator on **Int32** field with **150** argument returns negative result. This could have happened due to wrong type casting - result should be casted to **I...
https://github.com/ClickHouse/ClickHouse/issues/20052
https://github.com/ClickHouse/ClickHouse/pull/20067
0db2aa3c2e8aa39eb814b8c8a22e904cb8528025
34151eea2c6b1492c8914680b65efbcfd72f0776
2021-02-03T21:38:34Z
c++
2021-02-05T06:31:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,046
["src/Functions/FunctionHelpers.cpp", "tests/queries/0_stateless/01710_join_use_nulls.reference", "tests/queries/0_stateless/01710_join_use_nulls.sql"]
Segfault in RIGHT and FULL JOIN
https://clickhouse-test-reports.s3.yandex.net/20029/02da869d10e04f0031a2a28e4128a4730e555325/fuzzer_tsan/server.log There were a few similar reports.
https://github.com/ClickHouse/ClickHouse/issues/20046
https://github.com/ClickHouse/ClickHouse/pull/20344
9aadbde86c7c8c216cbd14b6a2eae54c568905f2
a94e223ceea9265b697768382893b1839d899c0b
2021-02-03T18:02:39Z
c++
2021-02-12T09:48:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
20,009
["src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/02147_order_by_optimizations.reference", "tests/queries/0_stateless/02147_order_by_optimizations.sql"]
Issue with optimize_read_in_order on Merge table
This is an issue similar to https://github.com/ClickHouse/ClickHouse/issues/7617 but with slight difference. I am seeing optimize_read_in_order working in MergeTree table but not honored by Merge table on top of it, the issue can be reproduced on ClickHouse server version 20.12.4 revision 54442 through the following...
https://github.com/ClickHouse/ClickHouse/issues/20009
https://github.com/ClickHouse/ClickHouse/pull/32670
6879f03cb6f35613761eb272a2f90a2f96c3a900
dadaeabda7a775d81590f8a41bdbf9a9e22c8075
2021-02-02T18:16:43Z
c++
2021-12-13T21:42:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,913
["src/Functions/CMakeLists.txt", "tests/queries/0_stateless/01700_point_in_polygon_ubsan.reference", "tests/queries/0_stateless/01700_point_in_polygon_ubsan.sql"]
Signed overflow in PointInPolygon (boost/geometry/arithmetic/determinant.hpp:44)
https://clickhouse-test-reports.s3.yandex.net/19790/84d3d6e7280907a22f6a2ce86b9bf3040b4871f1/fuzzer_ubsan/report.html#fail1 ``` SELECT pointInPolygon((0, 0), [[(0, 0), (10, 10), (256, -9223372036854775808)]]) ../contrib/boost/boost/geometry/arithmetic/determinant.hpp:44:23: runtime error: signed integer overfl...
https://github.com/ClickHouse/ClickHouse/issues/19913
https://github.com/ClickHouse/ClickHouse/pull/20049
c13759dd853c31e0e284cc3e237f7bdf85ed386b
298a29ef529f6cc2239f72d530e83a1a1558e997
2021-02-01T10:14:10Z
c++
2021-02-04T10:51:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,888
["src/Storages/Distributed/DirectoryMonitor.cpp", "src/Storages/Distributed/DistributedBlockOutputStream.cpp", "tests/integration/test_insert_distributed_async_send/test.py", "tests/queries/0_stateless/00967_insert_into_distributed_different_types.sql", "tests/queries/0_stateless/01457_create_as_table_function_structur...
Debug assertion found by fuzzing: block structure mismatch in RemoteBlockOutputStream.
https://clickhouse-test-reports.s3.yandex.net/19868/c39ee3f58c85de0f2a7b609377e2f138305dc745/fuzzer_debug/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/19888
https://github.com/ClickHouse/ClickHouse/pull/19947
dc2afc4795dfdecbe675caffd34ab346d21d79ee
402c018d1e11e3937b6603af961926ec26f09ab0
2021-02-01T00:36:54Z
c++
2021-02-03T18:27:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,877
["src/Interpreters/ActionsDAG.cpp", "src/Storages/MergeTree/MergeTreeRangeReader.cpp", "tests/queries/0_stateless/01671_merge_join_and_constants.reference", "tests/queries/0_stateless/01671_merge_join_and_constants.sql"]
Fuzzer: MSan report in LowCardinality + JOIN
**Describe the bug** ``` SELECT pow('0.0000000257', NULL), pow(pow(NULL, NULL), NULL) - NULL, (val + NULL) = (rval * 0), * FROM (SELECT (val + 256) = (NULL * NULL), toLowCardinality(toNullable(dummy)) AS val FROM system.one) AS s1 ANY LEFT JOIN (SELECT toLowCardinality(dummy) AS rval FROM system.one) AS s2 ON (val + ...
https://github.com/ClickHouse/ClickHouse/issues/19877
https://github.com/ClickHouse/ClickHouse/pull/19991
85396fc82e8b82af0020aadb779fe0f0ae1d9054
420f2958e213539d2a7e7069d7eee6c207db5943
2021-01-31T11:07:06Z
c++
2021-02-10T11:13:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,874
["programs/benchmark/Benchmark.cpp", "src/Interpreters/SystemLog.h", "tests/queries/0_stateless/01683_text_log_deadlock.reference", "tests/queries/0_stateless/01683_text_log_deadlock.sh"]
Deadlock is possible if system.text_log is enabled.
**Describe the bug** ``` | | | | | | | | | 5 0x000000000e3a5ec1 in DB::executeQueryImpl(char const*, char const*, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*) () | | | | | | | | | | 2 0x000000000e3aadc6 in DB::logQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std:...
https://github.com/ClickHouse/ClickHouse/issues/19874
https://github.com/ClickHouse/ClickHouse/pull/19875
ec464cc06eb7dd9ca810acc23695bd40efc79fcf
9161a5f5709eb1dde2c791cbd6c883df0e28dff4
2021-01-31T09:53:37Z
c++
2021-02-01T12:42:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,869
["src/Functions/MatchImpl.h", "src/Functions/MultiMatchAllIndicesImpl.h", "src/Functions/MultiMatchAnyImpl.h", "src/Functions/Regexps.h"]
(negligible) demonstration of memory growth due to infinite regexp cache.
ClickHouse is using infinite cache for compiled regular expressions. Hyperscan can use several megabytes per compiled regexp. It makes infinite memory growth possible: ``` clickhouse-benchmark --query "SELECT multiFuzzyMatchAny('Hello, world', 5, ['(' || (SELECT toString(rand(1))) || '|' || (SELECT toString(rand(...
https://github.com/ClickHouse/ClickHouse/issues/19869
https://github.com/ClickHouse/ClickHouse/pull/40264
2110d4334bc9a3425da13694b5cb284783da94bf
7589c49bcaf1ee8db9ad73da043900c6615e11f4
2021-01-31T08:53:08Z
c++
2022-08-17T08:58:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,856
["src/Core/Settings.h", "src/Interpreters/CrossToInnerJoinVisitor.cpp", "src/Interpreters/CrossToInnerJoinVisitor.h", "src/Interpreters/InterpreterSelectQuery.cpp", "tests/queries/0_stateless/00826_cross_to_inner_join.reference", "tests/queries/0_stateless/00826_cross_to_inner_join.sql"]
AND (cond OR cond) prevent CROSS JOIN to INNER JOIN rewrite
**Describe the bug** It's possible to rewrite CROSS JOIN TO INNER JOIN in certain conditions, but clickhouse doesn't do that when we have ```AND (cond OR cond)``` in WHERE clause. **Does it reproduce on recent release?** Yes **How to reproduce** Clickhouse version 21.2 ``` EXPLAIN SYNTAX WITH tbl AS ...
https://github.com/ClickHouse/ClickHouse/issues/19856
https://github.com/ClickHouse/ClickHouse/pull/20392
e9619634754143c9cc43eb5b1e46ca420590f77b
33dce1296b0192bf459fe56366aa644910e134e0
2021-01-30T17:52:42Z
c++
2021-03-10T06:53:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,820
["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...
Error while trying to insert a tuple containing NULL into a tuple column of non-nullable types
``` $ ~/arc/build/clickhouse/programs/clickhouse client ClickHouse client version 21.2.1.1-arcadia. Connecting to localhost:9000 as user default. Connected to ClickHouse server version 21.2.1 revision 54447. max42-dev.sas.yp-c.yandex.net :) create table t(a Tuple(UInt8, UInt8)) engine = Log() CREATE TABLE t ...
https://github.com/ClickHouse/ClickHouse/issues/19820
https://github.com/ClickHouse/ClickHouse/pull/20541
427e5f295cf0f88fc1ea0de2722f016d0998cfc7
7bbc4e013af6e008c53630fdeca7b6d61b4f9c8f
2021-01-29T15:39:11Z
c++
2021-02-24T09:00:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,795
["base/mysqlxx/Connection.cpp", "tests/integration/test_materialize_mysql_database/materialize_with_ddl.py", "tests/integration/test_materialize_mysql_database/test.py"]
exchange data(contains emoji) between ClickHouse and MySQL has exception
I follow official guide use mysql database engine to exchange data between ClickHouse and MySQL `insert into mysql_database.testUser select * from clickHouse_database.testUser` But it throw a exception : Poco::Exception. Code: 1000, e.code() = 1366, e.displayText() = mysqlxx::BadQuery: Incorrect string value: '...
https://github.com/ClickHouse/ClickHouse/issues/19795
https://github.com/ClickHouse/ClickHouse/pull/19800
d93dad0ec372ebdb58f8b4f906d187d17d750c38
889cebcff903f6cefb5a56a5b66bbda7fd4071c0
2021-01-29T06:03:33Z
c++
2021-01-31T07:13:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,787
["src/Functions/array/arrayEnumerateExtended.h", "tests/queries/0_stateless/01677_array_enumerate_bug.reference", "tests/queries/0_stateless/01677_array_enumerate_bug.sql"]
Unusual arguments for function arrayEnumerateUniq may cause crash or infinite loop
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/19758/b9b573976e465670990c041ec303b59df1ee3919/fuzzer_asan/server.log
https://github.com/ClickHouse/ClickHouse/issues/19787
https://github.com/ClickHouse/ClickHouse/pull/19788
742b74075343ee7df4a92c41600b28b119280ebc
0679d81c0d9fab9336d5128d204affcde89e66d0
2021-01-29T01:38:00Z
c++
2021-01-29T11:58:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,769
["src/Functions/greatCircleDistance.cpp", "tests/queries/0_stateless/01044_great_circle_angle.reference", "tests/queries/0_stateless/01678_great_circle_angle.reference", "tests/queries/0_stateless/01678_great_circle_angle.sql"]
greatCircleAngle is very inaccurate
**Describe the bug** `greatCircleAngle` function is very inaccurate for some arguments. Examples: ``` ┌─greatCircleAngle(0, 45, 0.1, 45.1)─┐ │ 0.13063148 │ └────────────────────────────────────┘ But must be 0.1224388 ┌─greatCircleAngle(0, 45, 1, 45)─┐ │ 0.8408964...
https://github.com/ClickHouse/ClickHouse/issues/19769
https://github.com/ClickHouse/ClickHouse/pull/19789
d19feb724b5bde278120eee5377559db81c65034
276e9721667d6d7985224700ad6876b675d7c7c9
2021-01-28T12:44:43Z
c++
2021-01-29T18:35:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,757
["src/Interpreters/Set.cpp", "tests/queries/0_stateless/01681_bloom_filter_nullable_column.reference", "tests/queries/0_stateless/01681_bloom_filter_nullable_column.sql"]
Bug in bloom filter index
**Describe the bug** 1. https://clickhouse-test-reports.s3.yandex.net/19736/68c542aec681bbf841f45fc879c1e97052449555/fuzzer_ubsan/server.log 2. https://clickhouse-test-reports.s3.yandex.net/19736/68c542aec681bbf841f45fc879c1e97052449555/fuzzer_asan/server.log 3. https://clickhouse-test-reports.s3.yandex.net/19736/68...
https://github.com/ClickHouse/ClickHouse/issues/19757
https://github.com/ClickHouse/ClickHouse/pull/19884
9161a5f5709eb1dde2c791cbd6c883df0e28dff4
f09158de0ce97bef8c7e357ba5da92b4c42ff0a6
2021-01-28T08:17:24Z
c++
2021-02-01T12:42:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,756
["src/Columns/ColumnFixedString.cpp", "src/Columns/ColumnVector.cpp", "src/Columns/ColumnsCommon.cpp", "src/Common/memcmpSmall.h", "src/Storages/MergeTree/MergeTreeRangeReader.cpp", "tests/queries/0_stateless/01674_filter_by_uint8.reference", "tests/queries/0_stateless/01674_filter_by_uint8.sql"]
Suspected bug in ColumnArray::updatePermutation method
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/19702/c74631c650b42e4d107254a03bd82c2c2913039b/fuzzer_msan/server.log Most likely introduced here: #11006
https://github.com/ClickHouse/ClickHouse/issues/19756
https://github.com/ClickHouse/ClickHouse/pull/19799
048938effeb65722efd03fa49afbf869e1831dd3
d19feb724b5bde278120eee5377559db81c65034
2021-01-28T08:13:15Z
c++
2021-01-29T18:34:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,755
["src/Interpreters/ExpressionAnalyzer.cpp", "tests/queries/0_stateless/01674_where_prewhere_array_crash.reference", "tests/queries/0_stateless/01674_where_prewhere_array_crash.sql"]
Segfault in Expression analyzer found with fuzzer
**Describe the bug** The query: ``` SELECT (current_database = currentDatabase()) AND (type = 0), ((current_database = currentDatabase()) AND (type = NULL)) AND (type = NULL) AND ((current_database = currentDatabase()) AND (type = 1048575)) AND (type = NULL) AND (event_date >= yesterday()) FROM system.q...
https://github.com/ClickHouse/ClickHouse/issues/19755
https://github.com/ClickHouse/ClickHouse/pull/19763
aeaa8d24390a06094c8a9ac69cada8178edbdfa4
8dbafc90ca7480187b32da77a28a5c238c4d1dcb
2021-01-28T08:06:06Z
c++
2021-01-28T17:19:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,719
["src/Formats/JSONEachRowUtils.cpp", "src/IO/ReadHelpers.cpp", "tests/queries/0_stateless/01701_parallel_parsing_infinite_segmentation.reference", "tests/queries/0_stateless/01701_parallel_parsing_infinite_segmentation.sh"]
Error on JSON import
**Describe the bug** When importing a jsonlines file (gzip-compressed around 2GB), I always get an error message indicating some issues regarding memory allocation. The machine has 512GB RAM and most of it is not used, therefore, it could be related with the configuration or just simply a software bug. I am using the ...
https://github.com/ClickHouse/ClickHouse/issues/19719
https://github.com/ClickHouse/ClickHouse/pull/20286
9557bca4af244014b3b13ee3ee2785933eb9681a
a77b740a7cb020c34bce57eccf8dd786c970b16f
2021-01-27T16:59:25Z
c++
2021-02-15T09:40:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,703
["contrib/libunwind"]
arm64 is not supported
offical build on arm64,run failed ```bash root@Kylin:/home# ./clickhouse server Processing configuration file 'config.xml'. There is no file 'config.xml', will use embedded config. Logging trace to console 2021.01.27 18:15:35.011041 [ 39099 ] {} <Information> SentryWriter: Sending crash reports is disabled 202...
https://github.com/ClickHouse/ClickHouse/issues/19703
https://github.com/ClickHouse/ClickHouse/pull/25854
956b1f588dbf5e406bf61e8a9b4e329d35af8b70
011ed015fa49c8e1a37f6f103c28def5e637a23f
2021-01-27T10:43:56Z
c++
2021-06-30T13:18:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,691
["docs/en/sql-reference/functions/type-conversion-functions.md", "src/Core/callOnTypeIndex.h", "src/Functions/registerFunctionsReinterpret.cpp", "src/Functions/reinterpretAs.cpp", "src/Functions/reinterpretAsFixedString.cpp", "src/Functions/reinterpretAsString.cpp", "src/Functions/ya.make", "tests/performance/reinterpr...
how to convert FixedString(16) to UInt256 in CH?
https://github.com/ClickHouse/ClickHouse/issues/19691
https://github.com/ClickHouse/ClickHouse/pull/19858
1b47cf08a9a9997b89707069b2436858871823c3
ba45cf32ab839ad02c1fd9a5438d04a4fc7c57d8
2021-01-27T08:26:36Z
c++
2021-02-03T09:12:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,668
["src/AggregateFunctions/AggregateFunctionGroupBitmapData.h", "tests/queries/0_stateless/01671_aggregate_function_group_bitmap_data.reference", "tests/queries/0_stateless/01671_aggregate_function_group_bitmap_data.sql"]
Segfault FunctionBitmap
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/19523/9869132386989e10aa914a74844cb520191e5ab3/fuzzer_asan/report.html#fail1 ``` [qoega-qyp.sas.yp-c.yandex.net] 2021.01.26 19:09:08.280066 [ 52341 ] <Fatal> BaseDaemon: ######################################## [qoega-qyp.sas.yp-c.yandex.net] 20...
https://github.com/ClickHouse/ClickHouse/issues/19668
https://github.com/ClickHouse/ClickHouse/pull/19713
5744a4cac20f8732b3d95f12ded1c84bfad1184a
fa419cead238a075c92227e3add58923464c4164
2021-01-26T16:14:23Z
c++
2021-01-28T00:02:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,645
["src/Storages/tests/gtest_transform_query_for_external_database.cpp", "src/Storages/transformQueryForExternalDatabase.cpp", "tests/integration/test_mysql_database_engine/test.py"]
Why do join and filters get errors?
table A: ![image](https://user-images.githubusercontent.com/17606375/105842341-f9b40580-6010-11eb-8507-6ea46fe814c8.png) table B: ![image](https://user-images.githubusercontent.com/17606375/105842364-0173aa00-6011-11eb-94a3-47c162dd40fd.png) select "T_8FB5CF"."id1" "__fcol_0", "T_8FB5CF"."id2" "__fcol_1",...
https://github.com/ClickHouse/ClickHouse/issues/19645
https://github.com/ClickHouse/ClickHouse/pull/21640
aa3e8fc4f01a80ef93996d19fa17469a825f8c37
0171ab95fa922e79511f2be2b05ec6af662fbb37
2021-01-26T12:00:32Z
c++
2021-03-29T13:14:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,570
["src/Storages/System/StorageSystemParts.cpp", "src/Storages/System/StorageSystemParts.h", "src/Storages/System/StorageSystemPartsBase.cpp", "src/Storages/System/StorageSystemPartsBase.h", "src/Storages/System/StorageSystemPartsColumns.cpp", "src/Storages/System/StorageSystemPartsColumns.h"]
system.parts (and other system tables): fill only requested columns
When user requested single column from the table we still calculating all of them. Calculation of some columns is quite expensive (need to do stat calls / read files etc).
https://github.com/ClickHouse/ClickHouse/issues/19570
https://github.com/ClickHouse/ClickHouse/pull/21035
8e6fa404c4b6eb618d84411814432e59fc1d9a72
fbe0a14a2ff1ecd4846f5c1a89c8b740be7c80e9
2021-01-25T12:04:40Z
c++
2021-03-02T21:39:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,568
["src/Interpreters/DDLWorker.cpp", "tests/queries/0_stateless/01181_db_atomic_drop_on_cluster.reference", "tests/queries/0_stateless/01181_db_atomic_drop_on_cluster.sql", "tests/queries/0_stateless/arcadia_skip_list.txt"]
DROP TABLE default.test_repl ON CLUSTER 'default' SYNC failed for Atomic
**Describe the bug** For DATABASE ENGINE Atomic (used by Default for all databases from 20.10) when try to `DROP TALBE replicatedmergetree table ON CLUSTER ... SYNC`, query failed after `distributed_ddl_task_timeout` seconds `decrease `database_atomic_delay_before_drop_table_sec=1` and setup `database_atomic_wait_f...
https://github.com/ClickHouse/ClickHouse/issues/19568
https://github.com/ClickHouse/ClickHouse/pull/19572
463a48dfe3f273da372b1fd74ef48a9a4f7add19
b8d6655131a76717589d83b3e2d6f3970db4f9b9
2021-01-25T11:18:10Z
c++
2021-01-26T09:51:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,495
["src/Interpreters/MergeJoin.cpp", "src/Interpreters/SortedBlocksWriter.cpp", "tests/queries/0_stateless/01671_merge_join_and_constants.reference", "tests/queries/0_stateless/01671_merge_join_and_constants.sql"]
Block structure mismatch in Native stream
https://clickhouse-test-reports.s3.yandex.net/19475/02d28c1f9b9558ca5af267167a542819b9e1d061/fuzzer_debug/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/19495
https://github.com/ClickHouse/ClickHouse/pull/19648
bd81f43ecb33dfd160f54b97cebf533156d9565e
e3ac2639d29185b652777e474c376add8ff26296
2021-01-23T09:12:09Z
c++
2021-01-27T09:49:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,478
["src/Interpreters/TreeRewriter.cpp"]
Part of exception message is misleading.
**Describe the issue** ``` SELECT xyz Query id: 0c7d8017-4686-404c-9991-388d9a693e5f 0 rows in set. Elapsed: 0.003 sec. Received exception from server (version 21.2.1): Code: 47. DB::Exception: Received from localhost:9000. DB::Exception: Missing columns: 'xyz' while processing query: 'SELECT xyz', requi...
https://github.com/ClickHouse/ClickHouse/issues/19478
https://github.com/ClickHouse/ClickHouse/pull/19487
6c5302969b23d0868cd02e80499670b11cecb087
045a8e8a0cbf86cdb9677b7e8ab55b80cdd3c841
2021-01-23T00:37:11Z
c++
2021-01-28T09:01:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,441
["base/common/DateLUTImpl.h", "tests/queries/0_stateless/01666_date_lut_buffer_overflow.reference", "tests/queries/0_stateless/01666_date_lut_buffer_overflow.sql"]
AddressSanitizer: heap-buffer-overflow on address in DateLUT
query, report https://gist.github.com/alesapin/c91d9ffd65471c4d8b595219a26a601a. Full report https://clickhouse-test-reports.s3.yandex.net/19412/cc2788af881c96701076b366259bc99525d926b1/fuzzer_asan/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/19441
https://github.com/ClickHouse/ClickHouse/pull/19472
7f059e376559784097e8e308e902dc53be0fec7e
9baac1204ef1918190e712b2612706bd13e1f00b
2021-01-22T16:30:37Z
c++
2021-01-23T09:05:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,428
["docs/en/engines/table-engines/integrations/s3.md", "docs/en/engines/table-engines/mergetree-family/mergetree.md", "src/Disks/S3/registerDiskS3.cpp", "src/IO/S3Common.cpp", "src/IO/S3Common.h", "src/Storages/StorageS3.cpp", "src/Storages/StorageS3Settings.cpp", "src/Storages/StorageS3Settings.h"]
S3 - Allow setting x-amz-server-side-encryption-customer-(key/md5)
**Use case** With S3, you have to send the header `x-amz-server-side-encryption-customer-key` and `x-amz-server-side-encryption-customer-key-md5` if the resource is server side encrypted. https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeysSSEUsingRESTAPI.html https://docs.aws.amazon.co...
https://github.com/ClickHouse/ClickHouse/issues/19428
https://github.com/ClickHouse/ClickHouse/pull/19748
655dbc5c0a1e25722a18c941edbf74a5851ee45d
a2997905223a612b38ca2783105a01bc7106dd0d
2021-01-22T12:41:10Z
c++
2021-02-15T12:23:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,413
["base/common/DateLUTImpl.h", "tests/queries/0_stateless/01666_date_lut_buffer_overflow.reference", "tests/queries/0_stateless/01666_date_lut_buffer_overflow.sql"]
MemorySanitizer: use-of-uninitialized-value in DateLUTImpl::addMonths
``` SELECT (toDate(number % 1024) AS base) + toIntervalMonth(number) AS d, toDateTime(d) AS t, toQuarter(d) AS qd, toQuarter(t) AS qt, arrayJoin([65537, NULL, NULL, 255, NULL]), toStartOfQuarter(d) AS sqd, toStartOfQuarter(t) AS sqt, NULL, toRelativeQuarterNum(d) - toRelativeQuarterNum(base) AS qdiff_d, toRelativeQuar...
https://github.com/ClickHouse/ClickHouse/issues/19413
https://github.com/ClickHouse/ClickHouse/pull/19472
7f059e376559784097e8e308e902dc53be0fec7e
9baac1204ef1918190e712b2612706bd13e1f00b
2021-01-22T10:24:45Z
c++
2021-01-23T09:05:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,395
["docker/test/fuzzer/query-fuzzer-tweaks-users.xml"]
A query may lead to OOM in Fuzz testing in CI environment if server is build with TSan
``` 2021.01.21 21:28:31.096590 [ 84 ] {6bc0adce-30a5-47ff-ba9d-33da61a057cb} <Debug> executeQuery: (from [::1]:59472, using production parser) SELECT groupArrayInsertAt(number, number) FROM (SELECT * FROM system.numbers LIMIT 1048575) GROUP BY number ORDER BY number DESC NULLS FIRST 2021.01.21 21:29:30.000676 [ 121 ]...
https://github.com/ClickHouse/ClickHouse/issues/19395
https://github.com/ClickHouse/ClickHouse/pull/19396
49e1321df444bdc665a823002c20ab9543cc79ec
819483fd9a92eb1265acc4f8fb0b00b351429f65
2021-01-22T00:12:09Z
c++
2021-01-22T18:09:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,391
["docker/test/fasttest/run.sh", "src/Functions/FunctionsAES.h", "tests/queries/0_stateless/01663_aes_msan.reference", "tests/queries/0_stateless/01663_aes_msan.sql"]
MSan report in AES functions
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/19372/0a155ee2f150d1aaed2c223ea7ec7bb816132ce5/fuzzer_msan/server.log **How to reproduce** ``` SELECT encrypt('aes-128-cbc', 'text', 'keykeykeykeykeyk', '') ```
https://github.com/ClickHouse/ClickHouse/issues/19391
https://github.com/ClickHouse/ClickHouse/pull/19397
7d2108d4e9d7864e962fa25a0232c37116823374
feebf64cb173018039909fd800efbae273e1152f
2021-01-21T23:29:14Z
c++
2021-01-23T01:47:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,389
["cmake/autogenerated_versions.txt", "src/Core/Defines.h", "src/Interpreters/ClientInfo.cpp", "src/Interpreters/ClientInfo.h", "src/Interpreters/QueryLog.cpp", "src/Interpreters/QueryThreadLog.cpp", "src/Server/HTTPHandler.cpp", "src/Storages/System/StorageSystemProcesses.cpp", "tests/queries/0_stateless/01661_referer....
ClientInfo and query_log does not have http_referer field
**Use case** ClickHouse as a web server becomes a viable scenario. (At least in backoffice). **Describe the solution you'd like** Add this field. **Additional context** It's in question how to name it. The original HTTP specs has the famous typo in it and name it `referer`. While JavaScript has this typo fixe...
https://github.com/ClickHouse/ClickHouse/issues/19389
https://github.com/ClickHouse/ClickHouse/pull/19390
9818bd319a6f22b6c116359cd30459071ad9e511
6e1d660e361f053d9b466a603be54d28b238c337
2021-01-21T21:52:20Z
c++
2021-01-22T14:25:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,382
["src/AggregateFunctions/AggregateFunctionSumMap.h", "tests/queries/0_stateless/00502_sum_map.reference", "tests/queries/0_stateless/00502_sum_map.sql"]
sumMap does not work for decimal values
**Describe the bug** Performing `sumMap` function with decimal values does not sum properly. looks like an overflow. **Does it reproduce on recent release?** [The list of releases](https://github.com/ClickHouse/ClickHouse/blob/master/utils/list-versions/version_date.tsv) Yes. tried on latest `21.1.2.15` as well a...
https://github.com/ClickHouse/ClickHouse/issues/19382
https://github.com/ClickHouse/ClickHouse/pull/20970
a79ccce074293063cd30e808ab9b02abe4b01114
c5643c47d002175779bff343a9584d1af8a7b5bd
2021-01-21T18:29:30Z
c++
2021-02-20T10:43:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,376
["tests/queries/0_stateless/01733_transform_ubsan.reference", "tests/queries/0_stateless/01733_transform_ubsan.sql"]
arrayStringConcat | arrayMap + ubsan
**Describe the bug** Sanitizer died without any info (except stacktrace) of what happened. **How to reproduce** ```sql SELECT arrayStringConcat(arrayMap(x -> transform(x, [1025, -9223372036854775808, 65537, 257, 1048576, 10, 7, 1048575, 65536], ['yandex', 'googlegooglegooglegoogle', 'test', '', '', 'hello', 'worl...
https://github.com/ClickHouse/ClickHouse/issues/19376
https://github.com/ClickHouse/ClickHouse/pull/21051
50639b7dba0ba3c5a6c94d6badafa6627f47883d
9f9b862a477e545288d3d67ca36a08f0c39d012f
2021-01-21T18:01:10Z
c++
2021-02-22T10:11:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,362
["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"]
FULL OUTER JOIN: Logical error: 'Bad cast from type DB::ColumnString to DB::ColumnNullable'.
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/19316/9ae3628b662f5f9b34695a3f4f7b07307323fc8b/fuzzer_tsan/report.html#fail1 **How to reproduce** Tried to reproduce locally, but it worked without data ``` sql CREATE TABLE foo ( `server_date` Date, `dimension_1` String, `metric_...
https://github.com/ClickHouse/ClickHouse/issues/19362
https://github.com/ClickHouse/ClickHouse/pull/21248
63b95c7451c70f35d3692b88340d87c4a0e4649d
df728dc4ba5cae45958a1c5ee96d49049f1d6919
2021-01-21T14:46:24Z
c++
2021-02-27T08:31:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,303
["src/Interpreters/join_common.cpp", "src/Processors/Transforms/JoiningTransform.cpp", "tests/queries/0_stateless/01107_join_right_table_totals.reference", "tests/queries/0_stateless/01107_join_right_table_totals.sql"]
Join + Invalid number of rows in Chunk
```sql CREATE TABLE t (item_id UInt64, price_sold Float32, date Date) ENGINE MergeTree ORDER BY item_id; SELECT id, yago FROM (SELECT item_id AS id, materialize([arrayJoin([NULL, NULL]), NULL AS x, arrayJoin([0.9998999834060669, NULL, NULL, NULL]), arrayJoin([1048577, -inf, 100.0000991821289, NULL])]), SUM(price_sold...
https://github.com/ClickHouse/ClickHouse/issues/19303
https://github.com/ClickHouse/ClickHouse/pull/22129
3bc170e5ec59f30af4b47a8d3d0efcbcd6dccc5f
c762fa2f756d2f60d475403624fa5a6a000f99ad
2021-01-20T09:48:23Z
c++
2021-03-29T02:26:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,288
["src/Storages/tests/gtest_transform_query_for_external_database.cpp", "src/Storages/transformQueryForExternalDatabase.cpp", "tests/integration/test_mysql_database_engine/test.py"]
MySQL (table function, database engine) WHERE clause can't have condition on column from right table
**Describe the bug** When you trying to join different mysql tables, clickhouse would accept in WHERE clause only columns from left table. **Does it reproduce on recent release?** Yes **How to reproduce** Clickhouse 21.1 ``` docker run --name misaka -e MYSQL_ROOT_PASSWORD=xxxxx -p 3306:3306 -d mysql:latest...
https://github.com/ClickHouse/ClickHouse/issues/19288
https://github.com/ClickHouse/ClickHouse/pull/21640
aa3e8fc4f01a80ef93996d19fa17469a825f8c37
0171ab95fa922e79511f2be2b05ec6af662fbb37
2021-01-19T18:15:16Z
c++
2021-03-29T13:14:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,283
["programs/client/Client.cpp", "tests/queries/0_stateless/00979_live_view_watch_continuous_aggregates.py", "tests/queries/0_stateless/01184_insert_values_huge_strings.sh", "tests/queries/0_stateless/01184_long_insert_values_huge_strings.reference", "tests/queries/0_stateless/01184_long_insert_values_huge_strings.sh", "...
FORMAT JSON omits a }
When formatting the output of query as JSON a closing curly brace is missing in the data section. **Does it reproduce on recent release?** Reproducible in 21.1.2 **How to reproduce** ``` ClickHouse client version 21.1.2.15 (official build). Connecting to localhost:9000 as user default. Connected to ClickHous...
https://github.com/ClickHouse/ClickHouse/issues/19283
https://github.com/ClickHouse/ClickHouse/pull/23050
3770781c1c358e92903486c47f698f8c664b5310
b029e9e4f6be8c6501ecd8bcb5dd1520924e664f
2021-01-19T15:02:41Z
c++
2021-04-29T19:00:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,281
["src/Common/parseRemoteDescription.cpp", "src/Databases/MySQL/FetchTablesColumnsList.cpp", "src/Storages/StorageMySQL.cpp", "src/TableFunctions/TableFunctionMySQL.cpp"]
MySQL Engine: INSERT statement without database name
Create test table: `CREATE TABLE test (`id` Int32) ENGINE = MySQL('localhost:3306', '', 'test', 'user', 'pass')` Attempt insert: `INSERT INTO test VALUES(1)` CH sending SQL: `INSERT INTO ``.`test` (`id`) VALUES (1)` "``." - sending empty database name in generated SQL However SELECT statement working wit...
https://github.com/ClickHouse/ClickHouse/issues/19281
https://github.com/ClickHouse/ClickHouse/pull/23319
a311a5c0b538d2c644fca8e914c4569e13641a64
cbbff1bc4b8ed813bb181808433d07ef25388920
2021-01-19T13:39:40Z
c++
2021-04-20T16:30:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,255
["src/Storages/Kafka/KafkaBlockInputStream.cpp", "src/Storages/Kafka/ReadBufferFromKafkaConsumer.cpp", "tests/integration/test_storage_kafka/test.py"]
A bug in Kafka engine: Segmentation fault (JSONEachRowRowInputFormat)
Kafka ingestion crashed the server. Data is serialized via jackson (possible missing field referenced by queue/topic table) ``` 2021.01.18 16:19:09.348955 [ 30912 ] {} <Fatal> BaseDaemon: ######################################## 2021.01.18 16:19:09.349037 [ 30912 ] {} <Fatal> BaseDaemon: (version 20.8.3.18, no b...
https://github.com/ClickHouse/ClickHouse/issues/19255
https://github.com/ClickHouse/ClickHouse/pull/27794
ba45bd834ff4a5e0d3c97c7f559522f9d2b92402
215385e4d069dff409f780dccd908bc12e73e63e
2021-01-18T23:11:32Z
c++
2021-08-19T08:25:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,222
["tests/queries/0_stateless/02212_cte_and_table_alias.reference", "tests/queries/0_stateless/02212_cte_and_table_alias.sql"]
why with query cannot accept the talbe alias
```sql WITH t AS ( SELECT number AS n FROM numbers(10000) ) SELECT count(*) FROM t AS a WHERE a.n < 5000 Query id: 1248d8af-bb2a-4212-8fd5-e5b89641dd35 Received exception from server (version 21.1.1): Code: 47. DB::Exception: Received from localhost:9000. DB::Exception: Missing...
https://github.com/ClickHouse/ClickHouse/issues/19222
https://github.com/ClickHouse/ClickHouse/pull/34615
724340418e74790cb296fb9f8a27ae8627a90e4b
100389b92f76a4a7ff7b5bfb99575ec752931d24
2021-01-18T02:27:08Z
c++
2022-02-15T19:42:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,217
["contrib/dragonbox"]
AArch64: floating point numbers are formatted with excessive zeros.
``` $ docker run --rm -it --network host --volume $(pwd):/workspace multiarch/ubuntu-core:arm64-bionic /workspace/clickhouse-aarch64 local --query "SELECT 1.5" <jemalloc>: MADV_DONTNEED does not work (memset will be used instead) <jemalloc>: (This is the expected behaviour if you are running under QEMU) 1.500000000...
https://github.com/ClickHouse/ClickHouse/issues/19217
https://github.com/ClickHouse/ClickHouse/pull/19218
4c29a29e4a1e918e5f134ed8e69676791e620d0a
b282df488f6069674191dbb61358c0bf86ea990d
2021-01-17T20:31:26Z
c++
2021-01-18T11:23:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,184
["src/DataTypes/DataTypeNumberBase.h", "src/DataTypes/IDataType.h", "tests/queries/0_stateless/01656_ipv4_bad_formatting.reference", "tests/queries/0_stateless/01656_ipv4_bad_formatting.sql"]
Misleading indentation of IPv4 addresses in Pretty formats
**Describe the issue** ``` SELECT extract(log, '\\* Trying ([0-9a-z\\.\\:\\[\\]]+):\\d+\\.\\.\\.') AS resolved_address, toIPv4(resolved_address) AS ipv4 FROM minicrawl LIMIT 10 ┌─resolved_address─┬───────────ipv4─┐ │ 89.46.106.77 │ 89.46.106.77 │ │ 13.33.243.83 │ 13.33.243.83 │ │ 93....
https://github.com/ClickHouse/ClickHouse/issues/19184
https://github.com/ClickHouse/ClickHouse/pull/19339
08dc5ebfa75ebd3d3cf935a5b98938863425738b
7370335f872063b56d6efa881cacac98edc97616
2021-01-16T13:21:18Z
c++
2021-01-21T12:20:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,163
["docs/en/sql-reference/functions/date-time-functions.md", "docs/zh/sql-reference/functions/date-time-functions.md", "src/Functions/formatDateTime.cpp", "tests/queries/0_stateless/01655_quarter_modificator_for_formatDateTime.reference", "tests/queries/0_stateless/01655_quarter_modificator_for_formatDateTime.sql"]
Add a %Q replacement fields to function formatDateTime to format date to quarter
**Example** Query: ```` sql SELECT formatDateTime(toDate('2010-01-04'), '%Q') ```` Result: ```` sql ┌─formatDateTime(toDate('2010-01-04'), '%Q')─┐ │ 1 │ └────────────────────────────────────────────┘ ````
https://github.com/ClickHouse/ClickHouse/issues/19163
https://github.com/ClickHouse/ClickHouse/pull/19224
cf3a89cd7b722d3ba00af7deec52aebac14a1b0d
937fb25739b64d8fe8be2ee9e1be9ef39af7b2b2
2021-01-16T03:11:02Z
c++
2021-01-18T17:48:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,108
["src/DataTypes/DataTypeFactory.cpp", "src/Parsers/ParserDataType.cpp", "tests/queries/0_stateless/00945_bloom_filter_index.sql", "tests/queries/0_stateless/01414_low_cardinality_nullable.sql", "tests/queries/0_stateless/01675_data_type_coroutine.reference", "tests/queries/0_stateless/01675_data_type_coroutine.sh", "te...
Fuzzer: Segfault without stacktrace
https://clickhouse-test-reports.s3.yandex.net/18979/27600064159ac63e05800ef37afa41b317771352/fuzzer/report.html#fail1 Fuzzer log: ``` SELECT ((100, (toUInt8(3), toUInt8(NULL)), toUInt8(1048576)), 65537, toUInt8(1023)) FROM dist_01528 WHERE dummy = 100 SETTINGS allow_nondeterministic_optimize_skip_unused_shards ...
https://github.com/ClickHouse/ClickHouse/issues/19108
https://github.com/ClickHouse/ClickHouse/pull/19736
9f95fd9c627db9f5542bad51cba77efbd1270348
386bcb07da36c534c4750b06e0b4bbd7670c78ad
2021-01-15T10:42:25Z
c++
2021-01-28T15:20:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,095
["src/Processors/Formats/Impl/ORCBlockInputFormat.cpp", "tests/queries/0_stateless/00900_orc_load.reference", "tests/queries/0_stateless/00900_orc_load.sh"]
Import from ORC doesn't finish
I have an ORC file with 10 mln rows. I created a table with the same structure and executed `insert into <table> select * from file('<filename>', ORC, '<fields>')` . Rows were inserted, and `select count(1) from <table>` gave me 10 mln. But query didn't stop, and still is running. `select query, written_rows from syste...
https://github.com/ClickHouse/ClickHouse/issues/19095
https://github.com/ClickHouse/ClickHouse/pull/19134
67fd381034ada11191aff46f3b2e841aef4e34ee
6ed14ba0b67618508ecaf09374ed406c2e7f812d
2021-01-14T22:13:47Z
c++
2021-01-16T08:03:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,088
["src/Common/UnicodeBar.cpp", "tests/queries/0_stateless/01654_bar_nan.reference", "tests/queries/0_stateless/01654_bar_nan.sql"]
Function bar: Too large size passed to allocator
```sql SELECT bar(-1, -9223372036854775808, nan) Query id: c54d8992-f48c-44d8-b845-bde3b681ced4 Received exception from server (version 21.1.1): Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Too large size (9223372036854775840) passed to allocator. It indicates an error.: While process...
https://github.com/ClickHouse/ClickHouse/issues/19088
https://github.com/ClickHouse/ClickHouse/pull/19107
971ff2ee0a5ae8e18118d20f3bdd3431d4df6895
f8830e0f112298ae2388cc42e7de05ca9edbb982
2021-01-14T16:36:34Z
c++
2021-01-15T17:38:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,078
["src/Interpreters/convertFieldToType.cpp", "tests/queries/0_stateless/01866_datetime64_cmp_with_constant.reference", "tests/queries/0_stateless/01866_datetime64_cmp_with_constant.sql"]
DateTime64 cmp DateTime constant / column inconsistency.
```sql CREATE TABLE dt64test (`dt64column` DateTime64(3)) ENGINE = MergeTree PARTITION BY toYYYYMM(dt64column) ORDER BY dt64column; INSERT INTO dt64test VALUES ('2020-01-13 13:37:00'); SELECT 1 FROM dt64test WHERE dt64column = toDateTime('2020-01-13 13:37:00'); DB::Exception: Key expression contains compar...
https://github.com/ClickHouse/ClickHouse/issues/19078
https://github.com/ClickHouse/ClickHouse/pull/24100
e9b69bbd708b5fc1761df09812359d8112b87aae
218f534a6f5a4389c8c3b47f0a3fe3acd6ac3aee
2021-01-14T15:41:35Z
c++
2021-05-19T14:27:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,029
["src/Functions/tupleHammingDistance.cpp", "tests/queries/0_stateless/01653_tuple_hamming_distance_2.reference", "tests/queries/0_stateless/01653_tuple_hamming_distance_2.sql"]
tupleHammingDistance: Logical error: 'Invalid Field get from type Null to type UInt64'.
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/18723/5f962015caf6e48f3ec5ea115a8f424e88741c8b/fuzzer/report.html#fail1 **How to reproduce** `SELECT tupleHammingDistance((65537, 256), (1025, NULL))`
https://github.com/ClickHouse/ClickHouse/issues/19029
https://github.com/ClickHouse/ClickHouse/pull/19084
421dd1ca661f22c9c7f5846a999653c28554b332
80c937b64c8e0caaf9da353d83920ae9450c02e6
2021-01-14T07:23:05Z
c++
2021-01-15T10:02:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,028
["contrib/libunwind"]
(ARM, only on Huawei) crashed on kylin os with arm
I have compiled the clickhouse in both cross compile and local compile way. cross env: intel+ubuntu20.04 local env: cpu:ft2000+/64 (ARMv8 aarch64) os:kylin v10sp1 (based on centos) Then I got the binarys to run in the local of arm, but I got this error for both binarys: ``` programs]# ./clickhouse server c...
https://github.com/ClickHouse/ClickHouse/issues/19028
https://github.com/ClickHouse/ClickHouse/pull/25854
956b1f588dbf5e406bf61e8a9b4e329d35af8b70
011ed015fa49c8e1a37f6f103c28def5e637a23f
2021-01-14T05:29:44Z
c++
2021-06-30T13:18:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
19,021
["src/IO/PeekableReadBuffer.cpp", "src/IO/PeekableReadBuffer.h", "src/Interpreters/InterpreterInsertQuery.cpp", "src/Interpreters/executeQuery.cpp", "tests/queries/0_stateless/01183_custom_separated_format_http.reference", "tests/queries/0_stateless/01183_custom_separated_format_http.sh"]
FORMAT CustomSeparated doesnt' work for http queries
(you don't have to strictly follow this form) It seems that CH doesn't support `FORMAT CustomSeparated` with http request https://github.com/ClickHouse/ClickHouse/issues/12744#issuecomment-663738562 When I make a request with `format_custom_field_delimiter='^'`, I got an error ``` Code: 49, e.displayText() = ...
https://github.com/ClickHouse/ClickHouse/issues/19021
https://github.com/ClickHouse/ClickHouse/pull/19072
1b832aa698f5f3d96a625728df989721d2fd52ba
49e1321df444bdc665a823002c20ab9543cc79ec
2021-01-13T18:46:51Z
c++
2021-01-22T18:00:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,991
["src/Core/MySQL/MySQLGtid.cpp", "src/Core/MySQL/MySQLGtid.h", "src/Core/tests/mysql_protocol.cpp", "src/Databases/MySQL/MaterializeMySQLSyncThread.cpp"]
MaterializeMySQL will get exeception with MySQL log_bin_use_v1_row_events 'ON'
**Describe the bug** when I set log_bin_use_v1_row_events =1 in MySQL side and start replicate data to ClickHouse,I will get the following execption: 0. DB::ReadBuffer::throwReadAfterEOF() @ 0x7d3f9ed in /usr/bin/clickhouse 1. ? @ 0xdb3d0a3 in /usr/bin/clickhouse 2. DB::MySQLReplication::MySQLFlavor::readPayload...
https://github.com/ClickHouse/ClickHouse/issues/18991
https://github.com/ClickHouse/ClickHouse/pull/19205
ee4cc94e6c47a48f491c34f4844345a16a37379a
47102d2ee8b8067f9942683aad58affb04782312
2021-01-13T07:45:29Z
c++
2021-01-19T11:52:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,973
["src/Core/Settings.h", "src/Interpreters/RewriteAnyFunctionVisitor.cpp", "tests/queries/0_stateless/01398_any_with_alias.sql", "tests/queries/0_stateless/01470_columns_transformers.reference", "tests/queries/0_stateless/01591_window_functions.reference", "tests/queries/0_stateless/01591_window_functions.sql", "tests/q...
`optimize_move_functions_out_of_any` is questionable
**Describe the situation** There is a setting `optimize_move_functions_out_of_any` that is turn on by default. It moves functions out of `any` aggregate function. But it's not always beneficial. Example: ``` any(substring(large_string, 1, 10)) ``` is better than ``` substring(any(large_string), 1, 10) ``` ...
https://github.com/ClickHouse/ClickHouse/issues/18973
https://github.com/ClickHouse/ClickHouse/pull/18981
7d7af00afb2a2dde105abc78b8fa1378176efa96
6d79068a0fc7459341e77a086ec1de9d9e59dfed
2021-01-12T13:35:50Z
c++
2021-01-14T07:12:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,951
["base/glibc-compatibility/CMakeLists.txt", "cmake/find/rdkafka.cmake", "contrib/librdkafka-cmake/CMakeLists.txt", "contrib/librdkafka-cmake/config.h.in"]
error: invalid conversion between vector type
Hello, When compiling from source on an Ubuntu 20.04 arm64 instance, I receive this: `error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size`. Full output & details are below. **Operating system** Ubuntu 20.04, arm64, running on AWS Gravit...
https://github.com/ClickHouse/ClickHouse/issues/18951
https://github.com/ClickHouse/ClickHouse/pull/19369
eeafd738906bc04eed59bb3f2002d4d6766c5ca9
303db08231f19ad5739551991fc23a63012a2773
2021-01-11T16:11:43Z
c++
2021-01-22T22:52:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,950
["tests/integration/test_testkeeper_back_to_back/test.py"]
Strange test keeper tests failure
https://github.com/ClickHouse/ClickHouse/pull/18897
https://github.com/ClickHouse/ClickHouse/issues/18950
https://github.com/ClickHouse/ClickHouse/pull/19942
da367a500e6cfe0fb6234bf98683154264dd995d
a9c50caa9a9f5ff15efbc4d290b8956dd8085def
2021-01-11T15:43:42Z
c++
2021-02-02T07:17:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,937
["tests/queries/0_stateless/02692_multiple_joins_unicode.reference", "tests/queries/0_stateless/02692_multiple_joins_unicode.sql"]
Cannot select non-english column name when using multiple join in a single query.
**Describe the bug** Cannot select non-english column name when using multiple join in a single query. **How to reproduce** ClickHouse server version 20.11.4 revision 54442. * `CREATE TABLE` statements for all tables involved ```` CREATE TABLE store (id UInt32, "名称" String, "状态" String) ENGINE=MergeTree(...
https://github.com/ClickHouse/ClickHouse/issues/18937
https://github.com/ClickHouse/ClickHouse/pull/47738
72c6084267da929019068fae3d78741b8225efcf
4fcc5bbea75c47496c617ce8f28b22ff13d99c7a
2021-01-11T14:08:00Z
c++
2023-03-23T14:50:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,927
["docker/server/Dockerfile", "docker/server/Dockerfile.alpine"]
>= 20.11 wrong owner of /etc/clickhouse-server/
``` mfilimonov@laptop-5591:~/workspace/altinity/docker$ docker run -it --rm yandex/clickhouse-server:20.10 bash root@bc569367e840:/# ls -la /etc/clickhouse-server/ total 60 drwxr-xr-x 1 root root 4096 Dec 24 00:23 . drwxr-xr-x 1 root root 4096 Jan 11 11:57 .. drwxr-xr-x 1 root root 4096 Dec 24 00:23 config.d ...
https://github.com/ClickHouse/ClickHouse/issues/18927
https://github.com/ClickHouse/ClickHouse/pull/19374
f44f169aaa1b9fe0580ca4862056bf0d31330e8f
21455ae646d8aca2be32c15cc61bfcf5c6a4871e
2021-01-11T12:02:41Z
c++
2021-01-22T14:28:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,926
["docker/test/fasttest/run.sh", "docker/test/stateless/Dockerfile", "src/Core/MySQL/PacketsProtocolText.cpp", "src/Core/MySQL/PacketsProtocolText.h", "src/Server/MySQLHandler.cpp", "tests/queries/0_stateless/01176_mysql_client_interactive.expect", "tests/queries/0_stateless/01176_mysql_client_interactive.reference", "t...
MYSQL protocol reading table information error after USE database query.
**Describe the bug** If you would change database with ```USE database``` command via mysql protocol and have auto completion enabled, you would get an error. **How to reproduce** Clickhouse 20.13.1.5517 mysql client 8.0 ``` mysql --host 127.0.0.1 --port 9004 --user default Welcome to the MySQL monitor. Com...
https://github.com/ClickHouse/ClickHouse/issues/18926
https://github.com/ClickHouse/ClickHouse/pull/20878
ceacae4ee4e1642c20a8e3ac4cd7f2154fb26722
3509fe88d89a767cbc9f2abe0adfecadb5051a12
2021-01-11T11:53:55Z
c++
2021-02-19T16:25:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,923
["docker/server/entrypoint.sh"]
watchdog: clickhouse-server docker images does not react on Ctrl+C anymore
For some reason, the watchdog doesn't process/pass the signal correctly? If we consider watchdog as a useful/essential part (which should now work also in docker) - it should react on Ctrl+C correctly. Also, we need a cmd line options (with corresponding config settings?) to enforce watchdog installation even for...
https://github.com/ClickHouse/ClickHouse/issues/18923
https://github.com/ClickHouse/ClickHouse/pull/26757
dab9cfb9c9471f3a14158fdf1e58fc0331fbde98
418af36372c4f691e662e1313cb7da08e93238ec
2021-01-11T10:21:47Z
c++
2021-07-24T02:52:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,916
["docker/test/fuzzer/run-fuzzer.sh", "programs/client/Client.cpp"]
Extensive fuzzing of new added tests
Add an option for `clickhouse-client` with a list of tests for extensive fuzzing. Processing of these tests will be interleaved between every other tests, so we will get much better fuzzing coverage.
https://github.com/ClickHouse/ClickHouse/issues/18916
https://github.com/ClickHouse/ClickHouse/pull/19185
d782a0e7ba7353f109f9e3fb8f60fab1dd272060
6f1d92070ddaa4070cad7cf3eea2e5528447b097
2021-01-11T06:01:40Z
c++
2021-01-18T23:36:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,913
["src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp", "tests/queries/0_stateless/01654_test_writer_block_sequence.python", "tests/queries/0_stateless/01654_test_writer_block_sequence.reference", "tests/queries/0_stateless/01654_test_writer_block_sequence.sh"]
Incorrect mark is found while running debug tests
**Describe the bug** https://github.com/ClickHouse/ClickHouse/pull/18899#issuecomment-757571194
https://github.com/ClickHouse/ClickHouse/issues/18913
https://github.com/ClickHouse/ClickHouse/pull/19123
112746e8ca3409a761afce68cd2fbd2fe8ad6dc3
67fd381034ada11191aff46f3b2e841aef4e34ee
2021-01-11T02:37:17Z
c++
2021-01-16T07:17:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,891
["programs/local/LocalServer.cpp", "src/Core/BackgroundSchedulePool.cpp"]
clickhouse-local cannot shutdown correctly.
**How to reproduce** ``` for i in {1..1000}; do echo 'Hello, world!' | clickhouse-local --query "SELECT * FROM table" --structure 's String' | wc -c; done ``` This script hangs.
https://github.com/ClickHouse/ClickHouse/issues/18891
https://github.com/ClickHouse/ClickHouse/pull/18977
a15092eeb77b7d35d8f068f99bfeb26b0470ae9d
6885890006a4fd6e07ca8daeb6a645acf3d120ce
2021-01-10T02:33:53Z
c++
2021-01-16T15:05:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,879
["src/Interpreters/Context.cpp", "src/Interpreters/DatabaseCatalog.cpp", "src/Storages/LiveView/TemporaryLiveViewCleaner.cpp", "src/Storages/LiveView/TemporaryLiveViewCleaner.h"]
After run of stress test duplicate UUIDs have found.
https://clickhouse-test-reports.s3.yandex.net/18817/9049599e367bcccd809f45af138452f965b3303a/stress_test_(undefined)/test_run.txt.out.log
https://github.com/ClickHouse/ClickHouse/issues/18879
https://github.com/ClickHouse/ClickHouse/pull/19020
80c937b64c8e0caaf9da353d83920ae9450c02e6
461d370e8dbd5fa00590a1910b8b4c8f8f8c20a9
2021-01-09T05:13:25Z
c++
2021-01-15T10:04:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,878
["src/Storages/MutationCommands.cpp", "tests/queries/0_stateless/01648_mutations_and_escaping.reference", "tests/queries/0_stateless/01648_mutations_and_escaping.sql"]
Server cannot parse mutation command list.
https://clickhouse-test-reports.s3.yandex.net/18817/9049599e367bcccd809f45af138452f965b3303a/stress_test_(thread)/test_run.txt.out.log
https://github.com/ClickHouse/ClickHouse/issues/18878
https://github.com/ClickHouse/ClickHouse/pull/18944
e1631d341f9d4b4178d5506010b54c5b243afd13
1d6bfe8ad7b4ab90b0c3417d604c578215ddb8e5
2021-01-09T05:12:05Z
c++
2021-01-12T08:29:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,874
["src/Storages/StorageReplicatedMergeTree.cpp", "tests/queries/0_stateless/01650_drop_part_and_deduplication_zookeeper.reference", "tests/queries/0_stateless/01650_drop_part_and_deduplication_zookeeper.sql"]
Dropping of a part breaks deduplication of data blocks
20.12.5.14 `alter table ... drop part ...` removes from ZooKeeper all blocks for the partition. The same thing happens when CH cleans empty parts: ``` CREATE TABLE empty_parts ( `k` Int8, `v` Int8 ) ENGINE = ReplicatedSummingMergeTree ('/clickhouse/empty_parts','replica1') ORDER BY k; insert into e...
https://github.com/ClickHouse/ClickHouse/issues/18874
https://github.com/ClickHouse/ClickHouse/pull/18969
07431a64940d88735ebeaeed8102f6160c0c99ff
c97469773dbcb8b13a6ec9e5ee07c49d88c05eb9
2021-01-08T22:26:33Z
c++
2021-01-13T08:50:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
18,847
["base/daemon/BaseDaemon.cpp", "base/daemon/BaseDaemon.h", "src/Interpreters/InterpreterSystemQuery.cpp"]
SYSTEM KILL doesn't work on docker environment.
**Describe the bug** `SYSTEM KILL` does not shutdown the server when run in a docker environment. I used https://hub.docker.com/r/yandex/clickhouse-server/ instructions to setup the docker. **How to reproduce** * ClickHouse server version 20.12.4 revision 54442. ``` myrotk@altinity-qa-cosmic3:~$ docker pull yand...
https://github.com/ClickHouse/ClickHouse/issues/18847
https://github.com/ClickHouse/ClickHouse/pull/18848
6e34a0b71efc0e5af1cfb05b77a5e7b2568a2e49
f3fb2204d2898e80f4c1be3f1298fbfcbc8fa9f8
2021-01-07T17:17:02Z
c++
2021-01-08T19:25:25Z