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
46,413
["src/Storages/MergeTree/DataPartsExchange.cpp", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "tests/integration/test_projection_report_broken_part/__init__.py", "tests/integration/test_projection_report_broken_part/configs/testkeeper.xml", "tests/integration/test_projection_rep...
SELECT queries using a projection raise a `BAD_DATA_PART_NAME` error
**Describe what's wrong** We have implemented a projection using the `GROUP BY` clause. Queries activating the projection have been running without fault for months. But since a few weeks ago, sometimes we get a `BAD_DATA_PART_NAME` exception. This has been the case for various queries that use the projection....
https://github.com/ClickHouse/ClickHouse/issues/46413
https://github.com/ClickHouse/ClickHouse/pull/50052
8dbf7beb32fa752bc4b87decc741221ae2e9249c
c89f92e1f67271f295cb4a44de12b2916ff393cd
2023-02-14T16:11:41Z
c++
2023-05-22T11:20:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,345
["src/Storages/MergeTree/MutateTask.cpp", "tests/queries/0_stateless/02565_update_empty_nested.reference", "tests/queries/0_stateless/02565_update_empty_nested.sql"]
CORRUPTED_DATA after ALTER TABLE UPDATE on nested data structure.
This bug has been tested on version 23.1.3. Baseline test which works fine: ```sql DROP TABLE IF EXISTS test; CREATE TABLE test( `id` UInt32, `data` Array(UInt32), ) ENGINE = MergeTree ORDER BY id; INSERT INTO test (id, `data`) SELECT 1, [0,1,2,999999] FROM numbers(1000000...
https://github.com/ClickHouse/ClickHouse/issues/46345
https://github.com/ClickHouse/ClickHouse/pull/46387
726fb4bebcee3732d621c4758f3f9784805e73fa
ecc6ff707bfd21b5483ef540c004d7fdc3e2d2c2
2023-02-13T13:31:11Z
c++
2023-02-14T15:28:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,286
["src/Interpreters/InterpreterSelectQuery.cpp", "src/Storages/IStorage.h", "src/Storages/StorageMerge.cpp", "src/Storages/StorageMerge.h", "tests/queries/0_stateless/00717_merge_and_distributed.sql", "tests/queries/0_stateless/01915_merge_prewhere_virtual_column_rand_chao_wang.sql", "tests/queries/0_stateless/01931_sto...
23.1 PREWHERE is disabled for non-identical Merge tables
I am very upset by your decision to disable PREWHERE for Merge tables in case data types do not match for some of the columns in the underlying tables (https://github.com/ClickHouse/ClickHouse/pull/44716). Here is my use-case that doesn't work anymore: ``` create table default.t1 (key Int32, value Int32) engine=Me...
https://github.com/ClickHouse/ClickHouse/issues/46286
https://github.com/ClickHouse/ClickHouse/pull/46454
a1cf3f78f634625137bed9aa0573c93821bb1191
0f182f61641adadcbdd028c4e31b2ae3b5a24fbf
2023-02-10T17:37:43Z
c++
2023-02-17T13:10:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,203
["docs/en/operations/server-configuration-parameters/settings.md", "tests/integration/test_log_lz4_streaming/configs/logs.xml"]
Document stream log compression
**Describe the issue** I wanted to set up log compression, and as I didn't find relevant information in docs I started googling around and I came across this issue: https://github.com/ClickHouse/ClickHouse/issues/23860, and then went on to this merged to master pull request: https://github.com/ClickHouse/ClickHous...
https://github.com/ClickHouse/ClickHouse/issues/46203
https://github.com/ClickHouse/ClickHouse/pull/46276
ddd21ac706fbe4357b87a3ccdbcd7a61e711ac15
5dd6f25d5d988c3d9f61ce023e14a59ea43b789c
2023-02-09T10:46:09Z
c++
2023-02-13T02:55:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,184
["docs/en/sql-reference/functions/date-time-functions.md", "src/Functions/formatDateTime.cpp", "tests/queries/0_stateless/00718_format_datetime.reference", "tests/queries/0_stateless/00718_format_datetime.sql", "tests/queries/0_stateless/00719_format_datetime_rand.sql", "tests/queries/0_stateless/00801_daylight_saving_...
Add function `DATE_FORMAT` as a compatibility alias.
**Use case** Compatibility with MySQL. **Describe the solution you'd like** 1. Make it a synonym of `formatDateTime`. 2. Add the support for `%i` and other missing format substitutions. 3. Fix the error code from ILLEGAL_COLUMN to a more appropriate one. ``` milovidov-desktop :) SELECT DATE_FORMAT(now(),...
https://github.com/ClickHouse/ClickHouse/issues/46184
https://github.com/ClickHouse/ClickHouse/pull/46302
3f424301cd0bdee58ec282eb2110b8e0acbcd1cf
0ff404da9ce7c85c051feb66a654cf4473edc1c4
2023-02-08T20:13:04Z
c++
2023-02-16T16:54:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,172
["docs/en/sql-reference/statements/create/table.md"]
Docs bug: syntax on PRIMARY KEY section
**Describe the issue** On this page, the PRIMARY KEY statement has an extra right-side square bracket "]": https://clickhouse.com/docs/en/sql-reference/statements/create/table/#primary-key `CREATE TABLE db.table_name ( name1 type1, name2 type2, ..., PRIMARY KEY(expr1[, expr2,...])] ) ENGINE = engine;`...
https://github.com/ClickHouse/ClickHouse/issues/46172
https://github.com/ClickHouse/ClickHouse/pull/47029
0a32bac97be4e42b9e335eae18838ec89f5d9591
afac2801a2ccf3d5855cd2c5679a897fc1183590
2023-02-08T15:54:23Z
c++
2023-02-28T18:59:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,169
["src/Storages/IndicesDescription.cpp", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeIndices.cpp", "tests/queries/0_stateless/01705_normalize_create_alter_function_names.reference", "tests/queries/0_stateless/01705_normalize_create_alter_function_names.sql", "tests/queries/0_stateless/02...
Crash with constant expression in skip index
This index definition doesn't make any sense but crashes the server (several runs may be required). **How to reproduce** ```sql DROP TABLE IF EXISTS logins__fuzz_63; CREATE TABLE logins__fuzz_63 ( id UInt64, INDEX __idx_fuzz_10829467000260387718 'asdasd' TYPE set(2) GRANULARITY 1 ) ENGINE = MergeTr...
https://github.com/ClickHouse/ClickHouse/issues/46169
https://github.com/ClickHouse/ClickHouse/pull/46839
e2aff59a2d6ce3f05dbb7026bbddce64fca8810a
e8cdb0c8b15d8448392102cd0e16f7990c47166d
2023-02-08T15:42:16Z
c++
2023-03-08T00:03:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,129
["docs/en/sql-reference/functions/type-conversion-functions.md", "docs/ru/sql-reference/functions/type-conversion-functions.md", "src/Functions/DateTimeTransforms.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/01556_accurate_cast_or_null.reference", "tests/queries/0_stateless/01556_accurate_cast_...
toDateTimeOrDefault() can't parse UInt32 dates that toDateTime() can
**Describe the unexpected behaviour** ``` ┌─toDateTimeOrDefault(1675442127)─┐ │ 1970-01-01 00:00:00 │ └─────────────────────────────────┘ ``` ``` ┌─toDateTime(1675442127)─┐ │ 2023-02-03 16:35:27 │ └────────────────────────┘ ``` * Which ClickHouse server version to use Latest master.
https://github.com/ClickHouse/ClickHouse/issues/46129
https://github.com/ClickHouse/ClickHouse/pull/50709
81b38db5295482d67a8f3a5bd53be066707e21c0
128e8c20d5ef3d043f32f4622ddfe04501d8c0ac
2023-02-07T17:53:56Z
c++
2023-06-12T15:08:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,102
["docs/en/operations/settings/query-complexity.md", "src/Core/Settings.h", "src/Interpreters/ClusterProxy/SelectStreamFactory.cpp", "src/Interpreters/ClusterProxy/executeQuery.cpp", "tests/queries/0_stateless/02786_max_execution_time_leaf.reference", "tests/queries/0_stateless/02786_max_execution_time_leaf.sql"]
Add max_execution_time_leaf
**Use case** Currently there is max_execution_time setting, that can be set in subqueries. But it makes it hard to use this setting with distributed sub-queries, as it is likely that timeout will be reached before distributed subquery finished. **Describe the solution you'd like** Add max_execution_time_leaf ...
https://github.com/ClickHouse/ClickHouse/issues/46102
https://github.com/ClickHouse/ClickHouse/pull/51823
8707b75ad837feed35d9ac6c73502c3c4dd700be
81b1ca22bb8612c753fa6e15376de4cc3b0ca7f3
2023-02-07T09:39:09Z
c++
2023-11-03T12:31:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,084
["src/Storages/MergeTree/IMergeTreeDataPart.h", "src/Storages/MergeTree/MergeTask.cpp", "src/Storages/MergeTree/MergeTreeDataPartWide.h", "src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp", "src/Storages/MergeTree/MergeTreeDataPartWriterWide.cpp", "src/Storages/MergeTree/MergeTreeSettings.h", "tests/integration...
Make it possible to use Vertical merge algorithm together with parts of Compact type
**Use case** There is a special algorithm inside ClickHouse for executing background merges called Vertical. It merges only PRIMARY KEY columns first and computes a permutation mask (in what order rows from all source parts should be fetched and written to the result part to get the right result). This algorithm all...
https://github.com/ClickHouse/ClickHouse/issues/46084
https://github.com/ClickHouse/ClickHouse/pull/46282
b9844f987688699d9696ae4020a84389125fcc5a
395d6b6bd5987f2e74edc20bf656808063f75920
2023-02-06T15:28:23Z
c++
2023-02-12T02:51:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,055
["base/glibc-compatibility/glibc-compatibility.c"]
clickhouse-server.aarch64 0:23.1.3.5-1 GLIBC_2.28 not found
Amazon Linux 2 can't run clickhouse ``` Установлено: clickhouse-client.aarch64 0:23.1.3.5-1 clickhouse-server.aarch64 0:23.1.3.5-1 Установлены зависимости: clickhouse-common-static.aarch64 0:23.1.3.5-1 ...
https://github.com/ClickHouse/ClickHouse/issues/46055
https://github.com/ClickHouse/ClickHouse/pull/47008
e800557743ba619f14eded421a7f295ad3b68a6f
05142af0c021df7f4c5a1bb358bcffbd220b9504
2023-02-05T15:25:18Z
c++
2023-03-01T08:31:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
46,013
["src/Common/format.h"]
Confusing error message: Argument is too big for formatting
``` SELECT format('{}asdfasd{}', '111') Query id: 77df41ec-4f04-4017-863f-f7d31b92893d 0 rows in set. Elapsed: 0.031 sec. Received exception from server (version 22.13.1): Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Argument is too big for formatting: While processing format('{}a...
https://github.com/ClickHouse/ClickHouse/issues/46013
https://github.com/ClickHouse/ClickHouse/pull/57569
7a5b40563ab6625e2e2722cd8ba3fa282e82037c
c7ce2b5d5fb596d6bf16a307644e2724bf16d50a
2023-02-03T13:15:05Z
c++
2023-12-15T10:10:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,964
["src/Storages/MergeTree/MergeTreeBaseSelectProcessor.cpp", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/StorageDistributed.cpp", "src/Storages/StorageMerge.cpp"]
Make the `_part` virtual column `LowCardinality(String)`
It will be more natural.
https://github.com/ClickHouse/ClickHouse/issues/45964
https://github.com/ClickHouse/ClickHouse/pull/45975
0dae64fe5419f60e9aea9018d94a6bfaf2c74ab9
532b341de921178c6621db7f10093a9cce760641
2023-02-02T14:25:27Z
c++
2023-02-05T17:00:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,894
["src/Functions/tupleElement.cpp", "tests/queries/0_stateless/01710_minmax_count_projection.sql", "tests/queries/0_stateless/02541_tuple_element_with_null.reference", "tests/queries/0_stateless/02541_tuple_element_with_null.sql"]
tupleElement with default NULL value returns incorrect result
**Describe the unexpected behaviour** If the default value for the `tupleElement` function is `NULL` function always return `NULL` even if the key exists. **How to reproduce** ``` CREATE TABLE default.test_tuple_element ( tuple Tuple(k1 Nullable(UInt64), k2 UInt64) ) ENGINE = MergeTree ORDER BY tuple...
https://github.com/ClickHouse/ClickHouse/issues/45894
https://github.com/ClickHouse/ClickHouse/pull/45952
9f7d493850ba1617cdc7182d37f02516fb55979a
061204408afa72f731d79e7c2212f9e77e646f9b
2023-02-01T14:05:55Z
c++
2023-02-03T15:15:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,808
["src/TableFunctions/TableFunctionFormat.cpp", "src/TableFunctions/TableFunctionFormat.h", "tests/queries/0_stateless/02542_table_function_format.reference", "tests/queries/0_stateless/02542_table_function_format.sql"]
Cannot specity table structure for table function `format`
https://clickhouse.com/docs/en/sql-reference/table-functions/format/ **Use case** ``` SELECT * FROM format(TSV, 'cust_id UInt128', '20210129005809043707') ``` **How to solve** Allow a three-argument version.
https://github.com/ClickHouse/ClickHouse/issues/45808
https://github.com/ClickHouse/ClickHouse/pull/45873
542f54cf2d6559d6cb291a6b2eeb6a36b7f52110
1682078f1a2497f8d102fa7734edd3223ed2f077
2023-01-31T01:49:18Z
c++
2023-02-01T23:40:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,797
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02551_ipv4_implicit_uint64.reference", "tests/queries/0_stateless/02551_ipv4_implicit_uint64.sql"]
Conversion from UInt64 to IPv4 is not supported
New IPv4 as native code causes inserting IPv4 as UInt32 broken with error "Conversion from UInt64 to IPv4 is not supported"; CREATE TABLE users (ip IPv4) ENGINE=Memory; INSERT INTO users VALUES (2319771222); DB::Exception: Conversion from UInt64 to IPv4 is not supported:
https://github.com/ClickHouse/ClickHouse/issues/45797
https://github.com/ClickHouse/ClickHouse/pull/45865
ec3bb0c04e8902ae2e21dade6bc5e6443162a0a8
57f26f8c7ee6d724ab25a421280e725c4d2b0308
2023-01-30T19:36:03Z
c++
2023-02-02T15:53:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,789
["src/Interpreters/LogicalExpressionsOptimizer.cpp", "tests/queries/0_stateless/25340_logical_optimizer_alias_bug.reference", "tests/queries/0_stateless/25340_logical_optimizer_alias_bug.sql"]
MULTIPLE_EXPRESSIONS_FOR_ALIAS on the 23.1.2
Since the latest release (23.1.2), we started to have "MULTIPLE_EXPRESSION_FOR_ALIAS" errors when executing queries. The table is distributed and I'm using the zero replication feature. This behaviour is not reproductible on the 22.12 on the same condition (distributed table + zero replication). **Describe what's...
https://github.com/ClickHouse/ClickHouse/issues/45789
https://github.com/ClickHouse/ClickHouse/pull/47451
be0ae6a23827e11d3169871d5cca1f5ebe45195f
0298a96d812c824388c317b7d8ef9e8606ff94cd
2023-01-30T15:19:10Z
c++
2023-03-14T10:51:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,773
["src/Functions/CRC.cpp", "src/Functions/EmptyImpl.h", "src/Functions/FunctionStringOrArrayToT.h", "src/Functions/array/length.cpp", "src/Functions/ascii.cpp", "src/Functions/isValidUTF8.cpp", "src/Functions/lengthUTF8.cpp", "tests/queries/0_stateless/02541_empty_function_support_ip.reference", "tests/queries/0_statele...
Illegal type IPv6 of argument of function notEmpty
**Describe what's wrong** `notEmpty` does not accept an argument of type IPv6: ``` DB::Exception: Illegal type IPv6 of argument of function notEmpty ``` **Does it reproduce on recent release?** Yes, starting ClickHouse v23. Expected behavior with v22.12.3.5: https://fiddle.clickhouse.com/5abe165f-6c96-4b...
https://github.com/ClickHouse/ClickHouse/issues/45773
https://github.com/ClickHouse/ClickHouse/pull/45799
ffa00fc134b90fe19ce11ab3d6753bd95d8c06b9
9f4658151e236527d44daef71d305df8bf7b7afe
2023-01-30T09:44:40Z
c++
2023-01-31T12:37:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,742
["src/Common/MemoryTracker.cpp"]
Uncomprehensible error message from MemoryTracker.
**Describe the issue** Remove this: ``` OvercommitTracker decision: Memory overcommit isn't used. OvercommitTracker isn't set. ```
https://github.com/ClickHouse/ClickHouse/issues/45742
https://github.com/ClickHouse/ClickHouse/pull/45743
19d4e4fd0e2b58c62f4d9b5fa129646ec4b1dff5
a7299746c7b381051c3209ed851741ea9d7d7ddd
2023-01-29T01:12:17Z
c++
2023-01-29T21:46:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,706
["docs/en/operations/backup.md"]
Docs: broken link for compression_method
**Describe the issue** Broken link in the docs. The link is on the Backup & Restore page for "compression_method": https://clickhouse.com/docs/en/operations/backup/ <img width="433" alt="image" src="https://user-images.githubusercontent.com/8918693/215132238-10bda0ea-a284-46c8-ae26-bbbd1d517a3b.png"> The link i...
https://github.com/ClickHouse/ClickHouse/issues/45706
https://github.com/ClickHouse/ClickHouse/pull/45798
f46bfaa1c96b7ec226595fcccd1dcee9646bdbfd
40573bfa42cf49cfda151cf7cb4cec05996a6e1b
2023-01-27T16:02:50Z
c++
2023-01-30T21:48:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,669
["src/Processors/Formats/Impl/ArrowColumnToCHColumn.cpp", "tests/queries/0_stateless/02541_arrow_duration_type.reference", "tests/queries/0_stateless/02541_arrow_duration_type.sh", "tests/queries/0_stateless/data_arrow/duration.arrow"]
Add support for Arrow's duration type
There's no support for Arrow's duration type at the moment. It will be a nice feature to add it since internally it uses C `int64_t` type. Generate some arrow sample file from python: ``` import pandas as pd import pyarrow as pa BATCH_SIZE = 100 NUM_BATCHES = 100 schema = pa.schema([pa.field('duration...
https://github.com/ClickHouse/ClickHouse/issues/45669
https://github.com/ClickHouse/ClickHouse/pull/45750
15d4b1c9df794fb83d19183437e2f44677f47c53
075dfe9005d44037f1f447e3b6c13050bb7dc051
2023-01-26T15:17:56Z
c++
2023-01-31T17:34:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,583
["docs/en/sql-reference/functions/date-time-functions.md"]
dateDiff uses mode 1 for week comparisons
**Describe the unexpected behaviour** When using `dateDiff`, I'd expect it to use "mode 0" i.e. Sunday-based weeks, given that that's the default elsewhere such as `toStartOfWeek`. However, it uses "mode 1" i.e. Monday-based weeks. **How to reproduce** https://fiddle.clickhouse.com/51453d67-1f73-442f-a84e...
https://github.com/ClickHouse/ClickHouse/issues/45583
https://github.com/ClickHouse/ClickHouse/pull/45586
8926af91f3a06fe4638e57a0cc1d5fda6d55a065
d6ab376b02f4cb853eac64b8794ed67febeb2f93
2023-01-24T18:16:15Z
c++
2023-01-24T20:38:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,509
["src/Storages/MergeTree/MergeTreeIndexFullText.cpp", "tests/queries/0_stateless/02538_ngram_bf_index_with_null.reference", "tests/queries/0_stateless/02538_ngram_bf_index_with_null.sql"]
heap-buffer-overflow in `MergeTreeConditionFullText` (possible type mismatch with `Field`)
https://s3.amazonaws.com/clickhouse-test-reports/45442/dfac0bb42d7214c7c4aaec35cf91a1c0c71a7e1d/fuzzer_astfuzzerasan/report.html ```sql SELECT '2', (map['']) = NULL, '21474836.46', NULL FROM bf_ngrambf_map_keys_test PREWHERE (map_fixed['']) != '' WHERE (map_fixed[NULL]) != 'V0V0V0V0V0V0V0V0V0V0V0V0V0V0V0V0' SETTINGS ...
https://github.com/ClickHouse/ClickHouse/issues/45509
https://github.com/ClickHouse/ClickHouse/pull/45617
73c62ae390d7c497928ba3796648d925f560f7bc
6fe9e9a67f3bb43d951fe8ffcffc6b458f797df9
2023-01-23T14:31:29Z
c++
2023-01-26T08:05:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,508
["src/Interpreters/InterpreterSystemQuery.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeQueue.h", "src/Storages/StorageReplicatedMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.h"]
`SYSTEM SYNC REPLICA` works strange
`SYSTEM SYNC REPLICA` waits until the table's replication queue becomes empty. It's a strange assumption because in case of long overlapping (by time) merges it can wait forever. To fix it, we have to apply the following logic on `SYSTEM SYNC REPLICA`: 1. pullLogsToQueue 2. get the last pulled entry name 3. retu...
https://github.com/ClickHouse/ClickHouse/issues/45508
https://github.com/ClickHouse/ClickHouse/pull/45648
41a3536227ea10720a4b419287522b03c2e29d6b
859f528fe18493e68a21320df8636d3fdd65751a
2023-01-23T14:31:05Z
c++
2023-02-09T10:51:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,440
["src/Interpreters/ActionsDAG.cpp", "tests/queries/0_stateless/02667_and_consistency.reference", "tests/queries/0_stateless/02667_and_consistency.sql"]
HAVING 1 returns no results
Based on https://s3.amazonaws.com/clickhouse-test-reports/45420/df3776d24b330357cc8e69c4d1273e5dea56e4bf/sqlancer__release_/TLPHaving.err May be the same as https://github.com/ClickHouse/ClickHouse/issues/45218 ``` CREATE TABLE t2(c0 Int32) ENGINE = MergeTree ORDER BY c0; INSERT INTO t2 VALUES (928386547), (154...
https://github.com/ClickHouse/ClickHouse/issues/45440
https://github.com/ClickHouse/ClickHouse/pull/46653
bb51da7de1dd67e21d99f53ffcbb5e2d06795738
3a3a2f352c63b54de1b5fe082d57c1b6236e5500
2023-01-19T15:55:00Z
c++
2023-02-25T23:56:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,405
["tests/integration/test_backup_with_other_granularity/__init__.py", "tests/integration/test_backup_with_other_granularity/test.py"]
Flaky test_backup_with_other_granularity
https://s3.amazonaws.com/clickhouse-test-reports/0/9f9979c3932d410cd57fe9fd64ae09b0b8ebc5f9/integration_tests__asan__[1/3].html It looks like we have bad 'ps | grep' to filter clickhouse binary running. I try to reproduce and will add more logs.
https://github.com/ClickHouse/ClickHouse/issues/45405
https://github.com/ClickHouse/ClickHouse/pull/49014
4f33985dacbc9de39f2d3f455dd57c52e925835f
0ca4960adafec5c331b5094d6431120b379a32ed
2023-01-18T16:08:46Z
c++
2023-04-21T14:04:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,308
["src/Common/OpenTelemetryTraceContext.cpp", "src/Common/OpenTelemetryTraceContext.h"]
Uncaught exception in HTTPHandler
https://s3.amazonaws.com/clickhouse-test-reports/44547/6de4837580676830b5c58c1443452ac1c3677fac/stress_test__asan_.html ``` /var/log/clickhouse-server/clickhouse-server.err.log:2023.01.13 21:58:51.869314 [ 1686 ] {} <Fatal> BaseDaemon: (version 22.13.1.1, build id: A86CA3301E4841EC88C7F7EDB70316687C0AB2D4) (from th...
https://github.com/ClickHouse/ClickHouse/issues/45308
https://github.com/ClickHouse/ClickHouse/pull/45456
33877b5e006d48116854a9c0b64d7026013649f0
85cbb9288c524568c76d46e37c04e33c2dea28d2
2023-01-16T12:07:15Z
c++
2023-02-03T14:26:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,306
["docs/en/sql-reference/functions/type-conversion-functions.md", "docs/ru/sql-reference/functions/type-conversion-functions.md", "src/IO/parseDateTimeBestEffort.cpp", "tests/queries/0_stateless/00569_parse_date_time_best_effort.reference", "tests/queries/0_stateless/00569_parse_date_time_best_effort.sql", "tests/querie...
Support syslog datetime format in parseDateTimeBestEffort()
**Use case** Syslog format is quite common and all the common linux logs use this format as they are written by syslog (/var/log/auth.log, /var/log/syslog, /var/log/kern.log, etc.) Currently we parse it completely wrong ``` SELECT parseDateTimeBestEffort('Jan 10 06:07:06') ┌─parseDateTimeBestEffort('Jan 10...
https://github.com/ClickHouse/ClickHouse/issues/45306
https://github.com/ClickHouse/ClickHouse/pull/50925
eec7edda8f0caa11388434ca11fad489841b85a2
74cb79769bbaa0c4619ca7cb382e6e37c8c7d7b5
2023-01-16T11:50:52Z
c++
2023-06-15T19:04:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,285
["docs/en/engines/table-engines/mergetree-family/mergetree.md"]
add docs for support_batch_delete
https://github.com/ClickHouse/ClickHouse/pull/37882 https://github.com/ClickHouse/ClickHouse/pull/37659
https://github.com/ClickHouse/ClickHouse/issues/45285
https://github.com/ClickHouse/ClickHouse/pull/45411
fdea042991f2a020f6ed18d860a67dea8438403d
245899c0f66e4f3e5d3d833dc3cd2ffc5cbd6cb6
2023-01-15T17:07:49Z
c++
2023-01-19T13:03:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,275
["src/Processors/Formats/Impl/AvroRowInputFormat.cpp", "tests/queries/0_stateless/02521_avro_union_null_nested.reference", "tests/queries/0_stateless/02521_avro_union_null_nested.sh", "tests/queries/0_stateless/02522_avro_complicate_schema.reference", "tests/queries/0_stateless/02522_avro_complicate_schema.sh", "tests/...
Read Avro File faild, DB::Exception: Type Array(Tuple(key Int32, value Int64)) is not compatible with Avro union
```sql :) select * from file('5e3c62a9-1537-455f-98e5-0a067af5752a-m0.avro') SELECT * FROM file('5e3c62a9-1537-455f-98e5-0a067af5752a-m0.avro') Query id: 6960516c-5a16-4d0c-b1b2-6d2571f3ab11 0 rows in set. Elapsed: 0.019 sec. Received exception from server (version 22.13.1): Code: 44. DB::...
https://github.com/ClickHouse/ClickHouse/issues/45275
https://github.com/ClickHouse/ClickHouse/pull/45276
5586f71950b834df739f887fa550b14cbdb76935
35431e91e319f12fe40ab412cbbc2f1299ee26d9
2023-01-14T16:47:44Z
c++
2023-01-17T11:48:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,249
["docs/en/sql-reference/functions/type-conversion-functions.md", "docs/ru/sql-reference/functions/type-conversion-functions.md", "src/Functions/FunctionToDecimalString.cpp", "src/Functions/FunctionToDecimalString.h", "src/IO/WriteHelpers.h", "tests/queries/0_stateless/02676_to_decimal_string.reference", "tests/queries/...
formatDecimal function
Takes 2 argument - first is numeric, second is precision and returns a string ``` SELECT formatDecimal(2,2); -- 2.00 SELECT formatDecimal(2.123456,2); -- 2.12 SELECT formatDecimal(2.1456,2); -- 2.15 -- rounding! SELECT formatDecimal(64.32::Float64, 2); -- 64.32 SELECT formatDecimal(64.32::Decimal32(2), 2); -- 6...
https://github.com/ClickHouse/ClickHouse/issues/45249
https://github.com/ClickHouse/ClickHouse/pull/47838
50ed205aa0f1d653e4c40a45552e05e0a375bf4f
b4c8ef980c8b446dca652b4240ccdfe83af10353
2023-01-13T11:03:06Z
c++
2023-03-29T08:41:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,219
["utils/self-extracting-executable/decompressor.cpp"]
clickhouse-local doesn't work under ubuntu wsl
I've been using the guide from here: https://clickhouse.com/docs/en/integrations/migration/clickhouse-local/ to install clickhouse-local (also mentioned here: https://clickhouse.com/blog/extracting-converting-querying-local-files-with-sql-clickhouse-local) Running: `curl https://clickhouse.com/ | sh` downloads ...
https://github.com/ClickHouse/ClickHouse/issues/45219
https://github.com/ClickHouse/ClickHouse/pull/45339
35431e91e319f12fe40ab412cbbc2f1299ee26d9
b23ba36a4fd5d17099d2b665f50e5a519bec0e93
2023-01-12T11:35:00Z
c++
2023-01-17T13:10:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,218
["src/Interpreters/ActionsDAG.cpp", "tests/queries/0_stateless/02674_and_consistency.reference", "tests/queries/0_stateless/02674_and_consistency.sql"]
Incorrect HAVING filtering
Strange situation. HAVING is always true in this 3 queries. When we use `cond1 AND cond2` it returns no rows. So here we this conditions computed separately: ``` SELECT (-sign(-233841197)) IS NOT NULL ┌─isNotNull(negate(sign(-233841197)))─┐ │ 1 │ └─────────────────────────...
https://github.com/ClickHouse/ClickHouse/issues/45218
https://github.com/ClickHouse/ClickHouse/pull/47028
3cd88003dde7e0e6be30292a392a37ee6b1515af
81b30021db077be76e9244ea92e5ec87a223a515
2023-01-12T11:26:52Z
c++
2023-03-02T19:48:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,216
["docs/en/operations/settings/merge-tree-settings.md"]
Update docs related to delay for INSERT
Formula to calculate delay for INSERT was changed in https://github.com/ClickHouse/ClickHouse/pull/44954. Need to update docs [here](https://clickhouse.com/docs/en/operations/settings/merge-tree-settings/#max-delay-to-insert)
https://github.com/ClickHouse/ClickHouse/issues/45216
https://github.com/ClickHouse/ClickHouse/pull/45592
7a8a8dcd2fcfb42c4ab91a7f581dd3d390366fcc
ed01f76c6aa0b4d036355d36f38edabd5fb977c6
2023-01-12T10:48:52Z
c++
2023-01-26T11:55:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,214
["tests/queries/0_stateless/02672_suspicious_low_cardinality_msan.reference", "tests/queries/0_stateless/02672_suspicious_low_cardinality_msan.sql"]
MemorySanitizer: use-of-uninitialized-value build_docker/../src/Columns/ColumnUnique.h:580:18
ERROR: type should be string, got "https://s3.amazonaws.com/clickhouse-test-reports/0/3f3ce06832b7f5907e628b70ace02ea0e7c21567/fuzzer_astfuzzermsan/report.html\r\n\r\n```\r\n==157==WARNING: MemorySanitizer: use-of-uninitialized-value\r\n #0 0x42c709f3 in COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long) build_docker/../src/Columns/ColumnUnique.h:580:18\r\n #1 0x42c6e0cf in COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long)::'lambda'(auto)::operator()<char8_t>(auto) const build_docker/../src/Columns/ColumnUnique.h:617:26\r\n #2 0x42c67a37 in DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) build_docker/../src/Columns/ColumnUnique.h:625:28\r\n #3 0x41931b9e in DB::IExecutableFunction::executeWithoutSparseColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const build_docker/../src/Functions/IFunction.cpp:288:57\r\n #4 0x419358c7 in DB::IExecutableFunction::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const build_docker/../src/Functions/IFunction.cpp:372:16\r\n #5 0x43db1fd9 in DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) build_docker/../src/Interpreters/ExpressionActions.cpp:607:60\r\n #6 0x43db1fd9 in DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const build_docker/../src/Interpreters/ExpressionActions.cpp:724:13\r\n #7 0x4bd7d507 in DB::ExpressionTransform::transform(DB::Chunk&) build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:23:17\r\n #8 0x3696346a in DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) build_docker/../src/Processors/ISimpleTransform.h:32:9\r\n #9 0x4b3f0970 in DB::ISimpleTransform::work() build_docker/../src/Processors/ISimpleTransform.cpp:89:9\r\n #10 0x4b46c2f7 in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26\r\n #11 0x4b46c2f7 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92:9\r\n #12 0x4b4327fc in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229:26\r\n #13 0x4b43862d in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:195:5\r\n #14 0x4b43862d in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/../src/Processors/Executors/PipelineExecutor.cpp:320:17\r\n #15 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #16 0x4b43862d in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/tuple:1789:1\r\n #17 0x4b43862d in decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) build_docker/../contrib/llvm-project/libcxx/include/tuple:1798:1\r\n #18 0x4b43862d in ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:196:13\r\n #19 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #20 0x4b43862d in void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9\r\n #21 0x4b43862d in std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235:12\r\n #22 0x4b43862d in void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716:16\r\n #23 0x29a711ac in std::__1::__function::__policy_func<void ()>::operator()[abi:v15000]() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:848:16\r\n #24 0x29a711ac in std::__1::function<void ()>::operator()() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:1187:12\r\n #25 0x29a711ac in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:295:17\r\n #26 0x29a7f322 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:144:73\r\n #27 0x29a7f322 in decltype(std::declval<void>()()) std::__1::__invoke[abi:v15000]<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(void&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #28 0x29a7f322 in void std::__1::__thread_execute[abi:v15000]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/thread:284:5\r\n #29 0x29a7f322 in void* std::__1::__thread_proxy[abi:v15000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) build_docker/../contrib/llvm-project/libcxx/include/thread:295:5\r\n #30 0x7f90a297a608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8\r\n #31 0x7f90a289f132 in __clone /build/glibc-SzIz7B/glibc-2.31/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:95\r\n\r\n Uninitialized value was stored to memory at\r\n #0 0x17250a26 in DB::NumComparisonImpl<double, unsigned short, DB::EqualsOp<double, unsigned short>>::vectorVectorImplAVX2(DB::PODArray<double, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<unsigned short, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<char8_t, 4096ul, Allocator<false, false>, 63ul, 64ul>&) (/workspace/clickhouse+0x17250a26) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #1 0x1724ef2e in DB::NumComparisonImpl<double, unsigned short, DB::EqualsOp<double, unsigned short>>::vectorVector(DB::PODArray<double, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<unsigned short, 4096ul, Allocator<false, false>, 63ul, 64ul> const&, DB::PODArray<char8_t, 4096ul, Allocator<false, false>, 63ul, 64ul>&) (/workspace/clickhouse+0x1724ef2e) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #2 0x17233a74 in COW<DB::IColumn>::immutable_ptr<DB::IColumn> DB::FunctionComparison<DB::EqualsOp, DB::NameEquals>::executeNumRightType<double, unsigned short>(DB::ColumnVector<double> const*, DB::IColumn const*) const (/workspace/clickhouse+0x17233a74) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #3 0x16dbda95 in COW<DB::IColumn>::immutable_ptr<DB::IColumn> DB::FunctionComparison<DB::EqualsOp, DB::NameEquals>::executeNumLeftType<double>(DB::IColumn const*, DB::IColumn const*) const (/workspace/clickhouse+0x16dbda95) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #4 0x16d6cc39 in DB::FunctionComparison<DB::EqualsOp, DB::NameEquals>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/workspace/clickhouse+0x16d6cc39) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #5 0xc5d5153 in DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/workspace/clickhouse+0xc5d5153) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #6 0x4192ca6e in DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const build_docker/../src/Functions/IFunction.cpp:248:15\r\n #7 0x4193170c in DB::IExecutableFunction::executeWithoutSparseColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const build_docker/../src/Functions/IFunction.cpp:281:24\r\n #8 0x419358c7 in DB::IExecutableFunction::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const build_docker/../src/Functions/IFunction.cpp:372:16\r\n #9 0x43db1fd9 in DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) build_docker/../src/Interpreters/ExpressionActions.cpp:607:60\r\n #10 0x43db1fd9 in DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const build_docker/../src/Interpreters/ExpressionActions.cpp:724:13\r\n #11 0x4bd7d507 in DB::ExpressionTransform::transform(DB::Chunk&) build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:23:17\r\n #12 0x3696346a in DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) build_docker/../src/Processors/ISimpleTransform.h:32:9\r\n #13 0x4b3f0970 in DB::ISimpleTransform::work() build_docker/../src/Processors/ISimpleTransform.cpp:89:9\r\n #14 0x4b46c2f7 in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26\r\n #15 0x4b46c2f7 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92:9\r\n #16 0x4b4327fc in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229:26\r\n #17 0x4b43862d in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:195:5\r\n #18 0x4b43862d in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/../src/Processors/Executors/PipelineExecutor.cpp:320:17\r\n #19 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #20 0x4b43862d in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/tuple:1789:1\r\n #21 0x4b43862d in decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) build_docker/../contrib/llvm-project/libcxx/include/tuple:1798:1\r\n #22 0x4b43862d in ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:196:13\r\n #23 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #24 0x4b43862d in void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9\r\n #25 0x4b43862d in std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235:12\r\n #26 0x4b43862d in void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716:16\r\n #27 0x29a711ac in std::__1::__function::__policy_func<void ()>::operator()[abi:v15000]() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:848:16\r\n #28 0x29a711ac in std::__1::function<void ()>::operator()() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:1187:12\r\n #29 0x29a711ac in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:295:17\r\n #30 0x29a7f322 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:144:73\r\n #31 0x29a7f322 in decltype(std::declval<void>()()) std::__1::__invoke[abi:v15000]<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(void&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #32 0x29a7f322 in void std::__1::__thread_execute[abi:v15000]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/thread:284:5\r\n #33 0x29a7f322 in void* std::__1::__thread_proxy[abi:v15000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) build_docker/../contrib/llvm-project/libcxx/include/thread:295:5\r\n #34 0x7f90a297a608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8\r\n\r\n Uninitialized value was created by a heap allocation\r\n #0 0xc5625a0 in malloc (/workspace/clickhouse+0xc5625a0) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #1 0x29642b8c in Allocator<false, false>::allocNoTrack(unsigned long, unsigned long) build_docker/../src/Common/Allocator.h:227:27\r\n #2 0xc77d824 in void DB::PODArrayBase<2ul, 4096ul, Allocator<false, false>, 63ul, 64ul>::alloc<>(unsigned long) (/workspace/clickhouse+0xc77d824) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #3 0x295f960e in COW<DB::IColumn>::mutable_ptr<DB::ColumnVector<unsigned short>> COWHelper<DB::ColumnVectorHelper, DB::ColumnVector<unsigned short>>::create<unsigned long const&>(unsigned long const&) (/workspace/clickhouse+0x295f960e) (BuildId: 1986284f036cba8610c75394630e4500e448b3b6)\r\n #4 0x48188722 in DB::ColumnVector<unsigned short>::replicate(DB::PODArray<unsigned long, 4096ul, Allocator<false, false>, 63ul, 64ul> const&) const build_docker/../src/Columns/ColumnVector.cpp:809:16\r\n #5 0x47af449c in DB::ColumnConst::convertToFullColumn() const build_docker/../src/Columns/ColumnConst.cpp:48:18\r\n #6 0x47afa54d in DB::ColumnConst::convertToFullColumnIfConst() const build_docker/../src/Columns/ColumnConst.h:39:16\r\n #7 0x4c0f9907 in DB::prepareChunk(DB::Chunk&) build_docker/../src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:54:26\r\n #8 0x4c0f9121 in DB::MergingSortedAlgorithm::initialize(std::__1::vector<DB::IMergingAlgorithm::Input, std::__1::allocator<DB::IMergingAlgorithm::Input>>) build_docker/../src/Processors/Merges/Algorithms/MergingSortedAlgorithm.cpp:70:9\r\n #9 0x46f9dbd3 in DB::IMergingTransform<DB::MergingSortedAlgorithm>::work() build_docker/../src/Processors/Merges/IMergingTransform.h:109:23\r\n #10 0x4b46c2f7 in DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:47:26\r\n #11 0x4b46c2f7 in DB::ExecutionThreadContext::executeTask() build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92:9\r\n #12 0x4b4327fc in DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229:26\r\n #13 0x4b43862d in DB::PipelineExecutor::executeSingleThread(unsigned long) build_docker/../src/Processors/Executors/PipelineExecutor.cpp:195:5\r\n #14 0x4b43862d in DB::PipelineExecutor::spawnThreads()::$_0::operator()() const build_docker/../src/Processors/Executors/PipelineExecutor.cpp:320:17\r\n #15 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #16 0x4b43862d in decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/tuple:1789:1\r\n #17 0x4b43862d in decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&) build_docker/../contrib/llvm-project/libcxx/include/tuple:1798:1\r\n #18 0x4b43862d in ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()::operator()() build_docker/../src/Common/ThreadPool.h:196:13\r\n #19 0x4b43862d in decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #20 0x4b43862d in void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479:9\r\n #21 0x4b43862d in std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]() build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235:12\r\n #22 0x4b43862d in void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716:16\r\n #23 0x29a711ac in std::__1::__function::__policy_func<void ()>::operator()[abi:v15000]() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:848:16\r\n #24 0x29a711ac in std::__1::function<void ()>::operator()() const build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:1187:12\r\n #25 0x29a711ac in ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) build_docker/../src/Common/ThreadPool.cpp:295:17\r\n #26 0x29a7f322 in void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()::operator()() const build_docker/../src/Common/ThreadPool.cpp:144:73\r\n #27 0x29a7f322 in decltype(std::declval<void>()()) std::__1::__invoke[abi:v15000]<void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(void&&) build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394:23\r\n #28 0x29a7f322 in void std::__1::__thread_execute[abi:v15000]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>(std::__1::tuple<void, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>&, std::__1::__tuple_indices<>) build_docker/../contrib/llvm-project/libcxx/include/thread:284:5\r\n #29 0x29a7f322 in void* std::__1::__thread_proxy[abi:v15000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) build_docker/../contrib/llvm-project/libcxx/include/thread:295:5\r\n #30 0x7f90a297a608 in start_thread /build/glibc-SzIz7B/glibc-2.31/nptl/pthread_create.c:477:8\r\n\r\nSUMMARY: MemorySanitizer: use-of-uninitialized-value build_docker/../src/Columns/ColumnUnique.h:580:18 in COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long)\r\n```\r\n\r\n```\r\n2023.01.12 13:14:58.300879 [ 440 ] {} <Fatal> BaseDaemon: ########################################\r\n2023.01.12 13:14:58.301640 [ 440 ] {} <Fatal> BaseDaemon: (version 22.13.1.1 (official build), build id: 1986284F036CBA8610C75394630E4500E448B3B6) (from thread 433) (query_id: a5f14349-c41c-4919-813a-ba6da8c85c50) (query: SELECT 1023, (((id % -9223372036854775807) = NULL) OR ((id % NULL) = 100) OR ((id % NULL) = 65537)) = ((id % inf) = 9223372036854775806), (id % NULL) = NULL, (id % 3.4028234663852886e38) = 1023, 2147483646 FROM table1__fuzz_19 ORDER BY (((id % 1048577) = 1024) % id) = 1023 DESC NULLS FIRST, id % 2147483646 ASC NULLS FIRST, ((id % 1) = 9223372036854775807) OR ((id % NULL) = 257) DESC NULLS FIRST) Received signal sanitizer trap (-3)\r\n2023.01.12 13:14:58.301972 [ 440 ] {} <Fatal> BaseDaemon: Sanitizer trap.\r\n2023.01.12 13:14:58.302298 [ 440 ] {} <Fatal> BaseDaemon: Stack trace: 0x29792d19 0x2a0819fa 0xc542396 0xc556f33 0x42c709f4 0x42c6e0d0 0x42c67a38 0x41931b9f 0x419358c8 0x43db1fda 0x4bd7d508 0x3696346b 0x4b3f0971 0x4b46c2f8 0x4b4327fd 0x4b43862e 0x29a711ad 0x29a7f323 0x7f90a297a609 0x7f90a289f133\r\n2023.01.12 13:14:58.423677 [ 440 ] {} <Fatal> BaseDaemon: 0.1. inlined from ./build_docker/../src/Common/StackTrace.cpp:334: StackTrace::tryCapture()\r\n2023.01.12 13:14:58.423957 [ 440 ] {} <Fatal> BaseDaemon: 0. ./build_docker/../src/Common/StackTrace.cpp:295: StackTrace::StackTrace() @ 0x29792d19 in /workspace/clickhouse\r\n2023.01.12 13:14:58.667249 [ 440 ] {} <Fatal> BaseDaemon: 1. ./build_docker/../src/Daemon/BaseDaemon.cpp:431: sanitizerDeathCallback() @ 0x2a0819fa in /workspace/clickhouse\r\n2023.01.12 13:15:06.170237 [ 440 ] {} <Fatal> BaseDaemon: 2. __sanitizer::Die() @ 0xc542396 in /workspace/clickhouse\r\n2023.01.12 13:15:13.419501 [ 440 ] {} <Fatal> BaseDaemon: 3. ? @ 0xc556f33 in /workspace/clickhouse\r\n2023.01.12 13:15:14.206289 [ 440 ] {} <Fatal> BaseDaemon: 4.1. inlined from ./build_docker/../src/Columns/ColumnVector.h:223: DB::ColumnVector<char8_t>::compareAt(unsigned long, unsigned long, DB::IColumn const&, int) const\r\n2023.01.12 13:15:14.206471 [ 440 ] {} <Fatal> BaseDaemon: 4. ./build_docker/../src/Columns/ColumnUnique.h:580: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long) @ 0x42c709f4 in /workspace/clickhouse\r\n2023.01.12 13:15:14.970692 [ 440 ] {} <Fatal> BaseDaemon: 5.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: ~intrusive_ptr\r\n2023.01.12 13:15:14.970850 [ 440 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/Columns/ColumnUnique.h:618: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long)::'lambda'(auto)::operator()<char8_t>(auto) const @ 0x42c6e0d0 in /workspace/clickhouse\r\n2023.01.12 13:15:15.735715 [ 440 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Columns/ColumnUnique.h:0: DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x42c67a38 in /workspace/clickhouse\r\n2023.01.12 13:15:15.886453 [ 440 ] {} <Fatal> BaseDaemon: 7.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:138: intrusive_ptr<DB::IColumn>\r\n2023.01.12 13:15:15.886583 [ 440 ] {} <Fatal> BaseDaemon: 7.2. inlined from ./build_docker/../src/Common/COW.h:144: immutable_ptr<DB::IColumn>\r\n2023.01.12 13:15:15.886660 [ 440 ] {} <Fatal> BaseDaemon: 7. ./build_docker/../src/Functions/IFunction.cpp:288: DB::IExecutableFunction::executeWithoutSparseColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x41931b9f in /workspace/clickhouse\r\n2023.01.12 13:15:16.044920 [ 440 ] {} <Fatal> BaseDaemon: 8. ./build_docker/../src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x419358c8 in /workspace/clickhouse\r\n2023.01.12 13:15:16.494833 [ 440 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/../src/Interpreters/ExpressionActions.cpp:0: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool)\r\n2023.01.12 13:15:16.494983 [ 440 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Interpreters/ExpressionActions.cpp:724: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x43db1fda in /workspace/clickhouse\r\n2023.01.12 13:15:16.582595 [ 440 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:25: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x4bd7d508 in /workspace/clickhouse\r\n2023.01.12 13:15:16.771957 [ 440 ] {} <Fatal> BaseDaemon: 11.1. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__utility/swap.h:35: std::__1::enable_if<is_move_constructible<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value && is_move_assignable<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value, void>::type std::__1::swap[abi:v15000]<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>(COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&, COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&)\r\n2023.01.12 13:15:16.772156 [ 440 ] {} <Fatal> BaseDaemon: 11.2. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/vector:1950: std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>::swap(std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>&)\r\n2023.01.12 13:15:16.772255 [ 440 ] {} <Fatal> BaseDaemon: 11.3. inlined from ./build_docker/../src/Processors/Chunk.h:64: DB::Chunk::swap(DB::Chunk&)\r\n2023.01.12 13:15:16.772336 [ 440 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x3696346b in /workspace/clickhouse\r\n2023.01.12 13:15:16.889282 [ 440 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Processors/ISimpleTransform.cpp:0: DB::ISimpleTransform::work() @ 0x4b3f0971 in /workspace/clickhouse\r\n2023.01.12 13:15:16.932744 [ 440 ] {} <Fatal> BaseDaemon: 13.1. inlined from ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*)\r\n2023.01.12 13:15:16.932896 [ 440 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x4b46c2f8 in /workspace/clickhouse\r\n2023.01.12 13:15:17.084994 [ 440 ] {} <Fatal> BaseDaemon: 14. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) @ 0x4b4327fd in /workspace/clickhouse\r\n2023.01.12 13:15:17.261372 [ 440 ] {} <Fatal> BaseDaemon: 15.1. inlined from ./build_docker/../base/base/scope_guard.h:48: ~BasicScopeGuard\r\n2023.01.12 13:15:17.261532 [ 440 ] {} <Fatal> BaseDaemon: 15.2. inlined from ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:328: operator()\r\n2023.01.12 13:15:17.261704 [ 440 ] {} <Fatal> BaseDaemon: 15.3. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&)\r\n2023.01.12 13:15:17.261840 [ 440 ] {} <Fatal> BaseDaemon: 15.4. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>)\r\n2023.01.12 13:15:17.261957 [ 440 ] {} <Fatal> BaseDaemon: 15.5. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&)\r\n2023.01.12 13:15:17.262038 [ 440 ] {} <Fatal> BaseDaemon: 15.6. inlined from ./build_docker/../src/Common/ThreadPool.h:196: operator()\r\n2023.01.12 13:15:17.262196 [ 440 ] {} <Fatal> BaseDaemon: 15.7. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&)\r\n2023.01.12 13:15:17.262381 [ 440 ] {} <Fatal> BaseDaemon: 15.8. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479: void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&)\r\n2023.01.12 13:15:17.262570 [ 440 ] {} <Fatal> BaseDaemon: 15.9. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]()\r\n2023.01.12 13:15:17.262660 [ 440 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) @ 0x4b43862e in /workspace/clickhouse\r\n2023.01.12 13:15:17.383947 [ 440 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:0: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x29a711ad in /workspace/clickhouse\r\n2023.01.12 13:15:17.534980 [ 440 ] {} <Fatal> BaseDaemon: 17. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy[abi:v15000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) @ 0x29a7f323 in /workspace/clickhouse\r\n2023.01.12 13:15:17.535149 [ 440 ] {} <Fatal> BaseDaemon: 18. ? @ 0x7f90a297a609 in ?\r\n2023.01.12 13:15:17.535278 [ 440 ] {} <Fatal> BaseDaemon: 19. clone @ 0x7f90a289f133 in ?\r\n2023.01.12 13:15:20.386892 [ 440 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: 43E372198D1661DBC247D5A1D3EDA53D)\r\n2023.01.12 13:15:24.708777 [ 441 ] {} <Fatal> BaseDaemon: ########################################\r\n2023.01.12 13:15:24.708940 [ 441 ] {} <Fatal> BaseDaemon: (version 22.13.1.1 (official build), build id: 1986284F036CBA8610C75394630E4500E448B3B6) (from thread 433) (query_id: a5f14349-c41c-4919-813a-ba6da8c85c50) (query: SELECT 1023, (((id % -9223372036854775807) = NULL) OR ((id % NULL) = 100) OR ((id % NULL) = 65537)) = ((id % inf) = 9223372036854775806), (id % NULL) = NULL, (id % 3.4028234663852886e38) = 1023, 2147483646 FROM table1__fuzz_19 ORDER BY (((id % 1048577) = 1024) % id) = 1023 DESC NULLS FIRST, id % 2147483646 ASC NULLS FIRST, ((id % 1) = 9223372036854775807) OR ((id % NULL) = 257) DESC NULLS FIRST) Received signal sanitizer trap (-3)\r\n2023.01.12 13:15:24.709067 [ 441 ] {} <Fatal> BaseDaemon: Sanitizer trap.\r\n2023.01.12 13:15:24.709220 [ 441 ] {} <Fatal> BaseDaemon: Stack trace: 0x29792d19 0x2a0819fa 0xc542396 0xc567853 0x298e1077 0x29c27efa 0x2a081a64 0xc542396 0xc556f33 0x42c709f4 0x42c6e0d0 0x42c67a38 0x41931b9f 0x419358c8 0x43db1fda 0x4bd7d508 0x3696346b 0x4b3f0971 0x4b46c2f8 0x4b4327fd 0x4b43862e 0x29a711ad 0x29a7f323 0x7f90a297a609 0x7f90a289f133\r\n2023.01.12 13:15:24.829645 [ 441 ] {} <Fatal> BaseDaemon: 0.1. inlined from ./build_docker/../src/Common/StackTrace.cpp:334: StackTrace::tryCapture()\r\n2023.01.12 13:15:24.829798 [ 441 ] {} <Fatal> BaseDaemon: 0. ./build_docker/../src/Common/StackTrace.cpp:295: StackTrace::StackTrace() @ 0x29792d19 in /workspace/clickhouse\r\n2023.01.12 13:15:25.084645 [ 441 ] {} <Fatal> BaseDaemon: 1. ./build_docker/../src/Daemon/BaseDaemon.cpp:431: sanitizerDeathCallback() @ 0x2a0819fa in /workspace/clickhouse\r\n2023.01.12 13:15:32.349300 [ 441 ] {} <Fatal> BaseDaemon: 2. __sanitizer::Die() @ 0xc542396 in /workspace/clickhouse\r\n2023.01.12 13:15:39.587944 [ 441 ] {} <Fatal> BaseDaemon: 3. ? @ 0xc567853 in /workspace/clickhouse\r\n2023.01.12 13:15:39.594859 [ 441 ] {} <Fatal> BaseDaemon: 4. ./build_docker/../src/IO/WriteBufferFromFileDescriptorDiscardOnFailure.cpp:16: DB::WriteBufferFromFileDescriptorDiscardOnFailure::nextImpl() @ 0x298e1077 in /workspace/clickhouse\r\n2023.01.12 13:15:40.028155 [ 441 ] {} <Fatal> BaseDaemon: 5. ./build_docker/../src/IO/WriteBuffer.h:0: DB::WriteBuffer::next() @ 0x29c27efa in /workspace/clickhouse\r\n2023.01.12 13:15:40.270738 [ 441 ] {} <Fatal> BaseDaemon: 6. ./build_docker/../src/Daemon/BaseDaemon.cpp:440: sanitizerDeathCallback() @ 0x2a081a64 in /workspace/clickhouse\r\n2023.01.12 13:15:44.709074 [ 442 ] {} <Fatal> BaseDaemon: ########################################\r\n2023.01.12 13:15:44.709238 [ 442 ] {} <Fatal> BaseDaemon: (version 22.13.1.1 (official build), build id: 1986284F036CBA8610C75394630E4500E448B3B6) (from thread 433) (query_id: a5f14349-c41c-4919-813a-ba6da8c85c50) (query: SELECT 1023, (((id % -9223372036854775807) = NULL) OR ((id % NULL) = 100) OR ((id % NULL) = 65537)) = ((id % inf) = 9223372036854775806), (id % NULL) = NULL, (id % 3.4028234663852886e38) = 1023, 2147483646 FROM table1__fuzz_19 ORDER BY (((id % 1048577) = 1024) % id) = 1023 DESC NULLS FIRST, id % 2147483646 ASC NULLS FIRST, ((id % 1) = 9223372036854775807) OR ((id % NULL) = 257) DESC NULLS FIRST) Received signal Aborted (6)\r\n2023.01.12 13:15:44.709397 [ 442 ] {} <Fatal> BaseDaemon: \r\n2023.01.12 13:15:44.709538 [ 442 ] {} <Fatal> BaseDaemon: Stack trace: 0x7f90a27c300b 0x7f90a27a2859 0xc5445c7 0xc5423f1 0xc567853 0x298e1077 0x29c27efa 0x2a081a64 0xc542396 0xc556f33 0x42c709f4 0x42c6e0d0 0x42c67a38 0x41931b9f 0x419358c8 0x43db1fda 0x4bd7d508 0x3696346b 0x4b3f0971 0x4b46c2f8 0x4b4327fd 0x4b43862e 0x29a711ad 0x29a7f323 0x7f90a297a609 0x7f90a289f133\r\n2023.01.12 13:15:44.709679 [ 442 ] {} <Fatal> BaseDaemon: 4. raise @ 0x7f90a27c300b in ?\r\n2023.01.12 13:15:44.709781 [ 442 ] {} <Fatal> BaseDaemon: 5. abort @ 0x7f90a27a2859 in ?\r\n2023.01.12 13:15:47.495775 [ 441 ] {} <Fatal> BaseDaemon: 7. __sanitizer::Die() @ 0xc542396 in /workspace/clickhouse\r\n2023.01.12 13:15:51.934781 [ 442 ] {} <Fatal> BaseDaemon: 6. ? @ 0xc5445c7 in /workspace/clickhouse\r\n2023.01.12 13:15:54.724764 [ 441 ] {} <Fatal> BaseDaemon: 8. ? @ 0xc556f33 in /workspace/clickhouse\r\n2023.01.12 13:15:55.510208 [ 441 ] {} <Fatal> BaseDaemon: 9.1. inlined from ./build_docker/../src/Columns/ColumnVector.h:223: DB::ColumnVector<char8_t>::compareAt(unsigned long, unsigned long, DB::IColumn const&, int) const\r\n2023.01.12 13:15:55.510381 [ 441 ] {} <Fatal> BaseDaemon: 9. ./build_docker/../src/Columns/ColumnUnique.h:580: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeImpl<char8_t>(DB::IColumn const&, unsigned long, unsigned long, unsigned long, DB::ColumnVector<char8_t>::MutablePtr&&, DB::ReverseIndex<unsigned long, DB::ColumnVector<char8_t>>*, unsigned long) @ 0x42c709f4 in /workspace/clickhouse\r\n2023.01.12 13:15:56.278287 [ 441 ] {} <Fatal> BaseDaemon: 10.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:98: ~intrusive_ptr\r\n2023.01.12 13:15:56.278433 [ 441 ] {} <Fatal> BaseDaemon: 10. ./build_docker/../src/Columns/ColumnUnique.h:618: COW<DB::IColumn>::mutable_ptr<DB::IColumn> DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long)::'lambda'(auto)::operator()<char8_t>(auto) const @ 0x42c6e0d0 in /workspace/clickhouse\r\n2023.01.12 13:15:57.047873 [ 441 ] {} <Fatal> BaseDaemon: 11. ./build_docker/../src/Columns/ColumnUnique.h:0: DB::ColumnUnique<DB::ColumnVector<char8_t>>::uniqueInsertRangeFrom(DB::IColumn const&, unsigned long, unsigned long) @ 0x42c67a38 in /workspace/clickhouse\r\n2023.01.12 13:15:57.198522 [ 441 ] {} <Fatal> BaseDaemon: 12.1. inlined from ./build_docker/../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:138: intrusive_ptr<DB::IColumn>\r\n2023.01.12 13:15:57.198660 [ 441 ] {} <Fatal> BaseDaemon: 12.2. inlined from ./build_docker/../src/Common/COW.h:144: immutable_ptr<DB::IColumn>\r\n2023.01.12 13:15:57.198746 [ 441 ] {} <Fatal> BaseDaemon: 12. ./build_docker/../src/Functions/IFunction.cpp:288: DB::IExecutableFunction::executeWithoutSparseColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x41931b9f in /workspace/clickhouse\r\n2023.01.12 13:15:57.359016 [ 441 ] {} <Fatal> BaseDaemon: 13. ./build_docker/../src/Functions/IFunction.cpp:0: DB::IExecutableFunction::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName>> const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x419358c8 in /workspace/clickhouse\r\n2023.01.12 13:15:57.808603 [ 441 ] {} <Fatal> BaseDaemon: 14.1. inlined from ./build_docker/../src/Interpreters/ExpressionActions.cpp:0: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool)\r\n2023.01.12 13:15:57.808729 [ 441 ] {} <Fatal> BaseDaemon: 14. ./build_docker/../src/Interpreters/ExpressionActions.cpp:724: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x43db1fda in /workspace/clickhouse\r\n2023.01.12 13:15:57.896243 [ 441 ] {} <Fatal> BaseDaemon: 15. ./build_docker/../src/Processors/Transforms/ExpressionTransform.cpp:25: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x4bd7d508 in /workspace/clickhouse\r\n2023.01.12 13:15:58.086994 [ 441 ] {} <Fatal> BaseDaemon: 16.1. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__utility/swap.h:35: std::__1::enable_if<is_move_constructible<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value && is_move_assignable<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>::value, void>::type std::__1::swap[abi:v15000]<COW<DB::IColumn>::immutable_ptr<DB::IColumn>*>(COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&, COW<DB::IColumn>::immutable_ptr<DB::IColumn>*&)\r\n2023.01.12 13:15:58.087153 [ 441 ] {} <Fatal> BaseDaemon: 16.2. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/vector:1950: std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>::swap(std::__1::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::__1::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>&)\r\n2023.01.12 13:15:58.087236 [ 441 ] {} <Fatal> BaseDaemon: 16.3. inlined from ./build_docker/../src/Processors/Chunk.h:64: DB::Chunk::swap(DB::Chunk&)\r\n2023.01.12 13:15:58.087298 [ 441 ] {} <Fatal> BaseDaemon: 16. ./build_docker/../src/Processors/ISimpleTransform.h:33: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x3696346b in /workspace/clickhouse\r\n2023.01.12 13:15:58.204666 [ 441 ] {} <Fatal> BaseDaemon: 17. ./build_docker/../src/Processors/ISimpleTransform.cpp:0: DB::ISimpleTransform::work() @ 0x4b3f0971 in /workspace/clickhouse\r\n2023.01.12 13:15:58.247308 [ 441 ] {} <Fatal> BaseDaemon: 18.1. inlined from ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:0: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*)\r\n2023.01.12 13:15:58.247443 [ 441 ] {} <Fatal> BaseDaemon: 18. ./build_docker/../src/Processors/Executors/ExecutionThreadContext.cpp:92: DB::ExecutionThreadContext::executeTask() @ 0x4b46c2f8 in /workspace/clickhouse\r\n2023.01.12 13:15:58.400708 [ 441 ] {} <Fatal> BaseDaemon: 19. ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:229: DB::PipelineExecutor::executeStepImpl(unsigned long, std::__1::atomic<bool>*) @ 0x4b4327fd in /workspace/clickhouse\r\n2023.01.12 13:15:58.578466 [ 441 ] {} <Fatal> BaseDaemon: 20.1. inlined from ./build_docker/../base/base/scope_guard.h:48: ~BasicScopeGuard\r\n2023.01.12 13:15:58.578607 [ 441 ] {} <Fatal> BaseDaemon: 20.2. inlined from ./build_docker/../src/Processors/Executors/PipelineExecutor.cpp:328: operator()\r\n2023.01.12 13:15:58.578725 [ 441 ] {} <Fatal> BaseDaemon: 20.3. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0&>()()) std::__1::__invoke[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&>(DB::PipelineExecutor::spawnThreads()::$_0&)\r\n2023.01.12 13:15:58.578835 [ 441 ] {} <Fatal> BaseDaemon: 20.4. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1789: decltype(auto) std::__1::__apply_tuple_impl[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&, std::__1::__tuple_indices<>)\r\n2023.01.12 13:15:58.578920 [ 441 ] {} <Fatal> BaseDaemon: 20.5. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/tuple:1798: decltype(auto) std::__1::apply[abi:v15000]<DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&>(DB::PipelineExecutor::spawnThreads()::$_0&, std::__1::tuple<>&)\r\n2023.01.12 13:15:58.578983 [ 441 ] {} <Fatal> BaseDaemon: 20.6. inlined from ./build_docker/../src/Common/ThreadPool.h:196: operator()\r\n2023.01.12 13:15:58.579086 [ 441 ] {} <Fatal> BaseDaemon: 20.7. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::PipelineExecutor::spawnThreads()::$_0>()()) std::__1::__invoke[abi:v15000]<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(DB::PipelineExecutor::spawnThreads()::$_0&&)\r\n2023.01.12 13:15:58.579201 [ 441 ] {} <Fatal> BaseDaemon: 20.8. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/invoke.h:479: void std::__1::__invoke_void_return_wrapper<void, true>::__call<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&>(ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'()&)\r\n2023.01.12 13:15:58.579308 [ 441 ] {} <Fatal> BaseDaemon: 20.9. inlined from ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>::operator()[abi:v15000]()\r\n2023.01.12 13:15:58.579385 [ 441 ] {} <Fatal> BaseDaemon: 20. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true>::ThreadFromGlobalPoolImpl<DB::PipelineExecutor::spawnThreads()::$_0>(DB::PipelineExecutor::spawnThreads()::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*) @ 0x4b43862e in /workspace/clickhouse\r\n2023.01.12 13:15:58.700918 [ 441 ] {} <Fatal> BaseDaemon: 21. ./build_docker/../contrib/llvm-project/libcxx/include/__functional/function.h:0: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0x29a711ad in /workspace/clickhouse\r\n2023.01.12 13:15:58.852807 [ 441 ] {} <Fatal> BaseDaemon: 22. ./build_docker/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy[abi:v15000]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, long, std::__1::optional<unsigned long>, bool)::'lambda0'()>>(void*) @ 0x29a7f323 in /workspace/clickhouse\r\n2023.01.12 13:15:58.852966 [ 441 ] {} <Fatal> BaseDaemon: 23. ? @ 0x7f90a297a609 in ?\r\n2023.01.12 13:15:58.853049 [ 441 ] {} <Fatal> BaseDaemon: 24. clone @ 0x7f90a289f133 in ?\r\n2023.01.12 13:15:59.168656 [ 442 ] {} <Fatal> BaseDaemon: 7. ? @ 0xc5423f1 in /workspace/clickhouse\r\n2023.01.12 13:16:01.716745 [ 441 ] {} <Fatal> BaseDaemon: Integrity check of the executable successfully passed (checksum: 43E372198D1661DBC247D5A1D3EDA53D)\r\n2023.01.12 13:16:36.249661 [ 151 ] {} <Fatal> Application: Child process was terminated by signal 6.\r\n```"
https://github.com/ClickHouse/ClickHouse/issues/45214
https://github.com/ClickHouse/ClickHouse/pull/46850
93dffb13c2e0f949465bc6a08591228b6e678056
c4bf503690019227c9067d0e1343ea3038045728
2023-01-12T10:35:33Z
c++
2023-02-25T19:56:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,197
["src/Parsers/ASTFunction.cpp", "tests/queries/0_stateless/02560_tuple_format.reference", "tests/queries/0_stateless/02560_tuple_format.sh"]
tuple & constants
```sql clickhouse :) select (tuple(1, 2, 3) AS x).1 AS a, x.2 AS b,x.3 AS c; SELECT ((1, 2, 3) AS x).1 AS a, x.2 AS b, x.3 AS c Query id: d5f428d2-b14e-4d6a-9b26-5cec253907c0 ┌─a─┬─b─┬─c─┐ │ 1 │ 2 │ 3 │ └───┴───┴───┘ 1 row in set. Elapsed: 0.001 sec. ``` The result is correct. Now le...
https://github.com/ClickHouse/ClickHouse/issues/45197
https://github.com/ClickHouse/ClickHouse/pull/46232
b08ec8ecfecdd7e83cf3e6fc3a95915b81b71403
c6dc39f9e22116a5d0a4dd9af3f88e789a9c904e
2023-01-11T20:04:27Z
c++
2023-02-11T02:56:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,195
["src/Compression/CompressionCodecDelta.cpp", "src/Compression/CompressionCodecGorilla.cpp", "src/Compression/ICompressionCodec.h", "src/IO/BitHelpers.h", "tests/queries/0_stateless/02536_delta_gorilla_corruption.reference", "tests/queries/0_stateless/02536_delta_gorilla_corruption.sql"]
data corruption on delta+gorilla+lz4 codec pipeline
**Describe what's wrong** I have dataset from sensors that was corrupted when using codec (Delta, Gorilla, LZ4) **Does it reproduce on recent release?** checked only on ``` +----------------+----------------------------------------+ |name |value | +------------...
https://github.com/ClickHouse/ClickHouse/issues/45195
https://github.com/ClickHouse/ClickHouse/pull/45615
76d6e2edf9777642df343849fea7c0992e9338ef
032cdb986ec2e0768c500dd8ea7e6a60f94c165b
2023-01-11T19:38:06Z
c++
2023-01-26T23:04:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,185
["src/Interpreters/TreeRewriter.cpp", "tests/queries/0_stateless/02552_inner_join_with_where_true.reference", "tests/queries/0_stateless/02552_inner_join_with_where_true.sql"]
Aggregation results are different when just `WHERE true` added
Prepare data: ``` DROP DATABASE IF EXISTS database9TLPAggregate; CREATE DATABASE IF NOT EXISTS database9TLPAggregate; USE database9TLPAggregate; CREATE TABLE database9TLPAggregate.t0 (c0 String) ENGINE = Log() ; CREATE TABLE database9TLPAggregate.t1 (c0 Int32) ENGINE = Log() ; CREATE TABLE IF NOT EXISTS database...
https://github.com/ClickHouse/ClickHouse/issues/45185
https://github.com/ClickHouse/ClickHouse/pull/46487
135170b27db2804fb9dc49c550873151481220c3
90834d4aa565c993239912b5865120cea8481f66
2023-01-11T17:50:50Z
c++
2023-02-20T10:38:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,126
["src/Storages/MergeTree/MergeTreePartition.cpp", "tests/queries/0_stateless/02530_ip_part_id.reference", "tests/queries/0_stateless/02530_ip_part_id.sql"]
New ipv4 / ipv6 partition names
```sql create table test ( ipv4 IPv4, ipv6 IPv6 ) Engine MergeTree partition by ipv4 order by ipv4 as select '1.2.3.4', '::ffff:1.2.3.4'; select *, _part from test; 22.12 ┌─ipv4────┬─ipv6───────────┬─_part──────────┐ │ 1.2.3.4 │ ::ffff:1.2.3.4 │ 16909060_1_1_0 │ └─────────┴────────────────┴────────────────┘ ...
https://github.com/ClickHouse/ClickHouse/issues/45126
https://github.com/ClickHouse/ClickHouse/pull/45191
6b6f5f9185a7c0373bc2184f1e498fa46f923817
8bdf63f8e59a070a2e46df4b17abf0fb141f303a
2023-01-10T16:14:15Z
c++
2023-01-12T11:15:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,038
["src/DataTypes/Native.h", "tests/queries/0_stateless/02525_jit_logical_functions_nan.reference", "tests/queries/0_stateless/02525_jit_logical_functions_nan.sql"]
NOT cos(MAX(pow(1523598955, 763027371))) is not TRUE, FALSE or NULL.
https://s3.amazonaws.com/clickhouse-test-reports/0/0eaf05a2dd246fc6fee4e58ba78d3e9f51dac40c/sqlancer__release_/TLPHaving.err ``` DROP DATABASE IF EXISTS database0TLPHaving; CREATE DATABASE IF NOT EXISTS database0TLPHaving; USE database0TLPHaving; CREATE TABLE database0TLPHaving.t0 (c0 String) ENGINE = Log() ; I...
https://github.com/ClickHouse/ClickHouse/issues/45038
https://github.com/ClickHouse/ClickHouse/pull/45067
2cdf01aa9a6b18991900162bbab8f8c934de8194
c1ae35958df717b335a24378eb1fd6809960195c
2023-01-08T11:32:55Z
c++
2023-01-10T01:45:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,027
[".gitmodules", "contrib/sqlite-amalgamation"]
Data race in SQLite integration
https://s3.amazonaws.com/clickhouse-test-reports/0/7a7e6ea8e770b698484e57ce94feb89834bc703a/stress_test__tsan_/stderr.log **Describe the bug** https://pastila.nl/?0038f124/bf1ea652161b26d61bbb01a786959335
https://github.com/ClickHouse/ClickHouse/issues/45027
https://github.com/ClickHouse/ClickHouse/pull/45031
5677d04752e2643e52f73408b833fcb51f248836
c0cbb6a5cc9dc696a5dd7b70bd4a952dca566be0
2023-01-08T00:37:30Z
c++
2023-01-08T06:40:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,023
["src/Databases/MySQL/DatabaseMySQL.cpp", "src/Databases/PostgreSQL/DatabasePostgreSQL.cpp", "src/Databases/SQLite/DatabaseSQLite.cpp", "tests/integration/test_mysql_database_engine/test.py", "tests/integration/test_postgresql_database_engine/test.py"]
Error hiding password [HIDDEN] in SHOW CREATE TABLE of MySQL table
Instead of a password, the login in the created SQL is closed. ``` > SHOW CREATE TABLE mydb1.table CREATE TABLE mydb1.table ( ... ) ENGINE = MySQL('127.0.0.1:3306', 'db1', 'table', '[HIDDEN]', 'password') ``` ClickHouse server version 22.12.1.1752 (official build).
https://github.com/ClickHouse/ClickHouse/issues/45023
https://github.com/ClickHouse/ClickHouse/pull/52962
def587701be76308f7f5418587c72e0f68d1b1a5
af610062eca259c7aba402f49c59fe95450f6f43
2023-01-07T21:30:43Z
c++
2023-08-04T08:57:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,020
["src/Functions/FunctionsCodingIP.cpp", "src/Functions/FunctionsHashing.h"]
cityHash64 of ipv4
22.12 ```sql SELECT cityHash64(toIPv4('1.2.3.4')) -- 5715546585361069049 ``` 22.13 ```sql SELECT cityHash64(toIPv4('1.2.3.4')) -- 3462390757903342180 ``` I found it accidentally. It seems it's only with cityHash64 and IPv4. It seems it's OK with other hash functions (sipHash / xxHash32) and IPv6. May...
https://github.com/ClickHouse/ClickHouse/issues/45020
https://github.com/ClickHouse/ClickHouse/pull/45024
7b1223ed8dfedc2302fb1b597e1c41e48879142b
1cf593414116fc555f4b3dc3fe3df5a8ec070b53
2023-01-07T19:13:08Z
c++
2023-01-08T01:22:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,019
["src/Functions/FunctionsCodingIP.cpp", "src/Functions/FunctionsHashing.h"]
cutIPv6 accepts FixedString not IPv6
22.12 ```sql SELECT toIPv6OrDefault('::ffff:10.10.10.10') AS ipv6, cutIPv6(ipv6, 10, 1) ┌─ipv6───────────────┬─cutIPv6(toIPv6OrDefault('::ffff:10.10.10.10'), 10, 1)─┐ │ ::ffff:10.10.10.10 │ ::ffff:10.10.10.0 │ └────────────────────┴─────────────────────────────────...
https://github.com/ClickHouse/ClickHouse/issues/45019
https://github.com/ClickHouse/ClickHouse/pull/45024
7b1223ed8dfedc2302fb1b597e1c41e48879142b
1cf593414116fc555f4b3dc3fe3df5a8ec070b53
2023-01-07T18:40:00Z
c++
2023-01-08T01:22:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
45,010
["src/Functions/array/range.cpp", "tests/queries/0_stateless/02523_range_const_start.reference", "tests/queries/0_stateless/02523_range_const_start.sql"]
Array `range()` function: Returned arrays only start with specified start value on first row.
**Describe the unexpected behaviour** If a start value for the Array range() function is specified, the array for subsequent rows doesn't start at the specified value, but instead counts upwards. Example: ```sql SELECT c1, range(0, c1) AS zero_as_start_val, range(1, c1) AS one_as_start_val, range(c1) AS no_start...
https://github.com/ClickHouse/ClickHouse/issues/45010
https://github.com/ClickHouse/ClickHouse/pull/45030
5dfc6219d2926fc36366473291ca768c546a74d1
5677d04752e2643e52f73408b833fcb51f248836
2023-01-07T00:45:17Z
c++
2023-01-08T04:43:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,976
["tests/queries/0_stateless/02526_merge_join_int_decimal.reference", "tests/queries/0_stateless/02526_merge_join_int_decimal.sql"]
Unknown numeric column of type: DB::ColumnDecimal<DB::Decimal<int>>
https://s3.amazonaws.com/clickhouse-test-reports/44942/239734ceb6d26335420c72ce23e3068c305d52d6/fuzzer_astfuzzerubsan/report.html ``` 2023.01.06 04:20:38.647652 [ 143 ] {31f90b5a-cd13-4ea4-88b0-7f7165624aa3} <Fatal> : Logical error: 'Unknown numeric column of type: DB::ColumnDecimal<DB::Decimal<int>>'. 2023.01.06 ...
https://github.com/ClickHouse/ClickHouse/issues/44976
https://github.com/ClickHouse/ClickHouse/pull/45228
9f121d5d9c57cc81ad193e27fefbea02f77f0246
2d3b578dd379dc2addf35e120b69e560733220c3
2023-01-06T11:11:54Z
c++
2023-01-12T23:44:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,934
["docker/test/integration/runner/Dockerfile", "packages/clickhouse-keeper.yaml", "packages/clickhouse-server.yaml"]
Keeper rpm install failed
**I have tried the following solutions**: https://clickhouse.com/docs/en/faq/troubleshooting/#troubleshooting-installation-errors **Installation type** rpm local install 22.12.1.1752-stable and clickhouse-22.9.7.34-stable (they are the only releases that have clickhouse-keeper rpm) on RHEL 8.5 **Source of th...
https://github.com/ClickHouse/ClickHouse/issues/44934
https://github.com/ClickHouse/ClickHouse/pull/45011
be8df5683e6422c8d31c4db42d60f0eb4fbe40d7
7b1223ed8dfedc2302fb1b597e1c41e48879142b
2023-01-05T14:07:25Z
c++
2023-01-08T00:27:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,918
["tests/queries/0_stateless/02786_transform_float.reference", "tests/queries/0_stateless/02786_transform_float.sql", "tests/queries/0_stateless/02787_transform_null.reference", "tests/queries/0_stateless/02787_transform_null.sql"]
Wrong output with transform function, when output is float32
**Describe what's wrong** The following: select transform(number, [1], [toFloat32(1)], toFloat32(1)) from numbers(3) outputs: 1 0 1 **Expected behavior** It should output: 1 1 1 It seems like anything matching the `array_from` argument will output 0, when the outp...
https://github.com/ClickHouse/ClickHouse/issues/44918
https://github.com/ClickHouse/ClickHouse/pull/50833
572c9dec4e81dc323e98e0d87eaafcf8c863d843
826dfe4467a63187fa897e841659ec2a7ff3de5e
2023-01-04T18:47:02Z
c++
2023-06-10T17:07:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,844
["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp", "src/Storages/SelectQueryInfo.h", "tests/queries/0_stateless/02516_projections_and_context.reference", "tests/queries/0_stateless/02516_projections_and_context.sql"]
Context has expired (while reading from non-existing dict)
``` CREATE TABLE test1__fuzz_37 (`i` Date) ENGINE = MergeTree ORDER BY i; insert into test1__fuzz_37 values ('2020-10-10'); SELECT count() FROM test1__fuzz_37 GROUP BY dictHas(NULL, (dictHas(NULL, (('', materialize(NULL)), materialize(NULL))), 'KeyKey')), dictHas('test_dictionary', tuple(materialize('Ke\0'))), tuple...
https://github.com/ClickHouse/ClickHouse/issues/44844
https://github.com/ClickHouse/ClickHouse/pull/44850
e68b98aac3d527575c4e907c15c78bf22b5f88a6
6b1a697b12ae0087f95f122a92612c4887258aea
2023-01-02T15:10:37Z
c++
2023-01-03T12:30:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,831
["src/Common/HashTable/ClearableHashSet.h", "tests/queries/0_stateless/02515_distinct_zero_size_key_bug_44831.reference", "tests/queries/0_stateless/02515_distinct_zero_size_key_bug_44831.sql"]
Failed assertion in Distinct-Sorted transform.
**How to reproduce** ``` $ build_debug/programs/clickhouse local --query "SELECT DISTINCT NULL, if(number > 0, 't', '') AS res FROM numbers(1) ORDER BY res" clickhouse: /home/milovidov/work/ClickHouse/src/Common/HashTable/HashTableKeyHolder.h:92: void keyHolderPersistKey(DB::ArenaKeyHolder &): Assertion `holder.key....
https://github.com/ClickHouse/ClickHouse/issues/44831
https://github.com/ClickHouse/ClickHouse/pull/44856
fb68fc1bee2930679caa9b68069880194f108131
a804d9a6433a471fc3fa4db12b48c4be07119b65
2023-01-02T02:35:03Z
c++
2023-01-04T02:16:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,816
["tests/queries/0_stateless/02793_implicit_pretty_format_settings.expect", "tests/queries/0_stateless/02793_implicit_pretty_format_settings.reference"]
The settings for PrettyCompact format cannot be specified inside the query if the query does not explicitly specify the format.
Not ok: ``` $ clickhouse-local ClickHouse local version 22.13.1.1. milovidov-desktop :) SELECT 1 SETTINGS output_format_pretty_row_numbers = 1 SELECT 1 SETTINGS output_format_pretty_row_numbers = 1 Query id: f1effbc2-400e-47a3-b1a5-315ca40119f0 ┌─1─┐ │ 1 │ └───┘ 1 row in set. Elapsed: 0.001 sec. ...
https://github.com/ClickHouse/ClickHouse/issues/44816
https://github.com/ClickHouse/ClickHouse/pull/51305
dd1c528d2fe71fc6bdfa1161e9a2cff74906e0b7
7b3b6531eec6384da95bf0d941912d0516c81d3b
2023-01-01T17:39:02Z
c++
2023-07-09T22:24:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,815
["src/Processors/Formats/Impl/PrettyBlockOutputFormat.cpp", "src/Processors/Formats/Impl/PrettyCompactBlockOutputFormat.cpp", "src/Processors/Formats/Impl/PrettySpaceBlockOutputFormat.cpp", "tests/queries/0_stateless/01509_output_format_pretty_row_numbers.reference", "tests/queries/0_stateless/01509_output_format_prett...
`output_format_pretty_row_numbers` does not preserve the counter across the blocks.
**Describe the unexpected behaviour** ``` milovidov-desktop :) SET output_format_pretty_row_numbers = 1 SET output_format_pretty_row_numbers = 1 Query id: bb15ca27-5a3c-48ac-814a-a3cfea42deda Ok. 0 rows in set. Elapsed: 0.000 sec. milovidov-desktop :) SELECT 1 UNION ALL SELECT 2 SELECT 1 UNION ALL...
https://github.com/ClickHouse/ClickHouse/issues/44815
https://github.com/ClickHouse/ClickHouse/pull/44832
a6c5061e775b1e07dd5dc45f1eba297b83944613
0c7d39ac7fff48ad005a4b5ae05f16dbeae0e7c1
2023-01-01T17:35:03Z
c++
2023-01-04T13:15:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,814
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02519_monotonicity_fuzz.reference", "tests/queries/0_stateless/02519_monotonicity_fuzz.sql"]
Logical error: 'Invalid Field get from type Decimal64 to type Int64'
Debug build: ``` CREATE TABLE table_float__fuzz_44 (`f` Decimal(18, 3), `u` Int8) ENGINE = MergeTree ORDER BY (f, u); INSERT INTO table_float VALUES (1.2, 1) (1.3, 2) (1.4, 3) (1.5, 4); SELECT count() FROM table_float__fuzz_44 WHERE (toUInt64(f) = 1) AND (f >= 1.3) AND (f <= 1.4) AND (u > 0) GROUP BY (toUInt64(f) =...
https://github.com/ClickHouse/ClickHouse/issues/44814
https://github.com/ClickHouse/ClickHouse/pull/44818
8868a5e944d76f8b8481c708c2fdb5476d3d03fd
4240a71a4e7d0dd4d480c04023decd49e654fd15
2023-01-01T17:29:45Z
c++
2023-01-01T23:05:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,804
["docs/en/operations/backup.md"]
need docs for backup restore of DB
null
https://github.com/ClickHouse/ClickHouse/issues/44804
https://github.com/ClickHouse/ClickHouse/pull/44899
2482acc6004259d45ac1d0f009de176745087209
a6c5061e775b1e07dd5dc45f1eba297b83944613
2022-12-30T22:38:44Z
c++
2023-01-04T13:13:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,802
["docs/en/sql-reference/functions/type-conversion-functions.md", "docs/en/sql-reference/functions/uuid-functions.md"]
need docs for toUUIDOrDefault
null
https://github.com/ClickHouse/ClickHouse/issues/44802
https://github.com/ClickHouse/ClickHouse/pull/44906
20a35efc428f1212c3f4072999d9ab56dd8ea6bf
7589c29902f8dd9ba0b7ac60c6304528eddeeae2
2022-12-30T22:30:17Z
c++
2023-01-04T21:01:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,797
["docs/en/sql-reference/statements/insert-into.md"]
need docs for globs infile
https://github.com/ClickHouse/ClickHouse/pull/30135
https://github.com/ClickHouse/ClickHouse/issues/44797
https://github.com/ClickHouse/ClickHouse/pull/44913
a4322b305796826c4da1c91b7d0ba15d8a8ed919
3c64cb26b0b56df648a98f63b0c598f4b1a8fa1a
2022-12-30T22:16:18Z
c++
2023-01-04T20:51:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,796
["docs/en/engines/table-engines/integrations/hdfs.md", "docs/en/engines/table-engines/integrations/s3.md", "docs/en/engines/table-engines/mergetree-family/mergetree.md", "docs/en/engines/table-engines/special/file.md", "docs/en/engines/table-engines/special/url.md"]
need docs for partition by
https://github.com/ClickHouse/ClickHouse/pull/30690
https://github.com/ClickHouse/ClickHouse/issues/44796
https://github.com/ClickHouse/ClickHouse/pull/45606
b9e5c586e6496cb607069e6408df6dbf5a5e116c
ff137721fb1bac5b98b16452529e243f69d295ee
2022-12-30T22:15:29Z
c++
2023-01-25T14:31:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,791
["docs/en/operations/settings/index.md", "docs/en/operations/settings/settings-formats.md", "docs/en/operations/settings/settings.md"]
need docs on s3 etc. see pr.
docs in https://github.com/ClickHouse/ClickHouse/pull/33302
https://github.com/ClickHouse/ClickHouse/issues/44791
https://github.com/ClickHouse/ClickHouse/pull/45525
2b8b1ad5d44400136f63a49624f260dbeef47285
d6fe7f1b851629caa97e142508b8d451875dd94e
2022-12-30T22:03:47Z
c++
2023-01-25T00:25:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,787
["docs/en/sql-reference/functions/geo/h3.md"]
need docs for h3 geo functions
https://github.com/ClickHouse/ClickHouse/pull/34568
https://github.com/ClickHouse/ClickHouse/issues/44787
https://github.com/ClickHouse/ClickHouse/pull/44919
3c64cb26b0b56df648a98f63b0c598f4b1a8fa1a
288488f8a208d0d6780829247d1f47449d5bfc5b
2022-12-30T21:56:46Z
c++
2023-01-04T20:51:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,786
["docs/en/sql-reference/functions/date-time-functions.md"]
need docs for tolastdayofmonth
https://github.com/ClickHouse/ClickHouse/pull/34394
https://github.com/ClickHouse/ClickHouse/issues/44786
https://github.com/ClickHouse/ClickHouse/pull/44945
9444dae34efbe70555e1e4f6554b98c65bd599c0
adfc4d4a239f2007e6bd1a47d124943dc94985ed
2022-12-30T21:55:47Z
c++
2023-01-05T16:53:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,784
["docs/en/operations/settings/settings.md"]
need docs for table filter settings
https://github.com/ClickHouse/ClickHouse/pull/38475
https://github.com/ClickHouse/ClickHouse/issues/44784
https://github.com/ClickHouse/ClickHouse/pull/44941
5ba68516296516182408f2d1eef0a9d8f998966c
9444dae34efbe70555e1e4f6554b98c65bd599c0
2022-12-30T21:47:45Z
c++
2023-01-05T16:52:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,774
["docs/en/engines/table-engines/integrations/deltalake.md", "docs/en/sql-reference/table-functions/deltalake.md"]
need docs for deltalake
[PR](https://github.com/ClickHouse/ClickHouse/pull/41054/files#diff-56ca176b379cc08cca6ca530d08e704a0b75fd322e17ad5f205e621e3f154b46)
https://github.com/ClickHouse/ClickHouse/issues/44774
https://github.com/ClickHouse/ClickHouse/pull/45127
9bb1e313697a5728875cbcc1b604f39fa6875c1e
0ad969171e07cd0a89ad6c475b3bd308dd763816
2022-12-30T21:30:02Z
c++
2023-01-11T13:07:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,771
["docs/en/sql-reference/functions/arithmetic-functions.md"]
need docs for pmod
(you don't have to strictly follow this form) **Describe the issue** A clear and concise description of what's wrong in documentation. **Additional context** Add any other context about the problem here.
https://github.com/ClickHouse/ClickHouse/issues/44771
https://github.com/ClickHouse/ClickHouse/pull/44943
a28d6fb490dfe3e8220b15a6a8f717bbe602095c
5ba68516296516182408f2d1eef0a9d8f998966c
2022-12-30T21:27:33Z
c++
2023-01-05T16:51:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,757
["src/Interpreters/TraceCollector.cpp"]
Crash in ~TraceCollector() (unhanded exception)
``` 2022.12.30 15:54:52.590484 [ 55 ] {} <Fatal> BaseDaemon: Code: 75. DB::ErrnoException: Cannot write to file (fd = 421), errno: 11, strerror: Resource temporarily unavailable. (CANNOT_WRITE_TO_FILE_DESCRIPTOR), Stack trace (when copying this message, always include the lines below): 2022.12.30 15:54:52.590503 [ 55...
https://github.com/ClickHouse/ClickHouse/issues/44757
https://github.com/ClickHouse/ClickHouse/pull/44758
888b4aac8ff465b8d69cefd8ce0e4c2b6a7703a7
969214ce9e4a8b092787df42e71d66548a4215bf
2022-12-30T16:08:27Z
c++
2022-12-31T13:48:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,738
["src/QueryPipeline/RemoteQueryExecutor.cpp", "tests/queries/0_stateless/02517_wrong_total_structure_crash.reference", "tests/queries/0_stateless/02517_wrong_total_structure_crash.sql"]
Bad cast from type DB::ColumnVector<signed char> to DB::ColumnArray
**Describe the bug** Build the server in debug mode. ``` CREATE TABLE alias10__fuzz_13 (`Id` Array(Array(UInt256)), `EventDate` Array(String), `field1` Array(Array(Nullable(Int8))), `field2` Array(Date), `field3` Array(Array(Array(UInt128)))) ENGINE = Distributed(test_shard_localhost, currentDatabase(), alias_lo...
https://github.com/ClickHouse/ClickHouse/issues/44738
https://github.com/ClickHouse/ClickHouse/pull/44760
bdd3ef89206054b7f26b8727bccc66dd3fd7bdd6
c8ed885bae2313fd2444fba05165ada6cce1af42
2022-12-30T11:11:07Z
c++
2023-01-03T18:28:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,736
["src/Interpreters/JoinToSubqueryTransformVisitor.cpp", "tests/queries/0_stateless/02518_qualified_asterisks_alias_table_name.reference", "tests/queries/0_stateless/02518_qualified_asterisks_alias_table_name.sql"]
Logical error: qualified asterisk must have exactly one child
``` clickhouse-local -n <<<" DROP TABLE IF EXISTS test_table_join_1; CREATE TABLE test_table_join_1 ( id UInt64, value String ) ENGINE = TinyLog; DROP TABLE IF EXISTS test_table_join_2; CREATE TABLE test_table_join_2 ( id UInt64, value String ) ENGINE = TinyLog; DROP TABLE IF EXISTS ...
https://github.com/ClickHouse/ClickHouse/issues/44736
https://github.com/ClickHouse/ClickHouse/pull/44755
663cc5fcc199ecf8f48c02429e3e580fd85a217b
c1f6555b32e63dcec6ebf4b167db7fb8c46136ae
2022-12-30T10:52:13Z
c++
2023-01-06T00:28:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,710
["tests/ci/tee_popen.py"]
Fix stress tests report
After #44214 it's unclear if timeout is reached. The commit status should highlight the timeout issue
https://github.com/ClickHouse/ClickHouse/issues/44710
https://github.com/ClickHouse/ClickHouse/pull/45504
cb1e8afda634c3bb997944c89ab4ba3aff035fa0
116a7edf25c854a1995976868ad93fa13d5ee811
2022-12-29T14:13:27Z
c++
2023-01-24T09:53:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,709
["src/Formats/MarkInCompressedFile.h", "src/Storages/MergeTree/MergeTreeReaderStream.cpp", "src/Storages/MergeTree/MergeTreeReaderStream.h", "tests/integration/test_s3_low_cardinality_right_border/test.py"]
CANNOT_READ_ALL_DATA / LowCardinality / S3 threadpool
@den-crane Thanks for the reply, we faced similar issue in few of our instances, where remote storage is S3. below is the stack trace. `operationName` column is of type LowCardinality. ``` 2022.12.22 06:43:31.949698 [ 16873 ] {f33b0bd4-95db-4330-89d9-f18f24f3ac51} <Error> executeQuery: Code: 33. DB::Excepti...
https://github.com/ClickHouse/ClickHouse/issues/44709
https://github.com/ClickHouse/ClickHouse/pull/44875
35511685e3b9effe56b6637a469add158d26389d
b25f87567499e71ce13fea99a58d4d76120a74aa
2022-12-29T13:53:10Z
c++
2023-01-06T14:24:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,695
["tests/queries/0_stateless/02541_multiple_ignore_with_nested_select.reference", "tests/queries/0_stateless/02541_multiple_ignore_with_nested_select.sql"]
Sorting column * wasn't found in the ActionsDAG's outputs
From https://github.com/ClickHouse/ClickHouse/pull/44686 CI ``` SELECT DISTINCT * FROM ( SELECT DISTINCT * FROM ( SELECT DISTINCT 0.5, number % 65536 AS number FROM numbers(2) ORDER BY ignore(ignore(-1, 10.0001)) DESC NULLS LAST, ...
https://github.com/ClickHouse/ClickHouse/issues/44695
https://github.com/ClickHouse/ClickHouse/pull/45784
659a64a1d93cdc633794974c3b3f0ba9fcb311c9
4983353f85606424e4bc52b7fbc76c4395b4a7ef
2022-12-28T21:07:07Z
c++
2023-01-31T10:12:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,614
["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/SelectQueryInfo.h", "tests/queries/0_stateless/02515_projections_with_totals.reference", "tests/queries/0_stateless/02515_projections_with_totals.sql", "tests/queries/0_stateless/02516_projections_with_rollup.reference", "tests/queries/0_stateless/02516_project...
Projections and WITH TOTALS don't work with non-default totals_mode
``` CREATE TABLE t (x UInt8, PROJECTION p (SELECT x GROUP BY x)) ENGINE = MergeTree ORDER BY (); INSERT INTO t VALUES (0); SET group_by_overflow_mode = 'any', max_rows_to_group_by = 1000, totals_mode = 'after_having_auto'; SELECT x FROM t GROUP BY x WITH TOTALS; ```
https://github.com/ClickHouse/ClickHouse/issues/44614
https://github.com/ClickHouse/ClickHouse/pull/44615
9645941cdff8f8bdc844ea950358f2c27b231f22
464a513f0ed5f4e1f90b91a25ecda2ae6d270cec
2022-12-26T21:02:30Z
c++
2022-12-27T12:31:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,608
["tests/queries/0_stateless/02538_analyzer_create_table_as_select.reference", "tests/queries/0_stateless/02538_analyzer_create_table_as_select.sql"]
(only with new Analyzer) segmentation fault with create as select with union
``` milovidov@milovidov-desktop:~/Downloads$ clickhouse-client ClickHouse client version 22.13.1.1. Connecting to localhost:9000 as user default. Connected to ClickHouse server version 22.13.1 revision 54461. milovidov-desktop :) SET allow_experimental_analyzer = 1 SET allow_experimental_analyzer = 1 Quer...
https://github.com/ClickHouse/ClickHouse/issues/44608
https://github.com/ClickHouse/ClickHouse/pull/45533
297516a08470a4c33bf5dd80f908b3d48d953c2c
eef49fa3edba8eb59325fbad3ad944c7bb9450be
2022-12-26T17:57:07Z
c++
2023-01-26T11:10:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,588
["src/Dictionaries/RangeHashedDictionary.cpp", "tests/queries/0_stateless/02525_range_hashed_dictionary_update_field.reference", "tests/queries/0_stateless/02525_range_hashed_dictionary_update_field.sql"]
the range doesn't work in RANGE_HASHED DICTIONARY after the DICTIONARY update version 22.10.3.27
`DROP TABLE if exists default.test_20221226 on cluster clickhouse; CREATE TABLE default.test_20221226 on cluster clickhouse ( uid Int64, start Int64, end Int64, ck_insert_time DateTime default now() ) ENGINE = ReplacingMergeTree(ck_insert_time) ORDER BY (uid, start) ; DROP TABLE if exists defau...
https://github.com/ClickHouse/ClickHouse/issues/44588
https://github.com/ClickHouse/ClickHouse/pull/45061
db5aa58370542a076e606d9e707aeb6377a9c983
dcae391210b37d164625c4a678477d3a209fe6ba
2022-12-26T04:17:09Z
c++
2023-01-10T02:11:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,587
["src/AggregateFunctions/AggregateFunctionVarianceMatrix.cpp", "src/AggregateFunctions/AggregateFunctionVarianceMatrix.h", "src/AggregateFunctions/registerAggregateFunctions.cpp", "tests/fuzz/dictionaries/functions.dict", "tests/queries/0_stateless/02515_aggregate_functions_statistics.reference", "tests/queries/0_state...
A function `corrMatrix` to calculate correlation across all the pairs of arguments.
**Use case** See https://github.com/ClickHouse/ClickHouse/issues/35979 **Describe the solution you'd like** Let's add a function `corrMatrix`, taking an arbitrary number of arguments and returning a 2d array. Note: this matrix will be somewhat redundant - symmetric with 1 on the diagonal, but let's return it ...
https://github.com/ClickHouse/ClickHouse/issues/44587
https://github.com/ClickHouse/ClickHouse/pull/44680
0ba246ca533511abc0a4976684283c29f8b19f40
0c13870eb1b1778c2dbbe4f8a32763e1df63cf76
2022-12-25T19:30:47Z
c++
2023-02-02T16:06:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,577
["src/Analyzer/Passes/QueryAnalysisPass.cpp", "tests/queries/0_stateless/02521_analyzer_array_join_crash.reference", "tests/queries/0_stateless/02521_analyzer_array_join_crash.sql"]
(with new Analyzer) logical error when using ARRAY JOIN
**Describe the bug** ``` milovidov-desktop :) SET allow_experimental_analyzer = 1 SET allow_experimental_analyzer = 1 Query id: b4494b8c-9f14-4d46-8db9-2cb992dcfcb6 Ok. 0 rows in set. Elapsed: 0.001 sec. milovidov-desktop :) SELECT arrayFilter(x -> notEmpty(concat(x)), [NULL, NULL]) FROM system.one AR...
https://github.com/ClickHouse/ClickHouse/issues/44577
https://github.com/ClickHouse/ClickHouse/pull/45059
dafd1de8c50d2374c88640f5a1f985590c31b4c4
a7d5a5d2803c94e8024016cda2eacc9d98b2a142
2022-12-25T14:46:42Z
c++
2023-01-10T12:14:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,568
["programs/benchmark/Benchmark.cpp"]
The option `continue_on_errors` in `clickhouse-benchmark` is inconsistent with `clickhouse-client`.
Rename it accordingly.
https://github.com/ClickHouse/ClickHouse/issues/44568
https://github.com/ClickHouse/ClickHouse/pull/44570
e1115828d04f04490935b821b19b632733b7b6c9
514ff2ba203840b90dbe05411bac36bcb93b7730
2022-12-24T19:06:28Z
c++
2022-12-27T13:10:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,549
["tests/queries/0_stateless/02538_analyzer_create_table_as_select.reference", "tests/queries/0_stateless/02538_analyzer_create_table_as_select.sql"]
Segfault in PlannerContext while using new analyzer
How to reproduce: ```sql set allow_experimental_analyzer=1; CREATE TABLE local_01099_a (number UInt64) ENGINE = MergeTree() ORDER BY number; CREATE TABLE local_01099_b (number UInt64) ENGINE = MergeTree() ORDER BY number; CREATE TABLE distributed_01099_a AS local_01099_a ENGINE = Distributed('test_cluster_two_shar...
https://github.com/ClickHouse/ClickHouse/issues/44549
https://github.com/ClickHouse/ClickHouse/pull/45533
297516a08470a4c33bf5dd80f908b3d48d953c2c
eef49fa3edba8eb59325fbad3ad944c7bb9450be
2022-12-23T20:49:45Z
c++
2023-01-26T11:10:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,536
["src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeDataPartWriterCompact.cpp", "src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp", "src/Storages/MergeTree/MergeTreeSettings.cpp", "tests/queries/0_stateless/02514_bad_index_granularity.reference", "tests/queries/0_stateless/02514_bad_in...
CH hangs with insertion (index_granularity = 0)
```sql CREATE TABLE t ( id Int64, d String, p Map(String, String) ) ENGINE = ReplacingMergeTree order by id settings index_granularity = 0; insert into t values (1, 's', {'a':'b'}); CH starts eating RAM until it crashes the same with insert into t select 1, 's', map('a','b'); `...
https://github.com/ClickHouse/ClickHouse/issues/44536
https://github.com/ClickHouse/ClickHouse/pull/44578
280e14456f15504c22493363c7ebf9ecf709edd8
d8924f0b0ed96c5b6bc4398f34aa7cc96dcaf8d2
2022-12-23T15:22:05Z
c++
2022-12-26T14:20:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,528
["src/Analyzer/Passes/QueryAnalysisPass.cpp", "tests/queries/0_stateless/02525_analyzer_function_in_crash_fix.reference", "tests/queries/0_stateless/02525_analyzer_function_in_crash_fix.sql"]
NativeWriter/SerializationNullable: downcast of address which does not point to an object of type ColumnNullable
https://s3.amazonaws.com/clickhouse-test-reports/44466/45f9fa48c80a54da54323a6bf00e65160fd3e360/fuzzer_astfuzzerubsan//report.html ``` ../src/Common/assert_cast.h:50:12: runtime error: downcast of address 0x7f45d40aed70 which does not point to an object of type 'const DB::ColumnNullable' 0x7f45d40aed70: note: object...
https://github.com/ClickHouse/ClickHouse/issues/44528
https://github.com/ClickHouse/ClickHouse/pull/45064
3963eeae16dbf749ed02a52cc3ee16311dd58283
db5aa58370542a076e606d9e707aeb6377a9c983
2022-12-23T12:08:50Z
c++
2023-01-10T02:10:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,504
["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/02764_index_analysis_fix.reference", "tests/queries/0_stateless/02764_index_analysis_fix.sql"]
Valid queries my fail due to a bug in partition pruning
when i use "LIKE" in version 20.3.3.6 is all right,but in 22.3.2.1 something was wrong ``` clickhouse-180 :) show create table act.goodsdeliverflow_local SHOW CREATE TABLE act.goodsdeliverflow_local Query id: 846831d1-a00c-4ae4-bbe1-8322dd118141 ┌─statement────────────────────────────────────────────────────...
https://github.com/ClickHouse/ClickHouse/issues/44504
https://github.com/ClickHouse/ClickHouse/pull/50153
f118cba17e014620b9d13246f95cbb936dbe07f4
881bdbf8391a020dfea047f78cc434a6ab5fb471
2022-12-22T03:28:54Z
c++
2023-06-05T02:00:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,503
["src/Functions/in.cpp", "tests/queries/0_stateless/01906_lc_in_bug.reference", "tests/queries/0_stateless/01906_lc_in_bug.sql"]
crash due `NOT (toLowCardinality('') IN`
```sql CREATE TABLE test(key Int32) ENGINE = MergeTree ORDER BY (key); insert into test select intDiv(number,100) from numbers(10000000); SELECT COUNT() FROM test WHERE key <= 100000 AND (NOT (toLowCardinality('') IN (SELECT ''))); <Fatal> BaseDaemon: ######################################## <Fatal> BaseDaemon...
https://github.com/ClickHouse/ClickHouse/issues/44503
https://github.com/ClickHouse/ClickHouse/pull/44506
6c23721255b55717ee31ec39d92b8c0f2bf88ec8
63f5712319e34247d84896fde14d91da7a798015
2022-12-22T02:28:36Z
c++
2022-12-23T10:28:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,500
["src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.h", "src/Storages/MergeTree/IMergeTreeDataPartInfoForReader.h", "src/Storages/MergeTree/IMergeTreeReader.cpp", "src/Storages/MergeTree/IMergeTreeReader.h", "src/Storages/MergeTree/LoadedMergeTreeDataPartInfoForReader.h"]
Degraded performance of select queries after v22.8
**Describe the situation** There is still a performance drop between 22.7.7.24 -> 22.8.1.2097 (and up to the latest 22.12) I'm running a trivial query "select count() from ... where counter_id = ... and ts > ... and ts < .. format **Null** settings local_filesystem_read_method='**read**'." (typical "hits" table). ...
https://github.com/ClickHouse/ClickHouse/issues/44500
https://github.com/ClickHouse/ClickHouse/pull/45630
596cbb1d238126b98ceda677dee779948f633760
f10e82355e2e44f858baf692599a20674b0af0d9
2022-12-21T20:58:26Z
c++
2023-01-27T13:59:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,494
["src/Analyzer/SortNode.cpp", "tests/queries/0_stateless/02513_analyzer_sort_msan.reference", "tests/queries/0_stateless/02513_analyzer_sort_msan.sql"]
MSan: nested ORDER BYs with new analyzer
**Describe the bug** MSan report - https://s3.amazonaws.com/clickhouse-test-reports/43905/00ff8b82dc60262ba262c2a2e39a95498b060251/fuzzer_astfuzzermsan//report.html ``` 2022.12.21 07:16:36.245599 [ 170 ] {f80a3a19-5191-4791-946c-35498d4d9b9b} <Debug> executeQuery: (from [::ffff:127.0.0.1]:38928) EXPLAIN header = 1 S...
https://github.com/ClickHouse/ClickHouse/issues/44494
https://github.com/ClickHouse/ClickHouse/pull/44491
6a0210fb0fb1a7d5dc6ac02ae4006419d706a9f7
3e2e35f54e8aa9225e1712ec85e73693d58e9b03
2022-12-21T16:40:41Z
c++
2022-12-22T10:15:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,467
["src/AggregateFunctions/AggregateFunctionSparkbar.h", "tests/queries/0_stateless/02016_aggregation_spark_bar.sql"]
sparkbar aggregate function causes server to be killed with OOM
**Describe what's wrong** Using `sparkbar` aggregate function on tables that contain large UInt64 values causes OOM (Out of Memory) Killer process to kill ClickHouse server irrespective of any memory usage restrictions set. **Does it reproduce on recent release?** Yes. Any version `>=21.11` including the latest `2...
https://github.com/ClickHouse/ClickHouse/issues/44467
https://github.com/ClickHouse/ClickHouse/pull/44489
04c9fcddcb89f8fb763c8b83d79dfd512f86bf99
dad838859b37b0d043980a0a5c52519457b4d1a0
2022-12-20T21:14:45Z
c++
2023-02-01T11:50:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,318
["tests/queries/0_stateless/02997_projections_formatting.reference", "tests/queries/0_stateless/02997_projections_formatting.sql"]
Bad formatting of projection with `ORDER BY` leads to creating of wrong projection
**Describe what's wrong** If projection has `ORDER BY` clause with column wrapped into function, the query is formatted wrong: `ORDER BY` contains arguments of function instead of function and table is created with wrong projection. Looks like it's because of [lines](https://github.com/ClickHouse/ClickHouse/blob/...
https://github.com/ClickHouse/ClickHouse/issues/44318
https://github.com/ClickHouse/ClickHouse/pull/60179
b4c7e1d01f094eaef8284f957555927c9554df94
c1754d3cd149b489ada4eedee4dfc7afcb4b8cec
2022-12-16T15:51:11Z
c++
2024-02-21T10:42:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,307
["tests/queries/0_stateless/02538_analyzer_create_table_as_select.reference", "tests/queries/0_stateless/02538_analyzer_create_table_as_select.sql"]
UBSan: ReadFromMergeTree.cpp, member call on null pointer of type 'DB::PlannerContext'
**Describe the bug** [A link to the report](https://s3.amazonaws.com/clickhouse-test-reports/44176/bde3e43d3becaca7e61632aaf3292a11d4d27aa0/fuzzer_astfuzzerubsan//report.html) Related to https://github.com/ClickHouse/ClickHouse/issues/42648 ``` (query_id: c7640145-331c-4d7b-9e50-c09097e4e8bd) (query: CREATE TABLE...
https://github.com/ClickHouse/ClickHouse/issues/44307
https://github.com/ClickHouse/ClickHouse/pull/45533
297516a08470a4c33bf5dd80f908b3d48d953c2c
eef49fa3edba8eb59325fbad3ad944c7bb9450be
2022-12-16T11:10:28Z
c++
2023-01-26T11:10:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,258
["src/Analyzer/SortNode.cpp", "tests/queries/0_stateless/02513_analyzer_sort_msan.reference", "tests/queries/0_stateless/02513_analyzer_sort_msan.sql"]
Analyzer: use-of-uninitialized-value in SortNode/SipHash::update
https://s3.amazonaws.com/clickhouse-test-reports/41976/ea5b06023a79dceccae70ad5e3954129050af5a2/fuzzer_astfuzzermsan//report.html ``` 2022.12.14 18:56:32.134997 [ 453 ] {} <Fatal> BaseDaemon: ######################################## 2022.12.14 18:56:32.135719 [ 453 ] {} <Fatal> BaseDaemon: (version 22.12.1.1, buil...
https://github.com/ClickHouse/ClickHouse/issues/44258
https://github.com/ClickHouse/ClickHouse/pull/44491
6a0210fb0fb1a7d5dc6ac02ae4006419d706a9f7
3e2e35f54e8aa9225e1712ec85e73693d58e9b03
2022-12-15T09:10:45Z
c++
2022-12-22T10:15:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,254
["docs/en/sql-reference/functions/date-time-functions.md", "docs/ru/sql-reference/functions/date-time-functions.md", "src/Common/DateLUTImpl.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/00921_datetime64_compatibility_long.reference", "tests/queries/0_stateless/01592_toUnixTimestamp_Date.referen...
Function toUnixTimestamp supports Date/Date32 argument, like spark to_unix_timestamp does.
> (you don't have to strictly follow this form) **Use case** > A clear and concise description of what is the intended usage scenario is. ``` ) select toUnixTimestamp(today()) SELECT toUnixTimestamp(today()) Query id: c349c73a-5677-4709-8765-dcc3b08c8e92 0 rows in set. Elapsed: 0.031 sec. Receive...
https://github.com/ClickHouse/ClickHouse/issues/44254
https://github.com/ClickHouse/ClickHouse/pull/49989
a4fe3fbb1f288b4e066eb3781b2c7b9e238a4aa3
f4c73e94d21c6de0b1af7da3c42c2db6bf97fc73
2022-12-15T07:17:58Z
c++
2023-05-23T06:55:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,251
["src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp", "src/Storages/MergeTree/MergeTreeBackgroundExecutor.h", "src/Storages/MergeTree/MergeTreeDataMergerMutator.cpp", "src/Storages/MergeTree/MergeTreeDataMergerMutator.h", "src/Storages/StorageMergeTree.cpp", "src/Storages/StorageReplicatedMergeTree.cpp"]
Bug when increasing `background_pool_size`
**Describe the unexpected behaviour** see steps below **How to reproduce** - decrease `background_pool_size` to 3 (relevantly decreasing `number_of_free_entries_in_pool_to_execute_mutation`, `number_of_free_entries_in_pool_to_lower_max_size_of_merge`) - restart server - increase `background_pool_size` to 8 - S...
https://github.com/ClickHouse/ClickHouse/issues/44251
https://github.com/ClickHouse/ClickHouse/pull/44436
5c860133d6d91260cccf28a533e08d667cf07954
a32fab90d50b2f946893c5db18d1ace238009d34
2022-12-15T03:59:19Z
c++
2022-12-22T22:48:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,240
["src/Dictionaries/NullDictionarySource.cpp", "src/Dictionaries/NullDictionarySource.h", "src/Dictionaries/registerDictionaries.cpp", "tests/queries/0_stateless/02514_null_dictionary_source.reference", "tests/queries/0_stateless/02514_null_dictionary_source.sql"]
Empty source for external dictionaries
**Feature** Allow creating empty dictionaries with DDL queries. **Use case** This feature will allow building queries and views referencing empty dictionary with `dictGet` or 'as a table', even if dictionary does not exist yet. Maybe, empty dictionaries does not make sense in 'clickhouse as a part of inte...
https://github.com/ClickHouse/ClickHouse/issues/44240
https://github.com/ClickHouse/ClickHouse/pull/44502
462294dedb70dc84079340ed8edf2bf93670aa62
24eeaa500b8be699ec3c0fdae9b56d1f715a41af
2022-12-14T20:38:33Z
c++
2022-12-25T22:02:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,221
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Processors/QueryPlan/AggregatingStep.cpp", "src/Processors/QueryPlan/AggregatingStep.h", "tests/queries/0_stateless/02503_in_lc_const_args_bug.reference", "tests/queries/0_stateless/02503_in_lc_const_args_bug.sql"]
Segmentation fault in serialization after grouping with LowCardinality column
**Describe what's wrong** ClickHouse crashes with a complex cast expression in grouping statement if the query is made via JDBC (with DBeaver). Correctly throws an exception if the query is made via clickhouse-client. **How to reproduce** ClickHouse version: 22.6.3.35 DBeaver: 21.2.1.202109181446 Driver: cli...
https://github.com/ClickHouse/ClickHouse/issues/44221
https://github.com/ClickHouse/ClickHouse/pull/44346
6ace8f13dbae6e9533c23f3a8b74c38a6bc6c540
720f0cca40c2cf3404c91e3b956abff45834f290
2022-12-14T12:18:42Z
c++
2022-12-20T11:09:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,216
["src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp", "tests/queries/0_stateless/02481_async_insert_dedup.python"]
Test `02481_async_insert_dedup` is flaky
https://play.clickhouse.com/play?user=play#c2VsZWN0IAp0b1N0YXJ0T2ZEYXkoY2hlY2tfc3RhcnRfdGltZSkgYXMgZCwKY291bnQoKSwgIGdyb3VwVW5pcUFycmF5KHB1bGxfcmVxdWVzdF9udW1iZXIpLCAgYW55KHJlcG9ydF91cmwpCmZyb20gY2hlY2tzIHdoZXJlICcyMDIyLTA2LTAxJyA8PSBjaGVja19zdGFydF90aW1lIGFuZCB0ZXN0X25hbWUgbGlrZSAnJTAyNDgxX2FzeW5jX2luc2VydF9kZWR1cCUnI...
https://github.com/ClickHouse/ClickHouse/issues/44216
https://github.com/ClickHouse/ClickHouse/pull/44349
ce56ae61c68e23512cc8ec3bfe72f5c935f12379
5a6cdd4825fc16976050124a37e816cfbfa2db6c
2022-12-14T11:23:50Z
c++
2022-12-19T20:53:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,188
["tests/integration/test_server_reload/test.py"]
`test_server_reload` is flaky
https://play.clickhouse.com/play?user=play#c2VsZWN0IAp0b1N0YXJ0T2ZEYXkoY2hlY2tfc3RhcnRfdGltZSkgYXMgZCwKY291bnQoKSwgIGdyb3VwVW5pcUFycmF5KHB1bGxfcmVxdWVzdF9udW1iZXIpLCAgYW55KHJlcG9ydF91cmwpCmZyb20gY2hlY2tzIHdoZXJlICcyMDIyLTA2LTAxJyA8PSBjaGVja19zdGFydF90aW1lIGFuZCB0ZXN0X25hbWUgbGlrZSAnJXRlc3Rfc2VydmVyX3JlbG9hZC90ZXN0LnB5O...
https://github.com/ClickHouse/ClickHouse/issues/44188
https://github.com/ClickHouse/ClickHouse/pull/44444
5df5f7d0dcffd3f56883014b93edfc5dbe476d1b
e49deb740fab90b0aaadad70f4a00f620d55fcd0
2022-12-13T11:56:32Z
c++
2022-12-21T13:31:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,167
["docs/en/interfaces/formats.md", "docs/ru/interfaces/formats.md"]
possibly incorrect parsing of chunked RowBinary requests (CANNOT_READ_ALL_DATA)
When sending data in `RowBinary` format with `transfer-encoding: chunked` and a chunk starting with a string of length 13 (= `\r` in ascii), clickhouse raises an exception: ``` Code: 33. DB::Exception: Cannot read all data. Bytes read: 12. Bytes expected: 101.: (at row 1)\n: While executing BinaryRowInputFormat. (...
https://github.com/ClickHouse/ClickHouse/issues/44167
https://github.com/ClickHouse/ClickHouse/pull/44324
693df81f506d9133fe10fd5e9a4967f3aa3e29b6
e80dc069ef6157f1d70cba7384294b99ff201acc
2022-12-12T15:41:41Z
c++
2022-12-17T00:57:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,130
["src/IO/WriteHelpers.h", "src/IO/tests/gtest_WriteHelpers.cpp", "src/Interpreters/TreeRewriter.cpp"]
Hints about column names can contain duplicates.
**Describe the issue** ``` Code: 47. DB::Exception: Received from localhost:9000. DB::Exception: Missing columns: 'total_byte' while processing query: 'SELECT name, total_bytes FROM system.tables WHERE total_byte > 1000000000 ORDER BY total_bytes DESC', required columns: 'name' 'total_bytes' 'total_byte', maybe you m...
https://github.com/ClickHouse/ClickHouse/issues/44130
https://github.com/ClickHouse/ClickHouse/pull/44519
b11d01dff51f26c0661a7d2f0af0ebe7246e5e9a
b5431e971e4ad8485e2b2bcfa45f15d9d84d808e
2022-12-11T05:22:10Z
c++
2022-12-27T11:37:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,054
["src/Storages/MergeTree/DataPartsExchange.cpp", "tests/queries/0_stateless/02344_describe_cache.sql", "tests/queries/0_stateless/02494_zero_copy_projection_cancel_fetch.reference", "tests/queries/0_stateless/02494_zero_copy_projection_cancel_fetch.sh"]
Logical error: 'Cannot commit shared transaction'
https://s3.amazonaws.com/clickhouse-test-reports/43986/7249ad407a0824d8c7651d8e03d4e68e1dea0813/stress_test__msan_.html
https://github.com/ClickHouse/ClickHouse/issues/44054
https://github.com/ClickHouse/ClickHouse/pull/44173
3593377f23dd3725d30aab29a76fbf596eddf591
c6b6b0ad7d2636bf76c3a24e70c9812399943699
2022-12-08T19:49:01Z
c++
2022-12-14T14:55:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,053
["tests/queries/0_stateless/01961_roaring_memory_tracking.sql"]
01961_roaring_memory_tracking sporadically fail
**Describe the bug** [A link to the report ](https://s3.amazonaws.com/clickhouse-test-reports/43860/974df885e0b70a7b26eddcc0cf896ceeccd9fe79/stateless_tests__ubsan__[1/2].html) **Error message and/or stacktrace** ``` 2022-12-07 03:19:59 The query succeeded but the server error '241' was expected (query: SELECT cit...
https://github.com/ClickHouse/ClickHouse/issues/44053
https://github.com/ClickHouse/ClickHouse/pull/44470
6cc8a7e3e3bd74d36cf04759485bac241ff89656
a184d1f355369779b365fb57adb839c11c820fc4
2022-12-08T19:36:22Z
c++
2022-12-21T12:59:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,041
["src/Interpreters/ExpressionAnalyzer.cpp", "tests/queries/0_stateless/02497_having_without_actual_aggregation_bug.reference", "tests/queries/0_stateless/02497_having_without_actual_aggregation_bug.sql"]
Chunk info was not set for chunk in GroupingAggregatedTransform
Reproducer: ``` sql SELECT count() FROM (SELECT queryID() AS t FROM remote('127.0.0.{1..3}', numbers(10)) WITH TOTALS HAVING t = initialQueryID()) Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Chunk info was not set for chunk in GroupingAggregatedTransform.. (LOGICAL_ERROR) ```
https://github.com/ClickHouse/ClickHouse/issues/44041
https://github.com/ClickHouse/ClickHouse/pull/44051
e0a6ccc83091dfa20ead90a422b20eedc41888cc
3e3738bd49f8028c756c6eb218f0f447ac71a0f5
2022-12-08T12:47:27Z
c++
2022-12-10T12:28:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,037
["src/Common/ProfileEvents.cpp", "src/Common/ProfileEvents.h", "src/Common/QueryProfiler.cpp", "src/IO/WriteBufferFromFileDescriptorDiscardOnFailure.cpp", "tests/queries/0_stateless/02497_trace_events_stress_long.reference", "tests/queries/0_stateless/02497_trace_events_stress_long.sh"]
Segmentation fault while sending trace_type = 'ProfileEvent' to trace log
https://s3.amazonaws.com/clickhouse-test-reports/43987/3725cf4aa7a9aa022b11d08b2f8e4f7f0dd70283/stress_test__ubsan_/gdb.log
https://github.com/ClickHouse/ClickHouse/issues/44037
https://github.com/ClickHouse/ClickHouse/pull/44045
3a3c6eb458f9a20378eb10b0d68a51325df32a81
17c557648e4f01f2b5919952e2263db1cff4a52e
2022-12-08T12:06:50Z
c++
2022-12-09T13:12:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
44,010
["src/Interpreters/InterpreterCreateQuery.cpp", "src/Parsers/ASTColumnDeclaration.cpp", "src/Parsers/ASTColumnDeclaration.h", "src/Parsers/ParserCreateQuery.h", "src/Storages/ColumnDefault.h", "src/Storages/ColumnsDescription.cpp", "tests/queries/0_stateless/02205_ephemeral_1.reference", "tests/queries/0_stateless/0228...
Ephemeral columns with Map type crash the server
**Describe what's wrong** Creating a table with a Map-type Ephemeral column will make the server crash on the restart because of wrongly save metadata. Fiddle to reproduce: https://fiddle.clickhouse.com/81fc3a83-f7ea-43c2-afad-2e2940d04e8c **Does it reproduce on recent release?** Tested on version 22.11.1.1...
https://github.com/ClickHouse/ClickHouse/issues/44010
https://github.com/ClickHouse/ClickHouse/pull/44026
24eeaa500b8be699ec3c0fdae9b56d1f715a41af
280e14456f15504c22493363c7ebf9ecf709edd8
2022-12-07T14:07:47Z
c++
2022-12-25T23:59:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
43,990
["src/Compression/CompressionCodecGorilla.cpp"]
ClickHouse tries to create column with wrong compression codec
I've ClickHouse 22.1.3.7 in docker and tried to create table with this script. ```sql CREATE TABLE default.test ( `time_date` Date CODEC(Delta(2), LZ4), `ipv6` IPv6 CODEC(Gorilla, LZ4) ) ENGINE = MergeTree PARTITION BY toYYYYMMDD(time_date) ORDER BY (time_date) SETTINGS index_granularity = 8192; ``...
https://github.com/ClickHouse/ClickHouse/issues/43990
https://github.com/ClickHouse/ClickHouse/pull/44023
7c8cec854b3b282fe3a07c262630f2174d6dc4c4
b1a7b8480338b2f95055eee7309f978529f56265
2022-12-06T20:50:18Z
c++
2022-12-08T09:46:46Z