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
30,397
["src/Storages/StorageBuffer.cpp", "tests/queries/0_stateless/01506_buffer_table_alter_block_structure_2.reference", "tests/queries/0_stateless/01506_buffer_table_alter_block_structure_2.sql"]
Logical error: 'Block structure mismatch in Buffer stream'
https://clickhouse-test-reports.s3.yandex.net/0/9195e4e887e6f05cf41ce326d0de98e1ae1204f5/stress_test_(debug).html query ``` 2021.10.19 17:13:46.212969 [ 15981 ] {adfead4b-ed57-40ef-819a-9cb608aa1184} <Debug> executeQuery: (from [::1]:38756) (comment: 01506_buffer_table_alter_block_structure.sql) INSERT INTO buf (t...
https://github.com/ClickHouse/ClickHouse/issues/30397
https://github.com/ClickHouse/ClickHouse/pull/30565
0c6b92b3a9a501e802b0aaab92378e2e79436e34
e528bfdb1aaedbb3f93fbccbcadd176ad094ff4f
2021-10-19T16:48:01Z
c++
2021-10-26T06:45:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
30,343
["src/Storages/MergeTree/MergeTreeIndices.h", "tests/queries/0_stateless/02131_skip_index_not_materialized.reference", "tests/queries/0_stateless/02131_skip_index_not_materialized.sql"]
Adding a data skipping index breaks live queries.
**Describe what's wrong** Adding a data skipping index breaks live queries. **Does it reproduce on recent release?** Reproducible in (at least): * 21.9.2.17 * 21.10.2.15 **How to reproduce** ``` # 1. Create a table and insert 10M rows distributed across 100 partitions CREATE TABLE test2 ( `p`...
https://github.com/ClickHouse/ClickHouse/issues/30343
https://github.com/ClickHouse/ClickHouse/pull/32359
66e1fb7adad8ce28af4c9cf126f704bdefafa746
a241103714422b775852790633451167433125c1
2021-10-18T16:58:01Z
c++
2021-12-13T11:43:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
30,245
["src/Functions/ReplaceRegexpImpl.h", "tests/queries/0_stateless/02150_replace_regexp_all_empty_match.reference", "tests/queries/0_stateless/02150_replace_regexp_all_empty_match.sql", "tests/queries/0_stateless/02151_replace_regexp_all_empty_match_alternative.reference", "tests/queries/0_stateless/02151_replace_regexp_...
trim incorrect result in case of BOTH
```sql SELECT trim(BOTH ', ' FROM '5935,5998,6014, ')||'|' x SELECT concat(replaceRegexpAll('5935,5998,6014, ', concat('^[', regexpQuoteMeta(', '), ']*|[', regexpQuoteMeta(', '), ']*$'), ''), '|') AS x ┌─x─────────────────┐ │ 5935,5998,6014, | │ └───────────────────┘ psql> SELECT trim(BOTH ', ' FROM '5935,5...
https://github.com/ClickHouse/ClickHouse/issues/30245
https://github.com/ClickHouse/ClickHouse/pull/32945
1141ae91d895866ccaefb4e855a9032397b4b944
2e5a14a8de802019fdc7cf5844d65c2f331883d3
2021-10-15T18:37:39Z
c++
2021-12-19T22:42:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
30,236
["docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md", "src/Dictionaries/CMakeLists.txt", "src/Dictionaries/HashedArrayDictionary.cpp", "src/Dictionaries/HashedArrayDictionary.h", "src/Dictionaries/registerDictionaries.cpp", "tests/performance/hashed_array_dictionary.xml", "tests/que...
Ext. dictionary layout FLAT_TRANSLATED
flat_index is an artificial autoincrement to make a demo, it does not needed, it just a flat array index for a translation table. ```sql drop dictionary if exists dict_complex_hashed; drop dictionary if exists dict_translation; drop dictionary if exists dict_flat; drop table if exists dict_source; create tabl...
https://github.com/ClickHouse/ClickHouse/issues/30236
https://github.com/ClickHouse/ClickHouse/pull/30242
36beb8985733787c9b12519fab3a2af7120e66c2
0dd8c70d28ad44d0db386dd225732a5d201cfee5
2021-10-15T13:18:31Z
c++
2021-10-16T22:18:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
30,175
["src/Functions/initializeAggregation.cpp", "tests/queries/0_stateless/02097_initializeAggregationNullable.reference", "tests/queries/0_stateless/02097_initializeAggregationNullable.sql"]
initializeAggregation doesn't work with nullable types
**Describe what's wrong** It's not possible to initialize aggregation function from nullable types. **Does it reproduce on recent release?** Yes, ClickHouse version 21.10 ``` SELECT initializeAggregation('uniqExactState', toNullable('')) 0 rows in set. Elapsed: 0.003 sec. Received exception from ...
https://github.com/ClickHouse/ClickHouse/issues/30175
https://github.com/ClickHouse/ClickHouse/pull/30177
a9ac7fb394bec835d613b9c7b84680b276af4853
78c925ddef83d13f358de0f187a0deb092a59d16
2021-10-14T11:29:18Z
c++
2021-10-20T12:39:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
30,090
["src/Dictionaries/PolygonDictionary.cpp", "src/Dictionaries/PolygonDictionary.h", "src/Dictionaries/PolygonDictionaryImplementations.cpp", "src/Dictionaries/PolygonDictionaryImplementations.h", "tests/queries/0_stateless/02097_polygon_dictionary_store_key.reference", "tests/queries/0_stateless/02097_polygon_dictionary...
It's not possible to read POLYGON dictionaries via SELECT * FROM dict query.
**Describe the unexpected behaviour** ClickHouse returns exception if you would try to read polygon dictionary via SELECT query. **How to reproduce** ClickHouse version 21.10 ``` CREATE DICTIONARY polygon_dict ( key Array(Array(Array(Array(Float64)))), name String, value UInt64 ) PRIMARY KEY...
https://github.com/ClickHouse/ClickHouse/issues/30090
https://github.com/ClickHouse/ClickHouse/pull/30142
5802037f1ea35aa2f5c83df3eeb6030cea9f3d74
6c1da023f7e5db9b7a6a05596fb0b516c940410f
2021-10-13T10:26:32Z
c++
2021-10-14T12:03:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,967
["docs/en/sql-reference/functions/splitting-merging-functions.md", "docs/ru/sql-reference/functions/splitting-merging-functions.md", "src/Functions/FunctionsStringArray.cpp", "src/Functions/FunctionsStringArray.h", "tests/queries/0_stateless/00255_array_concat_string.reference", "tests/queries/0_stateless/00255_array_c...
support Nullable String type in arrayStringConcat
For example Null can be represented as empty string ```sql select arrayStringConcat(['x',Null], ';'); ┌─arrayStringConcat(['x', Null], ';')─┐ │ x; │ └─────────────────────────────────────┘ ``` But mostly it for avoiding a cast in case of Nullable Strings ``` SELECT arrayS...
https://github.com/ClickHouse/ClickHouse/issues/29967
https://github.com/ClickHouse/ClickHouse/pull/30840
30090472a1f3d58d58e385a7bfa74e785553703e
9d967e988348d09dad7ebaf9b0ef657a219f71c7
2021-10-10T22:51:21Z
c++
2021-11-01T08:48:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,957
["src/Interpreters/UserDefinedSQLFunctionVisitor.cpp", "tests/queries/0_stateless/02096_sql_user_defined_function_alias.reference", "tests/queries/0_stateless/02096_sql_user_defined_function_alias.sql"]
User function alias
Hi, I may have found a bug. ClickHouse client version 21.10.1.8013 (official build). ``` CREATE FUNCTION now_debug AS () -> toDateTime('2021-07-01 12:35:34'); ``` ``` :) select now_debug() as _now_debug, now() as _now; SELECT now_debug() AS _now_debug, now() AS _now Query id: 4f7840e9-4a92-...
https://github.com/ClickHouse/ClickHouse/issues/29957
https://github.com/ClickHouse/ClickHouse/pull/30075
828b19fd51a714805967e880e18972f0a2a93cad
8d544a55b722728d8c3295ed9c70f6f7db6b6543
2021-10-10T19:54:08Z
c++
2021-10-14T08:15:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,926
["src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp", "src/Processors/Formats/Impl/ParquetBlockInputFormat.cpp"]
Not good enough error message when reading Parquet file.
`Code: 349. DB::Exception: Cannot convert NULL value to non-Nullable type: While executing ParquetBlockInputFormat: While executing File. (CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN) (version 21.11.1.8356 (official build))` I need to know, what column is related.
https://github.com/ClickHouse/ClickHouse/issues/29926
https://github.com/ClickHouse/ClickHouse/pull/29927
daf9cf12d9aa6e71d19671173cd9d0de9558fe9d
84555646ffb41679e81a7c43e59b47a07cea731a
2021-10-09T16:40:09Z
c++
2021-10-09T22:18:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,917
["src/Core/MySQL/MySQLReplication.cpp"]
materialized mysql decimal 2147483648
Hi! We have replication mysql to clickhouse configured with materialized-mysql driver. sometimes strange behavior happens and in the clickhouse there are values that are not in this mysql database for example: mysql revenue value is 0.292, but in clickhouse - 2147483648.292 mysql table ddl: ``` CREAT...
https://github.com/ClickHouse/ClickHouse/issues/29917
https://github.com/ClickHouse/ClickHouse/pull/31990
fa298b089e9669a8ffb1aaf00d0fbfb922f40f06
9e034ee3a5af2914aac4fd9a39fd469286eb9b86
2021-10-09T08:25:57Z
c++
2021-12-01T16:18:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,892
["src/Core/Settings.h", "src/Interpreters/OptimizeIfChains.h", "src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/01355_if_fixed_string.sql", "tests/queries/0_stateless/02315_replace_multiif_to_if.reference", "tests/queries/0_stateless/02315_replace_multiif_to_if.sql"]
multiIf vs If performance difference with 1 condition
**Describe the situation** multiIf works 10 times slower than If with single condition. **How to reproduce** ClickHouse version 21.10 ``` SELECT count() FROM numbers_mt(1000000000) WHERE NOT ignore(multiIf(number = 0, NULL, toNullable(number))) ┌────count()─┐ │ 1000000000 │ └────────────┘ 1 rows in...
https://github.com/ClickHouse/ClickHouse/issues/29892
https://github.com/ClickHouse/ClickHouse/pull/37695
c6574b15bc7f7323d9a3adf30b13c63d3b6de227
3ace07740171eae90c832173bba57203a8f7f192
2021-10-08T12:13:44Z
c++
2022-06-03T12:56:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,890
["src/Functions/array/arraySlice.cpp", "tests/queries/0_stateless/00498_array_functions_concat_slice_push_pop.reference", "tests/queries/0_stateless/00498_array_functions_concat_slice_push_pop.sql"]
Logical error: Invalid number of rows in Chunk column Array(Array(Nothing))
https://clickhouse-test-reports.s3.yandex.net/29804/90cc63aecd37ffe7a3f6497b462be55540bc70a5/fuzzer_debug/report.html#fail1 ``` 2021.10.08 00:59:13.283176 [ 136 ] {f483911f-89e8-47b6-b594-3da29e8b832b} <Debug> executeQuery: (from [::1]:59180) SELECT max((SELECT sumState(number) FROM numbers(65535)) * NULL, arraySli...
https://github.com/ClickHouse/ClickHouse/issues/29890
https://github.com/ClickHouse/ClickHouse/pull/32456
71df622b1f0371fc4fd525c7a8a404425c17fcee
26d606c158d49acb4f66fadc03b2ac2781aed305
2021-10-08T11:26:01Z
c++
2021-12-12T03:38:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,883
["programs/server/config.d/graphite.xml", "src/Processors/Merges/Algorithms/Graphite.cpp", "src/Processors/Merges/Algorithms/GraphiteRollupSortedAlgorithm.cpp", "src/Storages/MergeTree/registerStorageMergeTree.cpp", "tests/queries/0_stateless/02508_bad_graphite.reference", "tests/queries/0_stateless/02508_bad_graphite....
If I'm holding a `GraphiteMergeTree` table in the wrong way, it complains
When trying to populate a newly created GraphiteMergeTree table with some data, I catch an exception. ```sql CREATE TABLE default.ttt ( `C1` Int8, `Sign` Int8, `Version` UInt8, `Path` String, `Time` DateTime, `Value` Int8 ) ENGINE = GraphiteMergeTree('graphite_rollup_params') ORDER...
https://github.com/ClickHouse/ClickHouse/issues/29883
https://github.com/ClickHouse/ClickHouse/pull/44342
31348a0c2b9c6ae4cfa503bf786b178e4328cd7c
1b21cc018ed7259d7ef25eab86184d203c9d0f56
2021-10-08T09:15:14Z
c++
2022-12-27T11:55:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,880
["docs/en/interfaces/cli.md", "docs/ru/interfaces/cli.md", "programs/client/Client.cpp", "src/Client/ConnectionString.cpp", "src/Client/ConnectionString.h", "tests/queries/0_stateless/02784_connection_string.reference", "tests/queries/0_stateless/02784_connection_string.sh"]
ClickHouse connection strings
**Use case** Now you can connect to ClickHouse by specifiying separately host, port, username, password and other parameters. _clickhouse-client --host=... --port=... --user=... --password=..._ It is already possible to specify the connection string as a URI in many databases. Example from PostgreSQL _postgresq...
https://github.com/ClickHouse/ClickHouse/issues/29880
https://github.com/ClickHouse/ClickHouse/pull/50689
b1eacab44a94d19e5cfe716d8a64bc9c18d2da62
2643fd2c25bd189c1617892cf96dd372f81403c7
2021-10-08T06:58:38Z
c++
2023-06-14T08:39:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,805
["docs/en/sql-reference/statements/create/dictionary.md", "src/Dictionaries/DictionaryStructure.cpp"]
dictionaries attributes doc issue
https://clickhouse.com/docs/en/sql-reference/statements/create/dictionary/ ``` CREATE DICTIONARY [IF NOT EXISTS] [db.]dictionary_name [ON CLUSTER cluster] ( key1 type1 [DEFAULT|EXPRESSION expr1] [HIERARCHICAL|INJECTIVE|IS_OBJECT_ID], key2 type2 [DEFAULT|EXPRESSION expr2] [HIERARCHICAL|INJECTIVE|IS_OBJE...
https://github.com/ClickHouse/ClickHouse/issues/29805
https://github.com/ClickHouse/ClickHouse/pull/29816
4ec7311d4d4ee739d28db451bdc7a21cf424c003
d91377c9932d64b1ac57beaab6acbade9b36665e
2021-10-06T12:51:52Z
c++
2021-10-07T07:21:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,788
["src/IO/S3Common.cpp"]
Startup crash: STSResourceClient Address: NULL pointer. Access: read. Address not mapped to object.
**Describe what's wrong** Clickhouse server crashes with a traceback on startup in my deployment when I add an S3 storage policy to the /etc/clickhouse-server/config.d folder. **Does it reproduce on recent release?** Also happens on clickhouse-server:21.9.4.35 **Enable crash reporting** I duplicated the...
https://github.com/ClickHouse/ClickHouse/issues/29788
https://github.com/ClickHouse/ClickHouse/pull/31409
27aec2487be622dc9f7bfa60d72588d3b0d2e7a7
4856b50c23a37e393783ef3dca0ef9617967f9c2
2021-10-05T19:52:38Z
c++
2021-11-19T15:45:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,759
["src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/queries/0_stateless/01549_low_cardinality_mv_fuzz.reference", "tests/queries/0_stateless/01549_low_cardinality_mv_fuzz.sql"]
Logical error: 'Block structure mismatch in Pipes stream: different types: Received signal 6 Received signal Aborted (6)
<https://clickhouse-test-reports.s3.yandex.net/25969/86d31445fd0dd9bc086432f559d1089c3d4a7700/fuzzer_debug/report.html#fail1>
https://github.com/ClickHouse/ClickHouse/issues/29759
https://github.com/ClickHouse/ClickHouse/pull/39125
4a45b37b437ebc602a235c8e319348ad60362bcb
ec24f730b12074446b334eafbf94e7d505cdec6c
2021-10-05T06:38:56Z
c++
2022-07-12T18:19:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,754
["src/Databases/DatabaseOnDisk.cpp"]
system.errors FILE_DOESNT_EXIST initated by system.tables.create_table_query
``` select name, value, last_error_message from system.errors where name = 'FILE_DOESNT_EXIST'; 0 rows in set. Elapsed: 0.001 sec. select * from system.tables format Null; select * from system.tables format Null; select * from system.tables format Null; select name, value, last_error_message from system.error...
https://github.com/ClickHouse/ClickHouse/issues/29754
https://github.com/ClickHouse/ClickHouse/pull/29779
e88005c6f6bdcaa88f3a3c60bc8a45683252d1d5
dce50c8b8ad125f0442daa76121dc1adf15dc787
2021-10-04T23:11:24Z
c++
2021-10-06T18:29:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,729
["src/Interpreters/inplaceBlockConversions.cpp", "tests/queries/0_stateless/02053_INSERT_SELECT_MATERIALIZED.reference", "tests/queries/0_stateless/02053_INSERT_SELECT_MATERIALIZED.sql"]
INSERT SELECT incorrectly fills MATERIALIZED column
**Does it reproduce on recent release?** Reproduced on 21.11.1.1 (master) and 21.9.2 Works as expected on 21.8.2, so it's regression **How to reproduce** ``` :) create table mt (id Int64, A Nullable(Int64), X Int64 materialized coalesce(A, -1)) engine=MergeTree order by id :) insert into mt values (1, 42) -- X...
https://github.com/ClickHouse/ClickHouse/issues/29729
https://github.com/ClickHouse/ClickHouse/pull/30189
bc1662b9febd91c9098feed2a7e25f5ff000aeac
0e228a23693ed71152cc3557db3edfd005f7735e
2021-10-04T12:43:50Z
c++
2021-10-15T07:48:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,702
["src/Interpreters/MutationsInterpreter.cpp", "tests/queries/0_stateless/02131_materialize_column_cast.reference", "tests/queries/0_stateless/02131_materialize_column_cast.sql"]
Logical error when trying to use bloom filter index on `Array(LowCardinality(String))`
**Describe what's wrong** Get data from #29693. ``` ALTER TABLE hackernews ADD COLUMN words Array(LowCardinality(String)) DEFAULT arraySort( arrayDistinct( extractAll( lower( decodeXMLComponent( extractTextFr...
https://github.com/ClickHouse/ClickHouse/issues/29702
https://github.com/ClickHouse/ClickHouse/pull/32348
3498e13551d7fffdff3079123f199e2658019159
e0a8c5a4ac854d2a91d2d4930313f8d0d3c92fa1
2021-10-04T05:19:05Z
c++
2021-12-08T08:13:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,699
["src/DataTypes/DataTypeFixedString.h", "src/Functions/ngrams.cpp", "src/Functions/registerFunctions.cpp", "src/Interpreters/ITokenExtractor.cpp", "src/Interpreters/ITokenExtractor.h", "src/Storages/MergeTree/MergeTreeIndexFullText.cpp", "src/Storages/MergeTree/MergeTreeIndexFullText.h", "src/Storages/tests/gtest_Split...
A function to extract ngrams from string
**Use case** I want to estimate better parameters for fulltext (`ngrambf_v1`) index. **Describe the solution you'd like** Implement it as SQL function: `ngrams(string, N)` that returns array of FixedString. **Describe alternatives you've considered** It can be done with less efficient and more cumb...
https://github.com/ClickHouse/ClickHouse/issues/29699
https://github.com/ClickHouse/ClickHouse/pull/29738
16ad5953d690036f25dae3c91044abb4e267eb64
4ec7311d4d4ee739d28db451bdc7a21cf424c003
2021-10-04T04:22:38Z
c++
2021-10-07T07:21:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,698
["src/DataTypes/EnumValues.h", "src/Interpreters/Aggregator.h", "src/Storages/AlterCommands.cpp", "src/Storages/ConstraintsDescription.h", "src/Storages/IndicesDescription.cpp", "src/Storages/IndicesDescription.h", "tests/queries/0_stateless/02225_hints_for_indeices.reference", "tests/queries/0_stateless/02225_hints_fo...
Name hints should work for data skipping indices.
**Use case** ``` Received exception from server (version 21.11.1): Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Wrong index name. Cannot find index `test_pentagram` to drop.. (BAD_ARGUMENTS) github-explorer.ru-central1.internal :) ALTER TABLE hackernews DROP INDEX text_pentagram ``` ...
https://github.com/ClickHouse/ClickHouse/issues/29698
https://github.com/ClickHouse/ClickHouse/pull/34764
5ac8cdbc69c12ab1d95efefbc3c432ee319f4107
065305ab65d2733fea463e863eeabb19be0b1c82
2021-10-04T04:08:52Z
c++
2022-02-21T13:50:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,695
["src/Parsers/ASTAlterQuery.cpp", "tests/queries/0_stateless/01318_alter_add_constraint_format.reference", "tests/queries/0_stateless/02048_alter_command_format.reference", "tests/queries/0_stateless/02048_alter_command_format.sh"]
Strange formatting of ALTER query
**Describe the issue** ``` github-explorer.ru-central1.internal :) ALTER TABLE hackernews MODIFY COLUMN text CODEC(ZSTD), MODIFY COLUMN title CODEC(ZSTD), MODIFY COLUMN url CODEC(ZSTD) ALTER TABLE hackernews MODIFY COLUMN `text` CODEC(ZSTD), MODIFY COLUMN `title` CODEC(ZSTD), MODIFY COLUMN `url` COD...
https://github.com/ClickHouse/ClickHouse/issues/29695
https://github.com/ClickHouse/ClickHouse/pull/29916
6a0ee3d23ed5710574d134eb76a6989c112c438f
5802037f1ea35aa2f5c83df3eeb6030cea9f3d74
2021-10-04T03:47:10Z
c++
2021-10-14T11:30:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,671
["src/Storages/StorageURL.cpp", "tests/integration/test_redirect_url_storage/test.py", "tests/queries/0_stateless/02044_url_glob_parallel.reference", "tests/queries/0_stateless/02044_url_glob_parallel.sh"]
`EXPLAIN` does not work as expected for a query with `url` table function
It performs unneeded requests: ``` EXPLAIN SELECT * FROM url('https://hacker-news.firebaseio.com/v0/item/{1..100}.json', JSONEachRow, $$ id UInt32, deleted UInt8, type Enum('story' = 1, 'comment' = 2, 'poll' = 3, 'pollopt' = 4, 'job' = 5), by LowCardinality(String), time DateTime, text String, dead UInt8, parent UI...
https://github.com/ClickHouse/ClickHouse/issues/29671
https://github.com/ClickHouse/ClickHouse/pull/29673
1e1e3a6ad84b3c3f5da516cb255670563854e42a
5ab17d795fa32f65b5ad3e522a13127cd1d41590
2021-10-03T02:44:04Z
c++
2021-10-04T07:23:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,670
["src/Storages/StorageURL.cpp", "tests/integration/test_redirect_url_storage/test.py", "tests/queries/0_stateless/02044_url_glob_parallel.reference", "tests/queries/0_stateless/02044_url_glob_parallel.sh"]
`url` table function does not process globs in parallel
``` SELECT * FROM url('https://hacker-news.firebaseio.com/v0/item/{1..100}.json', JSONEachRow, $$ id UInt32, deleted UInt8, type Enum('story' = 1, 'comment' = 2, 'poll' = 3, 'pollopt' = 4, 'job' = 5), by LowCardinality(String), time DateTime, text String, dead UInt8, parent UInt32, poll UInt32, kids Array(U...
https://github.com/ClickHouse/ClickHouse/issues/29670
https://github.com/ClickHouse/ClickHouse/pull/29673
1e1e3a6ad84b3c3f5da516cb255670563854e42a
5ab17d795fa32f65b5ad3e522a13127cd1d41590
2021-10-03T02:24:41Z
c++
2021-10-04T07:23:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,621
["src/Interpreters/InterpreterInsertQuery.cpp", "tests/queries/0_stateless/01275_parallel_mv.reference", "tests/queries/0_stateless/01275_parallel_mv.sql"]
Parallel view processing no longer working
**Describe what's wrong** In master, `parallel_view_processing` doesn't have any effect and the MV are executed sequentially. **Does it reproduce on recent release?** Only master. Taken from parallel_mv.xml perf test: ```sql create table main_table (number UInt64) engine = MergeTree order by tuple();...
https://github.com/ClickHouse/ClickHouse/issues/29621
https://github.com/ClickHouse/ClickHouse/pull/29786
78e1db209f5527479a1947a2c3c441b56e00617e
4ab2e2745bec13e9c9888c343706dc9d46a7516a
2021-10-01T13:00:38Z
c++
2021-10-07T09:15:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,618
["src/Processors/Executors/ExecutingGraph.cpp", "src/Processors/Executors/ExecutingGraph.h"]
Hedged requests hang in rare cases
https://clickhouse-test-reports.s3.yandex.net/0/2517f70d7532fc6aca4428f8de54aeae8ab1bf7d/stress_test_(debug).html#fail1 ``` Found hung queries in processlist: Row 1: ────── is_initial_query: 1 user: default query_id: 76d2f16e-5dc9-42cb-895e-2dc8edbe1c08 address: ::...
https://github.com/ClickHouse/ClickHouse/issues/29618
https://github.com/ClickHouse/ClickHouse/pull/42874
bb507356ef33ae55f094cadfbd8ad78e7bff51b0
88033562cd3906537cdf60004479495ccedd3061
2021-10-01T12:04:46Z
c++
2022-11-08T09:52:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,616
["src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.h", "src/Storages/StorageReplicatedMergeTree.cpp"]
Temporary directory for merged part already exist
https://clickhouse-test-reports.s3.yandex.net/29602/5de80a057fad28ea6b847772b1b3c23fda17b7d8/functional_stateless_tests_(release,_wide_parts_enabled).html#fail1 ``` 2021-10-01 15:24:10 00993_system_parts_race_condition_drop_zookeeper: [ FAIL ] 457.50 sec. - having stderror: 2021-10-01 15:24:...
https://github.com/ClickHouse/ClickHouse/issues/29616
https://github.com/ClickHouse/ClickHouse/pull/32201
9867d75fecb48e82605fb8eeeea095ebd83062ce
25427719d40e521846187e68294f9141ed037327
2021-10-01T11:41:51Z
c++
2021-12-10T13:29:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,585
["tests/queries/0_stateless/02042_map_get_non_const_key.reference", "tests/queries/0_stateless/02042_map_get_non_const_key.sql"]
Map dynamic keys / map[x]
```sql SELECT map[x] FROM ( SELECT materialize('key') x, CAST((['key'], ['value']), 'Map(String, String)') AS map ) DB::Exception: Illegal column Const(Map(String, String)) of first argument of function arrayElement. (ILLEGAL_COLUMN) ``` Now I have to do ```sql SELECT mapVal...
https://github.com/ClickHouse/ClickHouse/issues/29585
https://github.com/ClickHouse/ClickHouse/pull/29636
b2f7b6fae87ac9ea6213331b8a0c989dd86b913b
94117f83adc0029983fe3cbdafb33aa1bc075114
2021-09-30T18:58:20Z
c++
2021-10-01T16:27:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,584
[".gitmodules", "contrib/boringssl", "contrib/boringssl-cmake/CMakeLists.txt"]
LetsEncrypt Root Certificate (DST_Root_CA_X3) expiration issue.
**Describe what's wrong** URL table function / engine and etc refuse to work after September 30, 2021 with certificates signed with lets encrypt. **Does it reproduce on recent release?** Yes. **How to reproduce** ClickHouse 21.10 ``` localdomain :) SELECT * FROM url('https://letsencrypt.org/', ...
https://github.com/ClickHouse/ClickHouse/issues/29584
https://github.com/ClickHouse/ClickHouse/pull/29998
50b54b37ca4f2f34ac73f9dce94bdfe758f138b0
9ffbb4848671cee0521895dc16c311659a1848c6
2021-09-30T18:34:57Z
c++
2021-10-15T21:46:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,580
["src/Core/ProtocolDefines.h", "src/Interpreters/ClientInfo.h", "src/Interpreters/InterpreterSelectQuery.cpp", "src/Server/TCPHandler.cpp", "tests/integration/test_backward_compatibility/test_aggregate_fixed_key.py"]
Multiple rows returned for the same `GROUP BY` key when mixing different ClickHouse versions (all pre v21.3 LTS and post v21.4, up to latest released 21.10)
The following integration test describes the issue more than enough. The test starts 3 nodes to cover all possible cases. * _root -> leaf_ * old server -> new server * new server -> old server * new server -> new server git bisecting leads to https://github.com/ClickHouse/ClickHouse/commit/64ea1f82989ad4555562...
https://github.com/ClickHouse/ClickHouse/issues/29580
https://github.com/ClickHouse/ClickHouse/pull/29735
36c3b1d5b1cb20f9c9401f12b902a818674a1f3c
b549bddc11081641ca5523308406a587c7fb5753
2021-09-30T17:27:33Z
c++
2021-10-26T13:31:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,541
["tests/queries/0_stateless/01081_PartialSortingTransform_full_column.sql"]
Block structure mismatch in function connect between ConvertingTransform and ReplicatedMergeTreeSink stream
https://clickhouse-test-reports.s3.yandex.net/0/70dc235287b3e0e93633ba9e7fc0ed17cdb29a02/functional_stateless_tests_(debug).html#fail1 (also there is double whitespace in the exception message) ``` 2021.09.29 23:46:57.810106 [ 18428 ] {e6fe5752-84da-4734-9015-efa636666d67} <Fatal> : Logical error: 'Block structu...
https://github.com/ClickHouse/ClickHouse/issues/29541
https://github.com/ClickHouse/ClickHouse/pull/46567
ee07f05224ed80002efce42938adb1c0c1751091
179957fd7c218cd3063cc1da7d44e88da55857c3
2021-09-29T16:39:38Z
c++
2023-02-20T02:36:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,468
["src/Core/MySQL/MySQLReplication.cpp"]
MaterializeMySQL Decimal bug
ClickHouse client version 21.8.4.51 (official build). I had a problem synchronizing Nullable(Decimal(20, 8)) using the MaterializeMySQL mysql data is 10929.00000000 but clickhouse data is -32771294956408.94967295 Can someone help me plz
https://github.com/ClickHouse/ClickHouse/issues/29468
https://github.com/ClickHouse/ClickHouse/pull/31990
fa298b089e9669a8ffb1aaf00d0fbfb922f40f06
9e034ee3a5af2914aac4fd9a39fd469286eb9b86
2021-09-28T08:02:03Z
c++
2021-12-01T16:18:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,456
["src/Databases/DatabaseLazy.cpp", "src/Databases/DatabaseOrdinary.cpp", "tests/queries/0_stateless/01015_database_bad_tables.reference", "tests/queries/0_stateless/01015_database_bad_tables.sh", "tests/queries/0_stateless/01015_database_bad_tables.sql"]
Server failed to restart.
After such successful queries: ```sql CREATE DATABASE testlazy ENGINE = Lazy(1); CREATE TABLE testlazy.`таблица_со_странным_названием` (a UInt64, b UInt64) ENGINE = Log; ``` Server failed to restart with error: ``` <Error> Application: filesystem error: in posix_stat: failed to determine attributes for the spe...
https://github.com/ClickHouse/ClickHouse/issues/29456
https://github.com/ClickHouse/ClickHouse/pull/29476
33f193fea97b8d2e51756b4233389d66942c88a1
be427555e58b032067a6d851c6143fadcb35e63d
2021-09-27T19:59:53Z
c++
2021-09-28T23:45:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,412
["tests/queries/0_stateless/02024_merge_regexp_assert.reference", "tests/queries/0_stateless/02024_merge_regexp_assert.sql"]
Flaky test 2024_merge_regexp_assert
Merge() tried to access database(from another test) that was deleted in process. We can rewrite test to not access other database names, but we can improve atomicity inside Merge() ``` 2021-09-27 11:23:16 2024_merge_regexp_assert: [ FAIL ] - return code: 81 2021-09-27 11...
https://github.com/ClickHouse/ClickHouse/issues/29412
https://github.com/ClickHouse/ClickHouse/pull/29461
d46dfd0ddd3207cab98a3c333ff4ddade99b75a8
c37932a0b7af38ea40731a9421a4d9625254b2f1
2021-09-27T10:28:31Z
c++
2021-09-28T21:57:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,403
["src/Interpreters/ExpressionJIT.cpp", "tests/queries/0_stateless/02036_jit_short_circuit.reference", "tests/queries/0_stateless/02036_jit_short_circuit.sql"]
Column Function is not a contiguous block of memory
**Describe what's wrong** An error occures when we are selecting data from a table with Kafka engine **How to reproduce** * Which ClickHouse server version to use Clickhouse 21.9.3.30 * `CREATE TABLE` statements for all tables involved CREATE TABLE kafka_fundevwh.QueueCheck ( `message` String ) EN...
https://github.com/ClickHouse/ClickHouse/issues/29403
https://github.com/ClickHouse/ClickHouse/pull/29574
754f7aafebaf7a6232b5efa1630d69f4179bcb6e
ad6d1433032759475343b5434db7c55a26361809
2021-09-27T08:30:12Z
c++
2021-10-01T18:18:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,386
["tests/queries/0_stateless/02506_date_time64_floating_point_negative_value.reference", "tests/queries/0_stateless/02506_date_time64_floating_point_negative_value.sql"]
Inaccurate type conversion between DateTime64 and Float/Decimal
It seems ClickHouse has trouble to convert float to DateTime64, regardless the value is positive or negative. I can reproduce the same issue on both 21.3 and 21.9. ```sql f4dd7c849ef6 :) select toDateTime64(1, 3) ┌──────toDateTime64(1, 3)─┐ │ 1970-01-01 00:00:01.000 │ └─────────────────────────┘ f4dd7c849ef6 ...
https://github.com/ClickHouse/ClickHouse/issues/29386
https://github.com/ClickHouse/ClickHouse/pull/44340
55131f7ae812e55aaf943a65599b4741e0f537c7
4e53ddb2e1e21124f760e37f84c4bbaf99340a85
2021-09-26T07:07:27Z
c++
2022-12-27T11:58:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,347
["src/Processors/Transforms/WindowTransform.cpp", "tests/queries/0_stateless/01591_window_functions.reference", "tests/queries/0_stateless/01591_window_functions.sql"]
Uninitialized memory in window function `nth_value`
Run under MSan: **Describe the bug** https://clickhouse-test-reports.s3.yandex.net/29341/2b2bec3679df7965af908ce3f1e8e17e39bd12fe/fuzzer_msan/report.html#fail1 **How to reproduce** ``` SELECT number, nth_value(number, '10') OVER w AS secondValue, nth_value(number, 2147483647) OVER w AS thirdValue FROM numbers(...
https://github.com/ClickHouse/ClickHouse/issues/29347
https://github.com/ClickHouse/ClickHouse/pull/29348
7eddf2664e83a5d877712de190cc4a4a906664ef
87d9506bb073c278383c9e02ed2b50e96cbdffef
2021-09-25T01:27:37Z
c++
2021-09-25T16:43:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,327
["src/Storages/StorageMergeTree.cpp"]
Flaky test 00975_move_partition_merge_tree
``` 2021-09-24 11:42:36 00975_move_partition_merge_tree: [ FAIL ] 5.16 sec. - result differs with reference: 2021-09-24 11:42:36 --- /usr/share/clickhouse-test/queries/0_stateless/00975_move_partition_merge_tree.reference 2021-09-24 10:24:23.000000000 +0200 2021-09-24 11:42:36...
https://github.com/ClickHouse/ClickHouse/issues/29327
https://github.com/ClickHouse/ClickHouse/pull/30717
d07d53f1b156bbfd8c39655194166bbfaf747284
ac4a9bcf23f36e76d145de72c84cb5c8570a6094
2021-09-24T11:00:33Z
c++
2021-10-27T15:19:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,248
["cmake/target.cmake", "contrib/boost", "contrib/grpc-cmake/protobuf_generate_grpc.cmake", "contrib/protobuf-cmake/CMakeLists.txt", "contrib/protobuf-cmake/protobuf_generate.cmake"]
aarch64 version doesn't support Parquet format
run select * from table1 format Parquet returned Unknown format Parquet x86 Linux version works
https://github.com/ClickHouse/ClickHouse/issues/29248
https://github.com/ClickHouse/ClickHouse/pull/30015
ed6088860ee818692ba32405b1cf17e4583a0aea
eb1748b8b4ac26c378ac11b9ba4c1a012ff3c189
2021-09-22T07:44:17Z
c++
2021-10-13T02:24:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,184
["src/Interpreters/AddDefaultDatabaseVisitor.h", "tests/queries/0_stateless/02041_test_fuzzy_alter.reference", "tests/queries/0_stateless/02041_test_fuzzy_alter.sql"]
Reference to nullptr in ALTER
**Describe the bug** https://clickhouse-test-reports.s3.yandex.net/29183/6cf8509ab5da4229b5b1f6b96ff1f162b213e271/fuzzer_ubsan/report.html#fail1 **How to reproduce** ``` ALTER TABLE alter_test MODIFY COLUMN `b` DateTime DEFAULT now(([NULL, NULL, NULL, [-2147483648], [NULL, NULL, NULL, NULL, NULL, NULL, NULL]] AND...
https://github.com/ClickHouse/ClickHouse/issues/29184
https://github.com/ClickHouse/ClickHouse/pull/29573
b29e877f269e84ae452c446e70b406a695863470
30220529b714d55aa2fc9bc9b45119077434c882
2021-09-20T01:26:48Z
c++
2021-10-01T09:44:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,154
["src/Common/Stopwatch.h"]
Timeout exceeded: elapsed 18446744073.709553 seconds
**Describe the unexpected behaviour** Recently, all of a sudden, I received such exceptions from different users with different queries that `Timeout exceeded: elapsed 18446744073.709553 seconds, maximum: 600` while these queries actually elapsed just about 100ms. Some fields from system.query_log: ``` ┌──────────e...
https://github.com/ClickHouse/ClickHouse/issues/29154
https://github.com/ClickHouse/ClickHouse/pull/49819
efc5e69aafbeda48b54a28a7bb4ab8db71077546
12be14b1952ea5596ba2c57ddc48cb0cbbfa27b0
2021-09-18T09:20:28Z
c++
2023-05-12T22:06:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,122
["src/Databases/DatabaseMemory.cpp"]
Liveview-related (?) sigabort
``` 2021.09.15 06:50:25.803691 [ 91216 ] {9c658a50-6425-4b3d-9704-8a12f812ac5a} <Debug> executeQuery: (from 7.146.10.231:59686, user: xxxxx_user) watch foo 2021.09.15 06:50:25.803844 [ 91216 ] {9c658a50-6425-4b3d-9704-8a12f812ac5a} <Trace> ContextAccess (xxxxx_user): Access granted: SELECT(StartTime, AvgMid, Volume, ...
https://github.com/ClickHouse/ClickHouse/issues/29122
https://github.com/ClickHouse/ClickHouse/pull/29216
0f8798106f376e3ebf5b2073da06c0003aa85fdb
e54bd40102beaab4e138d96be4002dc0478456bd
2021-09-17T09:17:01Z
c++
2021-09-21T17:12:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,072
["src/Disks/DiskLocal.cpp"]
Server allows invalid storage configuration when two disks use the same path
If you create configuration file with two disks and specify that disks use the same path, and then create a policy that uses one of these disks then restarting server works and it is possible to create tables, insert and select from them, but on the next restart the server will not start if there are any files on dis...
https://github.com/ClickHouse/ClickHouse/issues/29072
https://github.com/ClickHouse/ClickHouse/pull/33905
662ea9d0244f3b3e5012ce233906d4819011620f
289a51b61d636e9b2ac98dc912d4d1894cc31e2e
2021-09-16T11:19:23Z
c++
2022-01-26T14:38:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,052
["src/Interpreters/Context.cpp", "src/Storages/StorageReplicatedMergeTree.cpp", "tests/integration/test_replicated_merge_tree_with_auxiliary_zookeepers/test.py"]
Upgrade to 21.8 LTS fails with: Unknown auxiliary ZooKeeper name
**Describe the issue** ClickHouse is unable to start up after upgrading from 20.8 to 21.8. There is a replicated table with `:` in zk path and it couldn't be loaded with: `2021.09.15 03:49:58.435071 [ 633075 ] {} <Error> Application: DB::Exception: Unknown auxiliary ZooKeeper name '/test_prefix'. If it's requir...
https://github.com/ClickHouse/ClickHouse/issues/29052
https://github.com/ClickHouse/ClickHouse/pull/30822
44b5dd116192fe3778d2676ee2ab7fe588f4df4a
f50b2b651b58cbf6ca5814586c159db67e518406
2021-09-15T15:22:45Z
c++
2021-10-29T09:15:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
29,010
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/ExpressionAnalyzer.h", "src/Interpreters/InterpreterSelectQuery.cpp", "src/Interpreters/InterpreterSelectQuery.h", "src/Processors/QueryPlan/TotalsHavingStep.cpp", "src/Processors/QueryPlan/TotalsHavingStep.h", "src/Processors/Transforms/TotalsHavingTransfor...
Query using GROUP BY ROLLUP fails on Block structure mismatch when selected field name matches column name
**Describe what's wrong** Query with rollup using same selected field name as the name of underlying column reports structure mismatch **Does it reproduce on recent release?** yes **How to reproduce** `21.9.2.17` ```sql CREATE TABLE test ( `d` DateTime, `a` LowCardinality(String), `b`...
https://github.com/ClickHouse/ClickHouse/issues/29010
https://github.com/ClickHouse/ClickHouse/pull/29475
8d8559090097126348e8b4433db8c53886a8bba6
14be2f31f54faba38918b95697f1d5e385817654
2021-09-14T11:00:30Z
c++
2021-09-29T10:03:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,967
["src/Common/StringUtils/StringUtils.h", "src/Parsers/ExpressionElementParsers.cpp", "src/Parsers/Lexer.cpp", "tests/queries/0_stateless/02493_inconsistent_hex_and_binary_number.expect", "tests/queries/0_stateless/02493_inconsistent_hex_and_binary_number.reference", "tests/queries/0_stateless/02493_numeric_literals_wit...
Should we support numeric literals in form of 1_000_000? (with underscore separator of groups).
Pros: - it is convenient to type and read numbers this way; - Ada, Perl, C++, Go and Rust already support that; - can support thousands as well as lakhs and crores; Cons: - standard SQL does not have this support; - PostgreSQL treat `SELECT 1_000_000` as number one with `_000_000` alias: http://sqlfiddle.com/#!...
https://github.com/ClickHouse/ClickHouse/issues/28967
https://github.com/ClickHouse/ClickHouse/pull/43925
3ae9f121d966a2900e610b72c34bf7ae9317b1d0
ef455904132829089bf58fd79af88280b15ee7f2
2021-09-13T09:38:54Z
c++
2022-12-13T11:37:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,884
["src/Columns/MaskOperations.cpp", "src/Core/Settings.h", "tests/queries/0_stateless/01822_short_circuit.reference", "tests/queries/0_stateless/01822_short_circuit.sql"]
Regression in `LowCardinality` about some mask.
ERROR: type should be string, got "https://gh-api.clickhouse.tech/play?user=play#U0VMRUNUIHRvU3RhcnRPZk1vbnRoKGNyZWF0ZWRfYXQpIEFTIGRhdGUsIGNvdW50KCksIHVuaXEoYWN0b3JfbG9naW4pIEFTIHUsIGJhcih1LCAwLCAxMDAwLCAxMDApIEZST00gZ2l0aHViX2V2ZW50cyAKV0hFUkUgcmVwb19uYW1lIElOICgneWFuZGV4L0NsaWNrSG91c2UnLCAnQ2xpY2tIb3VzZS9DbGlja0hvdXNlJykgCiAgQU5EIGV2ZW50X3R5cGUgPSAnSXNzdWVDb21tZW50RXZlbnQnCiAgQU5EIGFjdG9yX2xvZ2luIE5PVCBMSUtFICdyb2JvdC0lJyBBTkQgYWN0b3JfbG9naW4gTk9UIExJS0UgJyVbYm90XScKR1JPVVAgQlkgZGF0ZSBPUkRFUiBCWSBkYXRl\r\n\r\n```\r\nSELECT toStartOfMonth(created_at) AS date, count(), uniq(actor_login) AS u, bar(u, 0, 1000, 100) FROM github_events \r\nWHERE repo_name IN ('yandex/ClickHouse', 'ClickHouse/ClickHouse') \r\n AND event_type = 'IssueCommentEvent'\r\n AND actor_login NOT LIKE 'robot-%' AND actor_login NOT LIKE '%[bot]'\r\nGROUP BY date ORDER BY date\r\n```\r\n\r\n```\r\nCode: 44. DB::Exception: Cannot convert column ColumnLowCardinality to mask.: while executing 'FUNCTION and(notLike(actor_login, 'robot-%') :: 3, notLike(actor_login, '%[bot]') :: 1) -> and(notLike(actor_login, 'robot-%'), notLike(actor_login, '%[bot]')) UInt8 : 2': While executing MergeTreeThread. (ILLEGAL_COLUMN) (version 21.11.1.8052 (official build))\r\n```"
https://github.com/ClickHouse/ClickHouse/issues/28884
https://github.com/ClickHouse/ClickHouse/pull/28887
294f4c897b16d342f86ba0d63bd95d1ab2c2bb87
1616a0e2308d1ae16b3fa8e95934c27dbb85e66d
2021-09-11T07:19:42Z
c++
2021-09-12T06:06:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,862
["src/Storages/MergeTree/MergeTreeReaderCompact.cpp", "tests/queries/0_stateless/02025_subcolumns_compact_parts.reference", "tests/queries/0_stateless/02025_subcolumns_compact_parts.sql"]
Invalid number of rows in Chunk column UInt8 position 0:
**Describe what's wrong** Null sub column doesn't work. **Does it reproduce on recent release?** Yes. **How to reproduce** Clickhouse version 21.8.5.7 Compact part. Nullable(String) column All values in that column are non nullable ``` SELECT some_column_name.`null` FROM default.xxx_test_4 L...
https://github.com/ClickHouse/ClickHouse/issues/28862
https://github.com/ClickHouse/ClickHouse/pull/28873
f066edc43cfe1f74f6b0a744add260cbd96e88d1
cdcfdbec7e703aa8d14069f874635357797d9410
2021-09-10T14:30:49Z
c++
2021-09-12T12:54:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,852
["src/Interpreters/AsynchronousMetrics.cpp", "src/Storages/StorageS3Cluster.cpp"]
AsynchronousMetrics::update writes to log about "No data available". (CANNOT_READ_FROM_FILE_DESCRIPTOR)
Happening from time to time on my laptop (dozens of records per day): ``` 2021.09.09 22:10:54.047840 [ 62690 ] {} <Error> void DB::AsynchronousMetrics::update(std::chrono::system_clock::time_point): Code: 74. DB::ErrnoException: Cannot read from file /sys/class/thermal/thermal_zone9/temp, errno: 61, strerror: No da...
https://github.com/ClickHouse/ClickHouse/issues/28852
https://github.com/ClickHouse/ClickHouse/pull/28882
aef6112af47fc34111a3f3b0bdfb99aa66b1beda
48e8e2455203d6105cf1a6c84ceed267300e57a5
2021-09-10T09:27:18Z
c++
2021-09-11T08:36:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,810
["src/Interpreters/executeQuery.cpp", "tests/queries/0_stateless/02028_create_select_settings.reference", "tests/queries/0_stateless/02028_create_select_settings.sql"]
Query setting `max_memory_usage` doesn't work for `CREATE TABLE ... as SELECT ...`
ClickHouse v.21.7.7.47 setting max_memory_usage doesnt work for 'create table .. as' queries for example: **this query works** `create table test_table engine MergeTree order by a as select a_table.a, b_table.b_arr from (select arrayJoin(range(10000)) as a) a_table cross join (select range(10000) as...
https://github.com/ClickHouse/ClickHouse/issues/28810
https://github.com/ClickHouse/ClickHouse/pull/28962
2bf47bb0ba2c79294ad63f721f2c9948c4eab6d0
abe314feecd1647d7c2b952a25da7abf5c19f352
2021-09-09T14:34:35Z
c++
2021-09-13T19:14:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,768
["CHANGELOG.md"]
here document syntax make `$` as special char
**Describe the issue** here document syntax make `$` as as special char。if use `$` as column name prefix, may cause parse problem。 **How to reproduce** * Which ClickHouse server versions are incompatible v21.9 * Queries to run that lead to unexpected result ` select '1' as $doc union all select '2' as $d...
https://github.com/ClickHouse/ClickHouse/issues/28768
https://github.com/ClickHouse/ClickHouse/pull/29530
0c33f1121bd00e718d63764418a8a8a9059252b9
50913951e3c311333db310fb555fce080af7e8cb
2021-09-09T03:22:04Z
c++
2021-09-29T12:57:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,720
["src/Functions/array/arrayElement.cpp", "tests/queries/0_stateless/02383_array_signed_const_positive_index.reference", "tests/queries/0_stateless/02383_array_signed_const_positive_index.sql"]
Different behavior when working with arrays
``` SELECT version() ─version()─┐ │ 21.8.5.7 │ └───────────┘ ``` We have a request, as a result of which we get an array. When getting an item using a computed value, there is no value ``` SELECT arrayMap(x -> x, [[1], [2], [3]]) AS x, toTypeName(x), x[3 - 2] AS y, x[toInt64(1)] AS yy, ...
https://github.com/ClickHouse/ClickHouse/issues/28720
https://github.com/ClickHouse/ClickHouse/pull/40185
22c53e7f7bdaff8a0d5d5453a6cdeb4d5dbfc406
1ea751eb7b691bdc41e1a4fe1ccc74d1deece588
2021-09-08T06:38:01Z
c++
2022-08-13T19:39:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,661
["src/Functions/MatchImpl.h", "tests/queries/0_stateless/02045_like_function.reference", "tests/queries/0_stateless/02045_like_function.sql"]
Issue with LIKE matching
``` SELECT version(); ┌─version()────┐ │ 21.10.1.8002 │ └──────────────┘ WITH lower('\RealVNC\WinVNC4 /v password') as CommandLine SELECT CommandLine, CommandLine LIKE '%\\\\realvnc\\\\winvnc4%password%' as t1, CommandLine LIKE '%\\\\realvnc\\\\winvnc4 %password%' as t2, CommandLine LIKE ...
https://github.com/ClickHouse/ClickHouse/issues/28661
https://github.com/ClickHouse/ClickHouse/pull/30244
b87c819c104398012e3ef02c049103ab65a55125
377b937aa52b0c163e70357cad2a35838df72335
2021-09-06T15:36:24Z
c++
2021-10-25T13:35:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,581
["src/Interpreters/LogicalExpressionsOptimizer.cpp", "tests/queries/0_stateless/02023_transform_or_to_in.reference", "tests/queries/0_stateless/02023_transform_or_to_in.sql"]
Generated IN clause tuple not compatible in distributed queries
Version 21.8.3 With `legacy_column_name_of_tuple_literal` set to 0, this query succeeds: ``` SELECT countIf(chi_count, video_level IN ('Video_3', 'Video_4', 'Video_5', 'Video_6', ' Video_7', 'Video_8', 'Video_9')) AS LBR FROM comcast_xcr_maple.atsec_cdvr_1m WHERE datetime > (now() - 300) ``` This query fa...
https://github.com/ClickHouse/ClickHouse/issues/28581
https://github.com/ClickHouse/ClickHouse/pull/28658
3b9dae8718d1df8f35496e0cd485660f0ee5ee05
5d33baab5faa1a135684b30413e9f6d291b60107
2021-09-03T15:52:30Z
c++
2021-09-08T10:26:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,535
["docs/en/sql-reference/functions/bit-functions.md", "src/Functions/bitSlice.cpp", "src/Functions/registerFunctionsArithmetic.cpp", "tests/queries/0_stateless/02154_bit_slice_for_fixedstring.reference", "tests/queries/0_stateless/02154_bit_slice_for_fixedstring.sql", "tests/queries/0_stateless/02154_bit_slice_for_strin...
`bitSlice` function
**Use case** #8922 **Describe the solution you'd like** `bitSlice(s, offset, length)` s is FixedString or String the return value has String data type. Offset starts from 1 for consistency with `substring` and `arraySlice`.
https://github.com/ClickHouse/ClickHouse/issues/28535
https://github.com/ClickHouse/ClickHouse/pull/33360
f644602ec8a9a30f8ebd05d13ed0389e1525171d
7156e64ee26095b9c88b848ddf30c7fbc66b7b7f
2021-09-02T22:48:26Z
c++
2022-01-20T13:20:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,525
["src/Functions/FunctionsExternalDictionaries.h", "tests/queries/0_stateless/2014_dict_get_nullable_key.reference", "tests/queries/0_stateless/2014_dict_get_nullable_key.sql"]
dictGet nullable argument stopped working
``` CREATE TABLE dictionary_nullable_source_table( id UInt64, value Int64) ENGINE=TinyLog; INSERT INTO dictionary_nullable_source_table VALUES (0, 0); DROP DICTIONARY IF EXISTS flat_dictionary; CREATE DICTIONARY flat_dictionary ( id UInt64, value Int64 ) PRIMARY KEY id SOURCE(CLICKHOUSE(HOST 'localhost' PO...
https://github.com/ClickHouse/ClickHouse/issues/28525
https://github.com/ClickHouse/ClickHouse/pull/28530
04b26d26bfd974a4d25528af5249d9844a88b7c7
f076cc69b4bb4b4eacd38b6eca992d7021b63e3e
2021-09-02T13:48:19Z
c++
2021-09-04T10:29:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,520
["docs/en/sql-reference/functions/string-replace-functions.md", "docs/ru/sql-reference/functions/string-replace-functions.md", "src/Functions/registerFunctionsStringRegexp.cpp", "src/Functions/translate.cpp", "tests/queries/0_stateless/02353_translate.reference", "tests/queries/0_stateless/02353_translate.sql"]
a function like translate function of oracle
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions196.htm eg. SELECT TRANSLATE('SQL*Plus User''s Guide', ' */''', '___') ; returns SQL_Plus_Users_Guide the characters arguments maybe utf8, so TRANSLATE('哈哈(吗)', ' ()', '【】) returns 哈哈【吗】 my ugly sql: SELECT arrayStringConcat( arrayMa...
https://github.com/ClickHouse/ClickHouse/issues/28520
https://github.com/ClickHouse/ClickHouse/pull/38935
812143c76ba0ef50041f16c98c5c5c05c6fd4292
cfe7413678e1cbaf7e4af8e150e578b7b536db6e
2021-09-02T12:07:09Z
c++
2022-07-14T00:31:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,515
["src/Storages/MergeTree/ReplicatedMergeTreeTableMetadata.cpp", "tests/queries/0_stateless/01526_alter_add_and_modify_order_zookeeper.reference", "tests/queries/0_stateless/01526_alter_add_and_modify_order_zookeeper.sql"]
Server fails after restarting: Existing table metadata in ZooKeeper differs in sorting key expression.
How to reproduce (this is the part of 01526_alter_add_and_modify_order_zookeeper test): ```sql CREATE TABLE table_for_alter ( `d` Date, `a` String, `b` UInt8, `x` String, `y` Int8, `version` UInt64, `sign` Int8 DEFAULT 1 ) ENGINE = ReplicatedVersionedCollapsingMergeTree('/click...
https://github.com/ClickHouse/ClickHouse/issues/28515
https://github.com/ClickHouse/ClickHouse/pull/28528
027c5312438546b555acf720cf815a3b315cb48b
189452443880dfe153980bde277fa73d0a727ede
2021-09-02T10:41:55Z
c++
2021-09-03T07:13:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,505
["cmake/find/zlib.cmake", "src/IO/ZlibDeflatingWriteBuffer.h", "src/IO/ZlibInflatingReadBuffer.h", "src/IO/examples/zlib_ng_bug.cpp"]
Data race in `ParallelFormattingOutputFormat`
https://clickhouse-test-reports.s3.yandex.net/28373/fed00a8f7698fae8b4294b6b4ff04d3f064bdace/functional_stateless_tests_(thread).html ``` ================== WARNING: ThreadSanitizer: data race (pid=380) Read of size 8 at 0x00001bb9fc60 by thread T328: #0 deflate_fast obj-x86_64-linux-gnu/../contrib/zlib-ng/d...
https://github.com/ClickHouse/ClickHouse/issues/28505
https://github.com/ClickHouse/ClickHouse/pull/28534
7ddbadeeb37fe1635a0be93f6bc9e120012b5b41
7929ee4d9b0b8c8c01570cf377fd30ea81b6da7e
2021-09-02T08:15:39Z
c++
2021-09-03T12:00:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,381
["src/Functions/date_trunc.cpp", "tests/queries/0_stateless/00189_time_zones_long.reference", "tests/queries/0_stateless/00921_datetime64_compatibility_long.reference"]
date_trunc with 'month' as first parameter returns Date instead of DateTime
Reading the related issue, I understand that ClickHouse's `date_trunc()` was modelled after Postgres's `DATE_TRUNC()`. However, while Postgres returns `DateTime` for every unit, ClickHouse returns `Date` for any unit larger than `day`. The documentation doesn't include this behavior, but says that the only return type ...
https://github.com/ClickHouse/ClickHouse/issues/28381
https://github.com/ClickHouse/ClickHouse/pull/48851
98a88bef7acff34c1e027673cd208c16a4a53102
2aa8619534eb270feb2d0fea27fdb8cc6b8d3703
2021-08-30T22:02:49Z
c++
2023-05-02T14:43:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,322
["docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-layout.md"]
RangeHashedDictionary does not support integer values outside of Int64
> You have to provide the following information whenever possible. ``` CREATE DICTIONARY analytics.all_ipv6s_lower ( id UInt64, start_addr UInt64, end_addr UInt64, subnet_mask String, isp String, province String ) PRIMARY KEY id SOURCE(FILE(path '/var/lib/clickhouse/user_files/all_i...
https://github.com/ClickHouse/ClickHouse/issues/28322
https://github.com/ClickHouse/ClickHouse/pull/29038
6ef3e9e57e738e1eb544877e95b682e67fe295e5
fb9da614ed29fb4d71f1f9b8ed4f2132935a06e3
2021-08-30T06:59:49Z
c++
2021-09-15T21:23:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,280
["tests/queries/0_stateless/02129_add_column_add_ttl.reference", "tests/queries/0_stateless/02129_add_column_add_ttl.sql"]
alter table add column + TTL on this column == Not found column .. in block
``` create table ttl_test(a Int64, b String, d Date)Engine=MergeTree partition by d order by a; insert into ttl_test select number, '', today() from numbers(1000); alter table ttl_test add column c Int64; insert into ttl_test select number, '', today(), 0 from numbers(1000); alter table ttl_test modify TTL (d ...
https://github.com/ClickHouse/ClickHouse/issues/28280
https://github.com/ClickHouse/ClickHouse/pull/32235
66e1fb7adad8ce28af4c9cf126f704bdefafa746
2f620fb6ac410eb819eb1fe3eb2637fdac52824d
2021-08-27T19:27:21Z
c++
2021-12-13T13:59:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,198
["src/Storages/StorageMerge.cpp", "tests/queries/0_stateless/02014_storage_merge_order_by.reference", "tests/queries/0_stateless/02014_storage_merge_order_by.sql"]
ORDER BY does not work as expected with Merge engine
I have two tables something like the following (ClickHouse server version 20.8.7 revision 54438): ``` CREATE TABLE short (e UUID, t DateTime, ...24 additional columns...) ENGINE = MergeTree PARTITION BY e ORDER BY t TTL t + toIntervalDay(7) CREATE TABLE long (e UUID, t DateTime, ...24 additional columns...) ENGINE...
https://github.com/ClickHouse/ClickHouse/issues/28198
https://github.com/ClickHouse/ClickHouse/pull/28266
37b66dc70a883752a70e99be9b0faa50ed84f81b
4eef445df919f84f27832a961042a53b3961b3e9
2021-08-26T16:13:18Z
c++
2021-08-27T22:15:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,177
["src/Common/TLDListsHolder.cpp", "tests/config/config.d/top_level_domains_lists.xml", "tests/config/top_level_domains/no_new_line_list.dat", "tests/queries/0_stateless/01601_custom_tld.reference", "tests/queries/0_stateless/01601_custom_tld.sql"]
Parsing of TLD list not ending with a newline fails
Not a big deal, but after bad1f91f280567da18cd461287570220b0255c4b parsing of TLD list not ending with a newline raises basic_string and terminates the server
https://github.com/ClickHouse/ClickHouse/issues/28177
https://github.com/ClickHouse/ClickHouse/pull/28213
b1d4967b88890f57a98d5be09bf0adc44a2dd90e
cdfdb2cd7520b6981c36743bbffe1451c81de2b5
2021-08-26T09:34:28Z
c++
2021-08-27T07:57:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,018
["cmake/target.cmake", "contrib/boost", "contrib/grpc-cmake/protobuf_generate_grpc.cmake", "contrib/protobuf-cmake/CMakeLists.txt", "contrib/protobuf-cmake/protobuf_generate.cmake"]
Protobuf missing in Aarch64 prebuilt binary
**Describe the bug** When using the provided Clickhouse Aarch64 binary (https://builds.clickhouse.tech/master/aarch64/clickhouse), support for Protocol Buffers is not compiled in. 1. Precompiled [aarch64 binary](https://builds.clickhouse.tech/master/aarch64/clickhouse), the string `protobuf` is on 61 lines: ...
https://github.com/ClickHouse/ClickHouse/issues/28018
https://github.com/ClickHouse/ClickHouse/pull/30015
ed6088860ee818692ba32405b1cf17e4583a0aea
eb1748b8b4ac26c378ac11b9ba4c1a012ff3c189
2021-08-23T09:22:03Z
c++
2021-10-13T02:24:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
28,001
["src/Processors/Transforms/WindowTransform.cpp", "src/Processors/Transforms/WindowTransform.h", "tests/queries/0_stateless/01591_window_functions.reference", "tests/queries/0_stateless/01591_window_functions.sql"]
Window functions: signed integer overflow.
https://clickhouse-test-reports.s3.yandex.net/0/624cb43f7f85b576dc2831e20623a5cf5b878792/fuzzer_ubsan/report.html ``` SELECT max(intDiv(1048575, NULL)) OVER (ORDER BY mod(number, 1024) DESC NULLS LAST RANGE BETWEEN 1 PRECEDING AND CURRENT ROW), 0, number, nth_value(toNullable(number), -9223372036854775808) OVER w A...
https://github.com/ClickHouse/ClickHouse/issues/28001
https://github.com/ClickHouse/ClickHouse/pull/28773
60f76d9254c265e9ae4d46b18e0ce08b6df16717
aa5c42b7dbc2c451e85a8cb7f798a436424ea5b5
2021-08-22T22:38:59Z
c++
2021-09-12T12:57:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,861
["src/Dictionaries/getDictionaryConfigurationFromAST.cpp", "tests/queries/0_stateless/02716_create_direct_dict_with_lifetime_crash.reference", "tests/queries/0_stateless/02716_create_direct_dict_with_lifetime_crash.sql"]
It's possible to create direct dictionary with LIFETIME, but not use it.
**Describe the issue** You can create direct dictionary with lifetime trait and clickhouse wouldn't complain, but it would throw exception if you would try to use this dictionary. **How to reproduce** Clickhouse version 21.9 ``` CREATE TABLE dict_source (key UInt64, value String) ENGINE=MergeTree ORDER BY key...
https://github.com/ClickHouse/ClickHouse/issues/27861
https://github.com/ClickHouse/ClickHouse/pull/49043
180562adfb67aea4800393b82f0ef2a221ba014c
b2b6720737c5220e15a1ea43d38db4310d8d7eb6
2021-08-19T11:28:46Z
c++
2023-09-30T04:54:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,832
["src/Interpreters/Context.cpp", "src/Storages/StorageDistributed.cpp", "src/Storages/StorageDistributed.h", "tests/queries/0_stateless/00987_distributed_stack_overflow.sql", "tests/queries/0_stateless/01763_max_distributed_depth.sql"]
DDL creation of a distributed table with empty cluster '' returns exception but with wrong table created, restart will fail.
When I tried to create a distributed table with empty cluster '', the create statement failed with exception "Code: 170. DB::Exception: Received from localhost:9000. DB::Exception: Requested cluster '' not found.". However, show tables can see the WRONG table. Later when CH restarted, unable to start due to unable to ...
https://github.com/ClickHouse/ClickHouse/issues/27832
https://github.com/ClickHouse/ClickHouse/pull/27927
adc63ce27938268a2885f967d5f5edaf40064ea2
5ac6a995429e13c50510e797dd9de158f8b8a2b3
2021-08-19T04:26:59Z
c++
2021-08-21T07:40:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,800
["base/common/arithmeticOverflow.h", "src/IO/ReadHelpers.h", "tests/queries/0_stateless/2020_cast_integer_overflow.reference", "tests/queries/0_stateless/2020_cast_integer_overflow.sql"]
toInt32OrNull('-2147483648') unexpectedly returns NULL
**Describe the bug** -2147483648 is the minimum integer representable with Int32, but ``toInt32OrNull('-2147483648')`` returns ``NULL``. On the other hand ``toInt32('-2147483648')`` correctly returns ``-2147483648``. **Does it reproduce on recent release?** Yes. It happens on 21.7.5.29-stable **How to repro...
https://github.com/ClickHouse/ClickHouse/issues/27800
https://github.com/ClickHouse/ClickHouse/pull/29063
333fd323f51d65a93a9aeea52f3be23873aaa008
14e4d4960182e3884c20c43fb8226b0f8444b0fd
2021-08-18T02:29:08Z
c++
2021-09-17T13:06:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,784
["src/Dictionaries/RedisDictionarySource.cpp", "src/Dictionaries/RedisDictionarySource.h", "src/Dictionaries/RedisSource.cpp", "src/Dictionaries/RedisSource.h", "tests/integration/test_dictionaries_redis/test_long.py"]
ClickHouse is stuck when using a dictionary with Redis as the data source
I have a table with one million rows of data. And It's schema is like: ``` create table redis_dictionary_test ( date String, id String, value Int64 ) engine = MergeTree() partition by date order by id settings index_granularity = 8192; ``` I also inserted one million key-value pairs into Redis. The d...
https://github.com/ClickHouse/ClickHouse/issues/27784
https://github.com/ClickHouse/ClickHouse/pull/33804
1fd79e732be2efeb8bf8a93f542cf8a0b31c5db5
548a7bccee6c5188c062c3945ded1d3967a51eec
2021-08-17T10:53:01Z
c++
2022-01-21T10:40:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,745
["src/AggregateFunctions/AggregateFunctionQuantile.cpp", "src/AggregateFunctions/AggregateFunctionQuantile.h", "tests/queries/0_stateless/00753_quantile_format.reference", "tests/queries/0_stateless/00753_quantile_format.sql"]
Unknown function quantileBFloat16Weighted
Looks like bfloat16 quantiles don't provide a way to specify the weight: ```sql SELECT quantileBFloat16Weighted(0.5)(number, number) FROM numbers(100) Received exception from server (version 21.8.3): Code: 46. DB::Exception: Received from localhost:9000. DB::Exception: Unknown function quantileBFloat16Weighted...
https://github.com/ClickHouse/ClickHouse/issues/27745
https://github.com/ClickHouse/ClickHouse/pull/27758
bce6d092ea9bc205477cd5cb6548d49e0cacca46
a461f30d1accd89b887bf9588247f87dd2d1a0b4
2021-08-16T12:57:17Z
c++
2021-08-23T10:16:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,705
["base/glibc-compatibility/CMakeLists.txt", "cmake/add_warning.cmake"]
build failed using clang-13 with error: variable 'y' set but not used [-Werror,-Wunused-but-set-variable]
**Operating system** ``` semin-serg@semin-serg-ub:~/ClickHouse$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS" ``` **Cmake version** ``` semin-serg@semin-serg-ub:~/ClickHouse$ cmake --version cmake version 3.16.3 CMake su...
https://github.com/ClickHouse/ClickHouse/issues/27705
https://github.com/ClickHouse/ClickHouse/pull/27714
5c56d3a7344615921b952f388caa779b0f245e22
c4a14ffca214dd876cedab8d0ec80046cc5ad006
2021-08-15T18:03:47Z
c++
2021-08-16T06:28:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,691
["src/Interpreters/join_common.cpp", "src/Processors/Transforms/JoiningTransform.cpp", "tests/queries/0_stateless/00445_join_nullable_keys.reference", "tests/queries/0_stateless/00445_join_nullable_keys.sql", "tests/queries/0_stateless/01142_join_lc_and_nullable_in_key.reference", "tests/queries/0_stateless/01142_join_...
Logical error: 'ColumnUnique can't contain null values.'
#27685
https://github.com/ClickHouse/ClickHouse/issues/27691
https://github.com/ClickHouse/ClickHouse/pull/28349
8a269d64d2c426c867f3c4917f92a47ddd434fe4
94d5f3a87bab5ac7be64c84fd04ee9d0d00ee6e9
2021-08-15T10:44:38Z
c++
2021-08-31T14:09:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,687
["src/Common/DenseHashMap.h", "src/Common/DenseHashSet.h", "src/Common/SparseHashMap.h", "src/Core/NamesAndTypes.cpp", "src/Storages/MergeTree/IMergeTreeReader.cpp", "src/Storages/MergeTree/IMergeTreeReader.h", "src/Storages/StorageInMemoryMetadata.cpp"]
Remove google::dense_hash
As discussed with @kitaisreal
https://github.com/ClickHouse/ClickHouse/issues/27687
https://github.com/ClickHouse/ClickHouse/pull/27690
88f75375def220ffcd8ae1899e9a7a7133c9bcff
76b050248274afcc6c0119f060eb00c06edfd297
2021-08-15T08:47:31Z
c++
2021-08-15T23:39:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,679
["src/Parsers/ExpressionElementParsers.cpp", "src/Parsers/ExpressionListParsers.cpp", "tests/queries/0_stateless/01852_cast_operator_3.reference", "tests/queries/0_stateless/01852_cast_operator_3.sql", "tests/queries/0_stateless/01852_cast_operator_bad_cases.reference", "tests/queries/0_stateless/01852_cast_operator_ba...
PostgreSQL-style cast operator is not applicable for negative numeric literals, e.g. -1::INT
``` milovidov-desktop :) SELECT -1::INT Syntax error: failed at position 10 ('::') ```
https://github.com/ClickHouse/ClickHouse/issues/27679
https://github.com/ClickHouse/ClickHouse/pull/27876
273b8b9bc15496738f895292717f5515c4d945f5
74ebc5c75c6531b8d8e5d428bb1e3f52f9cc42be
2021-08-15T05:26:36Z
c++
2021-08-20T07:55:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,622
["src/Functions/array/arrayIntersect.cpp", "tests/queries/0_stateless/00556_array_intersect.reference"]
arrayIntersect output elements order
Doc. arrayIntersect(arr) _Takes multiple arrays, returns an array with elements that are present in all source arrays. Elements order in the resulting array is the same as in the first array._ ``` SELECT arrayIntersect(materialize([999, -11, 2, 3]), materialize([3, 2, 1, 999, -11])) ┌─arrayIntersect(material...
https://github.com/ClickHouse/ClickHouse/issues/27622
https://github.com/ClickHouse/ClickHouse/pull/51850
9e0d27dc4d4d7f01446364eb1f4746e347fe5705
3021f99f330691c324a1fdcf93e9303a60aa2ee7
2021-08-12T16:12:54Z
c++
2023-08-03T10:28:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,568
["contrib/croaring-cmake/CMakeLists.txt"]
[OSX] Server won't start
**Describe the bug** OSx crashes right at the start when running the server. **Does it reproduce on recent release?** Tested with the official master build and building with master too: **Error message and/or stacktrace** ```bash $ ./clickhouse server Processing configuration file 'config.xml'. There ...
https://github.com/ClickHouse/ClickHouse/issues/27568
https://github.com/ClickHouse/ClickHouse/pull/27681
8a843ae15f275694bf925a04ca8795c9a65e85f6
40f5e06a8d9b2074b5985a8042f3ebf9940c77f4
2021-08-11T13:31:33Z
c++
2021-08-15T08:46:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,511
["src/AggregateFunctions/AggregateFunctionExponentialMovingAverage.cpp", "src/AggregateFunctions/registerAggregateFunctions.cpp", "src/Common/ExponentiallySmoothedCounter.h", "tests/queries/0_stateless/2020_exponential_smoothing.reference", "tests/queries/0_stateless/2020_exponential_smoothing.sql", "tests/queries/0_st...
Exponentially smoothed moving average as aggregate function.
The function will take two arguments: value and time and also parameter - half-decay period. Example: `exponentialMovingAverage(300)(temperature, timestamp)` \- exponentially smoothed moving average of the temperature for the past five minutes at the latest point of time. The state of the aggregate function is c...
https://github.com/ClickHouse/ClickHouse/issues/27511
https://github.com/ClickHouse/ClickHouse/pull/28914
c6dd89147108543eff9cb116286fe72c670cbdc4
3203fa4c34ac66990393e846621c89352fd4ac42
2021-08-10T03:43:09Z
c++
2021-09-21T20:52:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,502
["src/Interpreters/MutationsInterpreter.cpp"]
DROP/MODIFY COLUMN for compact part memory usage for tables with thousands of columns.
If you have really wide table with many thousands of columns and you want to drop / modify column. For wide parts it working fine, but for compact clickhouse would try to allocate a lot of memory and going to be killed via OOM killer. **Does it reproduce on recent release?** Yes, 21.9 **How to reproduce**...
https://github.com/ClickHouse/ClickHouse/issues/27502
https://github.com/ClickHouse/ClickHouse/pull/41122
4d146b05a959e52c004df3ef5da986408d19adb4
19893804858350e30feebd30f6e8feb37dae741f
2021-08-09T21:50:22Z
c++
2022-09-13T12:10:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,469
["docs/en/sql-reference/aggregate-functions/parametric-functions.md", "src/AggregateFunctions/AggregateFunctionWindowFunnel.h", "tests/queries/0_stateless/00632_aggregation_window_funnel.reference", "tests/queries/0_stateless/00632_aggregation_window_funnel.sql"]
What is the precise definition of WindowFunnel's “strict” MODE?
According to my reading of the source code, it seems that strict = true, will return Event INDEX directly. such as the event sequence is `A->B->C->B->D` and conditional sequence is`A->B->C->D`, returns 2 (not 3 or 4) when searching the second B. But if the conditional sequence is`A->B->C`, it will return directly to ...
https://github.com/ClickHouse/ClickHouse/issues/27469
https://github.com/ClickHouse/ClickHouse/pull/27563
cfa571cac4748181188ef39ba4087e43312b7102
e49d0c45336179eeeae2ff7c623d1399e8b88fc0
2021-08-09T12:33:20Z
c++
2021-08-21T19:37:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,429
["docs/en/getting-started/example-datasets/index.md", "docs/en/getting-started/example-datasets/uk-price-paid.md"]
Example dataset: UK property price paid data
https://www.gov.uk/government/statistical-data-sets/price-paid-data-downloads The size is about 4 GiB uncompressed: http://prod.publicdata.landregistry.gov.uk.s3-website-eu-west-1.amazonaws.com/pp-complete.csv Redistribution is permitted with attribution. Description of the fields: https://www.gov.uk/guidance...
https://github.com/ClickHouse/ClickHouse/issues/27429
https://github.com/ClickHouse/ClickHouse/pull/27432
a5daf2d2c4efbb6545d6c8014b29dcdcb66509b5
9661dd9232804b7a3ff74b72f151a321fa2c7c1c
2021-08-08T17:47:18Z
c++
2021-08-08T20:31:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,229
["docs/en/sql-reference/functions/other-functions.md", "src/Functions/formatQuery.cpp", "tests/queries/0_stateless/02882_formatQuery.reference", "tests/queries/0_stateless/02882_formatQuery.sql", "utils/check-style/aspell-ignore/en/aspell-dict.txt"]
Compare queries with normalized formatting
**Use case** I want to compare two queries with same semantics, but different format. **Describe the solution you'd like** Function to normalize query format (like in `SHOW CREATE` statement) or get query hash after re-formatting. Or function to compare two queries. **Describe alternatives you've considered** ...
https://github.com/ClickHouse/ClickHouse/issues/27229
https://github.com/ClickHouse/ClickHouse/pull/55239
d2461671bd7363b20f4d3870a774663fcea2ceee
325ff33c3a4ae05810fc7a441a41f128f10a4e4e
2021-08-05T14:28:52Z
c++
2023-10-26T20:46:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,193
["base/common/DateLUTImpl.h", "tests/queries/0_stateless/02006_todatetime64_from_string.reference", "tests/queries/0_stateless/02006_todatetime64_from_string.sql"]
Wrong conversion with `toDateTime64` and timezone.
Reproduces on master. ``` SELECT toDateTime64('2021-03-22', 3, 'Asia/Tehran') Query id: 26f7c373-f473-4209-8976-6ada79a8627f ┌─toDateTime64('2021-03-22', 3, 'Asia/Tehran')─┐ │ 2157-04-28 06:28:16.000 │ └──────────────────────────────────────────────┘ ```
https://github.com/ClickHouse/ClickHouse/issues/27193
https://github.com/ClickHouse/ClickHouse/pull/27605
38159c85ac7be0841e82baf473433e7ff37cf16e
34682c98c78ff56418d370eb85e3940ae3740fb9
2021-08-04T18:35:27Z
c++
2021-08-12T10:32:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,179
["src/Storages/MergeTree/MergeTreeRangeReader.cpp", "tests/queries/0_stateless/02002_row_level_filter_bug.reference", "tests/queries/0_stateless/02002_row_level_filter_bug.sh", "tests/queries/skip_list.json"]
ROW POLICY: Inconsistent number of columns
```sql CREATE TABLE default.test_table ( `a` UInt16 DEFAULT 0, `c` LowCardinality(String) DEFAULT '', `t_date` LowCardinality(String) DEFAULT '', `ex` LowCardinality(String) DEFAULT '', `team` LowCardinality(String) DEFAULT '', `g` LowCardinality(String) DEFAULT '', ...
https://github.com/ClickHouse/ClickHouse/issues/27179
https://github.com/ClickHouse/ClickHouse/pull/27329
908505c12e4a18c9945e51861dea7d3efb537068
cedc5d06ad6a20076456d75c250890a6b3cdfa36
2021-08-04T13:07:16Z
c++
2021-08-09T10:19:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,169
["src/Functions/MultiSearchFirstIndexImpl.h", "src/Functions/MultiSearchFirstPositionImpl.h", "src/Functions/MultiSearchImpl.h", "tests/queries/0_stateless/00233_position_function_family.reference", "tests/queries/0_stateless/00233_position_function_family.sql"]
Msan on multiSearchFirstPositionCaseInsensitive (from 00746_sql_fuzzy.sh)
Reproduced on current master: ``` SELECT multiSearchFirstPositionCaseInsensitive('\0', enabledRoles()); ``` https://clickhouse-test-reports.s3.yandex.net/27078/cc0c3a90336f7527209e2be8d00089db8b9c2697/functional_stateless_tests_(memory).html Logs mirrored to: http://transfer.sh/1QoOQ3m/stderr.log htt...
https://github.com/ClickHouse/ClickHouse/issues/27169
https://github.com/ClickHouse/ClickHouse/pull/27181
c748c2de9c96e0a8a913d5b0b6e47b7f902818c7
e1927118cd1d020099bbd564a8b23cf4c5bc5c40
2021-08-04T08:14:10Z
c++
2021-08-06T18:10:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,138
["docs/en/operations/system-tables/replicas.md", "src/Storages/StorageReplicatedMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.h", "src/Storages/System/StorageSystemReplicas.cpp", "tests/integration/test_replica_is_active/__init__.py", "tests/integration/test_replica_is_active/test.py"]
List all replicas/inactive replicas names in system.replicas table
**Use case** Currently, `system.replicas` table has `total_replicas` and `active_replicas` columns which are useful to check/alert when some replicas are down. One problem, these columns are numbers. They tell when there is a problem, but you need to further check ZooKeeper or query all the nodes to detect what exac...
https://github.com/ClickHouse/ClickHouse/issues/27138
https://github.com/ClickHouse/ClickHouse/pull/27180
975e0a4d47bb66ec5d7467dd5f18b8cb1a653311
7fdf3cc263bce8fefe11262699be8413ccc240ee
2021-08-03T13:12:11Z
c++
2021-08-05T09:46:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,133
["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"]
GLIBC 2.32 / 2.33 / 2.34 compatibility
It would be nice if Clickhouse supported building in an enviornment with GLIBC 2.32+ like it supports older releases (pinning symbols). My usecase is that I'm building in a new machine (Archlinux with GLIBC 2.33) and that works great until I want to run the integration tests, which run under an old Ubuntu (20.04) wi...
https://github.com/ClickHouse/ClickHouse/issues/27133
https://github.com/ClickHouse/ClickHouse/pull/30011
4082c6c4e569249b209cc5f7b035b318bd3e0118
e1c2e629d8c077193f951cdb02fac9c0b1631c65
2021-08-03T11:40:08Z
c++
2021-11-25T02:27:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,114
["src/Storages/MergeTree/DataPartsExchange.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/MergeTreePartInfo.cpp", "src/Storages/MergeTree/MergeTreePartInfo.h", "tests/integration/test_partition/test.py"]
system.detached_parts is filled incorrectly
The only columns that show what they are supposed to are `database`, `table`, `name` and `disk`. The other columns borrow values from a neighbour. ``` ┌─table────────┬─partition_id─┬─name────────────────────────────────┬─disk────┬─reason─┬─min_block_number─┬─max_block_number─┬───level─┐ │ actions_log │ ignored ...
https://github.com/ClickHouse/ClickHouse/issues/27114
https://github.com/ClickHouse/ClickHouse/pull/27183
4f0dbae0f996e130ebbd09395e0bdb37eb7f2cdb
59a94bd3220e2710a44b675c4e54b55b3fb138f5
2021-08-02T23:01:18Z
c++
2021-08-05T15:21:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,091
["src/Interpreters/HashJoin.cpp", "src/Interpreters/MergeJoin.cpp", "src/Interpreters/join_common.cpp", "src/Interpreters/join_common.h", "tests/queries/0_stateless/01049_join_low_card_bug_long.reference", "tests/queries/0_stateless/01049_join_low_card_bug_long.sql", "tests/queries/0_stateless/01049_join_low_card_bug_l...
partial merge join: 'Bad cast from type DB::ColumnNullable to DB::ColumnString'
``` DROP TABLE IF EXISTS l; DROP TABLE IF EXISTS r; DROP TABLE IF EXISTS nl; DROP TABLE IF EXISTS nr; DROP TABLE IF EXISTS l_lc; DROP TABLE IF EXISTS r_lc; CREATE TABLE l (x UInt32, lc String) ENGINE = Memory; CREATE TABLE r (x UInt32, lc String) ENGINE = Memory; CREATE TABLE nl (x Nullable(UInt32), lc Nulla...
https://github.com/ClickHouse/ClickHouse/issues/27091
https://github.com/ClickHouse/ClickHouse/pull/27217
5a7fe51532626db6d217367d82c78a5d3642f16f
9cbc4b4f7fd7481202dee93fce59e320abb4e2e4
2021-08-02T13:15:15Z
c++
2021-08-09T06:53:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,073
["src/AggregateFunctions/AggregateFunctionFactory.cpp", "src/AggregateFunctions/AggregateFunctionIf.cpp", "tests/queries/0_stateless/02183_combinator_if.reference", "tests/queries/0_stateless/02183_combinator_if.sql"]
Invalid sumIf behavior with nullable arguments
**Describe the bug** `sumIf` returns incorrect results in some cases with Nullable arguments. **How to reproduce** * Which ClickHouse server version to use Latest master/arcadia version * Queries to run that lead to unexpected result ```sql :) select sumIf(toFloat64OrZero(b), a = 0) as r1, sumIf(cast(b a...
https://github.com/ClickHouse/ClickHouse/issues/27073
https://github.com/ClickHouse/ClickHouse/pull/33920
48c19e88a58adc33cb3d544c5c490a394c4e543d
6ee0b1897906ed708b8a92ddf91de1ce3323ee3b
2021-08-02T08:24:26Z
c++
2022-01-24T08:43:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,058
["docs/en/sql-reference/functions/type-conversion-functions.md", "src/Functions/FunctionSnowflake.h", "src/Functions/registerFunctions.cpp", "src/Functions/registerFunctionsSnowflake.cpp", "src/Functions/snowflake.cpp", "tests/queries/0_stateless/01942_dateTimeToSnowflake.reference", "tests/queries/0_stateless/01942_da...
snowflake id (not to confuse with Snowflake service) time extract and convert functions
**Use case** [snowflake id](https://en.wikipedia.org/wiki/Snowflake_ID) is a form of unique identifier used in distributed computing. The format was created by Twitter and it is widely used in many products such as discord api and etc. snowflake is a int64 number and generated based on timestamp, so it is comparab...
https://github.com/ClickHouse/ClickHouse/issues/27058
https://github.com/ClickHouse/ClickHouse/pull/27704
712790590948fce001ff2faae1641973f294dc40
273b8b9bc15496738f895292717f5515c4d945f5
2021-08-01T06:50:07Z
c++
2021-08-20T07:48:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,047
["website/css/bootstrap.css"]
Terrible markup on website if "dark theme" is used.
This awful bug is reported by @qoega ![Screenshot_20210731_235555](https://user-images.githubusercontent.com/18581488/127752229-c98e1a51-236d-4e24-bbb6-735c7cfc0112.png)
https://github.com/ClickHouse/ClickHouse/issues/27047
https://github.com/ClickHouse/ClickHouse/pull/27048
8c9c4efd625ec2e683d2d3400dd8fdc2be78dffd
c0607a7e956dda4a1f587705e2c1df55edf2f987
2021-07-31T20:56:55Z
c++
2021-07-31T22:19:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
27,039
["CMakeLists.txt", "contrib/CMakeLists.txt", "contrib/gwpasan-cmake/CMakeLists.txt", "programs/main.cpp", "src/CMakeLists.txt", "src/Common/config.h.in", "src/Common/memory.h", "src/Common/new_delete.cpp", "src/configure_config.cmake"]
Add a technique similar to GWP-ASan
**Describe the solution you'd like** Small random subset of memory allocations should be protected by guard pages. GWP-ASan (is in fact almost unrelated to ASan) is not a specific tool but a technique that requires a small change in memory allocator. https://llvm.org/docs/GwpAsan.html The only point is to enable...
https://github.com/ClickHouse/ClickHouse/issues/27039
https://github.com/ClickHouse/ClickHouse/pull/45226
7cf71d1f828c2ac3a0a9491abdb4c580efc91050
d9fbf643bcae94589030185c6033c021bddd56af
2021-07-31T19:10:06Z
c++
2023-02-09T06:24:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
26,980
["src/Interpreters/ColumnAliasesVisitor.cpp", "src/Interpreters/ColumnAliasesVisitor.h", "src/Interpreters/InDepthNodeVisitor.h", "src/Interpreters/TreeRewriter.cpp", "src/Interpreters/replaceAliasColumnsInQuery.cpp", "src/Interpreters/replaceAliasColumnsInQuery.h", "tests/queries/0_stateless/01925_join_materialized_co...
"Not found column ... in block" error, when join on alias column
**Describe the bug** "Not found column ... in block" error, when join on alias column. **How to reproduce** ```sql CREATE TABLE a ( id UInt32, value UInt32, id_alias UInt32 ALIAS id ) ENGINE = MergeTree() ORDER BY id; CREATE TABLE b ( id UInt32, value UInt32 ) ENGINE = MergeT...
https://github.com/ClickHouse/ClickHouse/issues/26980
https://github.com/ClickHouse/ClickHouse/pull/29008
2684d06b5126ca072a085fff9080d4eae9c1bbe3
8d1bf1b675a3d3b9b086b2fbc94ddc536f2cd521
2021-07-29T18:11:13Z
c++
2021-09-15T13:27:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
26,965
["tests/queries/0_stateless/02233_set_enable_with_statement_cte_perf.reference", "tests/queries/0_stateless/02233_set_enable_with_statement_cte_perf.sql"]
Simple CTE disables index scan
Using a simple CTE makes the query slow because if diables index scan. Example: setup ``` drop database if exists tt; create database tt; use tt; select version(); create table tt.ev (a Int32, b Int32) Engine=MergeTree() order by a; create table tt.idx (a Int32) Engine=MergeTree() order by a; insert i...
https://github.com/ClickHouse/ClickHouse/issues/26965
https://github.com/ClickHouse/ClickHouse/pull/35159
ee9c2ec735595b8283aee87c6b12ff5f9d06c720
201a498471837a3c5cb93a6f7983ee3480a3ea35
2021-07-29T13:54:57Z
c++
2022-03-17T11:34:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
26,927
["contrib/NuRaft"]
Please remove excessive logs from RAFT.
``` 2021.07.27 21:31:35.964613 [ 1214448 ] {} <Warning> RaftInstance: cancelled non-blocking client request 500001 2021.07.27 21:31:35.964685 [ 1214448 ] {} <Warning> RaftInstance: cancelled non-blocking client request 500002 2021.07.27 21:31:35.964721 [ 1214448 ] {} <Warning> RaftInstance: cancelled non-blocking cl...
https://github.com/ClickHouse/ClickHouse/issues/26927
https://github.com/ClickHouse/ClickHouse/pull/27081
6b6b4f114bda942b1956cff78525a0c896cfa5db
b8f4d480a3625abc3ed92416d39e2cc363e75a78
2021-07-28T20:40:01Z
c++
2021-08-07T16:48:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
26,899
["src/Interpreters/JoinToSubqueryTransformVisitor.cpp", "tests/queries/0_stateless/00820_multiple_joins.reference", "tests/queries/0_stateless/00820_multiple_joins.sql"]
Select from table with Engine=Set does not work with 2 joins
**Bug description** Select from table with Engine=Set does not work with 2 joins. **Affected version** Reproduces on 21.3.15.4 **How to reproduce** Creating base table and set table: ```sql CREATE TABLE users ( userid UInt64 ) ENGINE = MergeTree() ORDER BY (userid); INSERT INTO users VALUES (1)...
https://github.com/ClickHouse/ClickHouse/issues/26899
https://github.com/ClickHouse/ClickHouse/pull/26957
c1487fdb80d5f4e6d5b3d760839539202d4bbb87
1ebde0278efa50dbc397e41f7033aee719b3d437
2021-07-28T11:35:59Z
c++
2021-08-03T14:10:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
26,829
["src/Server/HTTP/WriteBufferFromHTTPServerResponse.cpp", "src/Server/HTTP/WriteBufferFromHTTPServerResponse.h", "src/Server/HTTPHandler.cpp", "src/Server/HTTPHandler.h"]
<Fatal> Application: Child process was terminated by signal 6.
### version ClickHouse 21.3.3.14 with revision 54448, build id: 7C39F44C9AD4D3BA36D74775616894F60A552276 Docker version 18.09.9, build 039a7df9ba ### describe The cluster with 10 nodes is all deployed in Docker, using the official image, and 6 nodes are stopped at the same time. Log of one of the stop nodes ``...
https://github.com/ClickHouse/ClickHouse/issues/26829
https://github.com/ClickHouse/ClickHouse/pull/28604
4eabb713480d37bbc5519aee29ce13be3e9f2870
7bc6b8fd70f87b6b216db13224f4b623c6eb2b17
2021-07-27T09:44:39Z
c++
2021-09-30T13:44:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
26,806
["docker/test/integration/runner/compose/docker_compose_jdbc_bridge.yml", "tests/integration/helpers/cluster.py", "tests/integration/test_jdbc_bridge/test.py"]
Fix test_jdbc_bridge flakiness
Example of test crash https://clickhouse-test-reports.s3.yandex.net/0/1c6cae3f8b8ab287f8ff0d6b79349707fbc311d7/integration_tests_(release).html ``` 2021.07.26 08:18:11.893385 [ 12 ] {63a04f0d-c0e0-4d1c-9647-30bfb4470920} <Debug> executeQuery: (from 172.16.15.1:34042) SELECT * FROM jdbc( 'self?mutation', ' SET mut...
https://github.com/ClickHouse/ClickHouse/issues/26806
https://github.com/ClickHouse/ClickHouse/pull/26827
41f8f747c0088146dcb3118982a1cb64e108e3da
093384f90f91bf0ef41e4d013a111d6c0a00eb27
2021-07-26T10:32:40Z
c++
2021-07-28T06:34:13Z