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
15,940
["utils/db-generator/CMakeLists.txt", "utils/db-generator/query_db_generator.cpp"]
db_generator: substandard usability.
``` milovidov@milovidov-desktop:~/work/ClickHouse$ build/utils/db-generator/query_db_generator ^C milovidov@milovidov-desktop:~/work/ClickHouse$ build/utils/db-generator/query_db_generator --help ^C milovidov@milovidov-desktop:~/work/ClickHouse$ build/utils/db-generator/query_db_generator < query.sql milovidov@...
https://github.com/ClickHouse/ClickHouse/issues/15940
https://github.com/ClickHouse/ClickHouse/pull/15973
cb15e72229de85cdfe975199cfbef28c2ec362dd
57575a5a12721682f07ff813460c6edb4b85b2c7
2020-10-13T19:46:39Z
c++
2020-10-14T17:24:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,854
["src/Storages/AlterCommands.cpp", "tests/queries/0_stateless/01522_validate_alter_default.reference", "tests/queries/0_stateless/01522_validate_alter_default.sql"]
Clickhouse does not validate DEFAULT value on MODIFY COLUMN for type compability
**Describe the bug** Here's my table: ```sql CREATE TABLE table2 ( EventDate Date, Id Int32, Value Int32 ) Engine = MergeTree() PARTITION BY toYYYYMM(EventDate) ORDER BY Id; ``` Modify default value (intentionally wrong): ``` >>> alter table table2 modify column Value default 's...
https://github.com/ClickHouse/ClickHouse/issues/15854
https://github.com/ClickHouse/ClickHouse/pull/15858
6c1d59cd49dcc1b1174fefd5bbb645f8c31f7d95
835c4800563db5de885211c9c747bad9ee8c9817
2020-10-12T08:37:11Z
c++
2020-10-13T09:47:18Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,800
["src/Storages/MergeTree/MergeTreeReverseSelectProcessor.cpp", "tests/queries/0_stateless/01521_alter_enum_and_reverse_read.reference", "tests/queries/0_stateless/01521_alter_enum_and_reverse_read.sql"]
Alter enum -> Block structure mismatch in Pipe::unitePipes stream
20.10.1 ``` cat x.sql drop table if exists enum_test; create table enum_test(timestamp DateTime, host String, e Enum8('IU' = 1, 'WS' = 2)) Engine = MergeTree PARTITION BY toDate(timestamp) ORDER BY (timestamp, host); insert into enum_test select '2020-10-09 00:00:00', 'h1', 'WS' from numbers(1000); alter t...
https://github.com/ClickHouse/ClickHouse/issues/15800
https://github.com/ClickHouse/ClickHouse/pull/15852
4798234002f84368566811f475755b972c85f781
321a7ae6bfc6a5cd243e2b363a9bb1d8d0a09a37
2020-10-09T20:31:15Z
c++
2020-10-13T06:49:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,792
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/ExpressionAnalyzer.h", "src/Interpreters/InterpreterSelectQuery.cpp", "tests/queries/0_stateless/01521_global_in_prewhere_15792.reference", "tests/queries/0_stateless/01521_global_in_prewhere_15792.sql"]
Wrong result in case of GLOBAL IN and PREWHERE
20.10.1.4853 ```sql drop table if exists xp; drop table if exists xp_d; create table xp(A Date, B Int64, S String) Engine=MergeTree partition by toYYYYMM(A) order by B; insert into xp select '2020-01-01', number , '' from numbers(100000); insert into xp select '2020-10-01', number , '' from numbers(100000); ...
https://github.com/ClickHouse/ClickHouse/issues/15792
https://github.com/ClickHouse/ClickHouse/pull/15933
22381685fdf1a4e6cfeada5ab9cdeb841e85fb7a
be7776608d7871b4617b55082d93a2f68f4d5b6f
2020-10-09T16:08:38Z
c++
2020-10-19T18:21:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,784
["tests/queries/0_stateless/01768_extended_range.reference", "tests/queries/0_stateless/01768_extended_range.sql", "tests/queries/0_stateless/01769_extended_range_2.reference", "tests/queries/0_stateless/01769_extended_range_2.sql", "tests/queries/0_stateless/01770_extended_range_3.reference", "tests/queries/0_stateles...
Date and time functions fail when DateTime64 is out of normal range
To PR #9404 @Enmk **The following functions return incorrect result when passing it date-time that's out of normal range:** `toYear()`, `toMonth()`, `toQuarter()`, `toTime()`, `toRelative[....]Num()`, `toStartOf[...]()`, `toMonday()`, `toWeek()` ***For example:*** `SELECT toYear(toDateTime64('1968-12-12 11:22...
https://github.com/ClickHouse/ClickHouse/issues/15784
https://github.com/ClickHouse/ClickHouse/pull/22002
7c0dba1b0ce30ff216f82fb1fa87b1d11b88b5d6
072d4bf199eae03be516b2de79e5775c8c6dd61a
2020-10-09T13:34:07Z
c++
2021-03-23T17:04:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,780
["src/Functions/array/arrayIndex.h", "tests/queries/0_stateless/01441_low_cardinality_array_index.reference", "tests/queries/0_stateless/01441_low_cardinality_array_index.sql"]
20.8 Types of array and 2nd argument of function "indexOf" must be identical up to ...
20.7 ``` SELECT indexOf(['a', 'b', 'c'], toLowCardinality('a')) ┌─indexOf(['a', 'b', 'c'], toLowCardinality('a'))─┐ │ 1 │ └─────────────────────────────────────────────────┘ ``` 20.8 ``` SELECT indexOf(['a', 'b', 'c'], toLowCardinality('a')) Received excep...
https://github.com/ClickHouse/ClickHouse/issues/15780
https://github.com/ClickHouse/ClickHouse/pull/16038
0bb4480fee6fb17094b98bec1c694015dec7b1db
e89a3b5d098f63327a2fb521370d27294844ed6a
2020-10-09T09:47:13Z
c++
2020-10-16T09:08:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,764
["programs/server/Server.cpp", "src/Server/CertificateReloader.cpp", "src/Server/CertificateReloader.h", "src/Server/ya.make"]
Dynamically reload TLS certificates
**Describe the issue** We should be able to reload TLS certificates without restarting clickhouse. (will send WIP PR shortly) relates to #14106
https://github.com/ClickHouse/ClickHouse/issues/15764
https://github.com/ClickHouse/ClickHouse/pull/15765
1c72421e53b9a1553f6c8eea070069a7212c8aac
d8510583d0f127037c2ccc80e6d42d3f29b5ed1b
2020-10-08T16:20:50Z
c++
2021-11-05T14:07:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,732
["src/DataStreams/PushingToViewsBlockOutputStream.cpp", "src/Storages/StorageMaterializedView.cpp", "tests/queries/0_stateless/01527_materialized_view_stack_overflow.reference", "tests/queries/0_stateless/01527_materialized_view_stack_overflow.sql"]
Crash when use the same name for materialized view and TO table
Clickhouse crashes, when you specify the same name for materialized view and TO table. **How to reproduce** * version 20.9.2.20 (official build) CREATE TABLE table1( Col1 String ) ENGINE = MergeTree() ORDER BY Col1; CREATE MATERIALIZED VIEW view1 to view1 AS SELECT DISTINCT Col1 FROM table1; select name...
https://github.com/ClickHouse/ClickHouse/issues/15732
https://github.com/ClickHouse/ClickHouse/pull/16048
11f56186db286c771fa7492f95a7229d3ac4cbd2
88de1b052c80eaa73dd40f4cd1bbaef46f5e3af9
2020-10-07T16:19:02Z
c++
2020-11-16T09:02:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,684
["src/Common/CurrentMetrics.cpp", "src/Core/BackgroundSchedulePool.cpp", "src/Core/BackgroundSchedulePool.h", "src/Interpreters/Context.cpp", "src/Storages/MergeTree/BackgroundProcessingPool.cpp", "src/Storages/MergeTree/BackgroundProcessingPool.h", "src/Storages/MergeTree/MergeList.cpp"]
Potential metrics overflow
When I queried `system.metrics` table, I found some negative values which hint to some potential internal overflows. ``` SELECT * FROM system.metrics FORMAT Vertical ... Row 31: ─────── metric: MemoryTrackingInBackgroundProcessingPool value: -580863171 description: Total amount of memory (byt...
https://github.com/ClickHouse/ClickHouse/issues/15684
https://github.com/ClickHouse/ClickHouse/pull/15813
717c48cbf3c67fa1c956a9a07c6e56a0d970ee6b
1187903b447d9ec3e5f331f28fdaaf9c013cf171
2020-10-06T15:40:05Z
c++
2020-10-10T22:11:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,641
["tests/queries/0_stateless/01635_nullable_fuzz.reference", "tests/queries/0_stateless/01635_nullable_fuzz.sql", "tests/queries/0_stateless/01636_nullable_fuzz2.reference", "tests/queries/0_stateless/01636_nullable_fuzz2.sql", "tests/queries/0_stateless/01637_nullable_fuzz3.reference", "tests/queries/0_stateless/01637_...
Logical error: 'Bad cast from type DB::ColumnConst to DB::ColumnNullable'. Assertion `false'
Found by AST Fuzzer at https://clickhouse-test-reports.s3.yandex.net/0/ce3d18e8c52144bac814cae6284295625411ef74/fuzzer/report.html#fail1 Query seems to be ```sql SELECT 'Nul\0able\0String)Nul\0\0ble(String)Nul\0able(String)Nul\0able(String)', NULL AND 2, '', number, NULL AS k FROM ( ...
https://github.com/ClickHouse/ClickHouse/issues/15641
https://github.com/ClickHouse/ClickHouse/pull/18753
7007f53152cf3bbfd6837451b3a8ddb49690daa8
2d1afa5dad0d98a0c4f82a510e0164573e9d1244
2020-10-05T21:31:12Z
c++
2021-01-05T16:58:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,637
["src/Parsers/ExpressionElementParsers.cpp", "src/Parsers/ExpressionListParsers.cpp", "src/Parsers/ExpressionListParsers.h", "tests/queries/0_stateless/01523_interval_operator_support_string_literal.reference", "tests/queries/0_stateless/01523_interval_operator_support_string_literal.sql"]
INTERVAL operator should be applicable to string literal.
`INTERVAL '1 hour'` should be equivalent to `INTERVAL 1 HOUR` **Use case** People are used to Postgres.
https://github.com/ClickHouse/ClickHouse/issues/15637
https://github.com/ClickHouse/ClickHouse/pull/15978
4476117ac60b5e3432aff6c4190755fccbf4da13
28c9e66dc13039e4ab5178399f30f5cd53f9cd16
2020-10-05T16:44:40Z
c++
2020-10-23T11:44:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,610
["src/Processors/Pipe.h", "src/Processors/QueryPipeline.h", "src/Processors/QueryPlan/ReadFromStorageStep.cpp", "src/Processors/QueryPlan/ReadFromStorageStep.h"]
20.8.3.18 DB::RWLockImpl::unlock segfault
_Originally posted by @aubweb9 in https://github.com/ClickHouse/ClickHouse/issues/11940#issuecomment-699988601_ Hello, I have kind of the same issue in version 20.8.3.18 ``` 2020.09.27 21:07:16.306908 [ 23103 ] {} <Fatal> BaseDaemon: ######################################## 2020.09.27 21:07:16.316298 [ 23103 ...
https://github.com/ClickHouse/ClickHouse/issues/15610
https://github.com/ClickHouse/ClickHouse/pull/15645
9594e463b4de8745c084de65e3c01e4623c98492
1f2e867ce669323500b030629c7e6d1a77d71b9f
2020-10-05T08:34:43Z
c++
2020-10-06T16:17:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,591
["src/Storages/MergeTree/registerStorageMergeTree.cpp", "tests/queries/0_stateless/01532_primary_key_without_order_by_zookeeper.reference", "tests/queries/0_stateless/01532_primary_key_without_order_by_zookeeper.sql"]
Allow to specify PRIMARY KEY near the list of columns
`CREATE TABLE test (x Int32, y Int32, s String, PRIMARY KEY (x, y)) ENGINE = MergeTree;` should be equivalent to `CREATE TABLE test (x Int32, y Int32, s String) ENGINE = MergeTree PRIMARY KEY (x, y);`
https://github.com/ClickHouse/ClickHouse/issues/15591
https://github.com/ClickHouse/ClickHouse/pull/16284
d350d864e6be6355b3366e7fba37407476645e84
6037982343b898071064bcda70ec3674ace54afc
2020-10-04T00:25:23Z
c++
2020-10-24T03:05:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,587
["src/Parsers/ParserDataType.cpp", "tests/queries/0_stateless/01307_bloom_filter_index_string_multi_granulas.sql", "tests/queries/0_stateless/01532_tuple_with_name_type.reference", "tests/queries/0_stateless/01532_tuple_with_name_type.sql"]
Named tuple inside array data type specification can't be parsed
``` $ clickhouse client ClickHouse client version 20.10.1.1-arcadia. Connecting to localhost:9000 as user default. Connected to ClickHouse server version 20.10.1 revision 54441. max42-dev.sas.yp-c.yandex.net :) create table T(f Array(Tuple(key String, value UInt8))) engine = Log() Syntax error: failed at posi...
https://github.com/ClickHouse/ClickHouse/issues/15587
https://github.com/ClickHouse/ClickHouse/pull/16262
973c1d798394e8232874c178d7951d1819766123
64bd63ca4999297e041fe853c6e4b6a2fa5bd5f0
2020-10-03T15:54:46Z
c++
2020-11-04T00:08:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,541
["src/Common/filesystemHelpers.cpp", "src/Common/filesystemHelpers.h"]
Interrupted system call from DB::DiskLocal::getAvailableSpace()
`Could not calculate available disk space (statvfs), errno: 4, strerror: Interrupted system call` > EINTR надо обрабатывать в цикле, см. в качестве примера ReadBufferFromFileDescriptor.cpp. > Сигнал USR1, USR2 от профайлера, скорее всего.
https://github.com/ClickHouse/ClickHouse/issues/15541
https://github.com/ClickHouse/ClickHouse/pull/15557
aaafdfe22c7f4de69f5f041d6782a9d62c347114
46fa5ff53e459248f37b2fc64ca269a51423bcf8
2020-10-02T17:22:07Z
c++
2020-10-03T12:57:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,540
["tests/queries/0_stateless/01538_fuzz_aggregate.reference", "tests/queries/0_stateless/01538_fuzz_aggregate.sql"]
Crash with nullable, subquery and array join
``` SELECT count(), ...
https://github.com/ClickHouse/ClickHouse/issues/15540
https://github.com/ClickHouse/ClickHouse/pull/16454
512dddb2b8163abc118b41493d4daa0f2b8396f9
6667261b023296054c1811d5d27a5c416e17a299
2020-10-02T16:26:00Z
c++
2020-10-28T06:25:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,529
["src/Storages/StorageBuffer.cpp", "tests/queries/0_stateless/01514_empty_buffer_different_types.reference", "tests/queries/0_stateless/01514_empty_buffer_different_types.sql"]
After upgrade from 20.3 to 20.8 Engine=Buffer raise Code: 49. DB::Exception: Cannot add simple transform to empty Pipe
**Describe the issue** after succesful update clickhouse from 20.3 to 20.8 a SELECT query which combine `FROM buffer_table` and `WHERE dictGet` and `filter by date` which doesn't contains data on original MergeTree table, fail with Code: 49. DB::Exception: Cannot add simple transform to empty Pipe **How to re...
https://github.com/ClickHouse/ClickHouse/issues/15529
https://github.com/ClickHouse/ClickHouse/pull/15662
38c7132c0f580547a72e3cc1fa18a091abf46221
2a62a91af421efb412e82dced949fbaea3f64761
2020-10-02T10:16:43Z
c++
2020-10-12T11:12:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,449
["src/Storages/IndicesDescription.cpp", "src/Storages/ReplaceAliasByExpressionVisitor.cpp", "src/Storages/ReplaceAliasByExpressionVisitor.h", "tests/queries/0_stateless/02911_support_alias_column_in_indices.reference", "tests/queries/0_stateless/02911_support_alias_column_in_indices.sql"]
ALIAS column in secondary index usage.
**Use case** We have some complex function, which we would like to use in secondary index, and we want to create an alias column as that function in order to have simple and memoriable name to it, which we can use in WHERE clause. **Describe the solution you'd like** Clickhouse server version 20.9.2.20 ``` CREAT...
https://github.com/ClickHouse/ClickHouse/issues/15449
https://github.com/ClickHouse/ClickHouse/pull/57220
d405560f1341523cb47e9ef83b1f7f91869c64bf
5f5e8633c7878957a2de1fda3aacced9a6ba2a4e
2020-09-29T14:51:02Z
c++
2023-11-28T20:31:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,365
["src/Core/MultiEnum.h", "src/Databases/DatabaseFactory.cpp", "src/Databases/MySQL/ConnectionMySQLSettings.cpp", "src/Databases/MySQL/ConnectionMySQLSettings.h", "src/Databases/MySQL/DatabaseConnectionMySQL.cpp", "src/Databases/MySQL/DatabaseConnectionMySQL.h", "src/Databases/ya.make", "tests/integration/test_mysql_dat...
Cannot create MySQL database, because... There is no query.
``` Caught exception while loading metadata: Code: 501, e.displayText() = DB::Exception: Cannot create MySQL database, because Code: 393, e.displayText() = DB::Exception: There is no query, Stack trace (when copying this message, always include the lines below): 0. /home/milovidov/ClickHouse/build_gcc9/../contrib...
https://github.com/ClickHouse/ClickHouse/issues/15365
https://github.com/ClickHouse/ClickHouse/pull/15384
a4b4895b26fc03825efc1ed1fb6ac4bca1c44a25
c9eeb149fd11b314fa0a21ca302503df6623740d
2020-09-28T00:32:10Z
c++
2020-09-30T08:27:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,358
["src/Dictionaries/SSDComplexKeyCacheDictionary.cpp", "tests/queries/0_stateless/01280_ssd_complex_key_dictionary.sql"]
SSDComplexKeyCacheDictionary: Assertion `key_columns.size() == dict_struct.key->size()' failed
https://clickhouse-test-reports.s3.yandex.net/15348/34addcf61f653e50e493ff8d94fab015db91fa59/fuzzer/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/15358
https://github.com/ClickHouse/ClickHouse/pull/16550
49d3b65cc276aa743d6964bd420d1eba6bc6cfb0
94ae5aed739966798245c03c19d6972150498a11
2020-09-27T11:09:12Z
c++
2020-10-30T19:45:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,349
["src/Formats/FormatFactory.cpp", "src/Processors/Formats/Impl/JSONAsStringRowInputFormat.cpp", "src/Processors/Formats/Impl/RawBLOBRowInputFormat.cpp", "src/Processors/Formats/Impl/RawBLOBRowInputFormat.h", "src/Processors/Formats/Impl/RawBLOBRowOutputFormat.cpp", "src/Processors/Formats/Impl/RawBLOBRowOutputFormat.h"...
Input format RawBLOB
**Use case** Import binary data as a single row single column of String or similar type. It will just read all input as a single value. Loading large blobs as well as loading data by single rows are typical anipatterns in ClickHouse. But sometimes it is needed.
https://github.com/ClickHouse/ClickHouse/issues/15349
https://github.com/ClickHouse/ClickHouse/pull/15364
3e99ca797b0e5a737a631e1dd95f65ea5f94d881
9f944424cf6d0c5d231ff25d6e877000e3154e26
2020-09-26T23:13:28Z
c++
2020-09-29T22:14:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,313
["src/Functions/FunctionDateOrDateTimeToSomething.h", "tests/queries/0_stateless/00921_datetime64_compatibility.reference", "tests/queries/0_stateless/01472_toStartOfInterval_disallow_empty_tz_field.sql"]
toStartOfDay(yesterday()) Function toStartOfDay supports a 2nd argument (optional) that must be non-empty
``` SELECT toStartOfDay(yesterday()) Received exception from server (version 20.10.1): Code: 43. DB::Exception: Received from localhost:9000. DB::Exception: Function toStartOfDay supports a 2nd argument (optional) that must be non-empty and be a valid time zone. SELECT toStartOfDay(today()) Received ex...
https://github.com/ClickHouse/ClickHouse/issues/15313
https://github.com/ClickHouse/ClickHouse/pull/15319
fd24654ca450eab6ec925676d1e309efda2585de
6f3aab8f09576194161c3bd57a0baa06356f74a5
2020-09-25T15:56:52Z
c++
2020-10-03T14:02:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,310
["src/Interpreters/NullableUtils.cpp", "src/Interpreters/NullableUtils.h", "src/Interpreters/Set.cpp", "src/Interpreters/Set.h", "tests/queries/0_stateless/01558_transform_null_in.reference", "tests/queries/0_stateless/01558_transform_null_in.sql"]
Wrong results of query with setting transform_null_in=1.
**Describe the bug** Setting `transform_null_in` works incorrectly with `IN` operator over tuples. **How to reproduce** 1. ``` CREATE TABLE null_in_1 (u UInt32, n Nullable(UInt32)) ENGINE = Memory; INSERT INTO null_in_1 VALUES (1, NULL), (2, 2), (3, NULL), (4, 4), (5, NULL); ``` ``` SET transform_null_in =...
https://github.com/ClickHouse/ClickHouse/issues/15310
https://github.com/ClickHouse/ClickHouse/pull/16722
0da112744065125da732f3f22afdce627001c22d
dd83a358423bda14e2671fd0a819965d742052dd
2020-09-25T14:55:22Z
c++
2020-11-06T09:39:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,268
["programs/client/Suggest.cpp", "programs/format/CMakeLists.txt", "programs/format/Format.cpp", "src/Common/BitHelpers.h", "src/Common/StringUtils/StringUtils.h", "src/Parsers/obfuscateQueries.cpp", "src/Parsers/obfuscateQueries.h", "src/Parsers/ya.make", "tests/queries/0_stateless/01508_query_obfuscator.reference", "t...
Query obfuscator
**Use case** A friend wants to show me a set of queries, but is afraid to reveal the names of columns (domain area) and the values of constants. **Describe the solution you'd like** A simple ad-hoc solution that will be mostly acceptable. Use Lexer to tokenize query and replace tokens. Use a list of english nou...
https://github.com/ClickHouse/ClickHouse/issues/15268
https://github.com/ClickHouse/ClickHouse/pull/15321
df6221f7bf96368059cea20a2a8a23cb9c7f7598
bbbe51033dfd5b8c3d54e168475ca707ac7ec0b4
2020-09-25T03:31:35Z
c++
2020-09-26T16:43:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,235
["programs/copier/ClusterCopier.cpp", "tests/integration/test_cluster_copier/task_non_partitioned_table.xml", "tests/integration/test_cluster_copier/test.py"]
20.6.6.7 clickhouse-copier segfault
``` 2020.09.24 13:54:06.581506 [ 17189 ] {} <Debug> StorageDistributed (.read_shard_0.destination_cluster.dwh._dim_customer_local): Auto-increment is 0 2020.09.24 13:54:06.581537 [ 17192 ] {} <Debug> StorageDistributed (.read_shard_3.destination_cluster.dwh._dim_customer_local): Auto-increment is 0 2020.09.24 13:54:...
https://github.com/ClickHouse/ClickHouse/issues/15235
https://github.com/ClickHouse/ClickHouse/pull/17248
edce1e636e1b73488a620a27a3b0c2a8a14d9945
27acf6462f1a087e2ccc274a86a1489698be72a6
2020-09-24T14:50:49Z
c++
2020-11-25T11:31:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,228
["src/Storages/StorageMerge.cpp", "tests/queries/0_stateless/01483_merge_table_join_and_group_by.reference", "tests/queries/0_stateless/01483_merge_table_join_and_group_by.sql"]
Merge table 'Unknown identifier' in GROUP BY for joined column
**How to reproduce** Clickhouse server version 20.3.17 ``` CREATE TABLE table_2(key UInt32, ID UInt32) ENGINE = MergeTree PARTITION BY tuple() ORDER BY key; CREATE TABLE merge_table (key UInt32) ENGINE=Merge(default,'^table'); CREATE TABLE table (key UInt32) ENGINE=MergeTree PARTITION BY tuple() ORDER BY key;} ...
https://github.com/ClickHouse/ClickHouse/issues/15228
https://github.com/ClickHouse/ClickHouse/pull/15242
aa43e3d5db0675f38da5c023981771b5177f177a
0ac18a382ffb00358e1da53132c8772c80ba0bf9
2020-09-24T10:56:05Z
c++
2020-09-30T20:11:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,206
["src/Core/Settings.h", "src/Storages/AlterCommands.cpp", "src/Storages/StorageMaterializedView.cpp", "tests/integration/test_replicated_database/test.py", "tests/queries/0_stateless/02888_obsolete_settings.reference", "tests/queries/0_stateless/02931_alter_materialized_view_query_inconsistent.reference", "tests/querie...
ALTER MV MODIFY QUERY changes MV query but not columns list.
``` CREATE TABLE src(v UInt64) ENGINE = Null; CREATE TABLE dest(v UInt64) Engine = MergeTree() ORDER BY v; CREATE MATERIALIZED VIEW pipe TO dest AS SELECT v FROM src; ALTER TABLE dest ADD COLUMN v2 UInt64; SET allow_experimental_alter_materialized_view_structure = 1; ALTER TABLE pipe add column v2 Int64, MODI...
https://github.com/ClickHouse/ClickHouse/issues/15206
https://github.com/ClickHouse/ClickHouse/pull/57311
e664e66a9a5532bee7ff0533348b041fc2be556f
fb98b212c5ba614fc8f3d8308f4cade183bc7c26
2020-09-23T20:12:03Z
c++
2023-12-01T11:18:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,187
["src/Interpreters/MySQL/InterpretersMySQLDDLQuery.cpp", "src/Interpreters/MySQL/tests/gtest_create_rewritten.cpp"]
MaterializeMySQL Code: 46. DB::Exception: Received from localhost:9000. DB::Exception: Unknown function task_id
**Describe the bug** version: 20.10.1.4699 I got this issue when access table after MaterializeMySQL database created , and found some tables not synchronized to CH from MySQL **How to reproduce** CREATE DATABASE credit_ga ENGINE = MaterializeMySQL('192.168.1.123:3306', 'credit_ga', 'root', '123456'); test-1-118.r...
https://github.com/ClickHouse/ClickHouse/issues/15187
https://github.com/ClickHouse/ClickHouse/pull/17944
5f78280aec51a375827eebfcc7c8a2a91efeb004
60aef3d5291bed69947bba7c82e12f5fcd85e7b4
2020-09-23T09:38:51Z
c++
2020-12-10T16:42:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,168
["src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp"]
confusing message "Selected n parts by date",
`Selected 13 parts by date, 13 parts by key, 26 marks by primary key .... ` This message is confusing for new users. I suggest to replace it with `Selected 13 parts by partition key, 13 parts by primary key, 26 marks by primary key...`
https://github.com/ClickHouse/ClickHouse/issues/15168
https://github.com/ClickHouse/ClickHouse/pull/15169
88dc3126ad9f47b3f2406085994d4fa1547d4256
88f01954d9b5c3f5836f711ad22881f6b51e0848
2020-09-22T19:27:17Z
c++
2020-09-22T23:03:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
15,117
["docs/en/engines/table-engines/special/buffer.md", "docs/ru/engines/table-engines/special/buffer.md"]
ALTER TABLE ADD COLUMN on Buffer table breaks block structure
**Describe the bug** INSERT fails after adding a column to a buffer table. FYI SELECT works. **How to reproduce** * ClickHouse server version 20.8.3.18 Debian official build. Error message showed version 20.8.2. * `CREATE TABLE` statement ``` CREATE TABLE t_local (timestamp DateTime) ENGINE = MergeTree PARTI...
https://github.com/ClickHouse/ClickHouse/issues/15117
https://github.com/ClickHouse/ClickHouse/pull/27786
53d7842877e6f5a77820540545aa0e7ebfbf3ba9
29ff255601e06af614ba988fadc289969709182d
2020-09-22T05:20:40Z
c++
2021-08-18T11:41:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,894
["src/Databases/MySQL/MaterializeMetadata.cpp"]
MaterializeMySQL run error
I have created MaterializeMySQL with: CREATE DATABASE dmp_idm ENGINE = MaterializeMySQL('xxx:3307', 'dmp_idm', 'root', 'xxx'); ==================== my.cnf: gtid_mode=on enforce_gtid_consistency=true binlog_format=ROW log-bin=mysql-bin =================== see the log: tail -100f clickhouse-server.err.log 202...
https://github.com/ClickHouse/ClickHouse/issues/14894
https://github.com/ClickHouse/ClickHouse/pull/14898
5a890d73777ed1be4da46dc30df4f2c03b53a9be
a76d8fb96b99b35b07658114f5f813f647515d96
2020-09-17T02:47:07Z
c++
2020-09-17T16:18:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,865
["src/Common/renameat2.cpp", "src/Common/renameat2.h", "src/Databases/DatabaseAtomic.cpp"]
v20.8 cannot create system.query_log when use docker volumes in /var/lib/clcikhouse
**Describe the bug** System.query_log doesn't exist It is not because of log_query setting I found that there was a problem when query_log table initialization My ClickHouse server version is **20.8.2.3** **How to reproduce** > First start a docker sever instance (/var/data/clickhouse is an empty local director...
https://github.com/ClickHouse/ClickHouse/issues/14865
https://github.com/ClickHouse/ClickHouse/pull/15024
5e56f14d5f854066b2fb8de0431c1271e5a9a096
e29c4c3cc47ab2a6c4516486c1b77d57e7d42643
2020-09-16T05:28:33Z
c++
2020-09-21T18:08:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,840
["programs/server/Server.cpp", "src/Common/ThreadStatus.cpp", "src/Functions/trap.cpp"]
Try capturing stack overflow errors?
https://rethinkdb.com/blog/handling-stack-overflow-on-custom-stacks/ https://barrgroup.com/embedded-systems/how-to/prevent-detect-stack-overflow etc.
https://github.com/ClickHouse/ClickHouse/issues/14840
https://github.com/ClickHouse/ClickHouse/pull/16346
dd78c9dc75ad684b4cad458a5e87f3e28d3ba775
e9d97160f4431e5b460ca77c1851146d24981791
2020-09-15T09:44:30Z
c++
2020-12-17T19:28:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,835
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/IO/MySQLBinlogEventReadBuffer.cpp", "src/IO/MySQLBinlogEventReadBuffer.h", "src/IO/tests/gtest_mysql_binlog_event_read_buffer.cpp", "src/IO/ya.make"]
MaterializedMySQL Packet payload is not fully read. Stopped after 7372 bytes, while 693 bytes are in buffer
MySQL INSERT INTO : table: cleanout_asin_info_jp table count : select count(1) from cleanout_asin_info_jp 10308 execution sql: insert into cleanout_asin_info_jp (asin ,product_title ,provide ,provide_id ,product_path ,img1 ,img2 ,img3 ,img4 ,img5 ,currency ,list_price ,sale_price ,price ,deal...
https://github.com/ClickHouse/ClickHouse/issues/14835
https://github.com/ClickHouse/ClickHouse/pull/14852
652163c07c62bdd8724e109160b03016551b6c1a
5a890d73777ed1be4da46dc30df4f2c03b53a9be
2020-09-15T08:45:09Z
c++
2020-09-17T16:17:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,829
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/IO/MySQLBinlogEventReadBuffer.cpp", "src/IO/MySQLBinlogEventReadBuffer.h", "src/IO/tests/gtest_mysql_binlog_event_read_buffer.cpp", "src/IO/ya.make"]
MaterializeMySQL count() result is incorrect
mysql have table t(a Int, b Int), 2 records: (1,1) and (2, 2), then in ck count `select count(1) from ckdb.t ` -- 2, that's ok. then, mysql delete (2,2) and ck count `select count(1) from ckdb.t ` -- still 2, that's not correct .
https://github.com/ClickHouse/ClickHouse/issues/14829
https://github.com/ClickHouse/ClickHouse/pull/14852
652163c07c62bdd8724e109160b03016551b6c1a
5a890d73777ed1be4da46dc30df4f2c03b53a9be
2020-09-15T02:31:49Z
c++
2020-09-17T16:17:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,814
["programs/server/Server.cpp", "src/Common/ThreadPool.cpp"]
Clickhouse gets stuck talking to Zookeeper at startup
We are seeing an issue where Clickhouse gets stuck at start up, seemingly while talking to Zookeeper. It can start perfectly fine in a single node mode. Trace logs at startup: ``` Processing configuration file '/etc/clickhouse-server/config.xml'. Merging configuration file '/etc/clickhouse-server/conf.d/config.xml...
https://github.com/ClickHouse/ClickHouse/issues/14814
https://github.com/ClickHouse/ClickHouse/pull/14843
e97c9b16a7105841a31aaf31fa6b5398c7cf6443
478c7309d45abe861d3d0b7d2c4f88006843c776
2020-09-14T17:43:07Z
c++
2020-09-22T10:44:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,795
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/IO/MySQLBinlogEventReadBuffer.cpp", "src/IO/MySQLBinlogEventReadBuffer.h", "src/IO/tests/gtest_mysql_binlog_event_read_buffer.cpp", "src/IO/ya.make"]
done MaterializeMySQL,however clickhouse server abort,The error log is as follows
2020.09.14 15:51:41.314157 [ 4218 ] {} <Fatal> BaseDaemon: ######################################## 2020.09.14 15:51:41.314215 [ 4218 ] {} <Fatal> BaseDaemon: (version 20.9.1.4571 (official build), no build id) (from thread 9653) (no query) Received signal Segmentation fault (11) 2020.09.14 15:51:41.314247 [ 4218 ] {...
https://github.com/ClickHouse/ClickHouse/issues/14795
https://github.com/ClickHouse/ClickHouse/pull/14852
652163c07c62bdd8724e109160b03016551b6c1a
5a890d73777ed1be4da46dc30df4f2c03b53a9be
2020-09-14T10:11:07Z
c++
2020-09-17T16:17:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,786
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/IO/MySQLBinlogEventReadBuffer.cpp", "src/IO/MySQLBinlogEventReadBuffer.h", "src/IO/tests/gtest_mysql_binlog_event_read_buffer.cpp", "src/IO/ya.make"]
MaterializeMySQLSyncThread: Code: 32, e.displayText() = DB::Exception: Attempt to read after eof
**Describe the bug** The bug may not be reproduced on each platform. **How to reproduce** * Set up replication relationship between MySQL and ClickHouse * When data copy has completed and after a while, stop ClickHouse service * Wait for 0.5 hour, start ClickHouse service, you will get odd error, may different f...
https://github.com/ClickHouse/ClickHouse/issues/14786
https://github.com/ClickHouse/ClickHouse/pull/14852
652163c07c62bdd8724e109160b03016551b6c1a
5a890d73777ed1be4da46dc30df4f2c03b53a9be
2020-09-14T07:02:28Z
c++
2020-09-17T16:17:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,781
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/IO/MySQLBinlogEventReadBuffer.cpp", "src/IO/MySQLBinlogEventReadBuffer.h", "src/IO/tests/gtest_mysql_binlog_event_read_buffer.cpp", "src/IO/ya.make"]
MaterializeMySQL Data inconsistency between MySQL and Clickhouse
**Describe the bug** mysql:5.7.31 clickhouse:20.10.1.4635 I found data inconsistency between MySQL and Clickhouse when I execute update in MySQL with one transaction with 439129 rows **How to reproduce** step1: I check that the amount of data is consistent between MySQL and Clickhouse mysql> select count...
https://github.com/ClickHouse/ClickHouse/issues/14781
https://github.com/ClickHouse/ClickHouse/pull/14852
652163c07c62bdd8724e109160b03016551b6c1a
5a890d73777ed1be4da46dc30df4f2c03b53a9be
2020-09-14T01:59:35Z
c++
2020-09-17T16:17:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,778
["src/Functions/array/arrayCompact.cpp", "tests/queries/0_stateless/01020_function_array_compact.sql", "tests/queries/0_stateless/01025_array_compact_generic.reference", "tests/queries/0_stateless/01025_array_compact_generic.sql"]
arrayCompact for array with tuples
Currently arrayCompact doesn't work with tuples like other array functions arraySort or arrayFilter. Please consider adding such functionality to arrayCompact. We need something like this... SELECT arrayCompact( (x,y) -> y, arr1, arr2) AS v Current behavior: `SELECT [('a', 1), ('a', 2), ('c', 3), ('a', 2)] A...
https://github.com/ClickHouse/ClickHouse/issues/14778
https://github.com/ClickHouse/ClickHouse/pull/34795
aea7bfb59aa23432b7eb6f69c4ce158c40f65c11
7d01516202152c8d60d4fed6b72dad67357d337f
2020-09-13T21:20:15Z
c++
2022-03-03T18:25:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,677
["base/common/throwError.h", "base/common/types.h", "base/common/wide_integer.h", "base/common/wide_integer_impl.h", "base/common/wide_integer_to_string.h", "src/IO/WriteHelpers.h", "tests/queries/0_stateless/01475_fix_bigint_shift.reference", "tests/queries/0_stateless/01475_fix_bigint_shift.sql"]
(unreleased) debug assertion in some arithmetic operations on UInt256
`SELECT bitShiftLeft(toInt256(-2), number)` `shift left for negative lhsbers is underfined!` See https://clickhouse-test-reports.s3.yandex.net/14525/44726c37c3003ec8112dbf32efa350bd595163b3/fuzzer/report.html#fail1
https://github.com/ClickHouse/ClickHouse/issues/14677
https://github.com/ClickHouse/ClickHouse/pull/14697
3113aa6cfefbf5eee6de6541ffd1f20596f8f8d2
d274125c74c4784b461e938a92c0afd2cb2e9b41
2020-09-10T03:06:54Z
c++
2020-09-14T11:56:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,648
["src/Functions/FunctionUnixTimestamp64.h", "tests/queries/0_stateless/01277_fromUnixTimestamp64.reference", "tests/queries/0_stateless/01277_fromUnixTimestamp64.sql"]
fromUnixTimestamp64 functions expect Int64 and not UInt64
SELECT toYYYYMMDD(fromUnixTimestamp64Micro(1599672041963889)) Received exception from server (version 20.9.1): Code: 43. DB::Exception: Received from localhost:9000. DB::Exception: Illegal type of argument #0 'value' of function fromUnixTimestamp64Micro, expected Int64, got UInt64.
https://github.com/ClickHouse/ClickHouse/issues/14648
https://github.com/ClickHouse/ClickHouse/pull/33505
8c9266b24c0bb434fd144ca4dad9744109b542b4
5a4ad04ae6c182e8bc6e8bacf12409b167567652
2020-09-09T17:25:30Z
c++
2022-01-27T19:54:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,614
["src/Storages/tests/gtest_transform_query_for_external_database.cpp", "src/Storages/transformQueryForExternalDatabase.cpp", "tests/integration/test_mysql_database_engine/test.py"]
Joining MySQL table and MergeTree table causes 'Missing columns'
**Describe the bug** If you make a query to MySQL Engine Table with joined MergeTree Engine Table, you use any columns of the latter. **How to reproduce** * ClickHouse server 20.8.2 * ClickHouse client version 20.8.2.3 (official build). ```sql CREATE TABLE mysql_table ( `id` UInt64, `name` Nullab...
https://github.com/ClickHouse/ClickHouse/issues/14614
https://github.com/ClickHouse/ClickHouse/pull/21640
aa3e8fc4f01a80ef93996d19fa17469a825f8c37
0171ab95fa922e79511f2be2b05ec6af662fbb37
2020-09-09T09:07:01Z
c++
2021-03-29T13:14:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,613
["docs/en/sql-reference/functions/ext-dict-functions.md"]
dictGet gives error External dictionary not found
Select from `system.dictionaries` shows my external odbc-sourced dictionary with status `LOADED`. I can SELECT from that dictionary successfully. However, running `dictGet()` on that dictionary says it was not found. > Code: 36, e.displayText() = DB::Exception: external dictionary 'my_d' not found (version 20....
https://github.com/ClickHouse/ClickHouse/issues/14613
https://github.com/ClickHouse/ClickHouse/pull/14620
cdb72add3534f33912bf5a77612aae7e1d9073be
9acb8fe196b1b04a20d1f001213e5cc8ad66b487
2020-09-09T08:25:15Z
c++
2020-09-09T16:59:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,589
["src/Common/MemoryTracker.cpp", "src/Common/ProfileEvents.cpp"]
New "Query Memory Limit Exceeded" event in system.events
Would love to have an event that tracks the number of times this happens so that we can adjust resources accordingly. Example log: ``` Memory limit (for query) exceeded: would use 3.47 GiB (attempt to allocate chunk of 1073758016 bytes), maximum: 2.79 GiB ```
https://github.com/ClickHouse/ClickHouse/issues/14589
https://github.com/ClickHouse/ClickHouse/pull/14647
92b746116a9661523a7a8e0281e77149b70d0bae
e65e29d5376923deaac0d0b00643d33fd0c21dfb
2020-09-08T15:58:19Z
c++
2020-09-10T03:12:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,571
["src/Storages/Distributed/DistributedBlockOutputStream.cpp", "src/Storages/StorageDistributed.cpp", "tests/queries/0_stateless/01639_distributed_sync_insert_zero_rows.reference", "tests/queries/0_stateless/01639_distributed_sync_insert_zero_rows.sql", "tests/queries/0_stateless/arcadia_skip_list.txt"]
INSERT to Distributed sent to a shard with zero weight
No rows are written, though. Still, this may be problematic when this insert fails due to the `too many parts` error, which leads to the parent insert also failing. I haven't reproduced this failure exactly (complicated to do on localhost), but seen it happen for a ClickHouse user in Yandex. Apparently this only hap...
https://github.com/ClickHouse/ClickHouse/issues/14571
https://github.com/ClickHouse/ClickHouse/pull/18775
fdff71a36fd4d2f051b303659c80914c78e9f74a
417e685830d424d99edb5f87d677d69c1cbc991a
2020-09-08T05:10:52Z
c++
2021-01-06T17:06:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,560
["src/Common/MemoryTracker.cpp", "src/Common/MemoryTracker.h", "src/Interpreters/SystemLog.h", "src/Interpreters/executeQuery.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp", "src/Storages/MergeTree/MergeTreeMarksLoader.cpp", "src/Storages/StorageBuffer....
A query from `generateRandom` function may lead to OOM
**Describe the bug** `SELECT i FROM generateRandom('i Array(Int8)', 1048575, 10, 1048577) LIMIT 1048575` Memory limit should be respected.
https://github.com/ClickHouse/ClickHouse/issues/14560
https://github.com/ClickHouse/ClickHouse/pull/16206
c53f59decebc38c5003d66167ffd12a9236746f2
0b7430dda1409c0d9d71eceab2d9ce7abf6693e0
2020-09-07T22:20:23Z
c++
2020-10-21T11:34:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,531
["src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp", "tests/queries/0_stateless/01084_defaults_on_aliases.reference", "tests/queries/0_stateless/01084_defaults_on_aliases.sql", "tests/queries/0_stateless/01497_alias_on_default_array.reference", "tests/queries/0_stateless/01497_alias_on_default_array.sql"]
'Missing columns' when column DEFAULT value refers to ALIAS columns
```sql CREATE TABLE test_new_col ( `_csv` String, `csv_as_array` Array(String) ALIAS splitByChar(';',_csv), `csv_col1` String DEFAULT csv_as_array[1], `csv_col2` String DEFAULT csv_as_array[2] ) ENGINE = MergeTree ORDER BY tuple(); INSERT INTO test_new_col (_csv) values ('a1;b1;c1;...
https://github.com/ClickHouse/ClickHouse/issues/14531
https://github.com/ClickHouse/ClickHouse/pull/14845
a67986791ffa9f8b1942f7178445de880f3581ac
73544a37819567b3fb868d7e071da82d51c3bb06
2020-09-07T08:04:53Z
c++
2020-09-17T07:02:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,489
["programs/odbc-bridge/ODBCBridge.cpp", "src/Common/XDBCBridgeHelper.h", "src/Dictionaries/ExternalQueryBuilder.h", "src/IO/ReadWriteBufferFromHTTP.h"]
"clickhouse-odbc-bridge is not responding" during dictionary initialization: program startup sequence problems
docker version: 1.13.1 clickhouse version: 20.3.11.97 system: centos7 The **/docker-entrypoint-initdb.d/** path contains the sql file, and the sql contains the **odbc Dictionary ENGINE**; when the **_entrypoint.sh_** script is executed, there is a certain probability that the dictionary table creation fails: `Cod...
https://github.com/ClickHouse/ClickHouse/issues/14489
https://github.com/ClickHouse/ClickHouse/pull/18278
850d584d3f0afd50353f2612bbc649a08dbc0979
fa68af02d7863eaf62635feb51ebaae4433994c0
2020-09-04T09:12:54Z
c++
2020-12-21T07:18:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,476
["src/DataTypes/IDataType.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01837_cast_to_array_from_empty_array.reference", "tests/queries/0_stateless/01837_cast_to_array_from_empty_array.sql"]
Can't create VIEW from select query
**Describe the unexpected behaviour** Expected create view from any "select" query, but it doesn't work. But select-query is correct and working version 20.4.5.36 **How to reproduce** CREATE VIEW tempView AS WITH(SELECT groupArray(a) FROM (SELECT [1, 2] AS a)) AS aaa SELECT aaa **Error message and/or stac...
https://github.com/ClickHouse/ClickHouse/issues/14476
https://github.com/ClickHouse/ClickHouse/pull/23456
a2170b7818013691691bb3814f3e54f79a296b61
8134c270a2f468deaa6534be8765588cd61b1076
2020-09-04T07:51:32Z
c++
2021-04-22T05:41:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,447
["src/Common/Macros.cpp", "src/Storages/MergeTree/registerStorageMergeTree.cpp"]
Misleading exception message on creating a table with double-quoted arguments
**Describe the bug** A clear and concise description of what works not as it is supposed to. ``` CREATE TABLE table_repl ( number UInt32 ) ENGINE = ReplicatedMergeTree("/clickhouse/{cluster}/tables/{shard}/table_repl", "{replica}") PARTITION BY intDiv(number, 1000) ORDER BY number ``` yields an Excep...
https://github.com/ClickHouse/ClickHouse/issues/14447
https://github.com/ClickHouse/ClickHouse/pull/14704
e73ca17ad3f689d2ae5ee1ed8a7b11f7b7e113ac
1f47b1ff6bb1f6f266aa3482466420a4c355d7f6
2020-09-03T16:55:11Z
c++
2020-09-11T09:45:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,441
["src/Databases/DatabaseFactory.cpp", "src/Databases/MySQL/DatabaseMySQL.cpp", "src/Databases/MySQL/DatabaseMySQL.h", "tests/integration/test_mysql_database_engine/test.py"]
ClickHouse fails to start with 'Cannot create MySQL database' when MySQL is not available
I had one mysql engine connection in clickhouse. I shutdown mysql aws RDS instance. I updated clickhouse using apt get. Then I restarted clickhouse. Clickhouse wont start. `ClickHouse client version 20.7.2.30 (official build).` ``` No LSB modules are available. Distributor ID: Debian Description: Debian ...
https://github.com/ClickHouse/ClickHouse/issues/14441
https://github.com/ClickHouse/ClickHouse/pull/32802
e929175dae5cdab3536826abeb45ec35827d5043
db01e94f6608ca0f42fc8245a57559dd0e37a32d
2020-09-03T12:38:35Z
c++
2021-12-17T05:57:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,314
["src/Dictionaries/ClickHouseDictionarySource.cpp", "src/Dictionaries/ClickHouseDictionarySource.h", "tests/queries/0_stateless/01780_clickhouse_dictionary_source_loop.reference", "tests/queries/0_stateless/01780_clickhouse_dictionary_source_loop.sql", "tests/queries/skip_list.json"]
It is possible to create a dictionary that looks at itself. Query from this dictionary will hang.
``` milovidov-desktop :) CREATE DICTIONARY dict :-] ( :-] k1 UInt64, :-] k2 UInt8, :-] value String :-] ) :-] PRIMARY KEY k1, k2 :-] SOURCE(CLICKHOUSE(HOST 'localhost' PORT 9000 USER 'default' TABLE 'dict')) :-] LIFETIME(1000) :-] LAYOUT(COMPLEX_KEY_HASHED()); CREATE DICTIONARY dict ( `k1...
https://github.com/ClickHouse/ClickHouse/issues/14314
https://github.com/ClickHouse/ClickHouse/pull/22479
751222743191c243f7f59cce08e6e9a8914f579b
0bfb429c42bc84fa20c9706f99981e44cde07473
2020-08-31T23:01:34Z
c++
2021-04-04T10:29:17Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,298
["debian/clickhouse-server.init"]
Centos/8: sysV vs systemd mess. Service status is 'stopped' although it is running
**Description** Whenever I run `sudo service clickhouse-server status` I get `clickhouse-server service is stopped`, although the server is actually running. I can verify that it is running with the following: ``` $ ps -ef | grep clickhouse clickho+ 2646 1 0 20:00 ? 00:00:01 clickhouse-server ...
https://github.com/ClickHouse/ClickHouse/issues/14298
https://github.com/ClickHouse/ClickHouse/pull/25921
edce77803f07a29efd32190bc7c3053325894113
38d1ce310d9ff824fc38143ab362460b2b83ab7d
2020-08-31T20:20:20Z
c++
2021-07-03T11:50:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,275
["src/Functions/ignore.cpp", "tests/queries/0_stateless/01652_ignore_and_low_cardinality.reference", "tests/queries/0_stateless/01652_ignore_and_low_cardinality.sql"]
Logical error: 'Expected single dictionary argument for function.'
``` set allow_suspicious_low_cardinality_types = 1; CREATE TABLE lc_null_int8_defnull (val LowCardinality(Nullable(Int8)) DEFAULT NULL) ENGINE = MergeTree order by tuple(); SELECT ignore(10, ignore(*), ignore(ignore(-2, 1025, *)), NULL, *), * FROM lc_null_int8_defnull AS values; 2020.08.31 16:54:42.486431 [ 1...
https://github.com/ClickHouse/ClickHouse/issues/14275
https://github.com/ClickHouse/ClickHouse/pull/19016
ac1c17ac76df709b57a5e379b3c47a8956885ea8
d8b9278193405512bc96bd74d3f30d281c481bb9
2020-08-31T13:56:59Z
c++
2021-01-14T13:50:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,251
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/IO/MySQLBinlogEventReadBuffer.cpp", "src/IO/MySQLBinlogEventReadBuffer.h", "src/IO/tests/gtest_mysql_binlog_event_read_buffer.cpp", "src/IO/ya.make"]
MaterializeMySQLSyncThread DB::Exception: Packet payload is not fully read
**Describe the bug** I got below error message when data replication is in progress, after then data replication has stopped and the DB is not accessible (detach and attach not work), I'm wondering what does the error message mean? ``` 2020.08.30 11:43:28.441220 [ 105102 ] {} <Error> MaterializeMySQLSyncThread: Co...
https://github.com/ClickHouse/ClickHouse/issues/14251
https://github.com/ClickHouse/ClickHouse/pull/14852
652163c07c62bdd8724e109160b03016551b6c1a
5a890d73777ed1be4da46dc30df4f2c03b53a9be
2020-08-30T03:55:09Z
c++
2020-09-17T16:17:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,235
["src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h"]
MaterializeMySQL unable to handle 'COMMIT' log may cause synced DB inaccessible
It seems MaterializeMySQL not able to handle below bin log events, hence cause exception, the problem is high frequency occur of the exception may cause MaterializeMySQLSyncThread crash (I guess, the phenomenon is the synced DB in ClickHouse is not accessible) My suggestion is, if such log event is harmless, we ju...
https://github.com/ClickHouse/ClickHouse/issues/14235
https://github.com/ClickHouse/ClickHouse/pull/14253
ebbdaf41aa44b8c9a70bc738c1be56dd9a5e0304
0586f0d555f7481b394afc55bbb29738cd573a1c
2020-08-29T08:51:55Z
c++
2020-08-31T12:08:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,231
["src/Databases/MySQL/MaterializeMySQLSyncThread.cpp", "src/Parsers/Lexer.cpp", "tests/queries/0_stateless/01460_allow_dollar_and_number_in_identifier.reference", "tests/queries/0_stateless/01460_allow_dollar_and_number_in_identifier.sql"]
MaterializeMySQL not support number started column name
**Describe the bug** Table schema: > mysql> show create table name\G > > *************************** 1. row *************************** > Table: name > Create Table: CREATE TABLE `name` ( > `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, > `username` varchar(40) DEFAULT NULL, > `1m_10m` small...
https://github.com/ClickHouse/ClickHouse/issues/14231
https://github.com/ClickHouse/ClickHouse/pull/14232
bc8765d5ada07f658d302110d6d762a21c10cf53
75ca3d217fe0dd6dce7411abdbcb43069a8138d0
2020-08-29T01:07:39Z
c++
2020-08-31T16:03:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,224
["src/Interpreters/InterpreterAlterQuery.cpp", "src/Storages/LiveView/StorageLiveView.cpp", "src/Storages/LiveView/StorageLiveView.h", "tests/queries/0_stateless/01463_test_alter_live_view_refresh.reference", "tests/queries/0_stateless/01463_test_alter_live_view_refresh.sql"]
ALTER LIVE VIEW REFRESH throws an exception
**Describe the bug** Using `ALTER LIVE VIEW view REFRESH` results in an exception. **How to reproduce** * Connected to ClickHouse server version 20.8.1 revision 54438 * `CREATE TABLE` statements for all tables involved ``` clicktest :) SHOW CREATE table0 SHOW CREATE TABLE table0 ┌─statement───────────────...
https://github.com/ClickHouse/ClickHouse/issues/14224
https://github.com/ClickHouse/ClickHouse/pull/14320
951bce59118538c33192713bc334d7e34b3fe5d7
08ed74732e944e7cb6e9fb8ff27709ef9c6ee520
2020-08-28T15:24:25Z
c++
2020-09-02T01:52:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,157
["src/Core/ExternalResultDescription.cpp", "src/Core/ExternalResultDescription.h", "src/Core/MySQL/MySQLReplication.cpp", "src/Core/MySQL/MySQLReplication.h", "src/Databases/MySQL/MaterializeMySQLSyncThread.cpp", "src/Formats/MySQLBlockInputStream.cpp", "tests/integration/test_materialize_mysql_database/materialize_wit...
DB::Exception: Unsupported type Decimal(13, 4) when using MaterializeMySQL
It seems MaterializeMySQL doesn't support Decimal data type when doing replication.
https://github.com/ClickHouse/ClickHouse/issues/14157
https://github.com/ClickHouse/ClickHouse/pull/14535
c1402d62db751f502e118b56f06a9730798652a1
6e0bdaf46da2c939c45d360a442ce739db63ba94
2020-08-27T07:08:18Z
c++
2020-09-19T11:05:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,156
["docker/client/Dockerfile", "docker/server/Dockerfile", "docker/server/Dockerfile.alpine"]
orc requires tzdata: 'orc::getLocalTimezone(): Can't open /etc/localtime."
when i use "SELECT * FROM hdfs()" with version 20.6 .but it works well when use version 19.14. Code: 1001. DB::Exception: Received from hadoop:9000. DB::Exception: N3orc13TimezoneErrorE: Can't open /etc/localtime. I am searching for a long time on net. But no use. Please help or try to give some ideas how to ac...
https://github.com/ClickHouse/ClickHouse/issues/14156
https://github.com/ClickHouse/ClickHouse/pull/22000
087be05dfdc044f71d02aabebc5e04690b25e5fd
b6a0f2f4ad8b1dd6734929a2370f9f6fab128c30
2020-08-27T05:42:28Z
c++
2021-03-24T20:10:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,130
["src/Storages/Distributed/DirectoryMonitor.cpp", "tests/integration/test_insert_distributed_async_extra_dirs/__init__.py", "tests/integration/test_insert_distributed_async_extra_dirs/configs/remote_servers.xml", "tests/integration/test_insert_distributed_async_extra_dirs/test.py"]
Clickhouse unable to start with unclear error if Distributed table have unexpected folders
``` create table default.DFA(A Int64) Engine=MergeTree order by tuple(); create table default.DFAD as default.DFA Engine=Distributed(test_shard_localhost, default, DFA) mkdir /var/lib/clickhouse/data/default/DFAD/shard1_replica1,shard1_replica2 chown -R clickhouse.clickhouse /var/lib/clickhouse/data/default/DFA...
https://github.com/ClickHouse/ClickHouse/issues/14130
https://github.com/ClickHouse/ClickHouse/pull/20498
2c7c5c9604e6f71cecc6d6d534a5431c6409cd16
6363d444887ff3e66caeac04c2c0fd3d4d5a39eb
2020-08-26T19:00:57Z
c++
2021-02-17T06:43:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,118
["src/Functions/FunctionBinaryArithmetic.h", "src/Functions/FunctionUnaryArithmetic.h", "src/Functions/FunctionsComparison.h", "src/Functions/FunctionsLogical.h", "tests/queries/0_stateless/01457_compile_expressions_fuzzer.reference", "tests/queries/0_stateless/01457_compile_expressions_fuzzer.sql"]
Debug assertion with function GREATEST if compile_expressions = 1.
``` SET compile_expressions = 1 SELECT GREATEST(2,0) ```
https://github.com/ClickHouse/ClickHouse/issues/14118
https://github.com/ClickHouse/ClickHouse/pull/14122
0f706c01caad8ac83308413ddc019d7c4ee0373d
67f16d5ae8e5ecfdb989c689134c279f8a9c2fa4
2020-08-26T16:32:08Z
c++
2020-08-26T23:15:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,114
["src/Interpreters/MySQL/InterpretersMySQLDDLQuery.cpp", "src/Interpreters/MySQL/tests/gtest_create_rewritten.cpp", "src/Parsers/MySQL/ASTDeclareColumn.cpp"]
experimental MaterializeMySQL in 20.8 cannot synchronize "create table" commands
i use my steps 1. create a new database ckdb on mysql, then create table t1(a int, primary key(a)); and insert some rows 2. SET allow_experimental_database_materialize_mysql=1; at clickhouse, 3. CREATE DATABASE ckdb ENGINE = MaterializeMySQL('127.0.0.1:3306', 'ckdb', 'root', 'A123b_456'); 4. use ckdb and select ...
https://github.com/ClickHouse/ClickHouse/issues/14114
https://github.com/ClickHouse/ClickHouse/pull/14397
8e2fba5be1ec3b5a0c7f8bf34b72913547b19b20
3a7181cfcb47b9f54cde1dcb80340009909c20d4
2020-08-26T14:47:44Z
c++
2020-09-02T20:12:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,045
["src/Columns/ColumnVector.h", "src/Functions/if.cpp", "tests/queries/0_stateless/01475_mutation_with_if.reference", "tests/queries/0_stateless/01475_mutation_with_if.sql"]
Segmentation fault after upgrade from v20.5.5.74 to v20.6.4.44
``` 2020.08.25 12:14:14.924784 [ 10386 ] {} <Fatal> BaseDaemon: ######################################## 2020.08.25 12:14:14.924879 [ 10386 ] {} <Fatal> BaseDaemon: (version 20.6.4.44 (official build), no build id) (from thread 10231) (no query) Received signal Segmentation fault (11) 2020.08.25 12:14:14.924933 [ 10...
https://github.com/ClickHouse/ClickHouse/issues/14045
https://github.com/ClickHouse/ClickHouse/pull/14646
3e00d64ebf38218a3210b8be42f73858bbb804c4
336430d3c27bfcfd7b45d314fea62dbaf66c3852
2020-08-25T12:26:58Z
c++
2020-09-14T06:51:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
14,006
["src/Functions/FunctionBase64Conversion.h"]
MemorySanitizer: use-of-uninitialized-value
https://clickhouse-test-reports.s3.yandex.net/13925/0f492917338ba5b20728563e38abc35be67d606c/stress_test_(memory)/stderr.log MemorySanitizer: use-of-uninitialized-value in DB::FunctionToStringCutToZero::tryExecuteString. Uninitialized value was created ... in DB::FunctionBase64ConversionDB::Base64Decode::executeImp...
https://github.com/ClickHouse/ClickHouse/issues/14006
https://github.com/ClickHouse/ClickHouse/pull/15030
bf81dcbd2ff02945527f19f13a97f8aadbde26b7
068e9f372e35a9c0cad84cfe7230de61f5ed2023
2020-08-24T14:08:30Z
c++
2020-09-20T16:03:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,992
["src/Interpreters/OptimizeIfWithConstantConditionVisitor.cpp", "tests/queries/0_stateless/01503_if_const_optimization.reference", "tests/queries/0_stateless/01503_if_const_optimization.sql"]
Syntax check fails for function CAST() (found by fuzzer)
**Describe the bug** ClickHouse is unable to detect syntax error in expression: `SELECT if(CAST(NULL), '2.55', NULL) AS x`, which leads to a failure. **How to reproduce** * Reproduces in 20.7, 20.8 version of ClickHouse * Queries to run that lead to unexpected result **Expected behavior** A clear message, ind...
https://github.com/ClickHouse/ClickHouse/issues/13992
https://github.com/ClickHouse/ClickHouse/pull/15029
068e9f372e35a9c0cad84cfe7230de61f5ed2023
3f5d7843f6a2f2a4bd284db3bc79fefe15b7ce8f
2020-08-24T09:52:21Z
c++
2020-09-20T16:03:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,990
["tests/queries/0_stateless/01584_distributed_buffer_cannot_find_column.reference", "tests/queries/0_stateless/01584_distributed_buffer_cannot_find_column.sql", "tests/queries/0_stateless/arcadia_skip_list.txt"]
Code: 8. DB::Exception: Cannot find column xx in source stream
**Describe the bug** I created a table with engine = buffer and going to flush data to distributed table in shard. All things are done from create tables to insert data. I also select data by basic queries but it failed if I use sum, count and the following error shows: ``` SELECT sum(amount) FROM realtime.realtime...
https://github.com/ClickHouse/ClickHouse/issues/13990
https://github.com/ClickHouse/ClickHouse/pull/17298
00da5148a105f9306b6d15492090453e96988d39
650d20fdeb9db045f96f5ee5abfa046b785a17cd
2020-08-24T09:05:41Z
c++
2020-11-29T14:54:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,981
["src/Dictionaries/ExternalQueryBuilder.cpp", "src/Dictionaries/SSDComplexKeyCacheDictionary.cpp", "src/Dictionaries/SSDComplexKeyCacheDictionary.h"]
An error in SSD Cache dictionary (found by fuzzer)
https://clickhouse-test-reports.s3.yandex.net/8367/333ec2e496f4fe4addd22d5fa7c5c2a499099c57/fuzzer/fuzzer.log#fail1
https://github.com/ClickHouse/ClickHouse/issues/13981
https://github.com/ClickHouse/ClickHouse/pull/14313
76aa1d15adcfc9745f730b1294d9378358f18de7
7bd31fb3d3b5a2b0d960f0da52e00b829825eb1f
2020-08-23T21:32:32Z
c++
2020-09-02T21:50:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,962
["src/Functions/FunctionsJSON.h", "tests/queries/0_stateless/01685_json_extract_double_as_float.reference", "tests/queries/0_stateless/01685_json_extract_double_as_float.sql"]
JSONExtract returns 0 for numbers with floating-point for type float / Float32
**Describe the bug** JSONExtract returns 0 for numbers with floating-point for type *float / Float32*. **How to reproduce** ```sql WITH '{ "v":1.1}' AS raw SELECT JSONExtract(raw, 'v', 'float') AS float32_1, JSONExtract(raw, 'v', 'Float32') AS float32_2, JSONExtractFloat(raw, 'v') AS float64_...
https://github.com/ClickHouse/ClickHouse/issues/13962
https://github.com/ClickHouse/ClickHouse/pull/19960
fb02d5653494e8b45560e3dc5f6f0be18c1dff9c
695e28079dff59d4eb1798da98899a3b2c3ffa44
2020-08-22T08:01:33Z
c++
2021-02-02T12:15:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,958
["src/Columns/ColumnLowCardinality.cpp", "tests/queries/0_stateless/01456_low_cardinality_sorting_bugfix.reference", "tests/queries/0_stateless/01456_low_cardinality_sorting_bugfix.sql"]
Multiple ORDER BY expressions not returning correct order
**Describe the bug** When using ORDER BY with multiple expressions on a MergeTree table, the ordering is not correct. **How to reproduce** ` yandex/clickhouse-server:20.5.2.7` Create the table: ```sql create table order_test ( timestamp DateTime64(3), color LowCardinality(Nullable(String)) )...
https://github.com/ClickHouse/ClickHouse/issues/13958
https://github.com/ClickHouse/ClickHouse/pull/14223
2d33a4029bc71a3ab5127330e8f8f74db1f3a24f
2a514eae219839940a28d3b7678b9097fc421eff
2020-08-21T18:35:58Z
c++
2020-08-29T15:25:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,926
["src/Common/UnicodeBar.cpp", "src/Common/UnicodeBar.h", "src/Common/ya.make", "tests/queries/0_stateless/01502_bar_overflow.reference", "tests/queries/0_stateless/01502_bar_overflow.sql"]
It's possible that function `bar` will try to allocate too much memory.
Not a bug (the user will get exception) but triggers assertion in debug build. See: https://clickhouse-test-reports.s3.yandex.net/13922/dd4b8b96635beecaaa40cd635f56818242b3f2a3/fuzzer/fuzzer.log#fail1
https://github.com/ClickHouse/ClickHouse/issues/13926
https://github.com/ClickHouse/ClickHouse/pull/15028
3f5d7843f6a2f2a4bd284db3bc79fefe15b7ce8f
7b35a6a59a52be8ff6d0d3e85869ca7270455f68
2020-08-20T17:45:04Z
c++
2020-09-20T16:04:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,911
["docs/en/sql-reference/statements/create/table.md", "src/Interpreters/InterpreterCreateQuery.cpp", "src/Storages/AlterCommands.cpp", "tests/queries/0_stateless/01462_test_codec_on_alias.reference", "tests/queries/0_stateless/01462_test_codec_on_alias.sql"]
CODEC is allowed for ALIAS column
**Describe the bug** `CODEC` is allowed for `ALIAS` column **How to reproduce** ``` sql CREATE TABLE t102 ( `c0` ALIAS c1 CODEC(ZSTD), `c1` String ) ENGINE = Memory() Ok. DESCRIBE TABLE t102 ┌─name─┬─type───┬─default_type─┬─default_expression─┬─comment─┬─codec_expression─┬─ttl_expression─┐ ...
https://github.com/ClickHouse/ClickHouse/issues/13911
https://github.com/ClickHouse/ClickHouse/pull/14263
4d96510a294cd498d649051ed85187b9eb7f9484
e28b477f79a38e8e2b9726f7a94dbd94ff1cce9b
2020-08-20T10:37:15Z
c++
2020-09-01T06:42:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,907
["tests/queries/0_stateless/02210_toColumnTypeName_toLowCardinality_const.reference", "tests/queries/0_stateless/02210_toColumnTypeName_toLowCardinality_const.sql"]
toColumnTypeName(toLowCardinality(...)) does not work
**Describe the unexpected behaviour** ClickHouse reports an error on `toColumnTypeName(toLowCardinality(...))`. **How to reproduce** ```sql SELECT toColumnTypeName(toLowCardinality(1)) Received exception from server (version 20.7.1): Code: 44. DB::Exception: Received from localhost:9000. DB::Exception: Cannot...
https://github.com/ClickHouse/ClickHouse/issues/13907
https://github.com/ClickHouse/ClickHouse/pull/34471
3a0e71ca14751a0f43ef99b7a6faa7f4bb1974a7
9a757c0ed1704301407c0d587efcc7e852c2bf60
2020-08-20T06:11:54Z
c++
2022-02-10T10:30:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,893
["tests/queries/0_stateless/01537_fuzz_count_equal.reference", "tests/queries/0_stateless/01537_fuzz_count_equal.sql"]
Crash with Null and countEqual
``` SELECT NULL = countEqual(materialize([arrayJoin([NULL, NULL, NULL]), NULL AS x, arrayJoin([255, 1025, NULL, NULL]), arrayJoin([2, 1048576, NULL, NULL])]), materialize(x)) ``` ``` 020.08.19 19:27:31.685853 [ 30223 ] {} <Trace> BaseDaemon: Received signal 11 2020.08.19 19:27:31.686133 [ 16976 ] {} <Fatal> Base...
https://github.com/ClickHouse/ClickHouse/issues/13893
https://github.com/ClickHouse/ClickHouse/pull/16453
6667261b023296054c1811d5d27a5c416e17a299
7c4b0e559d123b5e71c1c91c0dc0a24e90ceb9db
2020-08-19T16:30:34Z
c++
2020-10-28T06:26:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,871
["src/IO/WriteBufferFromS3.cpp", "src/IO/WriteBufferFromS3.h", "src/Storages/StorageS3.cpp", "src/Storages/StorageS3.h", "tests/integration/test_storage_s3/test.py"]
S3 table engine compression doesn't work.
**Describe the bug** Clickhouse expect last parameter of S3 table engine to be data format, not compression type. **How to reproduce** Clickhouse version 20.5.4.40 ``` CREATE TABLE test_s3(S_SUPPKEY UInt32, S_NAME String, S_ADDRESS String, S_CITY LowCardina...
https://github.com/ClickHouse/ClickHouse/issues/13871
https://github.com/ClickHouse/ClickHouse/pull/15376
2f95609f98a1c690f81b198b8ec1fe238dd0c6f9
9808d0be818e1c764ba11eccf19b3e8d3929ba83
2020-08-18T22:18:40Z
c++
2020-10-01T01:30:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,864
["src/Storages/MergeTree/MergeTreeReaderStream.cpp"]
Performance degradation between 20.1 and 20.3 for large number of very short queries with LowCardinality fields
Schema ``` ATTACH TABLE default.test (`col1` UUID, `col2` LowCardinality(String)) ENGINE = MergeTree ORDER BY (col1, col2) SETTINGS index_granularity = 128; ``` Data sample: https://www.dropbox.com/s/untu96ad69a2thl/test_data.tar.gz?dl=0 Query: ``` echo "SELECT col1, col2 FROM test PREWHERE col1 = '042fecec-...
https://github.com/ClickHouse/ClickHouse/issues/13864
https://github.com/ClickHouse/ClickHouse/pull/14129
65a69ff6ad674df1a2d436c07819b7bd90198089
9baa0fbf816ba498c870672b82c13caa53d3f573
2020-08-18T16:27:47Z
c++
2020-08-27T12:07:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,857
["src/Functions/array/arrayCompact.cpp", "tests/queries/0_stateless/01025_array_compact_generic.reference", "tests/queries/0_stateless/01025_array_compact_generic.sql"]
arrayCompact UB for nan, nan + Null
in some cases nan === nan ``` SELECT arrayCompact([1, 1, nan, nan, 2, 3, 3, 3]) AS x ┌─x───────────────┐ │ [1,nan,nan,2,3] │ └─────────────────┘ SELECT arrayCompact([1, 1, nan, nan, 2, 3, 3, inf, inf, 3]) AS x ┌─x─────────────────────┐ │ [1,nan,nan,2,3,inf,3] │ └───────────────────────┘ SELECT array...
https://github.com/ClickHouse/ClickHouse/issues/13857
https://github.com/ClickHouse/ClickHouse/pull/13868
663ff938c208bdb97183d357f95d42891df00c0b
6d72777b6e9f9dc83b0a9cd2b26ba5fabecb6b64
2020-08-18T13:07:58Z
c++
2020-08-19T08:53:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,845
["tests/queries/0_stateless/01765_tehran_dst.reference", "tests/queries/0_stateless/01765_tehran_dst.sql"]
data not from oracle in date 2020-03-21 (Daylight Saving Time)
when i try to import data from oracle in 2020-03-21 , 30 % of records import and others ignored. my clickhouse DateTime timezone is Asia-Tehran
https://github.com/ClickHouse/ClickHouse/issues/13845
https://github.com/ClickHouse/ClickHouse/pull/21995
7a48ce6b794b1259898d919b24ae0abbc25cac06
7c0dba1b0ce30ff216f82fb1fa87b1d11b88b5d6
2020-08-18T01:45:46Z
c++
2021-03-23T17:04:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,832
["src/Interpreters/ExternalLoader.cpp", "tests/integration/test_catboost_model_first_evaluate/__init__.py", "tests/integration/test_catboost_model_first_evaluate/config/models_config.xml", "tests/integration/test_catboost_model_first_evaluate/model/libcatboostmodel.so", "tests/integration/test_catboost_model_first_eval...
First modelEvaluate() call on a newly created CatBoost model deadlocks forever
Hello, so I'm working to integrate CatBoost model with our ClickHouse cluster. It appears that, whenever we create a new XML model file in the configured path, the **first** call to the new model never returns (this is true both of the HTTP interface as well as via clickhouse-client). Independently from whether t...
https://github.com/ClickHouse/ClickHouse/issues/13832
https://github.com/ClickHouse/ClickHouse/pull/21844
36898bdc4a2df3ec38e0e6befa8589564a3cef9a
090e558da4a93741dbe8de5415781fe1951d82c1
2020-08-17T10:20:37Z
c++
2021-03-23T12:01:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,804
["src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/01560_DateTime_and_DateTime64_comparision.reference", "tests/queries/0_stateless/01560_DateTime_and_DateTime64_comparision.sql", "tests/queries/0_stateless/01561_Date_and_DateTime64_comparision.reference", "tests/queries/0_stateless/01561_Date_and_DateT...
Comparison DateTime64 to DateTime / Date
**Use case** Comparison between DateTime64 and DateTime / Date types is allowed but the behavior is confusing (it looks like used numerical comparison): * from one side for zero-precision it works as expected (values compared as datetime-based ones): ```sql SELECT toTypeName(dt64) AS dt64_typename, dt64 = dt...
https://github.com/ClickHouse/ClickHouse/issues/13804
https://github.com/ClickHouse/ClickHouse/pull/18050
b93d0f3922369d4cf0b51e41ffb15f742d014ed4
7985ed9778ff9f4bebc22be63dac420482a9f1bc
2020-08-16T08:47:39Z
c++
2020-12-22T02:12:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,750
["docker/test/fuzzer/query-fuzzer-tweaks-users.xml"]
JIT, least/greatest, vector range check
``` will now parse 'SELECT toTypeName(least(-9223372036854775808, 18446744073709551615)), toTypeName(greatest(-9223372036854775808, 18446744073709551615)); ' fuzzing step 0 out of 1000 for query at pos 0 [linux-ubuntu-14-04-trusty] 2020.08.14 20:44:02.223877 [ 246 ] <Fatal> BaseDaemon: #############################...
https://github.com/ClickHouse/ClickHouse/issues/13750
https://github.com/ClickHouse/ClickHouse/pull/18777
6430fd3b2ab60b5b68d8a97252b3864eac1cc80b
cb8b6ff3fadda5a9c37cab8e4d63085ef0cc83e8
2020-08-15T08:03:31Z
c++
2021-01-06T04:18:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,742
["docs/en/sql-reference/aggregate-functions/reference/index.md", "docs/en/sql-reference/aggregate-functions/reference/quantileexact.md", "src/AggregateFunctions/AggregateFunctionQuantile.cpp", "src/AggregateFunctions/AggregateFunctionQuantile.h", "src/AggregateFunctions/QuantileExact.h", "tests/queries/0_stateless/0070...
quantileExactLow, quantileExactHight
Users want to get rounding mode in `quantileExact` equivalent to "median_low" from Python: https://docs.python.org/3/library/statistics.html#statistics.median_low while current implementation works equivalent to "median_high" (?)
https://github.com/ClickHouse/ClickHouse/issues/13742
https://github.com/ClickHouse/ClickHouse/pull/13818
e3c919ec19157f24b1ab2e121ba0693203d3bebe
e4fc48254a563874157f28f0535649ee684475dd
2020-08-14T23:28:51Z
c++
2020-08-24T19:51:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,705
["src/AggregateFunctions/IAggregateFunction.h", "src/Interpreters/Aggregator.cpp", "tests/queries/0_stateless/01441_array_combinator.reference", "tests/queries/0_stateless/01441_array_combinator.sql"]
A bug in GROUP BY in version 20.7 (unreleased)
**Describe the bug** ``` SELECT number % 100 AS k, sumArray(emptyArrayUInt8()) AS v FROM numbers(10) GROUP BY k ``` Fails under ASan.
https://github.com/ClickHouse/ClickHouse/issues/13705
https://github.com/ClickHouse/ClickHouse/pull/13709
9a640ff210541cf52fef44bcccf0a6f0a2c16287
9e33f41dece5be2fe925414da6a2c44547d5b0c6
2020-08-14T05:12:01Z
c++
2020-08-14T22:10:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,666
["src/Interpreters/DuplicateDistinctVisitor.h", "src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/01305_duplicate_order_by_and_distinct.reference", "tests/queries/0_stateless/01306_disable_duplicate_order_by_and_distinct_optimize_for_distributed_table.reference", "tests/queries/0_stateless/01306_disable_...
DISTINCT works incorrectly if was already applied to one of the subqueries
Hello, there. Run into the problem with DISTINCT expression. It works incorrectly on the main query if it was already applied to one of the subqueries bond with UNION ALL. **How to reproduce** Server version: 20.5.4.40. 19.17.6.36 was free of the bug. Using Datagrip for running queries. Non-default settings: ```...
https://github.com/ClickHouse/ClickHouse/issues/13666
https://github.com/ClickHouse/ClickHouse/pull/13925
6a164634d7a5ea5ddcafc39a8455ace136f211a2
2e6ff0c5ec0b5d39781f8602769358c57af39a66
2020-08-13T06:14:01Z
c++
2020-08-24T19:33:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,654
["base/common/LineReader.cpp", "tests/queries/0_stateless/01599_multiline_input_and_singleline_comments.reference", "tests/queries/0_stateless/01599_multiline_input_and_singleline_comments.sh"]
client interactive mode line comments (-- ) does not work anymore.
20.7.1.4189 ``` clickhouse-client -m :) select 1 :-] ---abbbb :-] , 2 b :-] ; SELECT 1 ┌─1─┐ │ 1 │ └───┘ ``` 19.13.7.57 ``` clickhouse-client -m select 1 :-] --xxxx :-] ,2 b :-] ; SELECT 1, 2 AS b ┌─1─┬─b─┐ │ 1 │ 2 │ └───┴───┘ ```
https://github.com/ClickHouse/ClickHouse/issues/13654
https://github.com/ClickHouse/ClickHouse/pull/17565
df90cbd7d34059d22e16c6ab4775f43f16e6faba
46e685e1b8e3e1150f978e885670dd058318924e
2020-08-12T17:22:54Z
c++
2020-11-30T06:38:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,653
["tests/queries/0_stateless/02468_has_any_tuple.reference", "tests/queries/0_stateless/02468_has_any_tuple.sql"]
Unexpected type inequality
select [(toUInt8(3), toUInt8(3))] = [(toInt16(3), toInt16(3))] -- true select hasAny([(toInt16(3), toInt16(3))],[(toInt16(3), toInt16(3))]) -- true select arrayFilter(x -> x = (toInt16(3), toInt16(3)), arrayZip([toUInt8(3)], [toUInt8(3)])) -- [(3,3)] select hasAny([(toUInt8(3), toUInt8(3))],[(toInt16(3), to...
https://github.com/ClickHouse/ClickHouse/issues/13653
https://github.com/ClickHouse/ClickHouse/pull/42512
bd80e6a10b0b7e2f539e79419b160cef9a775141
8c5e6a8d6c4e043ea4a56e3ebce516d22b026d93
2020-08-12T16:04:15Z
c++
2022-10-20T22:03:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,634
["src/Columns/ColumnVector.h", "src/Functions/if.cpp", "tests/queries/0_stateless/01475_mutation_with_if.reference", "tests/queries/0_stateless/01475_mutation_with_if.sql"]
Updating a Nullable column to a value would sets another value if `where` is used
Updating a Nullable column value by using alter .... where ... causes to set another value! ClickHouse version: 20.6.3.28 Engine: MergeTree OS: Ubuntu 18.04.3 LTS Steps to reproduce: ```sql CREATE TABLE table1( id int, price Nullable(Int32) ) ENGINE = MergeTree() PARTITION BY id ORDER BY (id); INSERT...
https://github.com/ClickHouse/ClickHouse/issues/13634
https://github.com/ClickHouse/ClickHouse/pull/14646
3e00d64ebf38218a3210b8be42f73858bbb804c4
336430d3c27bfcfd7b45d314fea62dbaf66c3852
2020-08-12T04:38:06Z
c++
2020-09-14T06:51:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,630
["src/Formats/FormatFactory.cpp", "src/Processors/Formats/Impl/LineAsStringRowInputFormat.cpp", "src/Processors/Formats/Impl/LineAsStringRowInputFormat.h", "src/Processors/ya.make", "tests/queries/0_stateless/01460_line_as_string_format.reference", "tests/queries/0_stateless/01460_line_as_string_format.sh"]
LineAsString format.
Treat every line of input as a single String field. Similar to `JSONAsString`.
https://github.com/ClickHouse/ClickHouse/issues/13630
https://github.com/ClickHouse/ClickHouse/pull/13846
e9be2f14ea8ac45f11c7c65b6c36646b64a5b390
a39ba57e8c4e72781e22c7b45a8f30efab1d3e75
2020-08-12T00:00:54Z
c++
2020-09-10T14:10:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,629
["src/Formats/FormatFactory.cpp", "src/Formats/FormatFactory.h", "src/Processors/Formats/Impl/ODBCDriverBlockOutputFormat.cpp", "src/Processors/Formats/Impl/ODBCDriverBlockOutputFormat.h", "src/Processors/ya.make"]
Deprecate ODBCDriver format.
Leave only ODBCDriver2.
https://github.com/ClickHouse/ClickHouse/issues/13629
https://github.com/ClickHouse/ClickHouse/pull/13847
2e6ff0c5ec0b5d39781f8602769358c57af39a66
e3c919ec19157f24b1ab2e121ba0693203d3bebe
2020-08-11T23:57:00Z
c++
2020-08-24T19:34:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,584
["programs/client/Client.cpp", "tests/queries/0_stateless/00964_live_view_watch_events_heartbeat.py", "tests/queries/0_stateless/00965_live_view_watch_heartbeat.py"]
SELECT ... FORMAT JSON is not a valid JSON.
**How to reproduce** ``` :) CREATE TABLE `test` (`data` Int64) ENGINE=MergeTree() ORDER BY(`data`); CREATE TABLE test ( `data` Int64 ) ENGINE = MergeTree() ORDER BY data Ok. 0 rows in set. Elapsed: 0.007 sec. ``` ``` :) INSERT INTO `test` VALUES(100); INSERT INTO test VALUES Ok. 1 r...
https://github.com/ClickHouse/ClickHouse/issues/13584
https://github.com/ClickHouse/ClickHouse/pull/13691
c157b7a6858fa2de229721a6667213274388e561
318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281
2020-08-10T15:05:45Z
c++
2020-08-26T10:25:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,477
["tests/queries/0_stateless/01633_limit_fuzz.reference", "tests/queries/0_stateless/01633_limit_fuzz.sql"]
limit + offset: PODArray.h:342 assertion failed
``` SELECT number, 1 AS k FROM numbers(100000) ORDER BY k, number LIMIT 1025, 1023 clickhouse-server: /home/akuzm/ch2/ch/src/Common/PODArray.h:342: const T &DB::PODArray<char8_t, 4096, Allocator<false, false>, 15, 16>::operator[](ssize_t) const [T = char8_t, initial_bytes = 4096, TAllocator = Allocator<false,...
https://github.com/ClickHouse/ClickHouse/issues/13477
https://github.com/ClickHouse/ClickHouse/pull/18708
c0a1d6b9b09d8c7c777a87e0573884bc542b6ec0
750a39171689ceacb3c67d73098503c18f7acc2d
2020-08-07T13:49:58Z
c++
2021-01-04T13:45:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,424
["src/Interpreters/JoinedTables.cpp", "src/Interpreters/PredicateExpressionsOptimizer.cpp", "src/Storages/StorageMerge.cpp", "src/Storages/VirtualColumnUtils.h", "tests/queries/0_stateless/01436_storage_merge_with_join_push_down.reference", "tests/queries/0_stateless/01436_storage_merge_with_join_push_down.sql"]
Server crash on Merge-table join & filter condition
In (Merge -> Distributed -> MergeTree) tables structure server **crashes** on SELECT query when: 1. Merge table is queried 2. There is a filtration condition 3. There is JOIN on some other table (no matter what) **How to reproduce** Prerequisites: CH with 'clstr1' cluster created (I tested on 2 nodes cluster in...
https://github.com/ClickHouse/ClickHouse/issues/13424
https://github.com/ClickHouse/ClickHouse/pull/13679
09a72d0c64ef1efeff54dc47b9943ea61008fb62
89e967333662c8ec4c46dfa1ba12bd10781538b9
2020-08-06T16:01:01Z
c++
2020-08-14T09:38:18Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,383
["src/Functions/extractAllGroups.h", "tests/queries/0_stateless/01497_extract_all_groups_empty_match.reference", "tests/queries/0_stateless/01497_extract_all_groups_empty_match.sql"]
extactAllGroups[Horizonta|Vertical] stuck and high memory usage with specific regexp expression
**How to reproduce** Clickhouse version 20.5.2.7 ``` SELECT extractAllGroupsHorizontal(' a=10e-2,b=c,c="d",d=2,f=1.3, g="1,3", s=, k=3', '\W(\w+)=("[\w.,-]*")|([\w.-]*)'); SELECT extractAllGroupsVertical(' a=10e-2,b=c,c="d",d=2,f=1.3, g="1,3", s=, k=3', '\W(\w+)=("[\w.,-]*")|([\w.-]*)'); SELECT extractAllGroupsV...
https://github.com/ClickHouse/ClickHouse/issues/13383
https://github.com/ClickHouse/ClickHouse/pull/14889
000cd42d5ea64199b95029dfbde60def67ffccef
2413caa7d5b62db0b0ea2a5e7d3ab9406a3e6c75
2020-08-05T12:37:16Z
c++
2020-09-17T13:02:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,380
["docs/en/sql-reference/aggregate-functions/reference/index.md"]
Incorrect link in documentation
On the page https://clickhouse.tech/docs/en/sql-reference/aggregate-functions/reference/, the link topK actually leads to topKWeighted.
https://github.com/ClickHouse/ClickHouse/issues/13380
https://github.com/ClickHouse/ClickHouse/pull/13381
0eaab3d0954683aa6adf3d9d31e16c267ba5ebc0
4e08b60b5e77e6ff2e2c8a40e7d2357cc8de014d
2020-08-05T11:29:01Z
c++
2020-08-05T13:06:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,369
["programs/client/Client.cpp", "tests/queries/0_stateless/00964_live_view_watch_events_heartbeat.py", "tests/queries/0_stateless/00965_live_view_watch_heartbeat.py"]
Invalid json output with FORMAT JSON
Easy to reproduce: ### 20.3.13 ``` SELECT 1 FORMAT JSON { "meta": [ { "name": "1", "type": "UInt8" } ], "data": [ { "1": 1 ...
https://github.com/ClickHouse/ClickHouse/issues/13369
https://github.com/ClickHouse/ClickHouse/pull/13691
c157b7a6858fa2de229721a6667213274388e561
318f14b95e0bbc02d1a5f07241d8f2c1c3d4d281
2020-08-05T10:24:16Z
c++
2020-08-26T10:25:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,368
["src/Functions/lcm.cpp", "tests/queries/0_stateless/01435_lcm_overflow.reference", "tests/queries/0_stateless/01435_lcm_overflow.sql"]
Assert in lcm function.
``` SELECT lcm(256, 9223372036854775807) ```
https://github.com/ClickHouse/ClickHouse/issues/13368
https://github.com/ClickHouse/ClickHouse/pull/13510
ec89e921709370d2e931d4354c197836bca51291
3af1eba808da93018777821b8260c85ebede8fde
2020-08-05T10:11:55Z
c++
2020-08-08T14:02:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,362
["src/Common/BitHelpers.h", "src/IO/parseDateTimeBestEffort.cpp", "tests/queries/0_stateless/01432_parse_date_time_best_effort_timestamp.reference", "tests/queries/0_stateless/01432_parse_date_time_best_effort_timestamp.sql"]
parseDateTime64BestEffort can not parse timestamp correct
(you don't have to strictly follow this form) i use parseDateTime64BestEffort function to parse string to datetime. i have met a stranger situation. when i use : ``` select parseDateTime64BestEffortOrNull('1596538462') from test_file_1_tmp limit 1; ``` result: ``` 2020-08-04 18:55:26.000 ``` when i use :...
https://github.com/ClickHouse/ClickHouse/issues/13362
https://github.com/ClickHouse/ClickHouse/pull/13441
55088d53cdfc90f0dcf3521ceec29394224053d3
b5667e3b0f9df563ff7bf515b2f3d8aba21dda3d
2020-08-05T09:10:15Z
c++
2020-08-07T11:02:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,361
["src/Interpreters/DDLWorker.cpp", "tests/integration/test_on_cluster_timeouts/__init__.py", "tests/integration/test_on_cluster_timeouts/configs/remote_servers.xml", "tests/integration/test_on_cluster_timeouts/configs/users_config.xml", "tests/integration/test_on_cluster_timeouts/test.py"]
Cannot execute replicated DDL query on leader
I deleted all the zookeeper's for clickhouse path because its hard disk was full, after that I restarted the cluster. Right now the data can not be inserted because the path is not created
https://github.com/ClickHouse/ClickHouse/issues/13361
https://github.com/ClickHouse/ClickHouse/pull/13450
a348bc4641684b79f87c083643a5a46ae60132bb
d806e0c0522978cf7fc1b06d6ebf020c1311079e
2020-08-05T09:02:11Z
c++
2020-08-24T16:23:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
13,342
["tests/queries/0_stateless/01536_fuzz_cast.reference", "tests/queries/0_stateless/01536_fuzz_cast.sql"]
Assert in CAST
``` SELECT CAST(arrayJoin([NULL, '', '', NULL, '', NULL, '01.02.2017 03:04\005GMT', '', NULL, '01/02/2017 03:04:05 MSK01/02/\0017 03:04:05 MSK', '', NULL, '03/04/201903/04/201903/04/\001903/04/2019']), 'Enum8(\'a\' = 1, \'b\' = 2)') AS x ``` `Logical error: 'Last column should be ColumnNullable'.`
https://github.com/ClickHouse/ClickHouse/issues/13342
https://github.com/ClickHouse/ClickHouse/pull/16452
7c4b0e559d123b5e71c1c91c0dc0a24e90ceb9db
0cb377da6e85744c53b123cc5143c07c32c7cc5d
2020-08-04T21:20:41Z
c++
2020-10-28T06:26:19Z