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 | 26,794 | ["docs/en/getting-started/example-datasets/index.md", "docs/en/getting-started/example-datasets/opensky.md"] | Example dataset: air traffic data from OpenSky network. | https://zenodo.org/record/5092942#.YP5WAzpRXYc | https://github.com/ClickHouse/ClickHouse/issues/26794 | https://github.com/ClickHouse/ClickHouse/pull/27437 | a090bfc494d98bae4d60f27c00aa24f48486bd99 | 67d2a35d4ec885f36c24c683bb4f50616be300b9 | 2021-07-26T06:31:31Z | c++ | 2021-08-08T21:55:04Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,672 | ["src/DataTypes/DataTypeEnum.h", "src/Storages/StorageInMemoryMetadata.cpp", "tests/queries/0_stateless/02012_changed_enum_type_non_replicated.reference", "tests/queries/0_stateless/02012_changed_enum_type_non_replicated.sql", "tests/queries/0_stateless/02012_zookeeper_changed_enum_type.reference", "tests/queries/0_sta... | attaching parts with 'compatible' enum types | Got something like that in practice with backup recovery - IRL most probably the sequence of events leading to that discrepancy was different (not clear yet).
```sql
drop table enum_alter_issue;
create table enum_alter_issue (a Enum8('one' = 1, 'two' = 2)) engine = ReplicatedMergeTree('/clickhouse/tables/enum_alte... | https://github.com/ClickHouse/ClickHouse/issues/26672 | https://github.com/ClickHouse/ClickHouse/pull/28028 | b8296416f7f918ca67f526d306a0e3e7eebdbdce | bcaff654577b6c8248a44ed1731fefaa63ee1566 | 2021-07-21T13:48:17Z | c++ | 2021-08-26T10:50:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,640 | ["src/Storages/Kafka/StorageKafka.cpp"] | Change the kafka consumers max value from 16 to physical cpu cores | (you don't have to strictly follow this form)
**Use case**
Our Machine is 96 cores, 256 GB, 10T ssd.
We want to use the Kafka Engine table and distribute table only for writing data to other worker nodes .
**Describe the solution you'd like**
One Kafka Engine Node can consumer more data, and reduce the other c... | https://github.com/ClickHouse/ClickHouse/issues/26640 | https://github.com/ClickHouse/ClickHouse/pull/26642 | 5ffd99dfd43472e77fe2738f18d5ba9f1933db73 | 6230ad016009da740ea29a046d795b37497fcd96 | 2021-07-21T02:37:26Z | c++ | 2021-07-22T08:54:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,591 | ["src/Interpreters/inplaceBlockConversions.cpp", "tests/queries/0_stateless/02000_default_from_default_empty_column.reference", "tests/queries/0_stateless/02000_default_from_default_empty_column.sql"] | A non-materialized column cannot be retrieved if its default expression depends on another non-materialized column | I get an exception when I query a column that tries to calculate its default from a column that does not exist either.
Here is a reproducible example:
```
create table test (col Int8) engine=MergeTree order by tuple();
insert into test values (1);
alter table test add column s1 String;
alter table test add co... | https://github.com/ClickHouse/ClickHouse/issues/26591 | https://github.com/ClickHouse/ClickHouse/pull/26900 | ea0514a95518a7646c5ccc1b6e1e075e5f66d6a7 | 26b129bef21f05cb9a425ae2802a1856bf040601 | 2021-07-20T18:27:19Z | c++ | 2021-07-28T19:40:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,522 | ["src/Processors/QueryPlan/ReadFromMergeTree.cpp", "tests/queries/0_stateless/02002_sampling_and_unknown_column_bug.reference", "tests/queries/0_stateless/02002_sampling_and_unknown_column_bug.sql"] | 21.7+ Cannot find column in source stream in a query with sampling | 21.7.3 throws an exception if `_sample_factor` is used in a query:
```
CREATE TABLE sessions
(
`user_id` UInt64
)
ENGINE = MergeTree
ORDER BY user_id
SAMPLE BY user_id;
insert into sessions values(1);
SELECT
sum(user_id * _sample_factor)
FROM sessions
SAMPLE 10000000
DB::Exception: Cannot fi... | https://github.com/ClickHouse/ClickHouse/issues/26522 | https://github.com/ClickHouse/ClickHouse/pull/27301 | fad30f6949728ca128f13df3b8c643efff379e81 | fa5bcb2e3053cb4e6afb7c0eeb54e561cd4a97df | 2021-07-19T17:05:25Z | c++ | 2021-08-07T15:39:19Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,511 | ["src/DataStreams/RemoteBlockInputStream.cpp", "src/DataStreams/RemoteBlockInputStream.h", "tests/queries/0_stateless/01956_skip_unavailable_shards_excessive_attempts.reference", "tests/queries/0_stateless/01956_skip_unavailable_shards_excessive_attempts.sh"] | skip_unavailable_shards=1 makes 6 tries if a shard is unavailable | ```
set skip_unavailable_shards=1;
select hostname(), * from cluster('{cluster}', system.one);
Connection failed at try №1,
Connection failed at try №2,
Connection failed at try №3,
Connection failed at try №1,
Connection failed at try №2,
Connection failed at try №3,
```
expected 3 try. | https://github.com/ClickHouse/ClickHouse/issues/26511 | https://github.com/ClickHouse/ClickHouse/pull/26658 | b4c3796dc6f4ae88d98b56d504ee431d73415922 | f9581893d85202fe1fc8b408b08517d5b92af7f7 | 2021-07-19T15:20:07Z | c++ | 2021-07-21T23:12:32Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,503 | ["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "src/Storages/StorageMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.cpp", "tests/integration/test_cleanup_after_start/__init__.py", "tests/integration/test_cleanup_after_start/test.py"] | Remove 'delete_tmp_' directories on server start-up | For some reasons when we delete a MergeTree Part in atomic way something may go wrong - and leave the `delete_tmp_*` folder or it's part on disk. This may lead to a disk space consumption over time.
It's suggested to delete this folders at least at server start-up. Current solution with `clearOldTemporaryDirectories... | https://github.com/ClickHouse/ClickHouse/issues/26503 | https://github.com/ClickHouse/ClickHouse/pull/37906 | 6211a1c390035c3c1ac5f45815fb02bcbb8aa103 | 9fdc783eacdfae7fbf224fa2bda4e982aaeb5c13 | 2021-07-19T13:26:28Z | c++ | 2022-06-08T10:35:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,491 | ["src/Interpreters/ExternalDictionariesLoader.cpp", "src/Storages/StorageDictionary.cpp", "tests/queries/0_stateless/01948_dictionary_quoted_database_name.reference", "tests/queries/0_stateless/01948_dictionary_quoted_database_name.sql"] | Look like dictionary `SOURCE(CLICKHOUSE(...))` doesn't work after 21.6+ | **Does it reproduce on recent release?**
yes, 21.6, 21.7 from Docker reproducible
**Describe the bug**
```
CREATE DATABASE `_test.ДБ_atomic_` ENGINE=Atomic;
CREATE TABLE `_test.ДБ_atomic_`.table4
(
`id` UInt64,
`Col1` String,
`Col2` String,
`Col3` String,
`Col4` String,
`Col5` Stri... | https://github.com/ClickHouse/ClickHouse/issues/26491 | https://github.com/ClickHouse/ClickHouse/pull/26508 | d1eeb37cacc199fede617051152929f9580c87ea | 348a3abb0b14db8db105b0d551d0fc188e77ae6f | 2021-07-19T08:13:44Z | c++ | 2021-07-20T16:35:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,467 | ["src/Core/Settings.h", "src/Core/SettingsChangesHistory.h", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "src/Storages/MergeTree/MergeTreeSettings.h", "src/Storages/StorageMergeTree.cpp", "tests/queries/0_stateless/02710_allow_suspicious_indices.reference", "tests/queries/0_sta... | Add a setting `allow_suspicious_indices`. | Not sure is UB or expected B.
```sql
CREATE TABLE test
(
`a` Int64
)
ENGINE = MergeTree
PRIMARY KEY a
ORDER BY (a, a);
ALTER TABLE test
ADD COLUMN `b` Int64, MODIFY ORDER BY (a, a, b, b, b);
SHOW CREATE TABLE test;
CREATE TABLE test
(
`a` Int64,
`b` Int64
)
ENGINE = MergeTre... | https://github.com/ClickHouse/ClickHouse/issues/26467 | https://github.com/ClickHouse/ClickHouse/pull/48536 | 259d23303f63d17faa99723ddba9d9ba53ae5b9a | 6ba6e24a5a18d0bb521f3081b4f1b807506675b0 | 2021-07-17T14:27:05Z | c++ | 2023-04-24T20:27:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,361 | ["docs/en/engines/database-engines/materialized-mysql.md", "src/Common/mysqlxx/mysqlxx/Types.h", "src/Core/MySQL/MySQLReplication.cpp", "src/DataTypes/DataTypeString.cpp", "src/DataTypes/DataTypesNumber.cpp", "src/Databases/MySQL/MaterializedMySQLSyncThread.cpp", "src/Interpreters/MySQL/InterpretersMySQLDDLQuery.cpp", ... | MaterializeMySQL engine mysql time type error |
May I ask the MaterializeMySQL engine when a certain field type of mysql is changed to time, the entire library cannot be used, and an error is reported:
`2021.07.15 17:32:08.888869 [ 17577 ] {} <Debug> MaterializeMySQLSyncThread: Skip MySQL event:
=== FormatDescriptionEvent ===
Timestamp: 1626324911
Event ... | https://github.com/ClickHouse/ClickHouse/issues/26361 | https://github.com/ClickHouse/ClickHouse/pull/33429 | 677a7f1133c7e176dc38b291d54f63f0207e8799 | 9e91a9dfd1dae8072d9d2132a4b3e4bbb70e1c1d | 2021-07-15T10:33:31Z | c++ | 2022-01-26T08:29:46Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,325 | ["src/Interpreters/MergeJoin.cpp", "src/Processors/Transforms/JoiningTransform.cpp", "tests/queries/0_stateless/01943_pmj_non_joined_stuck.reference", "tests/queries/0_stateless/01943_pmj_non_joined_stuck.sql"] | Infinite loop in "partial merge JOIN". | Thankfully "partial merge join" is disabled by default.
```
milovidov-desktop :) SET max_block_size = 6, join_algorithm = 'partial_merge'
SET max_block_size = 6, join_algorithm = 'partial_merge'
Query id: 600704b7-b455-4726-8a9c-8e45b509f2fb
Ok.
0 rows in set. Elapsed: 0.002 sec.
milovidov-desktop :... | https://github.com/ClickHouse/ClickHouse/issues/26325 | https://github.com/ClickHouse/ClickHouse/pull/26374 | 427813071d2482e9fef32c8627719375e003f757 | c8ead44c23a67d536aef035e095a6d97a9aecef7 | 2021-07-14T19:07:08Z | c++ | 2021-07-16T06:50:44Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,303 | ["src/Core/Settings.h", "src/Functions/array/range.cpp", "tests/queries/0_stateless/01944_range_max_elements.reference", "tests/queries/0_stateless/01944_range_max_elements.sql"] | Safety threshold on data volume is triggered for function `range`. | test
```
DROP TABLE IF EXISTS range_issue;
CREATE TABLE range_issue
ENGINE = Log AS
SELECT range(rand() % 601) AS arr
FROM numbers(21000000)
```
It's regression:
20.7 - last version when test passes.
20.8 - first version when test fails.
Error message & stacktrace:
```
Received exception from serve... | https://github.com/ClickHouse/ClickHouse/issues/26303 | https://github.com/ClickHouse/ClickHouse/pull/26305 | a3742c58f91d8439a2eec7ff954732f45bb4d6c7 | 11a4b56f51871ea543b3bd4510446f208fbddeb8 | 2021-07-14T07:24:40Z | c++ | 2021-07-14T20:15:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,252 | ["src/Storages/RocksDB/StorageEmbeddedRocksDB.cpp"] | excessive/uncontrolled logging of EmbeddedRocksDB |
```
.../dbname/tablename$ ls -l
total 76600
-rw-r----- 1 clickhouse clickhouse 1175 Jul 9 06:41 000008.sst
-rw-r----- 1 clickhouse clickhouse 80 Jul 9 07:16 000015.log
-rw-r----- 1 clickhouse clickhouse 16 Jul 9 06:42 CURRENT
-rw-r----- 1 clickhouse clickhouse 37 Jul 9 06:38 IDENTITY
-rw-r----- 1 clickhouse cl... | https://github.com/ClickHouse/ClickHouse/issues/26252 | https://github.com/ClickHouse/ClickHouse/pull/26789 | 7b76bfc7196d5585368fd0b1f2ece44a0a806cb9 | 00a0bbd4055ee2765c4afe113f19e10e55604b9c | 2021-07-12T15:21:12Z | c++ | 2021-07-26T03:46:09Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,233 | ["src/Functions/abtesting.cpp", "src/Functions/abtesting.h", "src/Functions/registerFunctions.cpp", "src/Functions/tests/gtest_abtesting.cpp", "tests/queries/0_stateless/01411_bayesian_ab_testing.reference", "tests/queries/0_stateless/01411_bayesian_ab_testing.sql"] | Remove function `bayesAB` or break it in backward incompatible way. | This function is strange. Looks like the implementation is of low quality.
```
bool isDeterministic() const override { return false; }
bool isDeterministicInScopeOfQuery() const override { return false; }
```
Why it is not deterministic? Missing a comment.
```
String convertToJson(const PODArray<String> & va... | https://github.com/ClickHouse/ClickHouse/issues/26233 | https://github.com/ClickHouse/ClickHouse/pull/29934 | 9a1f930b2fc2e6fb476ec4a85e16cd86c38c8675 | 7c67d764c0281e079b57c1bb7a042ab3dd3ffb37 | 2021-07-12T04:26:21Z | c++ | 2021-10-12T15:00:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,216 | ["src/Core/PostgreSQL/insertPostgreSQLValue.cpp", "src/Databases/PostgreSQL/fetchPostgreSQLTableStructure.cpp", "src/Storages/PostgreSQL/StorageMaterializedPostgreSQL.cpp", "src/Storages/StoragePostgreSQL.cpp", "tests/integration/test_postgresql_replica_database_engine/test.py", "tests/integration/test_storage_postgres... | timestamp format should convert to DateTime64 not DateTime in postgres engine |
**Describe the unexpected behaviour**
currently data format name started with `timestamp`(timestamp/timestamptz) all converted to DateTime in postgres engine, this will losing precision of millisecond and microsecond, so they should be regarded as DtateTime64 data format
**Expected behavior**
they should be ... | https://github.com/ClickHouse/ClickHouse/issues/26216 | https://github.com/ClickHouse/ClickHouse/pull/26234 | e5e3a889847a09f071a6e5618b08407fa099dd64 | e42a26a58511792a8d8019a19f39c3ac4e9a1262 | 2021-07-11T04:50:55Z | c++ | 2021-07-14T20:42:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,175 | ["src/AggregateFunctions/AggregateFunctionSparkbar.cpp", "src/AggregateFunctions/AggregateFunctionSparkbar.h", "src/AggregateFunctions/registerAggregateFunctions.cpp", "tests/queries/0_stateless/02016_aggregation_spark_bar.reference", "tests/queries/0_stateless/02016_aggregation_spark_bar.sql"] | `sparkbar` aggregate function | See https://github.com/deeplook/sparklines
**Describe the solution you'd like**
```
sparkbar(width)(x, y)
sparkbar(width, min_x, max_x)(x, y)
▁▂▅▆▇▆▅
```
An aggregate function calculates a histogram of `y` by `x` and then reshapes it to `width` buckets if the histogram is larger.
Linear weighted average i... | https://github.com/ClickHouse/ClickHouse/issues/26175 | https://github.com/ClickHouse/ClickHouse/pull/27481 | d4823d41b01259a7f5cb7361c84f57aacecd34ea | b02c8073461baba02a98bbda70b88e8d4ed02123 | 2021-07-10T05:20:10Z | c++ | 2021-09-12T18:29:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,151 | ["src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.cpp", "src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.h", "tests/queries/0_stateless/02013_bloom_filter_hasAll.reference", "tests/queries/0_stateless/02013_bloom_filter_hasAll.sql"] | hasAll() filter condition not relying on bloom filter; re-writing as has() AND has()... does use bloom_filter | **Describe the situation**
hasAll() filter condition not relying on bloom filter, but re-writing as series of has() AND has()... (or series of indexOf conditions) does use bloom filter
**How to reproduce**
* ClickHouse server version: 21.2.7.2
Test Table:
- 33M records, 10 columns
- MergeTree() engine, has ... | https://github.com/ClickHouse/ClickHouse/issues/26151 | https://github.com/ClickHouse/ClickHouse/pull/27984 | b6ec22a08c85edb5a7b74547f8e31117ac3ac152 | 0db8b524f05cb70c47b694cf4293bf8798ef10e4 | 2021-07-09T20:23:54Z | c++ | 2021-08-23T19:19:50Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,149 | ["docker/test/fasttest/run.sh", "docker/test/stateless/Dockerfile", "src/IO/ZlibInflatingReadBuffer.cpp", "tests/queries/0_stateless/02013_zlib_read_after_eof.go", "tests/queries/0_stateless/02013_zlib_read_after_eof.reference", "tests/queries/0_stateless/02013_zlib_read_after_eof.sh", "tests/queries/0_stateless/data_z... | Attempt to read after eof with enabled data compression on carbon-clickhouse | **Describe the bug**
CH throws an `Attempt to read after eof` exception when `carbon-clickhouse` with enabled gzip compression (`compress-data true` in `carbon-clickhouse` config) tries to insert 5000+ metrics.
**Does it reproduce on recent release?**
Reproduces on 21.6.6.51 (stable) and v21.3.14.1 (LTS).
*... | https://github.com/ClickHouse/ClickHouse/issues/26149 | https://github.com/ClickHouse/ClickHouse/pull/28150 | 5bc332c40cff1434167e353899e9e56816140cee | fc37817adae7974192cf4f781ab74fb488ae43b3 | 2021-07-09T19:16:48Z | c++ | 2021-08-26T14:17:09Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,086 | ["src/Access/SettingsProfileElement.h", "src/Access/UsersConfigAccessStorage.cpp"] | When using XML/YAML based user configuration if profile or quota is not defined then default ones are used | Previously (until RBAC was introduced) users were not allowed to connect to ClickHouse if user definition referenced a non-existing profile/quota. `DB::Exception: There is no profile 'does_not_exist' in configuration file..`
After RBAC was introduced this behavior changed and now users can connect and they are assig... | https://github.com/ClickHouse/ClickHouse/issues/26086 | https://github.com/ClickHouse/ClickHouse/pull/38024 | 6384fe23c336b40c832cef928b0ec44f2947f438 | 1a71e44b28e1a2cbfe393c928bae5acb11569b6e | 2021-07-08T14:53:25Z | c++ | 2022-07-03T09:26:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,078 | ["src/Storages/MergeTree/MergeTreeData.cpp"] | `system.detached_parts` doesn't works after change `detault` storage policy to multiple disk | **Describe the bug**
After adding the second disk to `default` storage policy, any questions to system.detached_parts return error
**Does it reproduce on recent release?**
yes reproduced, and any LTS release 20.3 (ordinary), 20.8 21.3
**How to reproduce**
```bash
git clone https://gist.github.com/c17d5... | https://github.com/ClickHouse/ClickHouse/issues/26078 | https://github.com/ClickHouse/ClickHouse/pull/26236 | f30e614165183a5dca7276e532f7ff482960463a | 80fed6eebf96feb735b52bad3260de161d26e1fa | 2021-07-08T13:10:25Z | c++ | 2021-07-12T16:45:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 26,044 | ["programs/server/play.html"] | Play UI: server URL should be also saved in URL if it differs. | **Use case**
I run https://gh-api.clickhouse.tech/play?user=team#U0VMRUNUIGNoZWNrX25hbWUsIHRlc3RfbmFtZSwgdGVzdF9zdGF0dXMsIGNoZWNrX3N0YXJ0X3RpbWUsICdodHRwczovL2NsaWNraG91c2UtdGVzdC1yZXBvcnRzLnMzLnlhbmRleC5uZXQvMC8nIHx8IGNvbW1pdF9zaGEgfHwgJy9wZXJmb3JtYW5jZV9jb21wYXJpc29uL3JlcG9ydC5odG1sJyBBUyB1cmwgRlJPTSBgZ2gtZGF0YWAuY2... | https://github.com/ClickHouse/ClickHouse/issues/26044 | https://github.com/ClickHouse/ClickHouse/pull/26322 | f1702d356ebbb9a9919117c759efc07264bb4f1a | 28067f73d2c7886ab695c43f2bc2470afa5226b9 | 2021-07-07T00:24:59Z | c++ | 2021-07-14T19:08:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,993 | ["src/Functions/FunctionJoinGet.h", "tests/queries/0_stateless/01735_join_get_low_card_fix.reference", "tests/queries/0_stateless/01735_join_get_low_card_fix.sql"] | joinGet Error: Invalid column type for ColumnUnique::insertRangeFrom. Expected String, got ColumnLowCardinality | **Describe the bug**
When doing `joinGet(<join table>, <column with LowCardinality(String) type>, <key>)`, ClickHouse returns `Error: Invalid column type for ColumnUnique::insertRangeFrom. Expected String, got ColumnLowCardinality`
**Version**
**21.5.4.6809**
**How to reproduce**
```sql
ClickHouse clien... | https://github.com/ClickHouse/ClickHouse/issues/25993 | https://github.com/ClickHouse/ClickHouse/pull/26118 | 806bf3d99cc73ee44f386dd5a7d35a9ef358ce03 | f48c5af90c2ad51955d1ee3b6b05d006b03e4238 | 2021-07-05T11:17:19Z | c++ | 2021-07-09T20:45:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,963 | ["src/Common/ErrorCodes.cpp", "src/Functions/normalizeString.cpp", "src/Functions/registerFunctionsString.cpp", "tests/performance/normalize_utf8.xml", "tests/queries/0_stateless/02011_normalize_utf8.reference", "tests/queries/0_stateless/02011_normalize_utf8.sql"] | Unicode normalization/decomposition functions; diacritics removal. | **Use case**
Text preprocessing and matching inside ClickHouse.
**Describe the solution you'd like**
Wrap functions from `icu` library. The functions should work on UTF-8 data.
**Additional context**
See also a sibling task: #17182.
| https://github.com/ClickHouse/ClickHouse/issues/25963 | https://github.com/ClickHouse/ClickHouse/pull/28633 | 11e37e7640db0685ee2be73d4e3fb418b31f1592 | ec898f1a94c776e44dc27de1277e74ad6265b1ad | 2021-07-03T21:10:23Z | c++ | 2021-10-12T09:25:07Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,896 | ["src/Core/MySQL/MySQLReplication.cpp"] | MaterializeMySQL wrong values replicated | I have been getting wrong data in Clickhouse when working with MaterializeMysql database engine. It affects one particular field only that is decimal (32,8) and contains a financial amount (like money, crypto, etc.). I know it is experimental but
The replication works perfectly when I drop the database on Clickhous... | https://github.com/ClickHouse/ClickHouse/issues/25896 | https://github.com/ClickHouse/ClickHouse/pull/31990 | fa298b089e9669a8ffb1aaf00d0fbfb922f40f06 | 9e034ee3a5af2914aac4fd9a39fd469286eb9b86 | 2021-07-01T13:32:03Z | c++ | 2021-12-01T16:18:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,892 | ["src/AggregateFunctions/AggregateFunctionQuantile.cpp", "tests/queries/0_stateless/01936_quantiles_cannot_return_null.reference", "tests/queries/0_stateless/01936_quantiles_cannot_return_null.sql"] | Error if quantiles is used with aggregate_functions_null_for_empty | ```sql
set aggregate_functions_null_for_empty=1;
SELECT quantiles(0.95)(x) FROM ( SELECT 1 x WHERE 0 );
DB::Exception: Nested type Array(Float64) cannot be inside Nullable type.
SELECT quantiles(0.95)(number) FROM ( SELECT number FROM numbers(10) WHERE number > 10 );
DB::Exception: Neste... | https://github.com/ClickHouse/ClickHouse/issues/25892 | https://github.com/ClickHouse/ClickHouse/pull/25919 | 67a88d64effbda280769897c92b28b4ffd19cf8b | af7a97cae2a0dd2c93efd227f198219b754a3fab | 2021-07-01T12:34:23Z | c++ | 2021-07-02T22:18:11Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,891 | ["programs/client/clickhouse-client.xml", "src/Client/ClientBase.cpp"] | clickhouse-client shows "default" (incorrect) database name in the prompt | ```
cat /etc/clickhouse-client/conf.d/propmt.xml
<config>
<prompt_by_server_display_name>
<default>{database}@{host} :) </default>
</prompt_by_server_display_name>
</config>
cat /etc/clickhouse-server/conf.d/default_database.xml
<?xml version="1.0"?>
<yandex>
<default_database>dw</default... | https://github.com/ClickHouse/ClickHouse/issues/25891 | https://github.com/ClickHouse/ClickHouse/pull/42508 | 46559d659b438c6b5e1559f90abdb0fd453ae7a4 | 58f238007a4a493313c212a45b4d1f5a66afcfd1 | 2021-07-01T12:26:13Z | c++ | 2022-10-20T19:14:06Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,890 | ["README.md", "website/templates/index/community.html"] | The slack link of the Clickhouse is invalid. The Clickhouse community can send an effective link | Make sure to check documentation https://clickhouse.yandex/docs/en/ first. If the question is concise and probably has a short answer, asking it in Telegram chat https://telegram.me/clickhouse_en is probably the fastest way to find the answer. For more complicated questions, consider asking them on StackOverflow with "... | https://github.com/ClickHouse/ClickHouse/issues/25890 | https://github.com/ClickHouse/ClickHouse/pull/25903 | e23cf79338f261f80543ecb62d1ccbeab31d05ca | aa8d4aea54b0a6fec2f2cf9073e70b406c0e67c9 | 2021-07-01T05:50:03Z | c++ | 2021-07-01T19:30:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,836 | ["src/Storages/MergeTree/BackgroundJobsExecutor.cpp"] | GET_PART tasks are getting postponed for a long period of time | After a separate pool for background fetches was implemented, some task get stuck in the queue for a long time even though there are threads available in the pool.
Here is an example:
```
-- A new part was created at 19:37
2021.06.24 19:37:09.981174 [ 182994 ] {} <Debug> (ReplicatedMergeTreeQueue): Pulling 1 en... | https://github.com/ClickHouse/ClickHouse/issues/25836 | https://github.com/ClickHouse/ClickHouse/pull/25893 | 081695fd05998161cf6150c22c4399ee53d87dea | 7b4a56977dc0de8fef8dee7151a0ad0086b4ff60 | 2021-06-29T20:56:05Z | c++ | 2021-07-03T15:03:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,821 | ["src/Interpreters/Context.cpp"] | Crash on when shutting down the server with compile_expressions enabled | Build master/HEAD on fcff8dc3d59808b3410196143c66ae537096949d
Debug build with:
```
CC=clang CXX=clang++ cmake -DCMAKE_BUILD_TYPE=Debug ..
ninja
```
```
clang version 12.0.0
ninja version 1.10.2
```
**Describe the bug**
The server crashes during shutdown.
Started the server (Note that this is a cl... | https://github.com/ClickHouse/ClickHouse/issues/25821 | https://github.com/ClickHouse/ClickHouse/pull/25835 | 3b5468d4a43e0f2f863ce6b90b2d62bb4a425fc0 | e0d04edade321d3e11c245c22751a5fd1b094ed8 | 2021-06-29T15:44:11Z | c++ | 2021-06-29T22:47:18Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,806 | ["src/DataTypes/EnumValues.h", "src/Functions/FunctionHelpers.cpp", "src/Functions/FunctionHelpers.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/00850_global_join_dups.reference", "tests/queries/0_stateless/00850_global_join_dups.sql", "tests/queries/0_stateless/01736_null_as_default.reference",... | Setting use_join_nulls to 1 may throw an exception unexpectedly | **Describe the bug**
A combination of `use_join_nulls=1`, a `Nullable(enum)` column, `OUTER JOIN`, and `toString()` may throw an exception while generating a result.
**Does it reproduce on recent release?**
This happens on 21.6.3 stable.
**How to reproduce**
With the following setup:
```sql
CREATE TA... | https://github.com/ClickHouse/ClickHouse/issues/25806 | https://github.com/ClickHouse/ClickHouse/pull/26123 | c01497a80a7157a6bd2e3c7e3624940fe64b7ddf | c6177bd0ccfac7151764d42ca1af8114ea146db1 | 2021-06-29T06:27:33Z | c++ | 2021-07-14T07:22:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,785 | ["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02480_interval_casting_and_subquery.reference", "tests/queries/0_stateless/02480_interval_casting_and_subquery.sql"] | Interval data type is not passed correctly from subquery | You have to provide the following information whenever possible.
**Describe the bug**
Interval data type is not passed correctly from subquery
**Does it reproduce on recent release?**
Yes, tested on 21.6.5.37.
**How to reproduce**
```sql
SELECT
toIntervalDay(5) AS interval,
now() + interval... | https://github.com/ClickHouse/ClickHouse/issues/25785 | https://github.com/ClickHouse/ClickHouse/pull/43193 | b7df9aa3da3d9d791902f9aabbf7e6d7ebbfaa79 | d885b3cc4c5514e4e8a090e085041e589060a03a | 2021-06-28T13:15:49Z | c++ | 2022-11-14T12:32:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,744 | ["docs/en/getting-started/example-datasets/index.md", "docs/en/getting-started/example-datasets/menus.md"] | New York Public Library menus dataset | http://menus.nypl.org/data
A small dataset (1.5 million records), nice toy example.
Copyright-free. | https://github.com/ClickHouse/ClickHouse/issues/25744 | https://github.com/ClickHouse/ClickHouse/pull/27488 | 60afe2e251795604eac238ddba14ac1c970052c5 | d245eb1705018d1413c0db6985f47ea348c10c6d | 2021-06-27T16:59:50Z | c++ | 2021-08-09T19:49:22Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,718 | ["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreePartInfo.cpp", "src/Storages/MergeTree/MergeTreePartInfo.h", "tests/queries/0_stateless/01925_broken_partition_id_zookeeper.reference", "tests/queries/0_stateless/01925_broken_partition_id_zookeeper.sql"] | Validate partition ID before DROP PARTITION | How to reproduce bug:
```
CREATE TABLE broken_partition
(
date Date,
key UInt64
)
ENGINE = ReplicatedMergeTree('/clickhouse/test_01925_{database}/rmt', 'r1')
ORDER BY tuple()
PARTITION BY date;
ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';
ALTER TABLE broken_parti... | https://github.com/ClickHouse/ClickHouse/issues/25718 | https://github.com/ClickHouse/ClickHouse/pull/26963 | ec9769525711d9d8bb381ba1628a6dba46fac81a | cae5502d51ce1179dfed788383942c5962e36420 | 2021-06-25T13:57:35Z | c++ | 2021-07-30T08:21:28Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,683 | ["src/Server/MySQLHandler.cpp", "tests/integration/test_mysql_protocol/test.py"] | mysql connect clickhouse port 9004 get Segmentation fault (core dumped) | You have to provide the following information whenever possible.
#/usr/local/mysql/bin/mysql -h127.0.0.1 -P9004 -udefault
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 21.6.5.37-ClickHouse
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle ... | https://github.com/ClickHouse/ClickHouse/issues/25683 | https://github.com/ClickHouse/ClickHouse/pull/25697 | 1c5987ce710a861238401a34e9dd207613f2cebc | 420839a4c0aaf980969944acc7704d53c7bb2220 | 2021-06-24T14:16:38Z | c++ | 2021-06-26T00:31:46Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,632 | ["src/Common/ThreadStatus.cpp", "src/Common/checkStackSize.cpp"] | build clickhouse on mac ,Stack size too large | **To compile clickhouse on Mac, the steps are as follows:**
`$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install cmake ninja libtool gettext
git clone --recursive git@github.com:ClickHouse/ClickHouse.git
cd ClickHouse
mkdir build
cd build... | https://github.com/ClickHouse/ClickHouse/issues/25632 | https://github.com/ClickHouse/ClickHouse/pull/25654 | 4140dbf870132c3fc574b7d7e4146eed68cda331 | 89007a8b6a2cebe1dd3170b4527afc7ae29f09f3 | 2021-06-23T13:10:07Z | c++ | 2021-06-24T16:22:14Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,611 | ["tests/queries/0_stateless/01926_union_all_schmak.reference", "tests/queries/0_stateless/01926_union_all_schmak.sql"] | UNION with JOIN + WHERE query fails in 21.5+ | **Describe the bug**
The following query fails in 21.5 and 21.6 releases.
It worked fine in 21.4.
**Does it reproduce on recent release?**
Yes
**How to reproduce**
```
SELECT * FROM (
SELECT 1 AS a, 2 AS b FROM system.one
JOIN system.one USING dummy
UNION ALL
SELECT 3 AS a, 4 AS b FROM ... | https://github.com/ClickHouse/ClickHouse/issues/25611 | https://github.com/ClickHouse/ClickHouse/pull/25831 | bba184a432ed08659795d78ce68ebaf3c21593ed | 3ebe43583f098c556ef28a44ac4150afab4c9f13 | 2021-06-23T06:33:29Z | c++ | 2021-06-30T08:04:17Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,594 | ["src/DataTypes/NestedUtils.cpp", "tests/queries/0_stateless/01937_nested_chinese.reference", "tests/queries/0_stateless/01937_nested_chinese.sql"] | No columns in nested table ERROR in Nested Type with Chinese field names | You have to provide the following information whenever possible.
**Describe the bug**
When use chinese as field name for nested type and query:
````
SELECT * from table array join `xxxx`;
````
it will raise error:
No columns in nested table xxx
**Does it reproduce on recent release?**
ClickHouse ... | https://github.com/ClickHouse/ClickHouse/issues/25594 | https://github.com/ClickHouse/ClickHouse/pull/25923 | 38d1ce310d9ff824fc38143ab362460b2b83ab7d | f238d98fd04a88e4fbf27452a4729824d9b6ccc7 | 2021-06-22T14:29:33Z | c++ | 2021-07-03T11:51:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,578 | ["src/Interpreters/HashJoin.cpp", "src/Interpreters/HashJoin.h", "src/Interpreters/TableJoin.cpp", "src/Interpreters/TableJoin.h", "src/Interpreters/TreeRewriter.cpp", "src/Interpreters/join_common.cpp", "tests/queries/0_stateless/02000_join_on_const.reference", "tests/queries/0_stateless/02000_join_on_const.sql", "tes... | Support `LEFT JOIN ... ON 1 = 1` expression | **Usage**
Postgres, MySQL, and Oracle support the expression `LEFT JOIN ... ON 1 = 1`, but ClickHouse does not.
It may be possible to replace `LEFT JOIN ... ON 1 = 1` with `CROSS JOIN`, but I want to use the query in the same form for lots of databases.
Please support the expression `LEFT JOIN ... ON 1 = 1`.
... | https://github.com/ClickHouse/ClickHouse/issues/25578 | https://github.com/ClickHouse/ClickHouse/pull/25894 | 6f369319c8db770c3e7ed88c1342c18eb598927b | a9689c0f2780df167ab2fcd7652eaef24a333177 | 2021-06-22T06:28:54Z | c++ | 2021-11-08T12:52:40Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,512 | ["contrib/libunwind"] | ClickHouse-21.3.12.2-lts builds and starts ok on aarch64 , but it's server process exits once some operations excuted,terminate called for uncaught exception. | ### Informations
**ClickHouse Version**
ClickHouse-21.3.12.2-lts:
https://github.com/ClickHouse/ClickHouse/tree/v21.3.12.2-lts
**Operating system**
CentOS7.9,4.18.0-193.28.1.el7.aarch64 #1 SMP Wed Oct 21 16:25:35 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
**Cmake version**
3.18.4
**Ninja version**
use make... | https://github.com/ClickHouse/ClickHouse/issues/25512 | https://github.com/ClickHouse/ClickHouse/pull/25854 | 956b1f588dbf5e406bf61e8a9b4e329d35af8b70 | 011ed015fa49c8e1a37f6f103c28def5e637a23f | 2021-06-20T05:04:42Z | c++ | 2021-06-30T13:18:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,422 | ["src/Common/hex.cpp", "src/Common/hex.h", "src/Functions/FunctionsCoding.cpp", "src/Functions/FunctionsCoding.h", "tests/queries/0_stateless/01926_bin_unbin.reference", "tests/queries/0_stateless/01926_bin_unbin.sql"] | Add functions `bin` and `unbin` | **Use case**
Viewing binary data such as bitmasks, hashes, internal representation of IEEE-754 numbers, etc.
Mostly for debugging.
**Describe the solution you'd like**
Similar to `hex`/`unhex`.
`bin` - returns a string with `0` and `1`. Bits are in "human" order, most significant first. Most significant ze... | https://github.com/ClickHouse/ClickHouse/issues/25422 | https://github.com/ClickHouse/ClickHouse/pull/25609 | 80eaf8530190eae9f43c84c0faa394517d5098af | b46ac3dfd107c5aff0fe55c6bde36fd79dd12615 | 2021-06-17T17:40:56Z | c++ | 2021-07-07T06:36:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,368 | ["src/Interpreters/ActionsDAG.cpp", "tests/queries/0_stateless/01913_join_push_down_bug.reference", "tests/queries/0_stateless/01913_join_push_down_bug.sql"] | Incorrect results (ignoring WHERE) when using JOIN combined with NOT IN | I get incorrect results as if particular WHERE condition is ignored when there is JOIN and NOT IN condition (empty set) in a query. I've created as minimal example as I could.
```
# Test dataset
CREATE TABLE test
(
`t` UInt8,
`flag` UInt8,
`id` UInt8
)
ENGINE = MergeTree
PARTITION BY t
ORDER ... | https://github.com/ClickHouse/ClickHouse/issues/25368 | https://github.com/ClickHouse/ClickHouse/pull/25370 | 1de01ae722ccf53be9a36ec2638e662311f2b476 | 669b8a8b963a751d81cee54bc481ce6580aa630f | 2021-06-16T16:25:36Z | c++ | 2021-06-17T20:07:32Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,293 | ["src/AggregateFunctions/AggregateFunctionSumMap.h", "tests/queries/0_stateless/01280_min_map_max_map.reference", "tests/queries/0_stateless/01280_min_map_max_map.sql"] | AST fuzzer (debug) — Logical error: 'Cannot sum Tuples'. | https://clickhouse-test-reports.s3.yandex.net/24341/038e4c3ed1881b4dbf4e21cb8992b43cb12f5756/fuzzer_debug/report.html#fail1
Query to reproduce:
```sql
SELECT minMap([1, 1], [[1], [1]])
``` | https://github.com/ClickHouse/ClickHouse/issues/25293 | https://github.com/ClickHouse/ClickHouse/pull/25298 | 779f5eca9449e209fff928925fe5ad84a16f349b | 6b264618aaa0828facdcddf0dd2bb037eea2ba40 | 2021-06-15T12:48:01Z | c++ | 2021-06-16T09:26:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,259 | ["src/AggregateFunctions/AggregateFunctionTopK.h", "src/Common/SpaceSaving.h", "tests/queries/0_stateless/01910_memory_tracking_topk.reference", "tests/queries/0_stateless/01910_memory_tracking_topk.sql"] | The query with topK leads to OOM | `SELECT toDateTime(topKWeighted(-9223372036854775807, '-0.02')(NULL), '104857.5') FROM remote('127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}127.0\00\0{2,3}', system.one) ORDER BY length(topK(1048577)(tuple(NULL))) ASC, '0' ASC NULLS LAST` | https://github.com/ClickHouse/ClickHouse/issues/25259 | https://github.com/ClickHouse/ClickHouse/pull/25260 | 8a267775c27b8d7d69aa11969bdfc9439137cef6 | 2370c8b3a1c74cbaa042946b640d72d1d79102db | 2021-06-14T01:27:21Z | c++ | 2021-06-14T21:41:12Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,187 | ["src/Functions/in.cpp", "tests/queries/0_stateless/01906_lc_in_bug.reference", "tests/queries/0_stateless/01906_lc_in_bug.sql"] | PREWHERE and LowCardinality IN set do not work together | ```
milovidov-desktop :) SELECT * FROM (SELECT 'Hello' AS x) PREWHERE toLowCardinality(x) IN ('Hello', 'World')
SELECT *
FROM
(
SELECT 'Hello' AS x
)
PREWHERE toLowCardinality(x) IN ('Hello', 'World')
Query id: 58d92e01-c67e-4bcc-8b0c-788bb5e1287e
0 rows in set. Elapsed: 0.037 sec.
Received exc... | https://github.com/ClickHouse/ClickHouse/issues/25187 | https://github.com/ClickHouse/ClickHouse/pull/25290 | 3a596fb4e5519514eb1ee37433254656cd5f3beb | 16675a4f4ebcff43ce91e56be75d76a1c2fe1801 | 2021-06-10T23:26:49Z | c++ | 2021-06-16T12:37:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,134 | ["src/Processors/Merges/Algorithms/SummingSortedAlgorithm.cpp", "tests/queries/0_stateless/01532_execute_merges_on_single_replica.sql", "tests/queries/0_stateless/01913_summing_mt_and_simple_agg_function_with_lc.reference", "tests/queries/0_stateless/01913_summing_mt_and_simple_agg_function_with_lc.sql"] | crash SimpleAggregateFunction + LowCardinality(String) | ```
CREATE TABLE smta
(
`k` Int64,
`a` AggregateFunction(max, Int64),
`city` SimpleAggregateFunction(max, LowCardinality(String))
)
ENGINE = SummingMergeTree
ORDER BY k;
insert into smta(k, city) values (1, 'x');
BaseDaemon: ########################################
BaseDaemon: (version 21.7.... | https://github.com/ClickHouse/ClickHouse/issues/25134 | https://github.com/ClickHouse/ClickHouse/pull/25300 | d8174cb9fd45f2ad1f5f4af1c0c490c195bdbac6 | 496aff211873cbb8ee5879a9474640298d8a6b31 | 2021-06-09T16:33:56Z | c++ | 2021-06-17T17:18:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,129 | ["src/Processors/Formats/IInputFormat.h", "src/Processors/Formats/Impl/CSVRowInputFormat.cpp", "src/Processors/Formats/Impl/CSVRowInputFormat.h", "tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.reference", "tests/queries/0_stateless/01903_csvwithnames_subset_of_columns.sh"] | Input format `CSVWithNames` not working properly without all columns in data | ClickHouse version: 21.4.7.3
Ubuntu: 18.04.4
**Describe the bug**
Data insertion using `CSVWithNames` not working properly if `Nullable` columns aren't presented in input data.
Seems ClickHouse adds a full column list to insert query itself if trying to insert data from stdin with the query `INSERT INTO test FO... | https://github.com/ClickHouse/ClickHouse/issues/25129 | https://github.com/ClickHouse/ClickHouse/pull/25169 | 54f9db670ffbbae82d482b32998d216dc81548cb | e99662c68ef8799be6f09e0ca64407fe6356acbf | 2021-06-09T14:01:46Z | c++ | 2021-06-11T07:42:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,070 | ["src/Common/FieldVisitors.h", "src/Storages/MergeTree/MergeTreePartition.cpp", "tests/queries/0_stateless/01891_partition_by_uuid.reference", "tests/queries/0_stateless/01891_partition_by_uuid.sql", "tests/queries/0_stateless/01891_partition_hash.reference", "tests/queries/0_stateless/01891_partition_hash.sql", "tests... | Data loss after upgrading | After upgrading clickhouse client and server from version 21.5.6.6 to version 21.6.3.14, I've lost all data stored prior to the update (or at least, access to this data).
All my table definitions are intact, but data from before the upgrade is not available.
The clickhouse-server.log file has a lot of errors of ... | https://github.com/ClickHouse/ClickHouse/issues/25070 | https://github.com/ClickHouse/ClickHouse/pull/25127 | 9656c67853e3bd4fa710e1139df22ec1b00c6788 | 0636f4034915e6201d8bd017519a30eee59d4d33 | 2021-06-08T08:06:49Z | c++ | 2021-06-09T23:31:01Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,044 | ["contrib/libunwind"] | arm64 ClickHouse start error | I user the docker image : altinity/clickhouse-server tag:21.6.1.6734-testing-arm imageID is:4613c0e98b40
and the container startup command is:
```
docker run -it --name clickhouse --ulimit nofile=262144:262144 -p 8123:8123 -p 9000:9000 -p 9009:9009 altinity/clickhouse-server:21.6.1.6734-testing-arm
the log... | https://github.com/ClickHouse/ClickHouse/issues/25044 | https://github.com/ClickHouse/ClickHouse/pull/25854 | 956b1f588dbf5e406bf61e8a9b4e329d35af8b70 | 011ed015fa49c8e1a37f6f103c28def5e637a23f | 2021-06-07T11:44:16Z | c++ | 2021-06-30T13:18:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 25,026 | ["src/DataTypes/DataTypeMap.cpp", "tests/queries/0_stateless/01318_map_add_map_subtract_on_map_type.reference", "tests/queries/0_stateless/01550_type_map_formats.reference", "tests/queries/0_stateless/02002_parse_map_int_key.reference", "tests/queries/0_stateless/02002_parse_map_int_key.sql"] | Map does not support Integer key very well since 21.4 | Below test case worked before 21.4. It seems there's parsing issue with all Map columns using Integer as key.
```sql
set allow_experimental_map_type = 1;
CREATE TABLE IF NOT EXISTS test_maps(ma Map(Integer, Array(String)), mi Map(Integer, Integer), ms Map(String, String)) ENGINE = Memory;
-- Exception on client:
-... | https://github.com/ClickHouse/ClickHouse/issues/25026 | https://github.com/ClickHouse/ClickHouse/pull/27146 | e4f85a5569cf4df5f54e57c2341f19e93d8a19ae | e9fe03df14ac768301fb9fbb668358035418977e | 2021-06-07T01:41:56Z | c++ | 2021-08-15T10:37:22Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,988 | ["src/Interpreters/ExternalDictionariesLoader.cpp"] | 21.2+ slow dictGet for a hashed dictionary | After an upgrade from 20.9 to 21.5 the system's performance became horrible.
It looks related to dictGet calls.
We use dictionaries extensively, some queries call dictGet billions of times.
This query shows the timings for one type of queries during the upgrade day (max_execution_time is set to 900 seconds):
```
s... | https://github.com/ClickHouse/ClickHouse/issues/24988 | https://github.com/ClickHouse/ClickHouse/pull/25001 | f2eed22ebd4e865fce20c2566759d74e8458dfd5 | aaaf28d7efbd2870d06dc8f6008035aad513bf9e | 2021-06-04T22:15:45Z | c++ | 2021-06-06T07:43:20Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,971 | ["src/Storages/StorageDistributed.cpp", "tests/queries/0_stateless/01155_rename_move_materialized_view.reference", "tests/queries/0_stateless/01155_rename_move_materialized_view.sql", "tests/queries/0_stateless/arcadia_skip_list.txt"] | Unable to move Distributed table from Ordinary database to Atomic | **Describe the bug**
Can't rename distributed table and move it from Ordinary to Atomic database
**How to reproduce**
```
CREATE DATABASE atomic_database ON CLUSTER cluster_name ENGINE = Atomic
```
```
CREATE DATABASE ordinary_database ON CLUSTER cluster_name ENGINE = Ordinary
```
```
CREATE TABLE ord... | https://github.com/ClickHouse/ClickHouse/issues/24971 | https://github.com/ClickHouse/ClickHouse/pull/25667 | a04605fee37f75cf2c3f5be06be1003a70b00261 | a14724ca7b0101927c359581e6d4b05453dc0049 | 2021-06-04T15:28:22Z | c++ | 2021-06-24T21:05:06Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,910 | ["src/Interpreters/QueryNormalizer.cpp", "src/Interpreters/QueryNormalizer.h", "src/Interpreters/TreeRewriter.cpp", "src/Interpreters/TreeRewriter.h", "src/Interpreters/tests/gtest_cycle_aliases.cpp", "src/Storages/ColumnsDescription.cpp", "tests/queries/0_stateless/01902_self_aliases_in_columns.reference", "tests/quer... | Self-referencing MATERIALIZED is not forbidden | ```
CREATE TABLE a
(
`number` UInt64,
`x` MATERIALIZED x
)
ENGINE = MergeTree
ORDER BY number;
-- that should fail!
insert into a values (1);
Received exception from server (version 21.7.1):
Code: 47. DB::Exception: Received from localhost:9000. DB::Exception: Missing columns: 'x' while processing ... | https://github.com/ClickHouse/ClickHouse/issues/24910 | https://github.com/ClickHouse/ClickHouse/pull/25059 | 8e88e682c194f6ee44abfff15e34b884ca1e9a2c | 185fb83587360e5fc2053b71af41aeda1ddd6ad9 | 2021-06-03T10:58:03Z | c++ | 2021-06-08T20:36:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,901 | ["contrib/libunwind"] | ARM Oracle Cloud sigabort while start. | https://blogs.oracle.com/cloud-infrastructure/arm-based-cloud-computing-is-the-next-big-thing-introducing-arm-on-oci
**Does it reproduce on recent release?**
Yes, master
AArch64 from here https://clickhouse.tech/docs/en/getting-started/install/
**Enable crash reporting**
Done, but it crashing too early pr... | https://github.com/ClickHouse/ClickHouse/issues/24901 | https://github.com/ClickHouse/ClickHouse/pull/25854 | 956b1f588dbf5e406bf61e8a9b4e329d35af8b70 | 011ed015fa49c8e1a37f6f103c28def5e637a23f | 2021-06-03T08:53:06Z | c++ | 2021-06-30T13:18:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,892 | ["src/Interpreters/ExpressionAnalyzer.cpp", "tests/queries/0_stateless/02366_window_function_order_by.reference", "tests/queries/0_stateless/02366_window_function_order_by.sql"] | Window functions: Not found column number in block error when specifying ORDER BY that uses a column not mentioned in the SELECT | **Describe the unexpected behaviour**
Not found column number in block error when specifying ORDER BY that uses a column not mentioned in the SELECT.
**How to reproduce**
```
:) select count() over (order by number + 1) from numbers(10) order by number
Code: 10. DB::Exception: Received from localhost:9000. DB:... | https://github.com/ClickHouse/ClickHouse/issues/24892 | https://github.com/ClickHouse/ClickHouse/pull/39354 | 6a09340f1159f3e9a96dc4c01de4e7607b2173c6 | b01f5bdca8ed6e71b551234d94b861be299ceabc | 2021-06-02T22:08:08Z | c++ | 2022-09-19T06:22:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,869 | ["src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp"] | The function ReplicatedMergeTreeQueue::removePartProducingOpsInRange removed a LogEntry by mistake | You have to provide the following information whenever possible.
**Describe the bug**
Case :Two clickhouse instances A and B,they are two replicas of the same shard, quickly perform many "alter table replace partition" operations on the same table on A, and finally the data in the two instances A and B are incons... | https://github.com/ClickHouse/ClickHouse/issues/24869 | https://github.com/ClickHouse/ClickHouse/pull/25665 | d138ba79c7d5663c722143a4368127a5ece71c09 | f6afc381be331d36805fdcaaba7e4bda1fe25198 | 2021-06-02T07:59:33Z | c++ | 2021-06-25T08:11:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,780 | ["src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp", "tests/queries/0_stateless/01710_force_use_projection.reference", "tests/queries/0_stateless/01710_force_use_projection.sql"] | false exception "No projection is used" when all parts are eliminated (pruned) | ```sql
DROP TABLE IF EXISTS tp;
create table tp (d1 Int32, d2 Int32, eventcnt Int64,
projection p (select sum(eventcnt), d1 group by d1))
engine = SummingMergeTree order by (d1, d2);
set allow_experimental_projection_optimization = 1, force_optimize_projection = 1;
select sum(eventcnt) eventcnt, d1
from t... | https://github.com/ClickHouse/ClickHouse/issues/24780 | https://github.com/ClickHouse/ClickHouse/pull/24782 | 3dd7d252a955bcf6524cc3998195f7fec91ea2ad | d4cbce3761aa70528677d22d874d75755b7c53bd | 2021-05-31T01:37:26Z | c++ | 2021-06-01T08:36:50Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,730 | ["src/Interpreters/MutationsInterpreter.cpp", "src/Interpreters/MutationsInterpreter.h", "src/Storages/MergeTree/MergeTreeDataMergerMutator.cpp", "src/Storages/MergeTree/MergeTreeDataMergerMutator.h", "tests/queries/0_stateless/01923_ttl_with_modify_column.reference", "tests/queries/0_stateless/01923_ttl_with_modify_co... | Alter of a column participating in TTL expression can leave a table in an inconsistent state | version 21.5.5.12 (official build)
I'm trying to change data type for a column that is used in the TTL expression.
It works well when the table is empty.
When the table is not empty, the mutation fails.
As a result the table ends up in an inconsistent state.
```
create table test
(
InsertionDateTime DateTim... | https://github.com/ClickHouse/ClickHouse/issues/24730 | https://github.com/ClickHouse/ClickHouse/pull/25554 | 7b4a56977dc0de8fef8dee7151a0ad0086b4ff60 | 1dda771864ec61691af7ee67fa6b8bf24360727a | 2021-05-28T16:05:24Z | c++ | 2021-07-03T15:26:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,461 | ["src/AggregateFunctions/AggregateFunctionUniq.cpp", "src/AggregateFunctions/AggregateFunctionUniqCombined.cpp", "src/AggregateFunctions/AggregateFunctionUniqUpTo.cpp", "tests/queries/0_stateless/01882_uniqueState_over_uniqueState.reference", "tests/queries/0_stateless/01882_uniqueState_over_uniqueState.sh"] | Crash when chaining different uniq*State | **Describe the bug**
Chaining **different** uniqXXXXState calls (uniqState, uniqExactState, uniqThetaState, uniqHLL12State or uniqCombinedState) crashes the server.
**Does it reproduce on recent release?**
Yes. I've tested 20.7 and current master/HEAD.
**How to reproduce**
Example with a query:
```sql... | https://github.com/ClickHouse/ClickHouse/issues/24461 | https://github.com/ClickHouse/ClickHouse/pull/24523 | f1733a93e5072e1e14db47584974a484304faa4d | af32228e9f3cedd4a1cabe97c6c8df23f4f05ba1 | 2021-05-24T18:02:55Z | c++ | 2021-06-04T14:26:34Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,436 | ["src/Interpreters/ActionsDAG.cpp", "src/Processors/QueryPlan/UnionStep.cpp", "tests/queries/0_stateless/01881_union_header_mismatch_bug.reference", "tests/queries/0_stateless/01881_union_header_mismatch_bug.sql"] | UNION with constants + WHERE: query fails with 21.5.5.12 - worked with 21.4.7.3 | You have to provide the following information whenever possible.
**Describe the bug**
This query fails with the latest stable version 21.5.5.12. It worked with the last stable version 21.4.7.3.
**Does it reproduce on recent release?**
yes
**How to reproduce**
21.5.5.12
```
SELECT
label,
number... | https://github.com/ClickHouse/ClickHouse/issues/24436 | https://github.com/ClickHouse/ClickHouse/pull/24463 | ea97eee326a94c9a23d1b4349f660a17ad29b551 | d4998909b666e7129ca14221e6546b457086e16f | 2021-05-24T05:37:33Z | c++ | 2021-05-25T09:04:45Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,418 | ["docs/ru/sql-reference/dictionaries/index.md"] | Bad link to external disctionary functions (russian edition) | **Describe the issue**
On page https://clickhouse.tech/docs/ru/sql-reference/dictionaries/
link to dictionary functions ("Подключаемые (внешние) словари с **набором функций**.")
Link "набором функций" is https://clickhouse.tech/docs/ru/sql-reference/dictionaries/external-dictionaries/
But should be https://clickhou... | https://github.com/ClickHouse/ClickHouse/issues/24418 | https://github.com/ClickHouse/ClickHouse/pull/24429 | e7f77f27bf3245bc1c0493d423a7c18eb81344e7 | d45edc1f5d1a3c55f91eca693331439ee16a0f12 | 2021-05-22T15:19:28Z | c++ | 2021-05-23T14:38:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,373 | ["CMakeLists.txt", "cmake/git_status.cmake"] | If git is present during build, print sha and status. | It will allow to easily figure out if the user is building unmodified ClickHouse source code. | https://github.com/ClickHouse/ClickHouse/issues/24373 | https://github.com/ClickHouse/ClickHouse/pull/28047 | 23a2ce20195b8a8758a77290a08dea3b7cb4d8ac | 19f67fefb24452acc0224913212bec6ad05a57f3 | 2021-05-21T02:26:21Z | c++ | 2021-08-24T17:09:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,301 | ["src/Interpreters/ReplaceQueryParameterVisitor.cpp", "tests/queries/0_stateless/02377_extend_protocol_with_query_parameters.reference", "tests/queries/0_stateless/02377_extend_protocol_with_query_parameters.sh"] | Parameters do not work on DESCRIBE | **Describe the bug**
I am working with parameterized queries and they work fine for me so far for updates and selects.
The behaviour does though seem to break, when `DESCRIBE` is involved.
**Does it reproduce on recent release?**
Version used: 21.4.6.55 (server) -- yes
**How to reproduce**
* Which ClickHou... | https://github.com/ClickHouse/ClickHouse/issues/24301 | https://github.com/ClickHouse/ClickHouse/pull/40952 | 3da9e8646d118fff9e0c573cbb4b19bc08ff16fd | 16af4aebc815d5af439ff0da3b960d810401b790 | 2021-05-19T16:54:55Z | c++ | 2022-09-04T14:26:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,293 | ["src/DataTypes/DataTypeTuple.cpp", "tests/queries/0_stateless/01881_create_as_tuple.reference", "tests/queries/0_stateless/01881_create_as_tuple.sql"] | If using Array of Tuple column in MergeTree table, the data cannot be read after restart | **Describe the bug**
I have a table created from `SELECT` query. The table has two columns: `UInt64` primary key and an array of tuples `Array(Tuple(String, UInt64))`. After restart of the ClickHouse server the data in the second column is lost (`SELECT` query returns only empty strings and zeros).
**Does it repr... | https://github.com/ClickHouse/ClickHouse/issues/24293 | https://github.com/ClickHouse/ClickHouse/pull/24464 | 151988e11a891b3a739a483aaf944d1b5ea3462a | 1317638e3bd73dd0fab07c0f485e58b4a490741c | 2021-05-19T14:52:49Z | c++ | 2021-05-27T22:46:07Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,292 | ["src/Interpreters/QueryNormalizer.cpp", "src/Interpreters/QueryNormalizer.h", "src/Interpreters/TreeRewriter.cpp", "src/Interpreters/TreeRewriter.h", "src/Interpreters/tests/gtest_cycle_aliases.cpp", "src/Storages/ColumnsDescription.cpp", "tests/queries/0_stateless/01902_self_aliases_in_columns.reference", "tests/quer... | Self referencing ALIAS definition triggers a segfault when queried | A table definition with an `ALIAS` that references itself is accepted without any warning or error. When querying the aliased column clickhouse-server segfaults.
It occurred for me on 21.4.6.55.
**How to reproduce**
* Use Version 21.4.6.55
* Run these statements:
```sql
CREATE TABLE foo (i Int32, j ALIAS j+... | https://github.com/ClickHouse/ClickHouse/issues/24292 | https://github.com/ClickHouse/ClickHouse/pull/25059 | 8e88e682c194f6ee44abfff15e34b884ca1e9a2c | 185fb83587360e5fc2053b71af41aeda1ddd6ad9 | 2021-05-19T14:50:42Z | c++ | 2021-06-08T20:36:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,291 | ["src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.cpp", "src/Storages/MergeTree/MergeTreeIndexConditionBloomFilter.h", "tests/queries/0_stateless/01888_bloom_filter_hasAny.reference", "tests/queries/0_stateless/01888_bloom_filter_hasAny.sql"] | bloom_filter does not support hasAny | 21.5.1.6605
```sql
create table bftest (k Int64, x Array(Int64), index ix1(x) TYPE bloom_filter GRANULARITY 3)
Engine=MergeTree order by k;
insert into bftest select number,
arrayMap(i->rand64()%565656, range(10)) from numbers(10000000);
insert into bftest select number,
arrayMap(i->rand64()%56565... | https://github.com/ClickHouse/ClickHouse/issues/24291 | https://github.com/ClickHouse/ClickHouse/pull/24900 | 2a6b4a64f4eed54d41f70542dd2618ef0370f583 | eb7b491da97982e3fd5a050ba22b2052d1d538ba | 2021-05-19T14:49:01Z | c++ | 2021-06-11T21:58:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,274 | ["src/Storages/StorageMemory.cpp", "tests/queries/0_stateless/01867_fix_storage_memory_mutation.reference", "tests/queries/0_stateless/01867_fix_storage_memory_mutation.sql"] | Mutation of StorageMemory with more than one block will fail when max_threads > 1 | How to reproduce:
```sql
VM-16-2-centos :) create table mem_test(a Int64, b Int64) engine = Memory
CREATE TABLE mem_test
(
`a` Int64,
`b` Int64
)
ENGINE = Memory
Query id: fb8d3ab7-6e69-410d-b5e3-9891c8604a9c
Ok.
0 rows in set. Elapsed: 0.004 sec.
VM-16-2-centos :) set max_block_size = 3
... | https://github.com/ClickHouse/ClickHouse/issues/24274 | https://github.com/ClickHouse/ClickHouse/pull/24275 | 976ccc2e908ac3bc28f763bfea8134ea0a121b40 | b9c3601083b58bcd98c27c98244c7182a22ac08a | 2021-05-19T08:49:09Z | c++ | 2021-05-20T07:09:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,264 | ["docs/tools/website.py", "website/css/blog.css", "website/js/embedd.min.js", "website/templates/blog/content.html"] | Our website is using "embedd comments" JavaScript library that has a bug. | See https://github.com/tgallant/embedd/issues/147 | https://github.com/ClickHouse/ClickHouse/issues/24264 | https://github.com/ClickHouse/ClickHouse/pull/24265 | 8b13e73ac243adc96f8d64fb156e601907ddb9d5 | 2963baedc2e4566de280197cc05c4f878eea5313 | 2021-05-18T23:22:21Z | c++ | 2021-05-19T02:10:26Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,209 | ["src/Interpreters/HashJoin.cpp", "tests/performance/dict_join.xml"] | Join on external dictionary works slow with grouping | Select query with aggregation and join on external dictionary works slow when no cast in join expression provided. Table and the dictionary both have UInt64 id's. When using explicit cast like `table.dict_id = toUInt64(dict.id)` the query works fast.
**Does it reproduce on recent release?**
Yes
**How to reproduc... | https://github.com/ClickHouse/ClickHouse/issues/24209 | https://github.com/ClickHouse/ClickHouse/pull/25618 | 2f38b25ba6cc6c1b3de249246506e266bba4fb6c | 1e9e073b0a7beee76f1eb447086e60f4f0c091b8 | 2021-05-17T19:32:19Z | c++ | 2021-06-30T07:54:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,192 | ["src/Storages/StorageMemory.cpp", "tests/queries/0_stateless/01497_mutation_support_for_storage_memory.reference", "tests/queries/0_stateless/01497_mutation_support_for_storage_memory.sql"] | Got wrong result when executing mutation on Memory table engine | Clickhouse version: 21.2.5.5
Got wrong result when excuting mutation on Memory table engine.
```sql
CREATE TABLE mem_test(id Int64) ENGINE=Memory();
INSERT INTO mem_test VALUES (1), (2), (3);
ALTER TABLE mem_test UPDATE id=4 WHERE id=1;
SELECT count(*) FROM mem_test;
┌─count()─┐
│ 24 │
└─────────┘
... | https://github.com/ClickHouse/ClickHouse/issues/24192 | https://github.com/ClickHouse/ClickHouse/pull/24193 | 64baa524b8ce4a2bf2478ad36491a01656b9f18a | cee8e280c78b39a3dbdf115acf08e25fe1691144 | 2021-05-17T10:16:07Z | c++ | 2021-05-18T07:57:52Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,158 | ["src/Columns/ReverseIndex.h", "tests/queries/0_stateless/02046_low_cardinality_parallel_group_by.reference", "tests/queries/0_stateless/02046_low_cardinality_parallel_group_by.sh"] | Crash on MV Insert Into Locked Buffer Table With LowCardinality Key Column | ClickHouse 21.4.4
We are testing using buffer tables for materialized views to reduce the number of parts created during inserts. When trying to read from one of those buffer tables (using a Distributed table), ClickHouse crashed on multiple shards. This is the table:
``` CREATE TABLE comcast_xcr.atsec_svc_1h... | https://github.com/ClickHouse/ClickHouse/issues/24158 | https://github.com/ClickHouse/ClickHouse/pull/29782 | 754e038eec7a77895f8c57cadb933c828eb52779 | 25e2ebac75de1972bcb9db8b18e326afaf6679ab | 2021-05-15T21:32:18Z | c++ | 2021-10-07T13:27:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,128 | ["src/DataTypes/getLeastSupertype.cpp", "src/Functions/DateTimeTransforms.h", "tests/queries/0_stateless/00735_long_conditional.reference", "tests/queries/0_stateless/01925_date_date_time_comparison.reference", "tests/queries/0_stateless/01925_date_date_time_comparison.sql", "tests/queries/0_stateless/01926_date_date_t... | TimeZone is ignored in function if with Date and DateTime | ```
qoega-dev.sas.yp-c.yandex.net :) SELECT toDate('2000-01-01') < toDateTime('2000-01-01 00:00:01', 'Europe/Moscow');
SELECT toDate('2000-01-01') < toDateTime('2000-01-01 00:00:01', 'Europe/Moscow')
Query id: baf63ad5-1893-401c-9728-63bd5c295df1
┌─less(toDate('2000-01-01'), toDateTime('2000-01-01 00:00:01', ... | https://github.com/ClickHouse/ClickHouse/issues/24128 | https://github.com/ClickHouse/ClickHouse/pull/24129 | d5bd2b1fa9844cf290049ca143aefddc1e8c72a8 | 4bb3fd53f7ce6e2e75a4449d76eea0b81884699a | 2021-05-14T16:04:28Z | c++ | 2021-06-29T17:13:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,126 | ["programs/server/Server.cpp", "src/Access/AccessControl.cpp", "src/Access/Common/AuthenticationData.cpp", "src/Access/GSSAcceptor.cpp", "src/Access/GSSAcceptor.h", "src/Access/UsersConfigAccessStorage.cpp"] | Unexpected behaviour when bad hash in password_sha256_hex | **Describe the unexpected behaviour**
If, when creating a user via xml in the password_sha256_hex field, enter an incorrect hash, then ClickHouse will crash without correct error description
**How to reproduce**
```
<yandex>
<users>
<testuser>
<password_sha256_hex>a95aff94b1f06ec175c359c... | https://github.com/ClickHouse/ClickHouse/issues/24126 | https://github.com/ClickHouse/ClickHouse/pull/31557 | 526044af8a8ce85eca993e19fe2def4bb15873e8 | 9a0d98fa6d5ffda30a2243e607040024fd02645c | 2021-05-14T14:29:17Z | c++ | 2021-11-20T16:47:07Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,123 | ["src/Interpreters/getHeaderForProcessingStage.cpp", "src/Interpreters/getHeaderForProcessingStage.h", "src/Storages/StorageMaterializedView.cpp", "src/Storages/StorageMerge.cpp", "tests/queries/0_stateless/01890_materialized_distributed_join.reference", "tests/queries/0_stateless/01890_materialized_distributed_join.sh... | Missing columns exception when joining Distributed Materialized View | **Describe the bug**
Using column from right side of join where left side is Distributed Materialized View in select clause returns 'Missing columns' exception;
The column can be used in where condition without a problem.
**Does it reproduce on recent release?**
Yes
**How to reproduce**
* Which ClickHouse ser... | https://github.com/ClickHouse/ClickHouse/issues/24123 | https://github.com/ClickHouse/ClickHouse/pull/24870 | fab7c9c7f63a905313c9620f9bce69457fc6395b | 6af272891a06a16f0994989169c8717337b0c469 | 2021-05-14T09:52:27Z | c++ | 2021-06-18T08:18:43Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,110 | ["src/Common/CurrentMemoryTracker.cpp", "src/Common/CurrentMemoryTracker.h", "src/Common/MemoryTracker.cpp", "src/Common/MemoryTracker.h", "src/Common/new_delete.cpp"] | MemoryTracker should be used in operator new in a light way | **Use case**
Very rare deadlock is possible.
**Describe the solution you'd like**
If MemoryTracker is called from operator new, don't:
- log anything (1);
- throw (2).
(1) is strictly necessarily to avoid deadlock;
(2) is almost necessarily to avoid tons of peculiarities in destructors. | https://github.com/ClickHouse/ClickHouse/issues/24110 | https://github.com/ClickHouse/ClickHouse/pull/24483 | a7e95b4ee2284fac1b6c1f466f89e0c1569f5d72 | e5b78723bb6fc3d5f7f6789f6514feb96c097f34 | 2021-05-13T21:07:52Z | c++ | 2021-05-27T07:35:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,093 | ["src/Storages/tests/gtest_transform_query_for_external_database.cpp"] | Issues querying foreign tables with functions in where statements | When using a foreign table (e.g. a mysql table) clickhouse doesn't seem to properly send the result of functions if they are called inside `WHERE` statements.
Executing `SELECT foo FROM foreign_table WHERE a=10 AND b='2019-10-05'` will send a statement like:
```
SELECT `foo`, `a`, `b` FROM `db`.`foreign_table` ... | https://github.com/ClickHouse/ClickHouse/issues/24093 | https://github.com/ClickHouse/ClickHouse/pull/40476 | 2b0c62ab80d1d43a2c7dc2fbe24db0124efe18d4 | d370c45137db9b140ae6132a72f65d402f258974 | 2021-05-13T14:19:09Z | c++ | 2022-08-22T12:37:25Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,075 | ["src/Processors/QueryPipeline.cpp", "tests/performance/join_max_streams.xml"] | version 21.6 is much slower than 21.4 |
I got the binary from follwing url then strip it
```
wget -c https://builds.clickhouse.tech/master/aarch64/clickhouse
kylin@kylin-gtj:~$ strip clickhouse
kylin@kylin-gtj:~$ ll cl*
-rw-r--r-- 1 kylin kylin 234645184 5月 13 08:21 clickhouse
kylin@kylin-gtj:~$ cd ch
kylin@kylin-gtj:~/ch$ ll
总用量 242132
drw... | https://github.com/ClickHouse/ClickHouse/issues/24075 | https://github.com/ClickHouse/ClickHouse/pull/26052 | 2062ddec90f526ec908e5eab6a88e96f631b6ef5 | f068defdd84921e0d89c7b2b1eb8308ec7813a05 | 2021-05-13T01:03:15Z | c++ | 2021-07-08T14:18:12Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,060 | ["website/css/main.css", "website/src/scss/_variables.scss", "website/src/scss/components/_navbar.scss", "website/templates/docs/content.html"] | When anchor is used, it's hidden behind header on documentation pages | (you don't have to strictly follow this form)
**Describe the issue**
When an anchor is used, the page is scrolled too much and the relevant place hidden by gray header row. For example, https://clickhouse.tech/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close: only `Default value: 0... | https://github.com/ClickHouse/ClickHouse/issues/24060 | https://github.com/ClickHouse/ClickHouse/pull/32812 | b0330d880159f0933604f6619abbe33695b44ca0 | 3c978dfbf9cddee464dc7819e48bc1084272a3ec | 2021-05-12T14:56:48Z | c++ | 2021-12-16T13:12:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,035 | ["src/Common/StringUtils/StringUtils.h", "tests/queries/0_stateless/01932_null_valid_identifier.reference", "tests/queries/0_stateless/01932_null_valid_identifier.sql", "tests/queries/0_stateless/arcadia_skip_list.txt", "tests/queries/skip_list.json"] | Can't create table on cluster when order by `null` | My clickhouse version is 21.3.9.83, I want to create table contains a field named `null`, I can create it successfully on local table:
```sql
vm2173 :) CREATE TABLE default.test_table (
:-] `id` Int64 ,
:-] `day` DateTime,
:-] `null` Int32 )
:-] ENGINE = MergeTree()
:-] PARTITION BY toYYYYMMDD(`day`)
:-]... | https://github.com/ClickHouse/ClickHouse/issues/24035 | https://github.com/ClickHouse/ClickHouse/pull/25907 | 523155a020599263b2a11cc9cdbda96b0fcf288c | 48e325502ed8c703fdff21fc68cce8f02736f4c1 | 2021-05-12T02:12:54Z | c++ | 2021-07-02T12:36:35Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,029 | ["src/DataTypes/DataTypeUUID.h", "tests/queries/0_stateless/01869_reinterpret_as_fixed_string_uuid.reference", "tests/queries/0_stateless/01869_reinterpret_as_fixed_string_uuid.sql"] | reinterpretAsFixedString for UUID stopped working | **Describe the bug**
The following statement started to return an error.
```
SELECT reinterpretAsFixedString(toUUID('61f0c404-5cb3-11e7-907b-a6006ad3dba0'))
```
**Does it reproduce on recent release?**
Current master
**How to reproduce**
```
Description
Received exception from server (version 2... | https://github.com/ClickHouse/ClickHouse/issues/24029 | https://github.com/ClickHouse/ClickHouse/pull/24177 | 4a84c2f3ea1fc17d8610f25947685ab60b0101c1 | 49d82ee408c73e35b7d2ca02f2e99ef3e59572f1 | 2021-05-11T21:15:01Z | c++ | 2021-05-18T05:58:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,024 | ["src/Interpreters/ActionsDAG.cpp", "src/Processors/QueryPlan/UnionStep.cpp", "tests/queries/0_stateless/01881_union_header_mismatch_bug.reference", "tests/queries/0_stateless/01881_union_header_mismatch_bug.sql"] | 21.5 Block structure mismatch in Pipe::unitePipes stream: different number of columns |
```
select *
from (
select 'table' as table, toInt64(10) as rows, toInt64(101) as elements
union all
select 'another table' as table, toInt64(0) as rows, toInt64(0) as elements
)
where rows - elements <> 0
DB::Exception: Block structure mismatch in Pipe::unitePipes stream: different number of columns:
tabl... | https://github.com/ClickHouse/ClickHouse/issues/24024 | https://github.com/ClickHouse/ClickHouse/pull/24463 | ea97eee326a94c9a23d1b4349f660a17ad29b551 | d4998909b666e7129ca14221e6546b457086e16f | 2021-05-11T19:23:47Z | c++ | 2021-05-25T09:04:45Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,020 | ["src/Functions/FunctionsComparison.h", "src/Interpreters/ExpressionJIT.cpp", "tests/performance/column_column_comparison.xml", "tests/queries/0_stateless/00911_tautological_compare.reference", "tests/queries/0_stateless/00911_tautological_compare.sql", "tests/queries/0_stateless/01855_jit_comparison_constant_result.re... | Cannot convert column `less(c0, c1)` because it is non constant in source stream but must be constant in result | ``` sql
CREATE TABLE IF NOT EXISTS t0 (c0 Int32, c1 ALIAS c0) ENGINE = Memory() ;
INSERT INTO t0(c0) VALUES (-341725483);
INSERT INTO t0(c0) VALUES (-781504249), (-1079304144);
INSERT INTO t0(c0) VALUES (-1959608342), (1263536992), (1194580216);
INSERT INTO t0(c0) VALUES (-1639118561), (436683656), (275548633);
... | https://github.com/ClickHouse/ClickHouse/issues/24020 | https://github.com/ClickHouse/ClickHouse/pull/24023 | b0476c1fa219ca98f660d44f254eb4ed9e4fc12e | af78649e561350814a58a925345fe48479e41f52 | 2021-05-11T16:24:41Z | c++ | 2021-05-20T07:58:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 24,011 | ["src/Interpreters/JoinToSubqueryTransformVisitor.cpp", "src/Parsers/ASTIdentifier.cpp", "tests/queries/0_stateless/01890_cross_join_explain_crash.reference", "tests/queries/0_stateless/01890_cross_join_explain_crash.sql"] | EXPLAIN SYNTAX Causing Segfault v21.3 | ClickHouse v21.3.9.1
```
# clickhouse-client
ClickHouse client version 21.3.9.1.
Connecting to localhost:9000 as user default.
Connected to ClickHouse server version 21.3.9 revision 54447.
hostname :)
EXPLAIN SYNTAX
SELECT *
FROM
(
SELECT 1
)
,
(
SELECT 1
)
,
(
SELECT 1
)
Query... | https://github.com/ClickHouse/ClickHouse/issues/24011 | https://github.com/ClickHouse/ClickHouse/pull/25082 | 82b8d45cd71128378b334e0aa4abc756898e688d | a163453e74bd94a1a2619717ba270990f1c61af7 | 2021-05-11T08:24:26Z | c++ | 2021-06-09T16:40:23Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,960 | ["src/Functions/array/arrayDifference.cpp", "tests/queries/0_stateless/01851_array_difference_decimal_overflow_ubsan.reference", "tests/queries/0_stateless/01851_array_difference_decimal_overflow_ubsan.sql"] | UBSan: Function arrayDifference decimal overflow | https://clickhouse-test-reports.s3.yandex.net/8482/5b28f7cf439f00d8f8601ba121dd929fcfe63589/fuzzer_ubsan/server.log
```
SELECT arrayDifference([toDecimal32(100.0000991821289, 0), -2147483647]) AS x
```
Result:
```
../src/Core/Types.h:182:113: runtime error: signed integer overflow: -2147483647 - 100 cannot be rep... | https://github.com/ClickHouse/ClickHouse/issues/23960 | https://github.com/ClickHouse/ClickHouse/pull/23961 | 90f3760c576d1356bed58ad0a5f01a32146d487e | e517436ba489501e95a370912e44b79be02bf7ac | 2021-05-08T14:33:02Z | c++ | 2021-05-09T11:04:35Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,938 | ["src/Interpreters/AsynchronousMetricLog.cpp"] | AsynchronousMetricLog: use LowCardinality for names. | https://github.com/ClickHouse/ClickHouse/issues/23938 | https://github.com/ClickHouse/ClickHouse/pull/23981 | 50f8800822177a20253f057dad88e87367720d71 | f2a2f85f63c755a538cca22b792d61a70c6b24e6 | 2021-05-07T16:07:30Z | c++ | 2021-05-10T07:58:58Z | |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,926 | ["src/Storages/StorageMaterializedView.cpp", "tests/queries/0_stateless/01155_rename_move_materialized_view.reference", "tests/queries/0_stateless/01155_rename_move_materialized_view.sql", "tests/queries/skip_list.json"] | Data table for MatView behaves strangely when MV moved from Ordinary to Atomic DB | **Describe the unexpected behaviour**
When MatView is moved from Ordinary DB to Atomic, data table stays in the same DB but renamed. I'd expected it moved to another DB too. Or at least not renamed and moved separately.
**How to reproduce**
* Which ClickHouse server version to use: 21.3.9
* Which interface to use... | https://github.com/ClickHouse/ClickHouse/issues/23926 | https://github.com/ClickHouse/ClickHouse/pull/24309 | 84e4b19ad38f471507dc1d24d59ce683adf1be80 | acd952d701a951776c58143e848d2d02dd7c128d | 2021-05-06T16:51:05Z | c++ | 2021-05-20T15:20:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,905 | ["src/Processors/Formats/Impl/BinaryRowInputFormat.cpp", "src/Server/HTTP/HTMLForm.cpp", "src/Server/HTTP/HTMLForm.h", "tests/queries/0_stateless/00304_http_external_data.reference", "tests/queries/0_stateless/00304_http_external_data.sh"] | "Cannot read all data" exception when sending External Data in RowBinary format | **Describe the bug**
Supplying External Data in RowBinary format is broken.
**Does it reproduce on recent release?**
should be reproducible with 21.4.6.55
[The list of releases](https://github.com/ClickHouse/ClickHouse/blob/master/utils/list-versions/version_date.tsv)
**How to reproduce**
run docker container... | https://github.com/ClickHouse/ClickHouse/issues/23905 | https://github.com/ClickHouse/ClickHouse/pull/24399 | 678a16b5dc512dfa70e4715be3442d117d336f0d | ce2a809773e9e7b38d4905dad4b1bb2223ec649e | 2021-05-05T21:08:53Z | c++ | 2021-05-28T11:59:11Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,901 | ["src/Common/StringUtils/StringUtils.h", "src/Server/HTTP/ReadHeaders.cpp", "tests/queries/0_stateless/01399_http_request_headers.reference", "tests/queries/0_stateless/01399_http_request_headers.sh"] | HTTP request with an empty header value results in bad request response | Clicktail installed from provided .deb package (version 1.0.20180402) generates HTTP requests like:
`POST /?query=INSERT+INTO+clicktail.apache_log+FORMAT+JSONEachRow HTTP/1.1`
`Host: XXX:8123`
`User-Agent: libclick-go/1.4.0 clicktail/dev (regex)`
`Content-Length: 2425`
`Authorization: Basic XXX`
`Content-Encodi... | https://github.com/ClickHouse/ClickHouse/issues/23901 | https://github.com/ClickHouse/ClickHouse/pull/24285 | b1d13198945e5ce0d45af3c168e6cf75470d2254 | 5de03390e0e5319f47be4bd6f9556a411ada84ba | 2021-05-05T16:06:44Z | c++ | 2021-05-21T02:21:06Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,860 | ["base/daemon/BaseDaemon.cpp", "base/loggers/Loggers.cpp", "contrib/poco", "contrib/poco-cmake/Foundation/CMakeLists.txt", "docker/test/integration/base/Dockerfile", "tests/integration/test_backward_compatibility/test_aggregate_fixed_key.py", "tests/integration/test_log_lz4_streaming/__init__.py", "tests/integration/te... | RFC: LZ4 compressed clickhouse logs | I really love clickhouse logs. They helped me a lot of times, they 'tell stories' :)
But on limited env (like tiny cloud instances) people often set the main log level from trace to information, or just disable it at all, keeping err log only - and motivation is very simple - logs are quite big, they take disk spac... | https://github.com/ClickHouse/ClickHouse/issues/23860 | https://github.com/ClickHouse/ClickHouse/pull/29219 | f27fcf837206b942a34616631b733c7d64051971 | fc9ef14a736d62f121d27d3a23490ef7198190be | 2021-05-03T10:25:06Z | c++ | 2021-11-17T18:22:57Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,821 | ["src/Common/IntervalTree.h", "src/Common/examples/CMakeLists.txt", "src/Common/examples/interval_tree.cpp", "src/Common/tests/gtest_interval_tree.cpp", "src/Dictionaries/RangeHashedDictionary.cpp", "src/Dictionaries/RangeHashedDictionary.h", "tests/performance/range_hashed_dictionary.xml", "tests/queries/0_stateless/0... | range_hashed wierd issue with performance. | ```sql
version 21.5.1
drop dictionary if exists curs_dict;
drop table if exists curs;
CREATE TABLE curs
(
`a` UInt64,
`b` UInt64,
`e` UInt64,
`rate` UInt16
)
ENGINE = MergeTree
ORDER BY a
insert into curs
select 1,
toYYYYMMDDhhmmss(toDateTime('2020-01-01 00:00:00')+number*2)... | https://github.com/ClickHouse/ClickHouse/issues/23821 | https://github.com/ClickHouse/ClickHouse/pull/33516 | 6e3287038e62ef2fc405a47ad8c7575303ca283c | 41a6cd54aac9fdb9150d502fb2e7c0345974850a | 2021-04-30T19:44:49Z | c++ | 2022-01-19T15:30:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,804 | ["tests/queries/0_stateless/02691_multiple_joins_backtick_identifiers.reference", "tests/queries/0_stateless/02691_multiple_joins_backtick_identifiers.sql"] | Missing column in multiple join with backticked identifiers | **Describe the bug**
The following example fails:
```sql
CREATE TABLE t1 (`1a` Nullable(Int64), `2b` Nullable(String)) engine = Memory;
CREATE TABLE t2 (`3c` Nullable(Int64), `4d` Nullable(String)) engine = Memory;
CREATE TABLE t3 (`5e` Nullable(Int64), `6f` Nullable(String)) engine = Memory;
SELECT
`1... | https://github.com/ClickHouse/ClickHouse/issues/23804 | https://github.com/ClickHouse/ClickHouse/pull/47737 | 50e1eedd4766ed8c2e34339d78f000d63f4d5191 | 72c6084267da929019068fae3d78741b8225efcf | 2021-04-30T14:19:54Z | c++ | 2023-03-23T14:49:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,800 | ["src/Dictionaries/DictionaryHelpers.h", "src/Dictionaries/HashedDictionary.cpp", "tests/integration/test_dictionaries_update_field/__init__.py", "tests/integration/test_dictionaries_update_field/configs/config.xml", "tests/integration/test_dictionaries_update_field/configs/users.xml", "tests/integration/test_dictionar... | 21.4.4 complex_key_hashed dictionaries with update_field cannot load | I upgraded from 21.4.3 to 21.4.4 and my `complex_key_hashed` dictionaries with `update_field` cannot load anymore
```
2021.04.30 13:13:01.913021 [ 7023 ] {} <Error> ExternalDictionariesLoader: Could not load external dictionary 'complex_key_hashed_dict', next update is scheduled at 2021-04-30 13:14:06: std::exception... | https://github.com/ClickHouse/ClickHouse/issues/23800 | https://github.com/ClickHouse/ClickHouse/pull/23824 | 264b30d73869fc010590965fcd3f1f33bdfa48c6 | a979a86930f5125320ff6174481e557f6d54d562 | 2021-04-30T13:17:46Z | c++ | 2021-05-06T14:12:04Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,792 | ["docs/en/sql-reference/functions/encoding-functions.md", "src/Functions/FunctionsCoding.cpp", "src/Functions/FunctionsCoding.h", "tests/queries/0_stateless/01866_bit_positions_to_array.reference", "tests/queries/0_stateless/01866_bit_positions_to_array.sql"] | Function to get position of non zero bits. | **Use case**
Convert bitmask to position.
It would allow us to directly use FLAT dictionary or Enum datatype without jumping around slow `bitmasktoArray` and `arrayMap`
**Describe the solution you'd like**
```
SELECT
arrayMap(x -> log2(x), bitmaskToArray(100)) AS bitmask,
bitPositions(100) AS bitp... | https://github.com/ClickHouse/ClickHouse/issues/23792 | https://github.com/ClickHouse/ClickHouse/pull/25394 | 2c4c2680f706bf6a652ae9d5df0be4f45091fb34 | b34b66c55d5b05160da3447bf9dc53237ae2ad21 | 2021-04-30T09:15:45Z | c++ | 2021-06-17T22:31:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,775 | ["src/IO/S3/PocoHTTPClient.cpp", "tests/integration/test_merge_tree_s3_failover/s3_endpoint/endpoint.py", "tests/integration/test_storage_s3/s3_mocks/mock_s3.py", "tests/integration/test_storage_s3/test.py"] | S3 table endpoint region configuration constrained to the amazonaws domain | Hi, first of all thank you for a great piece of software.
**Describe the bug**
PR #15646 fixes #10417 by matching the S3 endpoint region using the following regular expression: `s3.<region>.amazonaws`. Attempting to use an S3 compatible storage engine hosted outside of AWS an authentication error due to mismatch... | https://github.com/ClickHouse/ClickHouse/issues/23775 | https://github.com/ClickHouse/ClickHouse/pull/23844 | 780b7cc8e1c11ff729dad974c1cc7b47f3dbd89d | d340e33e2b373bb42e28ec10ddca38dd7e33b869 | 2021-04-29T18:51:36Z | c++ | 2021-05-13T16:21:09Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,764 | ["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/StorageBuffer.cpp", "src/Storages/StorageDistributed.cpp", "src/Storages/StorageMerge.cpp", "src/Storages/StorageNull.cpp", "tests/queries/0_stateless/01851_clear_column_referenced_by_mv.reference", "tests/queries/0_stateless/01851_clear_column_referenced_by_mv... | CLEAR COLUMN doesn't work for columns referenced by materialized view | Looks like https://github.com/ClickHouse/ClickHouse/pull/21303 is broke also "clear column" for such columns.
How to reproduce:
```
CREATE TABLE test.TTAdmLog
(
`ts` DateTime,
`event_date` Date DEFAULT toDate(ts),
`impression_id` String DEFAULT '',
`creative_id` String DEFAULT '',
`crea... | https://github.com/ClickHouse/ClickHouse/issues/23764 | https://github.com/ClickHouse/ClickHouse/pull/23781 | 4bb56849b37c625d4810e8ccbc5b7e1b55858088 | 14e879cef98915f20224bdfeae0e519b2d5620ff | 2021-04-29T13:41:07Z | c++ | 2021-04-30T14:28:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,682 | ["src/Functions/initialQueryID.cpp", "src/Functions/queryID.cpp", "src/Functions/registerFunctionsMiscellaneous.cpp", "tests/queries/0_stateless/01943_query_id_check.reference", "tests/queries/0_stateless/01943_query_id_check.sql", "tests/queries/skip_list.json"] | Create functions queryID and initialQueryID | Goal is to find out (initial_)query_id of INSERT query that triggered this (current) Materialized View execution, in order to register this initial_query_id in statistics table.
Why? It would enrich statistics/monitoring/troubleshooting and provide significant information both about origins of insert to ClickHouse and... | https://github.com/ClickHouse/ClickHouse/issues/23682 | https://github.com/ClickHouse/ClickHouse/pull/26410 | d72cc7c7a8ae997692fbc6dc0b4899fe802803f2 | 3f5016a61723d7b2956750af84c0f3ea672b646d | 2021-04-27T10:05:24Z | c++ | 2021-07-22T15:28:38Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,661 | ["src/Storages/MergeTree/MergeTreeData.cpp"] | 01079_parallel_alter_add_drop_column_zookeeper.sh: Logical error: Part doesn't exist. | **Describe the bug**
```
5828589:2021.04.27 03:13:08.824665 [ 6101 ] {} <Trace> test_27.concurrent_alter_add_drop_3 (825021f7-129f-4841-ad6b-92215e3f1a94): Renaming temporary part tmp_merge_all_0_4_7_17 to all_0_4_7_17.
5828590:2021.04.27 03:13:08.824778 [ 3358 ] {} <Trace> test_27.concurrent_alter_add_drop_2 (f0a06... | https://github.com/ClickHouse/ClickHouse/issues/23661 | https://github.com/ClickHouse/ClickHouse/pull/28221 | af709ab9a0e3d67b5bc771aad9e3c2370bed6175 | 531079c452e638ef1475dcb9f1a0d69377008028 | 2021-04-27T03:47:52Z | c++ | 2021-08-30T09:39:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,648 | ["tests/queries/0_stateless/02011_http_parsing.reference", "tests/queries/0_stateless/02011_http_parsing.sh"] | External data still broken after #22527 | **Describe the bug**
After #22527 the post of external data still broken when there is only one line. When there are more then one, `\r` is appended to the latest.
**Does it reproduce on recent release?**
It's reproducible in 21.4.5.46
[The list of releases](https://github.com/ClickHouse/ClickHouse/blob/master/ut... | https://github.com/ClickHouse/ClickHouse/issues/23648 | https://github.com/ClickHouse/ClickHouse/pull/27762 | 32ee8618b7dfee549937f665b59385421ed38c4a | f04cdf58c09569294893ad1993a00fc909a4a808 | 2021-04-26T14:51:27Z | c++ | 2021-08-17T18:36:45Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,515 | ["src/Interpreters/ExpressionActions.cpp", "src/Storages/MergeTree/MergeTreeRangeReader.cpp", "tests/queries/0_stateless/02003_bug_from_23515.reference", "tests/queries/0_stateless/02003_bug_from_23515.sql"] | Expected ColumnLowCardinality, got UInt8: While executing MergingSortedTransform | **Describe the bug**
We encounter the following problem when performing some SELECT queries to a Distributed table with LowCardinality columns:
```DB::Exception: Expected ColumnLowCardinality, gotUInt8: While executing MergingSortedTransform```
**Does it reproduce on recent release?**
Reproduces on the second r... | https://github.com/ClickHouse/ClickHouse/issues/23515 | https://github.com/ClickHouse/ClickHouse/pull/27298 | d245eb1705018d1413c0db6985f47ea348c10c6d | bb4c11cd27d463a92bb4458b7df270db7d84c78f | 2021-04-22T17:03:43Z | c++ | 2021-08-09T20:25:30Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,503 | ["tests/queries/0_stateless/02125_many_mutations.reference", "tests/queries/0_stateless/02125_many_mutations.sh"] | In case of extremely large number of mutations, Segmentation fault (stack overflow) in DB::MergeTreeDataMergerMutator::mutateAllPartColumns | **Describe the bug**
The service is crashing when applying a mutation. The server currently has 20k+ mutations and I'm not sure which one is the culprit.
```
SELECT count(*) FROM system.mutations
SELECT count(*)
FROM system.mutations
┌─count()─┐
│ 20726 │
└─────────┘
1 rows in set. Elapsed: 11.701 ... | https://github.com/ClickHouse/ClickHouse/issues/23503 | https://github.com/ClickHouse/ClickHouse/pull/32327 | 30963dcbc2e97b831677415314bccd5275702884 | 4e6bf2456c8caa3fc718b537d64ae1b44d6e2ab7 | 2021-04-22T10:52:14Z | c++ | 2021-12-08T11:23:39Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 23,435 | ["src/Storages/System/IStorageSystemOneBlock.h", "src/Storages/System/StorageSystemDictionaries.cpp", "src/Storages/System/StorageSystemDictionaries.h", "tests/queries/0_stateless/01838_system_dictionaries_virtual_key_column.reference", "tests/queries/0_stateless/01838_system_dictionaries_virtual_key_column.sql"] | Can`t connect to clickhouse with tabix after update to ch version 21.4.4.30 | Can`t connect to direct ch with tabix after update to version 21.4.4.30 with error
Code: 47, e.displayText() = DB::Exception: Missing columns: 'key' while processing query: 'SELECT name, key, attribute.names, attribute.types FROM system.dictionaries ARRAY JOIN attribute ORDER BY name ASC, attribute.names ASC', requir... | https://github.com/ClickHouse/ClickHouse/issues/23435 | https://github.com/ClickHouse/ClickHouse/pull/23458 | 8134c270a2f468deaa6534be8765588cd61b1076 | 3df3acc9706d9ecc34cd078142c370150649f02d | 2021-04-21T13:27:03Z | c++ | 2021-04-22T05:42:15Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.