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 | nektos/act | https://github.com/nektos/act | 174 | ["go.mod", "go.sum"] | Conflict: container name already in use | When trying to run `act` on https://github.com/doctrine/sql-formatter, I'm getting this output:
```
[Continuous Integration/Static Analysis with Psalm ] 🚀 Start image=node:12.6-buster-slim
[Continuous Integration/Unit tests-1 ] 🧪 Matrix: map[php-version:7.2]
[Continuous Integration/Unit tests-... | https://github.com/nektos/act/issues/174 | https://github.com/nektos/act/pull/1311 | 12029e3df5841538a806293881f836f88ec07a2c | cf9d82f69daab9dc907b893a38307a17f444c529 | 2020-03-29T10:44:16Z | go | 2022-08-22T02:17:13Z |
closed | nektos/act | https://github.com/nektos/act | 162 | ["go.mod", "go.sum"] | uses: '.' fails with runtime error: index out of range | I have a repository which contains:
- a github action in the root directory
- a github workflow for testing
Unfortunately I cannot share this repository as it is private but the problem should be easy to reproduce.
In the workflow I use the action which is located in the repository root.
```
- name: test ... | https://github.com/nektos/act/issues/162 | https://github.com/nektos/act/pull/1239 | 50f0b0e7f49d368583a30e515fb16db58c357bbc | 4d9d6ecc924bef6c5976acd7f224558e21fa5b5f | 2020-03-17T08:43:52Z | go | 2022-07-04T02:23:04Z |
closed | nektos/act | https://github.com/nektos/act | 161 | ["pkg/container/docker_run.go", "pkg/container/docker_run_test.go", "pkg/container/testdata/Dockerfile", "pkg/runner/run_context.go", "pkg/runner/step_context.go"] | Maven Step Fails | Expected behavior:
- Maven commands (`mvn`) execute when using ` act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04-full`
Actual behavior:
- Maven builds fail due to Maven not being installed.
```
| /github/workflow/3: line 2: mvn: command not found
[Build, Test, and Upload/Java Application Container] ... | https://github.com/nektos/act/issues/161 | https://github.com/nektos/act/pull/828 | 7a426a0f37d21e32a01e85d9403edba17a54d545 | 6c60af76779b739b7487e3fbe83ea15cd2ab8ad5 | 2020-03-16T20:19:45Z | go | 2021-09-27T19:01:14Z |
closed | nektos/act | https://github.com/nektos/act | 151 | ["go.mod", "go.sum"] | Env context is not being replaced using expressions | Act does not replace the `env` context when using expressions in workflow files
## Issue
When using ``${{ env.WHATEVER }}`` in a workflow file, `act` does not replace it by the actual environment variable and returns undefined
## Reproducing
I've created a repo where this is easily reproducible
https://gith... | https://github.com/nektos/act/issues/151 | https://github.com/nektos/act/pull/1321 | b23bbefc365012886192e477a88d38a0909ecba1 | 9b146980dfabd14e9b9defea8f894ad8ab24132a | 2020-03-13T10:55:46Z | go | 2022-08-29T02:17:28Z |
closed | nektos/act | https://github.com/nektos/act | 148 | ["go.mod", "go.sum"] | Unable to install python | Others have posted this same issue and those issues have been marked as closed, but I haven't seen a solution.
Related tickets:
* https://github.com/nektos/act/issues/90
* https://github.com/nektos/act/issues/100
Upon running the `act`, python fails to install.
Thanks in advance for the help.
### Action Y... | https://github.com/nektos/act/issues/148 | https://github.com/nektos/act/pull/1830 | 481999f59da465d2d8743fd3d97e24bb6e1a2311 | b0996e057750223a14321ff92c1c6d6fbb8e1a10 | 2020-03-12T22:10:48Z | go | 2023-05-29T03:35:06Z |
closed | nektos/act | https://github.com/nektos/act | 145 | ["go.mod", "go.sum"] | Seemingly invalid path separator on Windows using actions/setup-node | Running command
```powershell
act -P ubuntu-latest=nektos/act-environments-ubuntu:18.04
```
on `Microsoft Windows 10 Pro Build 10.0.18363` using `release v0.2.6`
```yaml
- name: Set up Node.js version 13.x
uses: actions/setup-node@v1
with:
node-version: 13.x
```
results in
```powershell
[Continuo... | https://github.com/nektos/act/issues/145 | https://github.com/nektos/act/pull/1311 | 12029e3df5841538a806293881f836f88ec07a2c | cf9d82f69daab9dc907b893a38307a17f444c529 | 2020-03-11T11:42:18Z | go | 2022-08-22T02:17:13Z |
closed | nektos/act | https://github.com/nektos/act | 141 | ["go.mod", "go.sum"] | [Question] is act container with hostNetwork supported? | Hi, I'm trying to use an [action](https://github.com/engineerd/setup-kind) that creates a [kind](https://kind.sigs.k8s.io/) cluster, which works just fine but this action opens a port in 127.0.0.1, which is not possible to reach from any step. Is it possible to use hostNetwork or what is the suggestion for this scenari... | https://github.com/nektos/act/issues/141 | https://github.com/nektos/act/pull/1379 | c4be1cfd6d8ab6664c3a3ffd7c4e5e253fa0b77f | c7ccb0dde9ab6332af7940e6f61e3ab73685fd07 | 2020-03-09T14:50:07Z | go | 2022-10-10T02:37:39Z |
closed | nektos/act | https://github.com/nektos/act | 128 | ["go.mod", "go.sum"] | Running an action in its own repository results in an empty action name | act Version: 0.2.5
OS: macOS & Windows 10
When starting act in [cedrickring/golang-action](https://github.com/cedrickring/golang-action) the Docker build fails with `Error: invalid reference format` (Command: `docker build -t act-:latest <workdir>`).
On [this line](https://github.com/nektos/act/blob/1f9f3b826e9c... | https://github.com/nektos/act/issues/128 | https://github.com/nektos/act/pull/1106 | 407d324ec1a5d9242114971e9e18e8469538924c | 065d630af01b4ed2a0c797d54933ea3b65c3cb38 | 2020-03-06T17:55:39Z | go | 2022-04-05T13:48:53Z |
closed | nektos/act | https://github.com/nektos/act | 106 | ["go.mod", "go.sum"] | Is runs-on ignored? | I am getting my workflow run on node image, even though it requires ubuntu:
```
❯ act
[Foo/build] 🚀 Start image=node:12.6-buster-slim
[Foo/build] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Foo/build] 🐳 docker cp src=/Users/foo/Sites/Foo/. dst=/github/wo... | https://github.com/nektos/act/issues/106 | https://github.com/nektos/act/pull/1018 | 18792f9620fd2fd7dacc53ae30a234fbfc7c81b1 | 9a54c99ac76a2667551bfd85c5aabcabc969e9dd | 2020-02-26T09:46:13Z | go | 2022-02-28T14:35:14Z |
closed | nektos/act | https://github.com/nektos/act | 104 | ["pkg/runner/expression.go", "pkg/runner/expression_test.go"] | Unable to interpolate string - hyphenated variables | I'm facing an issue when I'm trying to reference a `steps.<id>.outputs.<variable>` with an id composed with `-`.
```
Run echo ${{ steps.login-ecr.outputs.registry }}
ERRO[0005] Unable to interpolate string 'echo ${{ steps.login-ecr.outputs.registry }}' - [ReferenceError: 'ecr' is not defined]
```
_Workaround... | https://github.com/nektos/act/issues/104 | https://github.com/nektos/act/pull/287 | 64b8d2afa47ff6938d7617e00f1260a95c35268e | 7dcd0bc1bb0cc4bce97d96ed0b854ea3efe44c49 | 2020-02-25T21:47:54Z | go | 2020-06-24T14:08:45Z |
closed | nektos/act | https://github.com/nektos/act | 22 | ["pkg/runner/action_cache.go", "pkg/runner/action_cache_test.go"] | workflow parser too permissive with local path references to actions in uses clauses | act version: 0.0.5
platform: OSX 10.14.2
When referencing actions that are contained in sub directories of the same repo. i.e.:
action "Lint" {
**uses = "./.github/actions/go"**
args = "lint"
}
the act parser allows you to write the uses clause without "./" at the start like this:
action "Lint" {
... | https://github.com/nektos/act/issues/22 | https://github.com/nektos/act/pull/2208 | 852959e1e14bf5cd9c0284d15ca899bef68ff4af | 5601fb0e136fad09282705ef65cbc9b2c6f0bebf | 2019-01-24T18:21:24Z | go | 2024-02-18T03:53:22Z |
closed | nektos/act | https://github.com/nektos/act | 2 | ["pkg/container/docker_run.go", "pkg/container/docker_run_test.go"] | act -l broken for a run | workflow action looks like:
```
action "docker-login" {
uses = "docker://docker"
runs = ["sh", "-c", "echo $DOCKER_AUTH | docker login --username $REGISTRY_USER --password-stdin"]
secrets = ["DOCKER_AUTH"]
env = {
REGISTRY_USER = "jess"
}
}
```
I get
```
$ act -l
Error: At 8:10: root.Action... | https://github.com/nektos/act/issues/2 | https://github.com/nektos/act/pull/2242 | 352ad41ad2b8a205b12442859280b0e938b7e4ab | 119ceb81d906be5e1b23bd085f642ffde7144ef5 | 2019-01-15T17:01:06Z | go | 2024-03-08T01:25:03Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,747 | ["src/IO/S3/Requests.cpp", "src/IO/S3/Requests.h"] | INSERT INTO s3 function fails to perform multipart upload when setting custom metadata headers | **Describe what's wrong**
When executing an `INSERT INTO s3(...)` query, if a metadata header (`x-amz-meta-`) is set and the resulting file is large enough to produce a multipart upload (50 MB by default), the insertion & upload to S3 fails with the following error:
```
[Error] Unable to parse ExceptionName: Inv... | https://github.com/ClickHouse/ClickHouse/issues/60747 | https://github.com/ClickHouse/ClickHouse/pull/60748 | 6fa2d4a199919dbedde6fe12d593eea6f47181f2 | 71029373f25c80a8e8ac1ab7d8f0d5a8b49d778d | 2024-03-04T08:51:02Z | c++ | 2024-03-04T16:04:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,726 | ["src/DataTypes/getLeastSupertype.cpp", "tests/queries/0_stateless/03003_enum_and_string_compatible.reference", "tests/queries/0_stateless/03003_enum_and_string_compatible.sql"] | Enum and String types should be compatible | **Use case**
```
milovidov-desktop :) WITH 'Hello'::Enum8('Hello', 'World') AS enum SELECT [enum, 'Goodbye']
WITH CAST('Hello', 'Enum8(\'Hello\', \'World\')') AS enum
SELECT [enum, 'Goodbye']
Query id: 4152f5df-df8f-4570-8a47-8fe38e76b439
Elapsed: 0.022 sec.
Received exception:
Code: 386. DB::Excep... | https://github.com/ClickHouse/ClickHouse/issues/60726 | https://github.com/ClickHouse/ClickHouse/pull/60727 | ce6dec65cf20b4df756a9dc2fc63d655a634cf47 | 0d3271e54829fa7924a706ec5c85645668f5e6ca | 2024-03-03T21:41:31Z | c++ | 2024-03-04T15:58:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,653 | ["src/Functions/FunctionBinaryArithmetic.h", "src/Functions/IsOperation.h", "tests/queries/0_stateless/03002_int_div_decimal_with_date_bug.reference", "tests/queries/0_stateless/03002_int_div_decimal_with_date_bug.sql"] | Logical error: IntDiv with decimal + date | Source report: https://s3.amazonaws.com/clickhouse-test-reports/0/1b042be13b68c3c0f1a99a22115bd71e003d90a9/ast_fuzzer__asan_.html
Simplest repo:
```
SELECT intDiv(CAST('1.0', 'Decimal256(3)'), today())
```
```
<Fatal> : Logical error: 'Arguments of 'intDiv' have incorrect data types: 'CAST('1.0', 'Decimal256(... | https://github.com/ClickHouse/ClickHouse/issues/60653 | https://github.com/ClickHouse/ClickHouse/pull/60672 | 705311edb99681459606e31f58a760c43374b38d | d93dd98b66ee8e44b0c99a0064fa68d98d93c7e9 | 2024-03-01T15:15:52Z | c++ | 2024-03-05T12:41:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,495 | ["src/Functions/array/FunctionArrayMapped.h", "tests/queries/0_stateless/03001_bad_error_message_higher_order_functions.reference", "tests/queries/0_stateless/03001_bad_error_message_higher_order_functions.sh"] | Misleading error message of SIZES_OF_ARRAYS_DONT_MATCH | Hello! In recent Clickhouse versions this error is misleading (especially on large queries):
```sql
SELECT arrayMap((x,y) -> x + y, [1,2,3], [1,2])
```
> Received exception from server (version 24.2.1):
Code: 190. DB::Exception: Received from localhost:9000. DB::Exception: Arrays passed to arrayMap must have e... | https://github.com/ClickHouse/ClickHouse/issues/60495 | https://github.com/ClickHouse/ClickHouse/pull/60518 | 7f4d16e168d39277f8e1af386bd5188e2185d362 | 60be9f30a25ee0a270676f132c53f0b4a1934c9f | 2024-02-28T13:45:52Z | c++ | 2024-03-03T01:06:44Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,366 | ["src/Functions/DateTimeTransforms.h", "tests/queries/0_stateless/02956_fix_to_start_of_milli_microsecond.reference", "tests/queries/0_stateless/02956_fix_to_start_of_milli_microsecond.sql"] | toStartOfInterval returns wrong result when interval is in miliseconds | The following two queries return different values with Clickhouse server 24.1
`select toStartOfInterval(toDateTime64('2015-01-01 00:01:34', 9), interval 100000 MILLISECONDS)`
`select toStartOfInterval(toDateTime64('2015-01-01 00:01:34', 9), interval 100 second)`
https://fiddle.clickhouse.com/00959742-a277-4ff9-9c3... | https://github.com/ClickHouse/ClickHouse/issues/60366 | https://github.com/ClickHouse/ClickHouse/pull/60763 | 7989e9dc70895edd1db07f36b3918c9c538fd023 | 2eb7fa297b5e3ab1656bc1560990fe6bf1e66ed6 | 2024-02-23T19:08:51Z | c++ | 2024-03-06T12:55:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,301 | ["docs/en/sql-reference/table-functions/merge.md", "src/TableFunctions/TableFunctionMerge.cpp", "tests/queries/0_stateless/01902_table_function_merge_db_params.reference", "tests/queries/0_stateless/01902_table_function_merge_db_params.sql"] | Single-argument version for the `merge` table function | **Use case**
```
clickhouse-cloud :) SELECT check_name, count() FROM merge('^text_log_') WHERE pull_request_number = 58640 AND commit_sha = 'a680fcb1f7389340b46cc38c555cc83e1a68e955' GROUP BY check_name
SELECT
check_name,
count()
FROM merge('^text_log_')
WHERE (pull_request_number = 58640) AND (commi... | https://github.com/ClickHouse/ClickHouse/issues/60301 | https://github.com/ClickHouse/ClickHouse/pull/60372 | 795c1a98dcf1b9c955fa76d1750ba4cc3a004b7c | 1a9ee8c31886e5501b54fc853aaa6e065b221b6a | 2024-02-22T13:26:47Z | c++ | 2024-02-26T12:43:04Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,232 | ["tests/queries/0_stateless/02998_analyzer_prewhere_report.reference", "tests/queries/0_stateless/02998_analyzer_prewhere_report.sql"] | New analyzer: createColumn() is not implemented for data type Function | Repro: https://fiddle.clickhouse.com/11e6f54d-a716-4adc-a643-ea7ba068a4f8
```sql
create table hits (date Date, data Array(UInt32)) engine=MergeTree PARTITION BY toYYYYMM(date) ORDER BY date;
insert into hits values('2024-01-01', [1, 2, 3])
select
hits.date,
arrayFilter(x -> x in (2, 3), data) as fil... | https://github.com/ClickHouse/ClickHouse/issues/60232 | https://github.com/ClickHouse/ClickHouse/pull/60244 | 5c967c44de6238dea9b1a49309e014b4cb2b758e | 56f7ee740abfb2db629f3943e6ae24e06c398c73 | 2024-02-21T15:22:53Z | c++ | 2024-02-26T11:00:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,163 | ["src/IO/S3/Client.cpp", "tests/queries/0_stateless/02966_s3_access_key_id_restriction.reference", "tests/queries/0_stateless/02966_s3_access_key_id_restriction.sql"] | S3 Error: Access key id has an invalid character after Udating to 24.1 - clickhouse won't startup anymore | After upgrading our intance of clickhouse version 23.7.5.30 to the current 24.1 release clickhouse hangs dureing startup and terminates his startup routine.
Some investigation brought us to the the result, that something shoul be wrong with the S3 connection to our minio service
`Code: 36. DB::Exception: Access... | https://github.com/ClickHouse/ClickHouse/issues/60163 | https://github.com/ClickHouse/ClickHouse/pull/60181 | 9abd28625f138feb663fc8ef479a3022c49a4cbf | 946d65dbdc1d5086e6f46fbfca6e2525a14d792a | 2024-02-20T08:10:22Z | c++ | 2024-02-20T11:34:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,152 | ["docs/en/sql-reference/functions/bit-functions.md", "docs/en/sql-reference/functions/string-functions.md", "src/Functions/substring.cpp", "tests/queries/0_stateless/01033_function_substring.reference", "tests/queries/0_stateless/01033_function_substring.sql", "utils/check-style/aspell-ignore/en/aspell-dict.txt"] | Implement PostgreSQL `get_byte` function | **Use case**
trying to make UDF of UUIDv1 parser, there's some [solution](https://stackoverflow.com/questions/24178485/cast-or-extract-timestamp-from-v1-uuid-in-postgresql) that uses postgre's [get_byte](https://www.postgresql.org/docs/9.0/functions-binarystring.html), and I believe it would be quite useful
**Des... | https://github.com/ClickHouse/ClickHouse/issues/60152 | https://github.com/ClickHouse/ClickHouse/pull/60494 | 4171ede55612529db585d1d82a932d6c5eafb154 | ed215a293afd78a635a71520b21c99a067296b17 | 2024-02-19T17:04:23Z | c++ | 2024-03-01T10:23:22Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 60,017 | ["src/Functions/FunctionSQLJSON.h", "tests/queries/0_stateless/03003_sql_json_nonsense.reference", "tests/queries/0_stateless/03003_sql_json_nonsense.sql"] | Use of uninitialized value in DB::FunctionSQLJSONHelpers::Executor | Happened here: https://s3.amazonaws.com/clickhouse-test-reports/59563/ea89154f9f112411066eae617883c50cb741faa7/ast_fuzzer__msan_.html
```
==238==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x55a8ff54436b in DB::FunctionSQLJSONHelpers::Executor<DB::NameJSONValue, DB::JSONValueImpl<DB::SimdJSONPars... | https://github.com/ClickHouse/ClickHouse/issues/60017 | https://github.com/ClickHouse/ClickHouse/pull/60738 | 558cde5e80b3cd4d3b9033e0980841758ff7159e | bc0cf836685689843f36b1647e8d76e83cceb441 | 2024-02-15T09:56:03Z | c++ | 2024-03-04T15:57:50Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,891 | ["tests/queries/0_stateless/03002_analyzer_prewhere.reference", "tests/queries/0_stateless/03002_analyzer_prewhere.sql"] | Analyzer: Invalid move to PREWHERE optimization. Cannot find column __table1.j in output | **Describe the bug**
https://s3.amazonaws.com/clickhouse-test-reports/59121/e522e23ce86b92c0b9765687cda8153a1f8ccd42/ast_fuzzer__asan_.html
**How to reproduce**
```sql
SET max_threads = 16, receive_timeout = 10., receive_data_timeout_ms = 10000, allow_suspicious_low_cardinality_types = true, enable_positional_a... | https://github.com/ClickHouse/ClickHouse/issues/59891 | https://github.com/ClickHouse/ClickHouse/pull/60657 | 7bfdc3d6db3d521fe388e8d276e8951ffb7c6b25 | 9c4b15c1c104c94ddfd5fae453e45af86b5e4587 | 2024-02-12T13:56:30Z | c++ | 2024-03-03T17:25:39Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,749 | ["docs/en/sql-reference/functions/string-search-functions.md", "src/Functions/countMatches.h", "tests/queries/0_stateless/01595_countMatches.reference", "tests/queries/0_stateless/01595_countMatches.sql", "utils/check-style/aspell-ignore/en/aspell-dict.txt"] | Logical error in `countMatches` found by AST Fuzzer | https://s3.amazonaws.com/clickhouse-test-reports/59563/a740fc7835ff54bda95c322d9d19e31349144d8e/ast_fuzzer__tsan_.html
```sql
SELECT (39.08935546874999, 57.25528054528888), countMatches(toFixedString(materialize('foo'), 3), toFixedString(toFixedString('[f]{0}', 6), 6)) GROUP BY jumpConsistentHash(42, 57)
```
`... | https://github.com/ClickHouse/ClickHouse/issues/59749 | https://github.com/ClickHouse/ClickHouse/pull/59752 | 0b0b273157d4ee322e36475d644be3c95c0c0bac | ddaef8d34280cb809c6fda0625b02266b84a23c4 | 2024-02-08T10:18:10Z | c++ | 2024-02-15T09:02:48Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,729 | ["docs/en/sql-reference/aggregate-functions/reference/simplelinearregression.md"] | Parameter names description in simpleLinearRegression may be incorrect | **Describe the issue**
Hi 👋
In the documentation for simpleLinearRegression function the parameter names a little confusing to me. From the documentation:
`simpleLinearRegression(x, y)`
```
Parameters:
x — Column with dependent variable values.
y — Column with explanatory variable values.
```
This ... | https://github.com/ClickHouse/ClickHouse/issues/59729 | https://github.com/ClickHouse/ClickHouse/pull/60235 | 33cd7c25b10d9137bbc8cf9316cf7c4182708e5b | 5d6bc6f566f09d1cd2ecf414bbb74222ffffa6bd | 2024-02-07T17:08:51Z | c++ | 2024-02-21T16:47:00Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,727 | ["src/Storages/MergeTree/MergeTreeIndexMinMax.cpp", "tests/queries/0_stateless/02985_minmax_index_aggregate_function.reference", "tests/queries/0_stateless/02985_minmax_index_aggregate_function.sql"] | Minmax index on aggregate function breaks merges for table | > Please make sure that the version you're using is still supported
23.10.5.20
> You have to provide the following information whenever possible.
**Describe what's wrong**
minmax index on aggregate function causes broken merges
table column
```sql
`avg_time` AggregateFunction(avgWeighted, Int64, UInt64... | https://github.com/ClickHouse/ClickHouse/issues/59727 | https://github.com/ClickHouse/ClickHouse/pull/59733 | 69e118e58734aa822f86d33c3596310509af3c42 | b4449535c28527488b47689dcead205523ea9f01 | 2024-02-07T15:24:07Z | c++ | 2024-02-09T18:39:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,625 | ["src/Interpreters/HashJoin.cpp"] | Is it wrong in `joinRightColumnsSwitchNullability` ? | > Make sure to check documentation https://clickhouse.com/docs/en/ first. If the question is concise and probably has a short answer, asking it in [community Slack](https://join.slack.com/t/clickhousedb/shared_invite/zt-1gh9ds7f4-PgDhJAaF8ad5RbWBAAjzFg) is probably the fastest way to find the answer. For more complicat... | https://github.com/ClickHouse/ClickHouse/issues/59625 | https://github.com/ClickHouse/ClickHouse/pull/60259 | e1e92e5547333ea5e319e3ad5a8efd640b55f743 | f07f438fe68f6205762b0ff93f315eaa413d33c1 | 2024-02-06T06:36:40Z | c++ | 2024-03-04T09:32:26Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,437 | ["tests/queries/0_stateless/02996_analyzer_prewhere_projection.reference", "tests/queries/0_stateless/02996_analyzer_prewhere_projection.sql"] | Fuzzer assertion `Logical error: 'Invalid move to PREWHERE optimization. Cannot find column k in output'.` | (you don't have to strictly follow this form)
**Describe the bug**
A link to the report https://s3.amazonaws.com/clickhouse-test-reports/59337/74aa3d638ef54c40c5fa617abe22413eda323c8e/ast_fuzzer__asan_/report.html
**How to reproduce**
Found in https://github.com/ClickHouse/ClickHouse/pull/59337 | https://github.com/ClickHouse/ClickHouse/issues/59437 | https://github.com/ClickHouse/ClickHouse/pull/60191 | 946c2855c44e832aa25a634e16bf7c668036e007 | 9c5487c7d276c75135ef8297ab183a0b6ef1249b | 2024-01-31T15:36:58Z | c++ | 2024-02-21T09:45:36Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,418 | ["src/Processors/QueryPlan/ReadFromSystemNumbersStep.cpp", "tests/integration/test_storage_numbers/test.py"] | numbers(xx) read more rows, than it was before | **Describe the situation**
Just not to forget.
https://github.com/ClickHouse/ClickHouse/pull/50909#issuecomment-1869094989
**How to reproduce**
https://fiddle.clickhouse.com/87861a7b-30c4-45c2-862e-07cdfb63588d
23.11
```
"rows_before_limit_at_least": 65409,
"statistics":
{
"elapsed": 0.002581122,
... | https://github.com/ClickHouse/ClickHouse/issues/59418 | https://github.com/ClickHouse/ClickHouse/pull/60546 | 5e597228d752fce13c554214359586eb2990524a | 9e7894d8cbf4ea08657326083cf677699ed0be12 | 2024-01-31T10:55:16Z | c++ | 2024-03-07T08:38:07Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,342 | ["src/Storages/System/StorageSystemTables.cpp", "tests/queries/0_stateless/02841_not_ready_set_bug.sh"] | Not-ready Set is passed as the second argument for function 'in' | ```
SELECT *
FROM information_schema.TABLES
WHERE exists((
SELECT 1
))
```
```
Received exception from server (version 23.12.2):
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Not-ready Set is passed as the second argument for function 'in': while executing 'FUNCTION in(1 :: 0, _su... | https://github.com/ClickHouse/ClickHouse/issues/59342 | https://github.com/ClickHouse/ClickHouse/pull/59351 | 2a1cbc2db4796c074bcb4fd82ab79d82f47de5b7 | de341a6d6ec26a580b6a4910861f6099b1de9baa | 2024-01-29T15:43:40Z | c++ | 2024-01-30T02:59:18Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,165 | ["docs/en/operations/settings/settings.md", "src/Core/Settings.h", "src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/queries/0_stateless/02972_insert_deduplication_token_hierarchical_inserts.reference", "tests/queries/0_stateless/02972_insert_deduplication_token_hierarchical_inserts.sql"] | MV deduplication not working as expected when passing `insert_deduplication_token` | We are trying to emulate transactions (or to be able to have idempotent inserts) by using deduplication so we can safely retry inserts on failure. We can generate a static block of rows and assign a `$insertion_id` to each one. Having that set up and passing the following settings, we can retry inserts that have partia... | https://github.com/ClickHouse/ClickHouse/issues/59165 | https://github.com/ClickHouse/ClickHouse/pull/59238 | bd83830ceafe2637279f61a482077189b83ba25c | a51aa7b6683ec58d93aab797c1a71d5ebb2460fd | 2024-01-24T14:49:54Z | c++ | 2024-01-29T11:52:06Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,126 | ["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02972_to_string_nullable_timezone.reference", "tests/queries/0_stateless/02972_to_string_nullable_timezone.sql"] | crash in toString(ts, Nullable('UTC')) with nullable timezone |
**How to reproduce**
```sql
SELECT toString(now(), materialize(CAST('UTC', 'Nullable(String)')))
Query id: 496dc875-ed87-4f84-808e-03f3413a2774
[1] 8652 abort clickhouse-local -mn
```
| https://github.com/ClickHouse/ClickHouse/issues/59126 | https://github.com/ClickHouse/ClickHouse/pull/59190 | 10d4f1fd87520b7fedd9c78d5523853d42b83bf0 | 0cbadc9b52f5e728a397b3081c6887c0f4213856 | 2024-01-23T15:22:12Z | c++ | 2024-01-26T12:33:12Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 59,039 | ["src/Storages/MergeTree/MutateTask.cpp", "tests/queries/0_stateless/02346_inverted_index_bug59039.reference", "tests/queries/0_stateless/02346_inverted_index_bug59039.sql"] | Can't remove index files from datapart using the drop index statement. | **Describe what's wrong**
Can't remove index files from `datapart` using the `drop index` statement.
Theoretically, the `alter drop index` statement should trigger a mutation, which in the new `datapart` would remove the related `skip-index` files. However, when I delete `inverted` indexes from the table, I found t... | https://github.com/ClickHouse/ClickHouse/issues/59039 | https://github.com/ClickHouse/ClickHouse/pull/59040 | 8ddda0caf0cb13e8c6ad066146ec4fe8d147368f | 2cfcaf8ff4d8051ef0eb58cd12f7991f5c8930c7 | 2024-01-22T03:51:16Z | c++ | 2024-01-29T19:39:56Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,997 | ["tests/queries/0_stateless/02969_functions_to_subcolumns_if_null.reference", "tests/queries/0_stateless/02969_functions_to_subcolumns_if_null.sql"] | If(Int64 IS NULL, ...) wrong data type assumed with `allow_experimental_analyzer = 1, optimize_functions_to_subcolumns = 1` | **Does it reproduce on recent release?**
Yes, 24.1
https://fiddle.clickhouse.com/ace1ecdf-83eb-4350-95a2-489c43a113b1
```
SELECT
sum(multiIf(id IS NULL, 1, 0)) -- same for case/if
FROM test
SETTINGS allow_experimental_analyzer = 1, optimize_functions_to_subcolumns = 1;
Received exception from server (ve... | https://github.com/ClickHouse/ClickHouse/issues/58997 | https://github.com/ClickHouse/ClickHouse/pull/58999 | 0951cf8d647e2c4bbb915056cf15dc47ff29e1d0 | b1fdc8a2b78a843b6b756c9c3e9b1405dfc3ce16 | 2024-01-19T14:08:10Z | c++ | 2024-01-20T08:22:56Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,885 | ["docs/changelogs/v23.9.1.1854-stable.md"] | Skipping index of Bloom filter for IPv6 type stops working after upgrade from 22.6 to 23.12 | On ClickHouse 22.6:
```
CREATE TABLE test
(
`ip` IPv6,
INDEX index_ip_bloom_filter ip TYPE bloom_filter GRANULARITY 5
)
ENGINE = MergeTree
ORDER BY tuple()
SETTINGS index_granularity = 8192
insert into test select concat('::ffff:', IPv4NumToString(toUInt32(rand(number)%20+180000000))) from system.... | https://github.com/ClickHouse/ClickHouse/issues/58885 | https://github.com/ClickHouse/ClickHouse/pull/59127 | 6e1465af10cd217dab31619f9e63398a2685223a | aa5e4b418beef41a3cfacadf3a0130c0fd634ef7 | 2024-01-16T23:09:43Z | c++ | 2024-01-23T16:00:44Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,848 | ["src/Common/AsyncLoader.cpp"] | I've noticed this message in server logs, but it is stupid | ```
Processed: inf%
``` | https://github.com/ClickHouse/ClickHouse/issues/58848 | https://github.com/ClickHouse/ClickHouse/pull/58849 | ed1221ef4c1f1786203fd763ac81c3cad4f6fbd1 | ae1e19f42b912b01149003681575faaa3b178186 | 2024-01-16T08:43:29Z | c++ | 2024-01-17T10:58:11Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,822 | ["src/DataTypes/DataTypesNumber.cpp", "tests/queries/0_stateless/02969_mysql_cast_type_aliases.reference", "tests/queries/0_stateless/02969_mysql_cast_type_aliases.sql"] | MySQL compatibility: support CAST AS SIGNED | **Use case**
Certain queries generated by Looker Studio do the following:
```sql
SELECT CAST(DATE_FORMAT(CAST(DATE_FORMAT(time, '%Y-%m-%d %H:%i:%s') AS DATETIME), '%w') AS SIGNED) AS qt_duv6kvlmdd,
COUNT(1) AS qt_jxd1bulmd... | https://github.com/ClickHouse/ClickHouse/issues/58822 | https://github.com/ClickHouse/ClickHouse/pull/58954 | 09e24ed6c5bc1d36ffdb4ba7fefc9d22900b0d98 | 6f4c0925ab399fc248fec1b89ed6393bcf6978f0 | 2024-01-15T13:58:22Z | c++ | 2024-01-23T06:01:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,719 | ["src/Interpreters/InterpreterCreateQuery.cpp", "tests/queries/0_stateless/02973_dictionary_table_exception_fix.reference", "tests/queries/0_stateless/02973_dictionary_table_exception_fix.sql"] | A better exception message while conflict of creating dictionary and table with the same name | (you don't have to strictly follow this form)
**Describe the issue**
I expect to see more clear exception messages in the case when creating a dictionary with the same name as a table we have. Old exception: `Code: 387. DB::Exception: Received from localhost:9000. DB::Exception: Dictionary default.n already exists.... | https://github.com/ClickHouse/ClickHouse/issues/58719 | https://github.com/ClickHouse/ClickHouse/pull/58841 | 69a1935a3e27a21c071d9821f01950bd1f887c6c | 5ba82eed81931f637183c741319ac221938eb535 | 2024-01-11T14:55:44Z | c++ | 2024-01-29T21:41:06Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,714 | ["src/Interpreters/InterpreterSelectQuery.cpp", "src/Planner/Planner.cpp", "tests/queries/0_stateless/02962_parallel_window_functions_different_partitioning.reference", "tests/queries/0_stateless/02962_parallel_window_functions_different_partitioning.sql"] | Wrong result in window function starting from 23.11 | **Describe what's wrong**
I have following table:
```sql
CREATE TABLE empsalary
(
`depname` LowCardinality(String),
`empno` UInt64,
`salary` Int32,
`enroll_date` Date
)
ENGINE = MergeTree
ORDER BY enroll_date;
insert into empsalary values ('develop',11,5200,2007-08-15), ('sales',3,480... | https://github.com/ClickHouse/ClickHouse/issues/58714 | https://github.com/ClickHouse/ClickHouse/pull/58739 | e2ddaa99e242ac154169c71d268d503bbc9c46cb | 3b1d72868398a5771aa32ec13e25437fe83062d8 | 2024-01-11T12:14:04Z | c++ | 2024-01-12T15:36:53Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,593 | ["src/Storages/MergeTree/MergeTreeIndexSet.cpp", "tests/queries/0_stateless/02962_analyzer_constant_set.reference", "tests/queries/0_stateless/02962_analyzer_constant_set.sql"] | [Analyzer] Set index: Cannot get value from Set (parallel_index test) | From perf tests (parallel_index):
```sql
create table test_parallel_index (x UInt64, y UInt64, z UInt64, INDEX a (y) TYPE minmax GRANULARITY 2,
INDEX b (z) TYPE set(8) GRANULARITY 2) engine = MergeTree order by x partition by bitAnd(x, 63 * 64) settings index_granularity = 4;
insert into test_parallel... | https://github.com/ClickHouse/ClickHouse/issues/58593 | https://github.com/ClickHouse/ClickHouse/pull/58657 | d10a6e91af82c470b675482bb4955e55ef9097ca | 211c285a0bfc7c7da4e286144766c667ca4fcdd3 | 2024-01-08T09:42:25Z | c++ | 2024-01-13T18:23:28Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,590 | ["src/Functions/makeDate.cpp", "tests/queries/0_stateless/02245_make_datetime64.reference", "tests/queries/0_stateless/02245_make_datetime64.sql"] | makeDateTime64 only accepts constant fraction | **Describe what's wrong**
The function `makeDateTime64` only accepts constant fractions-of-a-second
https://fiddle.clickhouse.com/8656706e-975f-49bd-b653-17cbb4e4360b
```
SELECT makeDateTime64(1970, 1, 1, 12, 0, 0, rand(), 9, 'UTC');
Received exception from server (version 23.12.2):
Code: 44. DB::Exception:... | https://github.com/ClickHouse/ClickHouse/issues/58590 | https://github.com/ClickHouse/ClickHouse/pull/58597 | 21e4e0537d6d0dcb65291caef25a740d54c060cd | 22a0e085b7e2518ffbf0ab5a1171fcfa7d3d463d | 2024-01-08T01:47:49Z | c++ | 2024-01-09T11:17:12Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,451 | ["src/Processors/Merges/Algorithms/Graphite.h", "tests/config/config.d/graphite_alternative.xml", "tests/queries/0_stateless/02910_replicated_merge_parameters_must_consistent.sql"] | Segfault during startup after upgrading to 23.12.1.1368 | Hello,
we are using CH solely as a backend for Graphite Clickhouse [https://github.com/go-graphite/graphite-clickhouse](url), in a 14 node cluster (7 shards with 2 replicas), running on Debian 10. After upgrading from version 23.11.2.11 to version 23.12.1.1368, we get a segfault during startup of clickhouse-server. Up... | https://github.com/ClickHouse/ClickHouse/issues/58451 | https://github.com/ClickHouse/ClickHouse/pull/58453 | 971d030ec5adc5773c8fd69d5986ae0a97efe005 | 2593a566eb2d74640b1c9b569b6bb95c19c38325 | 2024-01-03T11:43:02Z | c++ | 2024-01-04T13:44:11Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,405 | ["src/Storages/Kafka/StorageKafka.cpp", "src/Storages/Kafka/StorageKafka.h", "tests/integration/test_storage_kafka/test.py"] | Materialized View Regression for Kafka input tables (23.12.1 version) | **Describe what's wrong**
We are using Kafka Engine table to ingest the data from Kafka to Clickhouse. Then we connect materialized view to it and store the results to target table. As we want to achieve first write wins strategy we need to check the target contents first to deduplicate incoming records. The fastest... | https://github.com/ClickHouse/ClickHouse/issues/58405 | https://github.com/ClickHouse/ClickHouse/pull/58477 | 9cfdff2ddb280b5db537d210e76e4a606878e460 | 3e1d7bf6853e029d7bba0a03742e5a95999362c3 | 2024-01-02T10:21:19Z | c++ | 2024-01-15T11:31:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,355 | ["src/Functions/format.cpp", "tests/queries/0_stateless/02956_format_constexpr.reference", "tests/queries/0_stateless/02956_format_constexpr.sql"] | `format` is not a constant expression | **Use case**
```
SELECT isConstant(format('{}, world', 'Hello'))
```
This should return 1. | https://github.com/ClickHouse/ClickHouse/issues/58355 | https://github.com/ClickHouse/ClickHouse/pull/58358 | 1d344026be3efd9e1d407b688ce1062ed709708f | ebd95586d223c28b87e257b71909e0970e47abd3 | 2023-12-29T17:50:47Z | c++ | 2023-12-30T11:34:56Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,283 | ["docs/en/sql-reference/aggregate-functions/reference/sparkbar.md", "src/AggregateFunctions/AggregateFunctionSparkbar.cpp", "tests/queries/0_stateless/02955_sparkBar_alias_sparkbar.reference", "tests/queries/0_stateless/02955_sparkBar_alias_sparkbar.sql"] | `sparkBar` as an alias to `sparkbar` | **Use case**
For some reason, I often write `sparkBar` by mistake. Maybe other people also do. | https://github.com/ClickHouse/ClickHouse/issues/58283 | https://github.com/ClickHouse/ClickHouse/pull/58335 | ef5837a00830338a0a27ea1eec78616125366c02 | 09181b6c3759b8f24a9a60a97c3204a557235b0f | 2023-12-28T09:50:09Z | c++ | 2023-12-29T12:02:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,241 | ["src/Functions/transform.cpp", "tests/queries/0_stateless/02958_transform_enum.reference", "tests/queries/0_stateless/02958_transform_enum.sql"] | `transform` does not work for `Enum` | ```
milovidov-desktop :) WITH arrayJoin(['Hello', 'world'])::Enum('Hello', 'world') AS x SELECT transform(x, ['Hello', 'world'], [123, 456], 0)
Received exception:
Code: 43. DB::Exception: First argument and elements of array of the second argument of function transform must have compatible types: While processing... | https://github.com/ClickHouse/ClickHouse/issues/58241 | https://github.com/ClickHouse/ClickHouse/pull/58360 | c0290d1cfde7a7df26d2eba6ab003bac5db9220b | 1d344026be3efd9e1d407b688ce1062ed709708f | 2023-12-27T11:32:04Z | c++ | 2023-12-30T11:32:49Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,180 | ["src/Formats/registerFormats.cpp", "src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp", "tests/queries/0_stateless/02951_data.jsonl.zst", "tests/queries/0_stateless/02951_parallel_parsing_json_compact_each_row.reference", "tests/queries/0_stateless/02951_parallel_parsing_json_compact_each_row.sh"] | Parallel parsing does not work for `JSONCompactEachRow` | **Describe the unexpected behaviour**
```
SELECT sum(ignore(*)) FROM file('194510.data.jsonl', JSONCompactEachRow, '
time_offset Decimal64(3),
lat Float64,
lon Float64,
altitude String,
ground_speed Float32,
track_degrees Float32,
... | https://github.com/ClickHouse/ClickHouse/issues/58180 | https://github.com/ClickHouse/ClickHouse/pull/58181 | d4c7462eef38747209959b276c40cf6700d78d92 | ff6419361a6c68cab35f30d1e6aaf4042122166e | 2023-12-23T05:04:32Z | c++ | 2023-12-23T09:16:40Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,172 | ["src/Storages/MergeTree/RPNBuilder.cpp", "tests/queries/0_stateless/02962_indexHint_rpn_construction.reference", "tests/queries/0_stateless/02962_indexHint_rpn_construction.sql"] | Segfault in `MergeTreeIndexConditionBloomFilter::alwaysUnknownOrTrue()` | ERROR: type should be string, got "https://s3.amazonaws.com/clickhouse-test-reports/58051/bbd7bc0dd9c31b2af69ca42ea19b78e830e39bc3/fuzzer_astfuzzerasan/report.html\r\n\r\n```sql\r\nCREATE TABLE tab\r\n(\r\n `foo` Array(LowCardinality(String)),\r\n INDEX idx foo TYPE bloom_filter GRANULARITY 1\r\n)\r\nENGINE = MergeTree\r\nPRIMARY KEY tuple();\r\n\r\nINSERT INTO tab SELECT if(number % 2, ['value'], [])\r\nFROM system.numbers\r\nLIMIT 10000;\r\n\r\nset allow_experimental_analyzer = 1;\r\n\r\nSELECT *\r\nFROM tab\r\nPREWHERE indexHint(indexHint(-1, 0.))\r\nWHERE has(foo, 'b');\r\n```\r\n\r\nException on client:\r\n```\r\nCode: 32. DB::Exception: Attempt to read after eof: while receiving packet from localhost:9000. (ATTEMPT_TO_READ_AFTER_EOF)\r\n\r\n1477758:2023.12.22 20:18:13.397693 [ 159142 ] {} <Fatal> BaseDaemon: ########## Short fault info ############\r\n1477759:2023.12.22 20:18:13.398066 [ 159142 ] {} <Fatal> BaseDaemon: (version 23.12.1.1, build id: 0EDF26E5AAE6D47134D8EF2DB475537CA0F237A7, git hash: b8d274d070b89bdfee578492f8210cd96859fdd8) (from thread 28612) Received signal 11\r\n1477760:2023.12.22 20:18:13.407030 [ 159142 ] {} <Fatal> BaseDaemon: Signal description: Segmentation fault\r\n1477761:2023.12.22 20:18:13.407289 [ 159142 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: read. Unknown si_code.\r\n1477762:2023.12.22 20:18:13.407505 [ 159142 ] {} <Fatal> BaseDaemon: Stack trace: 0x000000001236e0eb 0x000000001f0d115f 0x000000002018772c 0x0000000020185f1b 0x0000000020237d2a 0x000000002015c671 0x000000002015c113 0x000000001d88b0e6 0x000000001d88add1 0x000000001dedb1d6 0x000000001ded60de 0x000000001f7ba2e0 0x000000001f7cf872 0x00000000245f0299 0x00000000245f0ae8 0x00000000247f66a1 0x00000000247f2e9a 0x00000000247f18f5 0x00007f26214e29eb 0x00007f26215667cc\r\n1477763:2023.12.22 20:18:13.407825 [ 159142 ] {} <Fatal> BaseDaemon: ########################################\r\n1477764:2023.12.22 20:18:13.412282 [ 159142 ] {} <Fatal> BaseDaemon: (version 23.12.1.1, build id: 0EDF26E5AAE6D47134D8EF2DB475537CA0F237A7, git hash: b8d274d070b89bdfee578492f8210cd96859fdd8) (from thread 28612) (query_id: 6f0874e5-9c4d-498a-9fa7-fa0ccf9b6e5e) (query: SELECT * FROM tab PREWHERE indexHint(indexHint(-1, 0.)) WHERE has(foo, 'b')) Received signal Segmentation fault (11)\r\n1477765:2023.12.22 20:18:13.412819 [ 159142 ] {} <Fatal> BaseDaemon: Address: NULL pointer. Access: read. Unknown si_code.\r\n1477766:2023.12.22 20:18:13.413178 [ 159142 ] {} <Fatal> BaseDaemon: Stack trace: 0x000000001236e0eb 0x000000001f0d115f 0x000000002018772c 0x0000000020185f1b 0x0000000020237d2a 0x000000002015c671 0x000000002015c113 0x000000001d88b0e6 0x000000001d88add1 0x000000001dedb1d6 0x000000001ded60de 0x000000001f7ba2e0 0x000000001f7cf872 0x00000000245f0299 0x00000000245f0ae8 0x00000000247f66a1 0x00000000247f2e9a 0x00000000247f18f5 0x00007f26214e29eb 0x00007f26215667cc\r\n\r\n```\r\n\r\ncc: @zhang2014, @novikd " | https://github.com/ClickHouse/ClickHouse/issues/58172 | https://github.com/ClickHouse/ClickHouse/pull/58875 | 2f68086db81d6d79b65e135b2f2bc0ed4ce3c098 | a5e0be484a8589a33e715da3b1633f279f37dffe | 2023-12-22T19:20:08Z | c++ | 2024-01-17T11:24:28Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,149 | ["src/Common/ICachePolicyUserQuota.h", "src/Common/TTLCachePolicy.h", "tests/queries/0_stateless/02494_query_cache_user_quotas_after_drop.reference", "tests/queries/0_stateless/02494_query_cache_user_quotas_after_drop.sql"] | is query_cache_max_entries working? | version 23.11.3.23
This one is a bit odd. I swear I saw it working ONCE, but never after this again. Restarting clickhouse-server doesn't help. I hope this is reproducible this way:
```sql
system drop query cache;
set query_cache_max_entries = 0; -- default setting
select 1 settings use_query_cache=1;
selec... | https://github.com/ClickHouse/ClickHouse/issues/58149 | https://github.com/ClickHouse/ClickHouse/pull/58731 | 1d34f4a3047323f43675b3a11ddf60b2b5ac3ee8 | 9146391e4810990146dfaf864262546587f394cf | 2023-12-22T13:53:50Z | c++ | 2024-01-16T16:14:45Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,096 | ["docs/en/sql-reference/functions/tuple-functions.md", "src/Functions/array/arrayDistance.cpp", "src/Functions/array/arrayDotProduct.cpp", "src/Functions/array/arrayScalarProduct.h", "tests/performance/dotProduct.xml", "tests/performance/norm_distance.xml", "tests/queries/0_stateless/02708_dotProduct.reference", "tests... | `dotProduct` is not optimized for vector Similarity | ## Background
Vector similarity is very popular right now, and ClickHouse has a few tutorials about this [Source](https://clickhouse.com/blog/approximate-nearest-neighbour-ann-with-sql-powered-local-sensitive-hashing-lsh-random-projections). Regarding distances between vectors, they mention the most common ones:
... | https://github.com/ClickHouse/ClickHouse/issues/58096 | https://github.com/ClickHouse/ClickHouse/pull/60202 | 659d960990a1d7dfba0e8004e2f4dde8fa79c22d | 2d2acd6bf999a25b2cd1f3e018935d2f40eb5bbb | 2023-12-20T20:47:02Z | c++ | 2024-02-22T10:19:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 58,080 | ["src/Analyzer/Utils.cpp", "src/Analyzer/Utils.h", "src/Interpreters/InterpreterSelectQueryAnalyzer.cpp"] | Query from `02479_race_condition_between_insert_and_droppin_mv` may get stuck | https://s3.amazonaws.com/clickhouse-test-reports/57906/e4a831be17f85e345c5c9cd8f00bd22b8e759692/stateless_tests__release__analyzer_.html
```
2023-12-15 21:11:56 Found hung queries in processlist:
2023-12-15 21:11:56 Row 1:
2023-12-15 21:11:56 ──────
2023-12-15 21:11:56 is_initial_query: 1
2023-12-15 21:11:5... | https://github.com/ClickHouse/ClickHouse/issues/58080 | https://github.com/ClickHouse/ClickHouse/pull/58958 | 7ae7086a2d67ab6db1e9f93b5001d456e9fa76cd | a2d7bcbd5f6908c308b665c53f88aab713c9a2df | 2023-12-20T16:13:21Z | c++ | 2024-01-25T08:25:50Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,987 | ["src/Interpreters/RequiredSourceColumnsVisitor.cpp", "tests/queries/0_stateless/02946_literal_alias_misclassification.reference", "tests/queries/0_stateless/02946_literal_alias_misclassification.sql"] | When literal alias matches subquery alias, 'Not found column xx in block' error occurs. | ```
CREATE TABLE test
(
`id` Int64,
`a` Nullable(String),
`b` Nullable(Int64)
)
ENGINE = MergeTree
ORDER BY id;
```
```
SELECT 'const' AS r, b
FROM
( SELECT a AS r, b FROM test) AS t1
LEFT JOIN
( SELECT a AS r FROM test) AS t2
ON t1.r = t2.r
ORDER BY b;
```
Code: 10. DB::Exc... | https://github.com/ClickHouse/ClickHouse/issues/57987 | https://github.com/ClickHouse/ClickHouse/pull/57988 | af32b33e934b1c7dbf7473afdc7da31a92f0d3c7 | 6830954cd3be914fd0854a7360604b9d73698149 | 2023-12-18T12:02:51Z | c++ | 2023-12-20T00:36:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,937 | ["src/Analyzer/Passes/LogicalExpressionOptimizerPass.cpp", "src/Analyzer/Passes/LogicalExpressionOptimizerPass.h", "src/Core/Settings.h", "tests/queries/0_stateless/02477_logical_expressions_optimizer_low_cardinality.reference", "tests/queries/0_stateless/02477_logical_expressions_optimizer_low_cardinality.sql", "tests... | notEquals(x, 1) AND notEquals(x, 2) AND notEquals(x, 3) chain rewrite to x NOT IN (1, 2, 3) | **Use case**
Optimization for long chain of `AND notEquals` condition, analogue for already existing `OR equals` optimization.
| https://github.com/ClickHouse/ClickHouse/issues/57937 | https://github.com/ClickHouse/ClickHouse/pull/58214 | 0e678fb6c1da1a7ccf305015298f68ec9897298e | 745d9bb47f3425e28e5660ed7c730038ffece4ee | 2023-12-16T01:31:35Z | c++ | 2023-12-27T14:51:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,902 | ["docs/en/operations/system-tables/server_settings.md", "src/Core/ServerSettings.h", "src/Storages/System/StorageSystemServerSettings.cpp"] | Mark every setting in ServerSettings as hot-reloadable or not. | **Use case**
In order not to restart the server each time for setting change ClickHouse support dynamic reload of the configuration.
But unfortunately not all the changes there can be applied at runtime. To make it more convenient for database operators let's expose the information whether a setting can be changed... | https://github.com/ClickHouse/ClickHouse/issues/57902 | https://github.com/ClickHouse/ClickHouse/pull/58029 | 06274c7bc641b10038a696549e384b756654ccea | 6665d23243fa0c5a063022b42892977036f766f3 | 2023-12-15T14:36:25Z | c++ | 2024-01-08T09:09:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,893 | ["programs/server/config.xml", "src/Formats/NativeWriter.cpp", "src/Storages/StorageMemory.cpp", "tests/queries/0_stateless/02973_backup_of_in_memory_compressed.reference", "tests/queries/0_stateless/02973_backup_of_in_memory_compressed.sh"] | Logical error "Bad cast from type DB::ColumnCompressed to DB::ColumnVector<unsigned long>" in upgrade check |
```
2023.12.14 16:56:19.205987 [ 23952 ] {7ba4d3d0-56b3-43f4-8a56-5825dee631ef} <Error> executeQuery: Code: 49. DB::Exception: Got error from localhost:9000. DB::Exception: Bad cast from type DB::ColumnCompressed to DB::ColumnVector<unsigned long>. Stack trace:
--
7. ./build_docker/./src/Backups/IBackupEntries... | https://github.com/ClickHouse/ClickHouse/issues/57893 | https://github.com/ClickHouse/ClickHouse/pull/59315 | a7483ec10b04e9d87fef33a59ebcce152e5286ea | 2cb2bcfbc3d1aee8edaaf2121502c875f9a28f22 | 2023-12-15T10:29:06Z | c++ | 2024-01-29T00:50:41Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,817 | ["src/Storages/StorageMerge.cpp", "src/Storages/StorageMerge.h", "tests/queries/0_stateless/02918_optimize_count_for_merge_tables.reference", "tests/queries/0_stateless/02918_optimize_count_for_merge_tables.sql"] | Support trivial count optimization for `Merge` tables | ```sql
DROP TABLE IF EXISTS mt1;
DROP TABLE IF EXISTS mt2;
DROP TABLE IF EXISTS merge;
CREATE TABLE mt1 (id UInt64) ENGINE = MergeTree ORDER BY id;
CREATE TABLE mt2 (id UInt64) ENGINE = MergeTree ORDER BY id;
CREATE TABLE merge (id UInt64) ENGINE = Merge(currentDatabase(), '^mt[0-9]+$');
INSERT INTO mt... | https://github.com/ClickHouse/ClickHouse/issues/57817 | https://github.com/ClickHouse/ClickHouse/pull/57867 | 787f1e7ab86ab4daee9148fcbea3caa305f67a90 | fc67d2c0e984098e492c1111c8b5e3c705a80e86 | 2023-12-13T14:46:53Z | c++ | 2023-12-17T09:45:21Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,816 | ["docs/en/sql-reference/functions/array-functions.md", "src/Functions/array/arrayFold.cpp", "tests/performance/array_fold.xml", "tests/queries/0_stateless/02718_array_fold.reference", "tests/queries/0_stateless/02718_array_fold.sql"] | arrayFold of arrayIntersect segfault | This little query breaks clickhouse. It works on arm64 macos local, it works on amd64 linux server, it works on fresh installed version.
```
$ clickhouse local
ClickHouse local version 23.12.1.457 (official build).
air.local :) SELECT arrayFold(acc, x -> arrayIntersect(acc, x), [['qwe', 'asd'], ['qwe','asde']],... | https://github.com/ClickHouse/ClickHouse/issues/57816 | https://github.com/ClickHouse/ClickHouse/pull/57836 | b721f027ae5c19603c6e7b08722ca5f5b6bc44e5 | e4901323fd857ec8e2337fa7314b481aca00ea44 | 2023-12-13T14:42:52Z | c++ | 2023-12-14T06:15:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,773 | ["src/Processors/Transforms/ColumnGathererTransform.cpp", "src/Processors/Transforms/ColumnGathererTransform.h", "src/Storages/MergeTree/MergeTask.cpp", "tests/queries/0_stateless/02981_vertical_merges_memory_usage.reference", "tests/queries/0_stateless/02981_vertical_merges_memory_usage.sql"] | Vertical merge could consume a lot of memory | See the stack trace with memory allocations.
https://pastila.nl/?0001d4ae/376da778773f6223011c64914c06ec3e#xGswcayE+r52tA2oBpGs6A==
Stack trace in short:
There are big allocations (up to 2,5Gb) happen in
```
Allocator<false, false>, 63ul, 64ul>::resize<>(unsigned long)
DB::ColumnString::insertRangeFrom(DB::ICo... | https://github.com/ClickHouse/ClickHouse/issues/57773 | https://github.com/ClickHouse/ClickHouse/pull/59340 | dfc761ce5f4ffd360c72c37a53ffe27eebe5d86f | 50532c485fdd28a22178aa1bcf38663399a894be | 2023-12-12T12:54:20Z | c++ | 2024-01-30T02:42:28Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,736 | ["src/Analyzer/Passes/QueryAnalysisPass.cpp", "src/Interpreters/replaceForPositionalArguments.cpp", "tests/queries/0_stateless/01162_strange_mutations.sh", "tests/queries/0_stateless/01798_having_push_down.sql", "tests/queries/0_stateless/02006_test_positional_arguments.reference", "tests/queries/0_stateless/02006_test... | Negative positional arguments. | **Use case**
`ORDER BY -1` means order by the last column in the SELECT list; negative numbers count from the end of the SELECT list. | https://github.com/ClickHouse/ClickHouse/issues/57736 | https://github.com/ClickHouse/ClickHouse/pull/57741 | b31b4c932f78c8ea4f65657f88d65b494de15db0 | 3d846800e0bdd94916ed8b8faf1c1bc7868ca933 | 2023-12-11T04:53:28Z | c++ | 2023-12-12T13:16:10Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,692 | ["src/Processors/Transforms/AggregatingTransform.cpp", "tests/queries/0_stateless/02941_projections_external_aggregation.reference", "tests/queries/0_stateless/02941_projections_external_aggregation.sql"] | Wrong result of external aggregation in case of partially materialized projection | Consider the following SQL script (based on test `01710_projections_partial_optimize_aggregation_in_order`):
```sql
DROP TABLE IF EXISTS in_order_agg_partial_01710;
CREATE TABLE in_order_agg_partial_01710
(
k1 UInt32,
k2 UInt32,
k3 UInt32,
value UInt32
)
ENGINE = MergeTree
ORDER BY tuple(... | https://github.com/ClickHouse/ClickHouse/issues/57692 | https://github.com/ClickHouse/ClickHouse/pull/57790 | b8d274d070b89bdfee578492f8210cd96859fdd8 | 82ebb5e2d1ea81834f8661eec1bf8635ee154f7b | 2023-12-08T18:42:21Z | c++ | 2023-12-13T21:56:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,686 | ["src/AggregateFunctions/AggregateFunctionSumMap.cpp", "tests/queries/0_stateless/02480_max_map_null_totals.reference", "tests/queries/0_stateless/02480_max_map_null_totals.sql"] | Wrong value of `TOTALS` in function `maxMap` | ```sql
SELECT maxMap([number % 3, (number % 4) - 1], [number, NULL])
FROM numbers(3)
GROUP BY number
WITH TOTALS
ORDER BY number ASC;
```
```
┌─maxMap(array(modulo(number, 3), minus(modulo(number, 4), 1)), array(number, NULL))─┐
│ ([-1,0],[0,0]) ... | https://github.com/ClickHouse/ClickHouse/issues/57686 | https://github.com/ClickHouse/ClickHouse/pull/57795 | 6abe4b113ac82e2260ee09f3bf02bed5507a42ec | c2f32f599426633a4451b8df35be120a5fde37a2 | 2023-12-08T15:58:15Z | c++ | 2023-12-13T09:31:15Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,623 | ["src/Interpreters/InterpreterCreateQuery.cpp", "src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/queries/0_stateless/02174_cte_scalar_cache_mv.reference", "tests/queries/0_stateless/02943_create_query_interpreter_sample_block_fix.reference", "tests/queries/0_stateless/02943_create_query_interpreter_samp... | Materialized view extractAll (and other string function) regression since CH 23.9 | **Describe the unexpected behaviour**
Function `extractAll` expects a const String as second parameters. When executing a query like this one, the output of the CTE is considered constant and everything works fine. But if that query is turned out into a MV the CTE's output is no considered constant anymore.
```sq... | https://github.com/ClickHouse/ClickHouse/issues/57623 | https://github.com/ClickHouse/ClickHouse/pull/57855 | b9408125cc91ecdc61a2dc09785e10fe61d62bd6 | 5290b3c9ce37fd8dc6c4fee091697b00cb48c9bd | 2023-12-07T15:39:22Z | c++ | 2023-12-18T16:22:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,516 | ["docs/en/sql-reference/functions/string-functions.md", "docs/en/sql-reference/functions/string-replace-functions.md", "src/Functions/concat.cpp", "src/Functions/concatWithSeparator.cpp", "src/Functions/format.cpp", "tests/queries/0_stateless/02935_format_with_arbitrary_types.reference", "tests/queries/0_stateless/0293... | Support arbitrary arguments in function `format()` | In the spirit of PR #56540, function [format()](https://clickhouse.com/docs/en/sql-reference/functions/string-functions#format) should support arguments of arbitrary type.
Basically make this work:
```sql
SELECT format('The {0} to all questions is {1}', 'answer', 42);
``` | https://github.com/ClickHouse/ClickHouse/issues/57516 | https://github.com/ClickHouse/ClickHouse/pull/57549 | 6213593206661d882adb984daf5a250a3cc2681e | c141dd1330b529396443909beb1acf123397e66d | 2023-12-05T12:25:34Z | c++ | 2023-12-11T11:33:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,458 | ["docs/en/sql-reference/functions/array-functions.md", "src/Functions/array/arrayFold.cpp", "tests/performance/array_fold.xml", "tests/queries/0_stateless/02718_array_fold.reference", "tests/queries/0_stateless/02718_array_fold.sql"] | position function behaves incorrectly when used with arrayFold | **Describe what's wrong**
`position` function behaves incorrectly when used with `arrayFold` - fails to search string. I've verified all other intermediate states of `arrayFold` and other functions used are correct.
https://fiddle.clickhouse.com/80adfdb5-f671-4d8a-bb27-49d6fdfdada7
`position` function seems to... | https://github.com/ClickHouse/ClickHouse/issues/57458 | https://github.com/ClickHouse/ClickHouse/pull/57836 | b721f027ae5c19603c6e7b08722ca5f5b6bc44e5 | e4901323fd857ec8e2337fa7314b481aca00ea44 | 2023-12-03T18:37:33Z | c++ | 2023-12-14T06:15:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,373 | ["src/Common/Arena.h", "tests/queries/0_stateless/02931_ubsan_error_arena_aligned_alloc.reference", "tests/queries/0_stateless/02931_ubsan_error_arena_aligned_alloc.sql"] | ubsan error in `sumResample` runtime error: applying non-zero offset 7 to null pointer | ``` sql
SELECT sumResample(65535, 20, 1)(number, number % 20) FROM numbers(200)
```
``` sh
1467564- #0 0x55edee203138 in std::__1::align(unsigned long, unsigned long, void*&, unsigned long&) build_docker/./contrib/llvm-project/libcxx/src/memory.cpp:197:72
1467565- #1 0x55edd0efcda0 in DB::Arena::alignedAll... | https://github.com/ClickHouse/ClickHouse/issues/57373 | https://github.com/ClickHouse/ClickHouse/pull/57407 | 1f8031c6e1a1e2bd3e43d2413467431fa6617ab1 | e664e66a9a5532bee7ff0533348b041fc2be556f | 2023-11-29T21:10:13Z | c++ | 2023-12-01T02:53:43Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,256 | ["src/Interpreters/convertFieldToType.cpp", "tests/queries/0_stateless/02933_compare_with_bool_as_string.reference", "tests/queries/0_stateless/02933_compare_with_bool_as_string.sql"] | RFC: Automatic cast of bool literals in obvious cases | ```sql
create table tab (d Date, b bool) engine = Memory;
insert into tab values ('2023-11-27', 'true'); -- insert of string-encoded bool works
select d = '2023-11-27' from tab;
select b = true from tab;
select b = 'true' from tab; -- throws: comparison with string-encoded bool does not work
```
Booleans... | https://github.com/ClickHouse/ClickHouse/issues/57256 | https://github.com/ClickHouse/ClickHouse/pull/60160 | f7de95cec333a0795058314237d37c935f75f783 | a1a45ed881f85c2614e20de2ed815734524483e3 | 2023-11-27T11:45:41Z | c++ | 2024-02-20T16:19:02Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,253 | ["src/Storages/tests/gtest_transform_query_for_external_database.cpp", "src/Storages/transformQueryForExternalDatabase.cpp"] | _shard_num bug fix | Create a table based on engine PostgreSQL like this
```
'CREATE TABLE IF NOT EXISTS xxx
(
xxxx
) ENGINE = PostgreSQL(own_pg, table='xxx');'
```
When I exec this sql , it will be transfered like below:
Clickhouse :
```
SELECT * FROM proxy.sys_nic WHERE mode !=100 and type=0 and name!='' and _shard_num in ... | https://github.com/ClickHouse/ClickHouse/issues/57253 | https://github.com/ClickHouse/ClickHouse/pull/56456 | dc12111ed1b888cf7c25a47affc446d4a7a6fb1b | 7f3a082c0e968d52cbbb68bc8f0dfecfe7c79992 | 2023-11-27T09:52:16Z | c++ | 2023-11-13T14:25:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,194 | ["src/Processors/QueryPlan/Optimizations/optimizeUseNormalProjection.cpp", "tests/queries/0_stateless/01710_normal_projection_join_plan_fix.reference", "tests/queries/0_stateless/01710_normal_projection_join_plan_fix.sql"] | `Block structure mismatch in UnionStep stream: different number of columns` when projections are used with JOIN | How to reproduce
```sql
CREATE TABLE t1 (id UInt32, s String) Engine = MergeTree ORDER BY id;
CREATE TABLE t2 (id1 UInt32, id2 UInt32) Engine = MergeTree ORDER BY id1;
INSERT INTO t2 SELECT * from generateRandom() LIMIT 100;
ALTER TABLE t2 ADD PROJECTION proj (SELECT id2 ORDER BY id2);
INSERT INTO t2 SELECT *... | https://github.com/ClickHouse/ClickHouse/issues/57194 | https://github.com/ClickHouse/ClickHouse/pull/57196 | de0876ed6804b23e281521ece4c701209e9299e6 | 4c2de5219d8e92ab738f7a52cdd16fcabbb4b327 | 2023-11-24T12:38:41Z | c++ | 2023-11-27T08:15:13Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,184 | ["docs/en/operations/system-tables/databases.md"] | DDL of system.databases | execute SQL: select * from system.databases
just find 6 columns: name, engine, data_path, metadata_path, uuid, comment
execute SQL: show create system.databases
the result is:
```sql
CREATE TABLE system.databases
(
`name` String,
`engine` String,
`data_path` String,
`metadata_path` String,
... | https://github.com/ClickHouse/ClickHouse/issues/57184 | https://github.com/ClickHouse/ClickHouse/pull/57228 | d29092f8af27e953a7ecd1ccc09bc533a4f50722 | a956cec61f350927654b4c03cb5d59e51ab6e0cf | 2023-11-24T07:55:03Z | c++ | 2023-11-26T01:25:32Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,151 | ["docs/en/sql-reference/functions/string-functions.md", "src/DataTypes/IDataType.h", "src/Functions/GatherUtils/Sources.h", "src/Functions/substring.cpp", "tests/queries/0_stateless/00493_substring_of_enum.reference", "tests/queries/0_stateless/00493_substring_of_enum.sql"] | MySQL compatibility: substring with enums | Required by Tableau via MySQL interface.
Sample generated query:
```sql
SELECT
CONCAT(
SUBSTRING(`cell_towers`.`radio`, 1, 1024),
SUBSTRING(`cell_towers`.`radio`, 1, 1024)
) AS `Calculation_3276650229452562433`
FROM `cell_towers`
GROUP BY 1
```
Simplified:
```sql
SELECT substring(CAST... | https://github.com/ClickHouse/ClickHouse/issues/57151 | https://github.com/ClickHouse/ClickHouse/pull/57277 | d4522ee0887d88ab221325b0dcf115e2a66e5a7e | bbd7d0c0572b35444273b50a7a91dfe298e50c2e | 2023-11-23T15:41:17Z | c++ | 2023-12-13T16:03:03Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 57,059 | ["src/Functions/bitCount.cpp", "src/Functions/bitHammingDistance.cpp", "tests/queries/0_stateless/02921_bit_hamming_distance_big_int.reference", "tests/queries/0_stateless/02921_bit_hamming_distance_big_int.sql"] | `bitHammingDistance` is wrong for big integer data types. | ```
milovidov-desktop :) SELECT 314776434768051644139306697240981192872::UInt128 AS x, 0::UInt128 AS y, bitCount(bitXor(x, y)) AS a, bitHammingDistance(x, y) AS b
SELECT
CAST('314776434768051644139306697240981192872', 'UInt128') AS x,
CAST('0', 'UInt128') AS y,
bitCount(bitXor(x, y)) AS a,
bitHa... | https://github.com/ClickHouse/ClickHouse/issues/57059 | https://github.com/ClickHouse/ClickHouse/pull/57073 | 2880e6437ea2aba73ea4f4946ebef4377cc7c502 | d1015aae8e74831e0a466a34e28a5b6ec0b01a8a | 2023-11-21T14:29:56Z | c++ | 2023-11-22T10:56:33Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,995 | ["docs/en/sql-reference/functions/string-functions.md", "src/Functions/concat.cpp", "tests/queries/0_stateless/00727_concat.reference", "tests/queries/0_stateless/00727_concat.sql"] | MySQL compatibility: concat should also accept 1 argument | Tableau's `STR(x)` function uses `concat` under the hood with just one argument to convert the input to a String (instead of `CONVERT` or just `CAST x AS type`).
A calculated field such as:
```
IF ISNULL([User Id]) THEN [Address] ELSE STR([User Id]) END
```
generates the following error:
```
Code: 42. DB::... | https://github.com/ClickHouse/ClickHouse/issues/56995 | https://github.com/ClickHouse/ClickHouse/pull/57000 | e34fea5495a6430f9cd69ca4f4482e46242f6fe6 | c5828cf856b61ce92aeaa75eb9c97ac24b1d27bd | 2023-11-20T14:47:47Z | c++ | 2023-11-21T11:06:29Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,978 | ["src/IO/S3/URI.cpp", "tests/integration/test_s3_style_link/test.py"] | s3-style URLs don't work | https://pastila.nl/?00a139a3/0b483a6142a9ba07dfcec1c32d6b0fed#3YTUZegWa3J6LQrl0/JOlw== | https://github.com/ClickHouse/ClickHouse/issues/56978 | https://github.com/ClickHouse/ClickHouse/pull/57075 | 30148972ed4422f579030e745a835996b66fcc30 | 823ba2db461b162fd3b849e8b47b1d9f8c0f0357 | 2023-11-19T21:59:41Z | c++ | 2023-11-29T16:41:08Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,939 | ["src/Storages/MergeTree/MergeTreeIndexFullText.cpp", "src/Storages/MergeTree/MergeTreeIndexFullText.h", "tests/queries/0_stateless/02943_tokenbf_and_ngrambf_indexes_support_match_function.reference", "tests/queries/0_stateless/02943_tokenbf_and_ngrambf_indexes_support_match_function.sql"] | Add support for bloom filter based indexes for `match`/`REGEXP` | - We have bloom-filter-based skip indexes `ngrambf_v1`/`tokenbf_v1`.
- These indexes are supported by many operators/functions, including `like()`/`has()`/`hasToken()`,
see https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree#functions-support
- `match()` function has no optimizations rela... | https://github.com/ClickHouse/ClickHouse/issues/56939 | https://github.com/ClickHouse/ClickHouse/pull/57882 | 2928d8742e0ceb60a4a2165295eadc45f7b32985 | 2166df064021a53d706e5279e5217ba3c48fb455 | 2023-11-17T16:38:51Z | c++ | 2024-01-04T23:00:50Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,932 | ["src/Storages/AlterCommands.cpp", "src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/01213_alter_rename_primary_key_zookeeper_long.sql", "tests/queries/0_stateless/02920_alter_column_of_projections.reference", "tests/queries/0_stateless/02920_alter_column_of_projections.sql", "tests/queries/0_state... | Altering column that is part of a projection may lead to loosing data | ```sql
CREATE TABLE users (uid Int16, name String, age Nullable(Int8),
projection p1 (select age, count() group by age)
) ENGINE=MergeTree order by uid;
INSERT INTO users VALUES (1231, 'John', 11);
INSERT INTO users VALUES (6666, 'Ksenia', 1);
INSERT INTO users VALUES (8888, 'Alice', 1);
INSERT INTO users ... | https://github.com/ClickHouse/ClickHouse/issues/56932 | https://github.com/ClickHouse/ClickHouse/pull/56948 | 50dacbc7acabe87a8cbf159030b6c226fd096efb | 2150308c2317d9b889b14e167398946042b4035c | 2023-11-17T14:28:35Z | c++ | 2023-12-03T03:24:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,879 | ["src/Client/ClientBase.cpp", "tests/queries/0_stateless/02003_memory_limit_in_client.reference", "tests/queries/0_stateless/02003_memory_limit_in_client.sh"] | The `max_memory_usage_in_client` command line option should support a string value with a suffix (K, M, G, etc). | null | https://github.com/ClickHouse/ClickHouse/issues/56879 | https://github.com/ClickHouse/ClickHouse/pull/57273 | a987fff63074e81fed046339eaf06bfc49abc3b4 | 0e563e652c3470af9dc540c3673752215945b962 | 2023-11-16T19:04:14Z | c++ | 2023-11-29T17:52:17Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,762 | ["src/AggregateFunctions/AggregateFunctionLargestTriangleThreeBuckets.cpp", "tests/queries/0_stateless/02842_largestTriangleThreeBuckets_aggregate_function.reference", "tests/queries/0_stateless/02842_largestTriangleThreeBuckets_aggregate_function.sql"] | The last two points of largestTriangleThreeBuckets (lttb) have a large x-axis gap | ClickHouse version:
23.10.3.5
https://fiddle.clickhouse.com/9f7212b8-f033-4bae-aa0e-439d939782b6
```sql
CREATE TABLE lttb_test
(
x UInt32,
y UInt32
) ENGINE = MergeTree ORDER BY x;
INSERT INTO lttb_test (x, y) SELECT (number + 1) AS x, (x % 1000) AS y FROM numbers(9999);
SELECT
arrayJoin(l... | https://github.com/ClickHouse/ClickHouse/issues/56762 | https://github.com/ClickHouse/ClickHouse/pull/57003 | a1e8c064337a2aa0313e48d5d475e513a7f54c8f | add243593d950c46eb5ec46a780119533d9411b1 | 2023-11-14T17:34:49Z | c++ | 2023-12-07T11:29:37Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,729 | ["src/Storages/tests/gtest_transform_query_for_external_database.cpp", "src/Storages/transformQueryForExternalDatabase.cpp"] | clickhouse adapts to postgresql | When I use the ch table and the table imported by the PostgreSql table (pg_algo_input_customer) engine as views, I filter the fields in pg_algo_input_customer. Clickhouse embedded the condition in the pg_algo_input_customer table sql as where 1, but the syntax of where 1 is not supported in pgsql, how do I make this vi... | https://github.com/ClickHouse/ClickHouse/issues/56729 | https://github.com/ClickHouse/ClickHouse/pull/56456 | dc12111ed1b888cf7c25a47affc446d4a7a6fb1b | 7f3a082c0e968d52cbbb68bc8f0dfecfe7c79992 | 2023-11-14T09:16:34Z | c++ | 2023-11-13T14:25:58Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,682 | ["tests/queries/0_stateless/02903_rmt_retriable_merge_exception.sh"] | `02903_rmt_retriable_merge_exception` is a bit flaky | It looks like it reproduces mostly with Database Replicated tests
https://s3.amazonaws.com/clickhouse-test-reports/56401/86685685d36c4a07c631b84589fcd34004a3877f/stateless_tests__release__databasereplicated__[4_4].html
CI DB: [link](https://play.clickhouse.com/play?user=play#CldJVEgKICAgICcwMjkwM19ybXRfcmV0cmlhYm... | https://github.com/ClickHouse/ClickHouse/issues/56682 | https://github.com/ClickHouse/ClickHouse/pull/57155 | 5769a88b926c80a1f8ac408da0ee103e753d71a8 | e4faec5ef07eb8550d57af5760c1d090453b0749 | 2023-11-13T16:28:44Z | c++ | 2023-11-24T18:59:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,487 | ["src/Functions/FunctionBinaryArithmetic.h", "src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02935_ipv6_bit_operations.reference", "tests/queries/0_stateless/02935_ipv6_bit_operations.sql"] | Missing bitwise operator (`bitAnd`) support for IPv6 Native Type and IPv6StringToNum not compatible with IPv6 Data Type | **Describe the issue**
* [Background/Context] As of ClickHouse 23.1 (https://github.com/ClickHouse/ClickHouse/pull/43221), the IPv6 data type is `UInt128` big-endian data type. In the versions before that (22.X), IPv6 dates not support the IPa type was a `FixedString(16)`. This feature is not listed as backwards-incom... | https://github.com/ClickHouse/ClickHouse/issues/56487 | https://github.com/ClickHouse/ClickHouse/pull/57707 | 40230579e69f466d0f419d361112259be68640a8 | 0e548a4caf3a67f6391d7243e70e40f5456b3871 | 2023-11-09T02:36:18Z | c++ | 2023-12-12T06:57:43Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,482 | ["docker/test/performance-comparison/config/users.d/perf-comparison-tweaks-users.xml", "programs/server/embedded.xml", "programs/server/users.xml", "tests/integration/test_named_collections/configs/users.d/users_no_default_access.xml", "tests/integration/test_storage_s3/test.py"] | A question about `access_management` | Do you remember why we don't have `access_management` by default?
What if we enable it in the next version as a backward incompatible change? | https://github.com/ClickHouse/ClickHouse/issues/56482 | https://github.com/ClickHouse/ClickHouse/pull/56619 | 6414ceffb3ece5bc1875e6d9a0e481e9c220882e | 32b4d6ccf8191b1ef69df8b56e102678cefd51d9 | 2023-11-08T22:00:43Z | c++ | 2023-11-18T08:22:16Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,449 | ["programs/server/Server.cpp", "src/Common/SensitiveDataMasker.cpp", "src/Common/SensitiveDataMasker.h", "src/Interpreters/Context.cpp", "src/Interpreters/Context.h", "tests/integration/test_reload_query_masking_rules/__init__.py", "tests/integration/test_reload_query_masking_rules/configs/changed_settings.xml", "tests... | Make `query_masking_rules` reloadable without restart of a server | **Use case**
Currently, if you want to redact new things, you have to restart the clickhouse server to apply the new masking rules. It would be great to be able to take new redacting rules into use without need to restart the server.
**Additional context**
The change seems to be quite simple, so if you think i... | https://github.com/ClickHouse/ClickHouse/issues/56449 | https://github.com/ClickHouse/ClickHouse/pull/56573 | 1e464609107105bce48ef990eaacd1a41ddc43eb | 3067ca64df756c9c469bfc71a53686c213a82351 | 2023-11-08T07:14:21Z | c++ | 2023-11-15T23:27:01Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,438 | ["docker/test/base/setup_export_logs.sh", "programs/server/users.d/allow_introspection_functions.xml", "programs/server/users.d/allow_introspection_functions.yaml", "tests/config/install.sh", "tests/config/users.d/allow_introspection_functions.yaml"] | `trace_log` exported to the CI database in ClickHouse Cloud should be symbolized | null | https://github.com/ClickHouse/ClickHouse/issues/56438 | https://github.com/ClickHouse/ClickHouse/pull/56613 | 82b41f232ad397da6d92a13bca583ee1a3c8a847 | e1ac4c3bedbbd9a9f314369756e39d9a18cdfb25 | 2023-11-08T03:41:20Z | c++ | 2023-11-12T01:51:23Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,428 | ["docs/en/operations/server-configuration-parameters/settings.md", "src/Common/ErrorCodes.cpp", "src/Core/ServerSettings.h", "src/Storages/StorageMaterializedView.cpp", "tests/integration/test_limit_materialized_view_count/__init__.py", "tests/integration/test_limit_materialized_view_count/configs/max_num_limit.xml", "... | A limit on the number of materialized views attached to a table. | A limit can be configurable by a query-level setting (the setting could be constrained then).
It can be set to 100 by default. | https://github.com/ClickHouse/ClickHouse/issues/56428 | https://github.com/ClickHouse/ClickHouse/pull/58068 | 24b8bbe9fad03a6591fa6c3871927b0ac8af2070 | 09e24ed6c5bc1d36ffdb4ba7fefc9d22900b0d98 | 2023-11-07T18:36:04Z | c++ | 2024-01-22T21:50:56Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,417 | ["src/Processors/QueryPlan/PartsSplitter.cpp", "tests/queries/0_stateless/02867_nullable_primary_key_final.reference", "tests/queries/0_stateless/02867_nullable_primary_key_final.sql"] | allow_nullable_key + Final = incorrect result | ```sql
CREATE TABLE t (
o Nullable(String),
p Nullable(String)
) ENGINE = ReplacingMergeTree
ORDER BY (p, o)
SETTINGS allow_nullable_key = 1, index_granularity = 2;
insert into t select number, null from numbers(10);
select count() from t format Pretty;
+---------+
| count() |
+---------+
| 10 |
... | https://github.com/ClickHouse/ClickHouse/issues/56417 | https://github.com/ClickHouse/ClickHouse/pull/56452 | b4b3cb2291c1d55af10d4251eb866cd13312e69b | 1e464609107105bce48ef990eaacd1a41ddc43eb | 2023-11-07T13:49:01Z | c++ | 2023-11-15T21:27:05Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,414 | ["base/base/Decimal_fwd.h", "src/Functions/FunctionBinaryArithmetic.h", "src/Functions/IsOperation.h", "tests/queries/0_stateless/00700_decimal_arithm.reference", "tests/queries/0_stateless/01717_int_div_float_too_large_ubsan.sql", "tests/queries/0_stateless/02975_intdiv_with_decimal.reference", "tests/queries/0_statel... | why intDivOrZero result is decimal | SELECT
toDecimal32(161.73,4) sumRevenue,
6962 sumInstall,
if(sumInstall >0,intDivOrZero(sumRevenue,sumInstall) ,0) eachOfferRevenue

| https://github.com/ClickHouse/ClickHouse/issues/56414 | https://github.com/ClickHouse/ClickHouse/pull/59243 | f10a8868e191c622d8f2e82462bcf9a94f5eda59 | 491a4cd1e77c188efe7e0efdeb7ff8ebac6aab4c | 2023-11-07T11:31:36Z | c++ | 2024-02-19T14:28:07Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,405 | ["src/Processors/Transforms/buildPushingToViewsChain.cpp", "src/Storages/ColumnsDescription.cpp", "src/Storages/ColumnsDescription.h", "tests/queries/0_stateless/02933_ephemeral_mv.reference", "tests/queries/0_stateless/02933_ephemeral_mv.sql"] | Default value of EPHEMERAL column written by materialized view instead of actual value |
```sql
CREATE TABLE raw
(
name String,
ts String
) ENGINE = MergeTree
ORDER BY (name, ts);
CREATE TABLE parsed
(
name String,
ts_ephemeral Nullable(DateTime64(9)), -- no EPHEMERAL
ts DateTime64(9, 'UTC') MATERIALIZED if(ts_ephemeral IS NULL, date(0), ts_ephemeral),
) ENGINE = MergeTree
ORDER... | https://github.com/ClickHouse/ClickHouse/issues/56405 | https://github.com/ClickHouse/ClickHouse/pull/57461 | 05bc8ef1e02b9c7332f08091775b255d191341bf | ac7210b9b30129d6de8478cf8702c3ff523aa2ab | 2023-11-07T09:54:27Z | c++ | 2023-12-06T21:46:54Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,344 | ["docs/en/interfaces/formats.md", "src/Formats/NumpyDataTypes.h", "src/Processors/Formats/Impl/NpyRowInputFormat.cpp", "src/Processors/Formats/Impl/NpyRowInputFormat.h", "tests/queries/0_stateless/02895_npy_format.reference", "tests/queries/0_stateless/02895_npy_format.sh", "tests/queries/0_stateless/data_npy/float_16.... | Npy format should support 16-bit float by converting it to Float32. | **Use case**
https://pastila.nl/?0e0eb514/37c1d09e8f925eb452046bf272119a78#J7MgyKpFZ5kjSFXSTwCZRQ==
```
wget --tries=100 https://deploy.laion.ai/8f83b608504d46bb81708ec86e912220/embeddings/img_emb/img_emb_1.npy
```
| https://github.com/ClickHouse/ClickHouse/issues/56344 | https://github.com/ClickHouse/ClickHouse/pull/56424 | 4cc2d6baa59ca5bb1f8c2e921d10cc7103c5060a | 1831ecc38f778635cebfcceffa33cd0103c04f90 | 2023-11-05T20:01:15Z | c++ | 2023-11-16T16:00:24Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,202 | ["docker/test/stateless/stress_tests.lib", "docker/test/upgrade/run.sh", "src/Storages/MergeTree/MutateTask.cpp", "tests/config/config.d/block_number.xml", "tests/config/install.sh", "tests/queries/0_stateless/02973_block_number_sparse_serialization_and_mutation.reference", "tests/queries/0_stateless/02973_block_number... | Logical error: Invalid number of rows in Chunk column UInt64 position 4: expected 8192, got 2 (`_block_number`) | ERROR: type should be string, got "https://s3.amazonaws.com/clickhouse-test-reports/55987/073a6a6f0e8074c1a89f0b6f839e52447f8b8b3e/upgrade_check__tsan_.html\r\n\r\nhttps://s3.amazonaws.com/clickhouse-test-reports/55978/985c74b20f67b15196c69426295a50d55e4d4e32/upgrade_check__tsan_.html\r\n\r\nIt's related to `_block_number` column (introduced in https://github.com/ClickHouse/ClickHouse/pull/47532)\r\n\r\nCan be reproduced by `01079_parallel_alter_add_drop_column_zookeeper` with `allow_experimental_block_number_column=1`:\r\n```\r\ndiff --git a/tests/queries/0_stateless/01079_parallel_alter_add_drop_column_zookeeper.sh b/tests/queries/0_stateless/01079_parallel_alter_add_drop_column_zookeeper.sh\r\nindex bfdea95fa9e..60e3a1bc006 100755\r\n--- a/tests/queries/0_stateless/01079_parallel_alter_add_drop_column_zookeeper.sh\r\n+++ b/tests/queries/0_stateless/01079_parallel_alter_add_drop_column_zookeeper.sh\r\n@@ -15,7 +15,12 @@ done\r\n \r\n \r\n for i in $(seq $REPLICAS); do\r\n- $CLICKHOUSE_CLIENT --query \"CREATE TABLE concurrent_alter_add_drop_$i (key UInt64, value0 UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/$CLICKHOUSE_TEST_ZOOKEEPER_PREFIX/concurrent_alter_add_drop_column', '$i') ORDER BY key SETTINGS max_replicated_mutations_in_queue = 1000, number_of_free_entries_in_pool_to_execute_mutation = 0, max_replicated_merges_in_queue = 1000, index_granularity = 8192, index_granularity_bytes = '10Mi'\"\r\n+ $CLICKHOUSE_CLIENT --query \"CREATE TABLE concurrent_alter_add_drop_$i (key UInt64, value0 UInt8) ENGINE = ReplicatedMergeTree('/clickhouse/tables/$CLICKHOUSE_TEST_ZOOKEEPER_PREFIX/concurrent_alter_add_drop_column', '$i') ORDER BY key\r\n+ SETTINGS max_replicated_mutations_in_queue = 1000, number_of_free_entries_in_pool_to_execute_mutation = 0, max_replicated_merges_in_queue = 1000, index_granularity = 8192, index_granularity_bytes = '10Mi',\r\n+ max_replicated_mutations_in_queue = 1000, number_of_free_entries_in_pool_to_execute_mutation = 0, max_replicated_merges_in_queue = 1000, index_granularity = 8192, index_granularity_bytes = '10Mi', min_bytes_for_wide_part = 0,\r\n+ ratio_of_defaults_for_sparse_serialization = 0.5678088665008545, replace_long_file_name_to_hash = false, max_file_name_length = 66, merge_max_block_size = 23954, prefer_fetch_merged_part_size_threshold = 10737418240,\r\n+ vertical_merge_algorithm_min_rows_to_activate = 1, vertical_merge_algorithm_min_columns_to_activate = 46, min_merge_bytes_to_use_direct_io = 1, allow_vertical_merges_from_compact_to_wide_parts = false, marks_compress_block_size = 58933, primary_key_compress_block_size = 86483,\r\n+ allow_experimental_block_number_column=1\"\r\n done\r\n \r\n $CLICKHOUSE_CLIENT --query \"INSERT INTO concurrent_alter_add_drop_1 SELECT number, number + 10 from numbers(100000)\"\r\n@@ -31,7 +36,7 @@ function alter_thread()\r\n REPLICA=$(($RANDOM % 3 + 1))\r\n ADD=$(($RANDOM % 5 + 1))\r\n $CLICKHOUSE_CLIENT --query \"ALTER TABLE concurrent_alter_add_drop_$REPLICA ADD COLUMN value$ADD UInt32 DEFAULT 42 SETTINGS replication_alter_partitions_sync=0\"; # additionaly we don't wait anything for more heavy concurrency\r\n- DROP=$(($RANDOM % 5 + 1))\r\n+ DROP=$(($RANDOM % 15 + 1))\r\n $CLICKHOUSE_CLIENT --query \"ALTER TABLE concurrent_alter_add_drop_$REPLICA DROP COLUMN value$DROP SETTINGS replication_alter_partitions_sync=0\"; # additionaly we don't wait anything for more heavy concurrency\r\n sleep 0.$RANDOM\r\n done\r\n@@ -63,7 +68,7 @@ export -f optimize_thread;\r\n export -f insert_thread;\r\n \r\n \r\n-TIMEOUT=30\r\n+TIMEOUT=60\r\n \r\n # Sometimes we detach and attach tables\r\n timeout $TIMEOUT bash -c alter_thread 2> /dev/null &\r\n```\r\n\r\n```\r\n2023.11.01 15:02:01.995042 [ 20329 ] {55f70984-4f74-4858-b793-ea79f8d01b67::all_0_2_14_4} <Fatal> : Logical error: 'Invalid number of rows in Chunk column UInt64 position 4: expected 8192, got 2'.\r\n2023.11.01 15:02:01.995898 [ 20761 ] {} <Fatal> BaseDaemon: ########## Short fault info ############\r\n2023.11.01 15:02:01.996121 [ 20761 ] {} <Fatal> BaseDaemon: (version 23.10.1.1, build id: EC9D8BF9A510B6167AE23FBBC122701ACC2A81E2, git hash: ac089003717e3805d9a9da20fe6a28793dde6219) (from thread 20329) Received signal 6\r\n2023.11.01 15:02:01.996290 [ 20761 ] {} <Fatal> BaseDaemon: Signal description: Aborted\r\n2023.11.01 15:02:01.996422 [ 20761 ] {} <Fatal> BaseDaemon: \r\n2023.11.01 15:02:01.996634 [ 20761 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007fdcd4bc283c 0x00007fdcd4b72668 0x00007fdcd4b5a4b8 0x0000000014cffdf8 0x0000000014cffe95 0x0000000014d00394 0x000000000b170fd7 0x000000000b2526ae 0x0000000020bfe708 0x0000000020bfe4df 0x00000000205a14b0 0x0000000020c143e0 0x0000000020c14023 0x0000000020c51850 0x0000000020c51521 0x0000000020c33c3e 0x0000000020c3364c 0x0000000020c5cc4b 0x0000000020c5cd37 0x00000000202625c3 0x000000002027b298 0x000000002027b275 0x000000002027b255 0x000000002027b235 0x000000002027b1fd 0x0000000014cbf556 0x0000000014cbe5b5 0x00000000202624c6 0x0000000020266d63 0x0000000020253124 0x000000002072e007 0x000000002072c7fc 0x000000002029beda 0x000000002029cb37 0x00000000202a5f18 0x00000000202a5ef5 0x00000000202a5ed5 0x00000000202a5eb5 0x00000000202a5e7d 0x0000000014d835b6 0x0000000014d82915\r\n2023.11.01 15:02:01.996863 [ 20761 ] {} <Fatal> BaseDaemon: ########################################\r\n2023.11.01 15:02:01.997011 [ 20761 ] {} <Fatal> BaseDaemon: (version 23.10.1.1, build id: EC9D8BF9A510B6167AE23FBBC122701ACC2A81E2, git hash: ac089003717e3805d9a9da20fe6a28793dde6219) (from thread 20329) (query_id: 55f70984-4f74-4858-b793-ea79f8d01b67::all_0_2_14_4) (query: ) Received signal Aborted (6)\r\n2023.11.01 15:02:01.997164 [ 20761 ] {} <Fatal> BaseDaemon: \r\n2023.11.01 15:02:01.997284 [ 20761 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007fdcd4bc283c 0x00007fdcd4b72668 0x00007fdcd4b5a4b8 0x0000000014cffdf8 0x0000000014cffe95 0x0000000014d00394 0x000000000b170fd7 0x000000000b2526ae 0x0000000020bfe708 0x0000000020bfe4df 0x00000000205a14b0 0x0000000020c143e0 0x0000000020c14023 0x0000000020c51850 0x0000000020c51521 0x0000000020c33c3e 0x0000000020c3364c 0x0000000020c5cc4b 0x0000000020c5cd37 0x00000000202625c3 0x000000002027b298 0x000000002027b275 0x000000002027b255 0x000000002027b235 0x000000002027b1fd 0x0000000014cbf556 0x0000000014cbe5b5 0x00000000202624c6 0x0000000020266d63 0x0000000020253124 0x000000002072e007 0x000000002072c7fc 0x000000002029beda 0x000000002029cb37 0x00000000202a5f18 0x00000000202a5ef5 0x00000000202a5ed5 0x00000000202a5eb5 0x00000000202a5e7d 0x0000000014d835b6 0x0000000014d82915\r\n2023.11.01 15:02:01.997478 [ 20761 ] {} <Fatal> BaseDaemon: 4. ? @ 0x00007fdcd4bc283c in ?\r\n2023.11.01 15:02:01.997628 [ 20761 ] {} <Fatal> BaseDaemon: 5. ? @ 0x00007fdcd4b72668 in ?\r\n2023.11.01 15:02:01.997773 [ 20761 ] {} <Fatal> BaseDaemon: 6. ? @ 0x00007fdcd4b5a4b8 in ?\r\n2023.11.01 15:02:01.997919 [ 20340 ] {2f84417b-8cc4-493d-95b1-cc41e8ce8d9f::all_0_2_14_4} <Fatal> : Logical error: 'Invalid number of rows in Chunk column UInt64 position 4: expected 8192, got 2'.\r\n2023.11.01 15:02:01.998818 [ 20762 ] {} <Fatal> BaseDaemon: ########## Short fault info ############\r\n2023.11.01 15:02:01.999013 [ 20762 ] {} <Fatal> BaseDaemon: (version 23.10.1.1, build id: EC9D8BF9A510B6167AE23FBBC122701ACC2A81E2, git hash: ac089003717e3805d9a9da20fe6a28793dde6219) (from thread 20340) Received signal 6\r\n2023.11.01 15:02:01.999195 [ 20762 ] {} <Fatal> BaseDaemon: Signal description: Aborted\r\n2023.11.01 15:02:01.999333 [ 20762 ] {} <Fatal> BaseDaemon: \r\n2023.11.01 15:02:01.999566 [ 20762 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007fdcd4bc283c 0x00007fdcd4b72668 0x00007fdcd4b5a4b8 0x0000000014cffdf8 0x0000000014cffe95 0x0000000014d00394 0x000000000b170fd7 0x000000000b2526ae 0x0000000020bfe708 0x0000000020bfe4df 0x00000000205a14b0 0x0000000020c143e0 0x0000000020c14023 0x0000000020c51850 0x0000000020c51521 0x0000000020c33c3e 0x0000000020c3364c 0x0000000020c5cc4b 0x0000000020c5cd37 0x00000000202625c3 0x000000002027b298 0x000000002027b275 0x000000002027b255 0x000000002027b235 0x000000002027b1fd 0x0000000014cbf556 0x0000000014cbe5b5 0x00000000202624c6 0x0000000020266d63 0x0000000020253124 0x000000002072e007 0x000000002072c7fc 0x000000002029beda 0x000000002029cb37 0x00000000202a5f18 0x00000000202a5ef5 0x00000000202a5ed5 0x00000000202a5eb5 0x00000000202a5e7d 0x0000000014d835b6 0x0000000014d82915\r\n2023.11.01 15:02:01.999783 [ 20762 ] {} <Fatal> BaseDaemon: ########################################\r\n2023.11.01 15:02:01.999949 [ 20762 ] {} <Fatal> BaseDaemon: (version 23.10.1.1, build id: EC9D8BF9A510B6167AE23FBBC122701ACC2A81E2, git hash: ac089003717e3805d9a9da20fe6a28793dde6219) (from thread 20340) (query_id: 2f84417b-8cc4-493d-95b1-cc41e8ce8d9f::all_0_2_14_4) (query: ) Received signal Aborted (6)\r\n2023.11.01 15:02:02.000112 [ 20762 ] {} <Fatal> BaseDaemon: \r\n2023.11.01 15:02:02.000228 [ 20762 ] {} <Fatal> BaseDaemon: Stack trace: 0x00007fdcd4bc283c 0x00007fdcd4b72668 0x00007fdcd4b5a4b8 0x0000000014cffdf8 0x0000000014cffe95 0x0000000014d00394 0x000000000b170fd7 0x000000000b2526ae 0x0000000020bfe708 0x0000000020bfe4df 0x00000000205a14b0 0x0000000020c143e0 0x0000000020c14023 0x0000000020c51850 0x0000000020c51521 0x0000000020c33c3e 0x0000000020c3364c 0x0000000020c5cc4b 0x0000000020c5cd37 0x00000000202625c3 0x000000002027b298 0x000000002027b275 0x000000002027b255 0x000000002027b235 0x000000002027b1fd 0x0000000014cbf556 0x0000000014cbe5b5 0x00000000202624c6 0x0000000020266d63 0x0000000020253124 0x000000002072e007 0x000000002072c7fc 0x000000002029beda 0x000000002029cb37 0x00000000202a5f18 0x00000000202a5ef5 0x00000000202a5ed5 0x00000000202a5eb5 0x00000000202a5e7d 0x0000000014d835b6 0x0000000014d82915\r\n2023.11.01 15:02:02.000421 [ 20762 ] {} <Fatal> BaseDaemon: 4. ? @ 0x00007fdcd4bc283c in ?\r\n2023.11.01 15:02:02.000571 [ 20762 ] {} <Fatal> BaseDaemon: 5. ? @ 0x00007fdcd4b72668 in ?\r\n2023.11.01 15:02:02.000723 [ 20762 ] {} <Fatal> BaseDaemon: 6. ? @ 0x00007fdcd4b5a4b8 in ?\r\n2023.11.01 15:02:02.198785 [ 20761 ] {} <Fatal> BaseDaemon: 7. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:43: DB::abortOnFailedAssertion(String const&) @ 0x0000000014cffdf8 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.201905 [ 20762 ] {} <Fatal> BaseDaemon: 7. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:43: DB::abortOnFailedAssertion(String const&) @ 0x0000000014cffdf8 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.208390 [ 20760 ] {} <Fatal> BaseDaemon: 7. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:43: DB::abortOnFailedAssertion(String const&) @ 0x0000000014cffdf8 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.317152 [ 20761 ] {} <Fatal> BaseDaemon: 8. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:70: DB::handle_error_code(String const&, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x0000000014cffe95 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.398071 [ 20762 ] {} <Fatal> BaseDaemon: 8. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:70: DB::handle_error_code(String const&, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x0000000014cffe95 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.404434 [ 20760 ] {} <Fatal> BaseDaemon: 8. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:70: DB::handle_error_code(String const&, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x0000000014cffe95 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.408871 [ 20761 ] {} <Fatal> BaseDaemon: 9. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:107: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000014d00394 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.519059 [ 20761 ] {} <Fatal> BaseDaemon: 10. /home/tavplubix/ch/ClickHouse/src/Common/Exception.h:85: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b170fd7 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.569895 [ 20762 ] {} <Fatal> BaseDaemon: 9. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:107: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000014d00394 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.577991 [ 20760 ] {} <Fatal> BaseDaemon: 9. /home/tavplubix/ch/ClickHouse/src/Common/Exception.cpp:107: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000014d00394 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.728116 [ 20760 ] {} <Fatal> BaseDaemon: 10. /home/tavplubix/ch/ClickHouse/src/Common/Exception.h:85: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b170fd7 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:02.767260 [ 20762 ] {} <Fatal> BaseDaemon: 10. /home/tavplubix/ch/ClickHouse/src/Common/Exception.h:85: DB::Exception::Exception(String&&, int, bool) @ 0x000000000b170fd7 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.571060 [ 20761 ] {} <Fatal> BaseDaemon: 11. /home/tavplubix/ch/ClickHouse/src/Common/Exception.h:113: DB::Exception::Exception<String, String, String>(int, FormatStringHelperImpl<std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type>, String&&, String&&, String&&) @ 0x000000000b2526ae in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.605351 [ 20760 ] {} <Fatal> BaseDaemon: 11. /home/tavplubix/ch/ClickHouse/src/Common/Exception.h:113: DB::Exception::Exception<String, String, String>(int, FormatStringHelperImpl<std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type>, String&&, String&&, String&&) @ 0x000000000b2526ae in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.691564 [ 20761 ] {} <Fatal> BaseDaemon: 12. /home/tavplubix/ch/ClickHouse/src/Processors/Chunk.cpp:75: DB::Chunk::checkNumRowsIsConsistent() @ 0x0000000020bfe708 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.719076 [ 20760 ] {} <Fatal> BaseDaemon: 12. /home/tavplubix/ch/ClickHouse/src/Processors/Chunk.cpp:75: DB::Chunk::checkNumRowsIsConsistent() @ 0x0000000020bfe708 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.806735 [ 20761 ] {} <Fatal> BaseDaemon: 13. /home/tavplubix/ch/ClickHouse/src/Processors/Chunk.cpp:19: DB::Chunk::Chunk(std::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>, unsigned long) @ 0x0000000020bfe4df in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.833980 [ 20760 ] {} <Fatal> BaseDaemon: 13. /home/tavplubix/ch/ClickHouse/src/Processors/Chunk.cpp:19: DB::Chunk::Chunk(std::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>, unsigned long) @ 0x0000000020bfe4df in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:04.895018 [ 20762 ] {} <Fatal> BaseDaemon: 11. /home/tavplubix/ch/ClickHouse/src/Common/Exception.h:113: DB::Exception::Exception<String, String, String>(int, FormatStringHelperImpl<std::type_identity<String>::type, std::type_identity<String>::type, std::type_identity<String>::type>, String&&, String&&, String&&) @ 0x000000000b2526ae in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.011175 [ 20762 ] {} <Fatal> BaseDaemon: 12. /home/tavplubix/ch/ClickHouse/src/Processors/Chunk.cpp:75: DB::Chunk::checkNumRowsIsConsistent() @ 0x0000000020bfe708 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.127502 [ 20762 ] {} <Fatal> BaseDaemon: 13. /home/tavplubix/ch/ClickHouse/src/Processors/Chunk.cpp:19: DB::Chunk::Chunk(std::vector<COW<DB::IColumn>::immutable_ptr<DB::IColumn>, std::allocator<COW<DB::IColumn>::immutable_ptr<DB::IColumn>>>, unsigned long) @ 0x0000000020bfe4df in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.128355 [ 20761 ] {} <Fatal> BaseDaemon: 14. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeSequentialSource.cpp:208: DB::MergeTreeSequentialSource::generate() @ 0x00000000205a14b0 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.152718 [ 20760 ] {} <Fatal> BaseDaemon: 14. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeSequentialSource.cpp:208: DB::MergeTreeSequentialSource::generate() @ 0x00000000205a14b0 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.269066 [ 20761 ] {} <Fatal> BaseDaemon: 15. /home/tavplubix/ch/ClickHouse/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x0000000020c143e0 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.294628 [ 20760 ] {} <Fatal> BaseDaemon: 15. /home/tavplubix/ch/ClickHouse/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x0000000020c143e0 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.362006 [ 20761 ] {} <Fatal> BaseDaemon: 16. /home/tavplubix/ch/ClickHouse/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x0000000020c14023 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.402713 [ 20761 ] {} <Fatal> BaseDaemon: 17. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x0000000020c51850 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.438734 [ 20760 ] {} <Fatal> BaseDaemon: 16. /home/tavplubix/ch/ClickHouse/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x0000000020c14023 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.440054 [ 20761 ] {} <Fatal> BaseDaemon: 18. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x0000000020c51521 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.442949 [ 20762 ] {} <Fatal> BaseDaemon: 14. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeSequentialSource.cpp:208: DB::MergeTreeSequentialSource::generate() @ 0x00000000205a14b0 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.509813 [ 20760 ] {} <Fatal> BaseDaemon: 17. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x0000000020c51850 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.574309 [ 20760 ] {} <Fatal> BaseDaemon: 18. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x0000000020c51521 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.587789 [ 20762 ] {} <Fatal> BaseDaemon: 15. /home/tavplubix/ch/ClickHouse/src/Processors/ISource.cpp:139: DB::ISource::tryGenerate() @ 0x0000000020c143e0 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.608030 [ 20761 ] {} <Fatal> BaseDaemon: 19. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PipelineExecutor.cpp:272: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x0000000020c33c3e in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.717267 [ 20761 ] {} <Fatal> BaseDaemon: 20. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x0000000020c3364c in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.726160 [ 20762 ] {} <Fatal> BaseDaemon: 16. /home/tavplubix/ch/ClickHouse/src/Processors/ISource.cpp:108: DB::ISource::work() @ 0x0000000020c14023 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.783021 [ 20762 ] {} <Fatal> BaseDaemon: 17. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/ExecutionThreadContext.cpp:47: DB::executeJob(DB::ExecutingGraph::Node*, DB::ReadProgressCallback*) @ 0x0000000020c51850 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.783994 [ 20760 ] {} <Fatal> BaseDaemon: 19. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PipelineExecutor.cpp:272: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x0000000020c33c3e in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.820886 [ 20761 ] {} <Fatal> BaseDaemon: 21. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x0000000020c5cc4b in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.847014 [ 20762 ] {} <Fatal> BaseDaemon: 18. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/ExecutionThreadContext.cpp:95: DB::ExecutionThreadContext::executeTask() @ 0x0000000020c51521 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.914221 [ 20761 ] {} <Fatal> BaseDaemon: 22. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x0000000020c5cd37 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:05.999248 [ 20760 ] {} <Fatal> BaseDaemon: 20. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x0000000020c3364c in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.067591 [ 20762 ] {} <Fatal> BaseDaemon: 19. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PipelineExecutor.cpp:272: DB::PipelineExecutor::executeStepImpl(unsigned long, std::atomic<bool>*) @ 0x0000000020c33c3e in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.146341 [ 20760 ] {} <Fatal> BaseDaemon: 21. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x0000000020c5cc4b in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.265712 [ 20762 ] {} <Fatal> BaseDaemon: 20. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PipelineExecutor.cpp:147: DB::PipelineExecutor::executeStep(std::atomic<bool>*) @ 0x0000000020c3364c in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.292821 [ 20760 ] {} <Fatal> BaseDaemon: 22. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x0000000020c5cd37 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.339739 [ 20762 ] {} <Fatal> BaseDaemon: 21. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PullingPipelineExecutor.cpp:54: DB::PullingPipelineExecutor::pull(DB::Chunk&) @ 0x0000000020c5cc4b in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.450763 [ 20762 ] {} <Fatal> BaseDaemon: 22. /home/tavplubix/ch/ClickHouse/src/Processors/Executors/PullingPipelineExecutor.cpp:65: DB::PullingPipelineExecutor::pull(DB::Block&) @ 0x0000000020c5cd37 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:06.651935 [ 20761 ] {} <Fatal> BaseDaemon: 23. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:445: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x00000000202625c3 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:07.249217 [ 20760 ] {} <Fatal> BaseDaemon: 23. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:445: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x00000000202625c3 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:07.399732 [ 20762 ] {} <Fatal> BaseDaemon: 23. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:445: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::executeImpl() @ 0x00000000202625c3 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:07.557362 [ 20761 ] {} <Fatal> BaseDaemon: 24. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.h:241: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()::operator()() const @ 0x000000002027b298 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:07.889280 [ 20760 ] {} <Fatal> BaseDaemon: 24. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.h:241: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()::operator()() const @ 0x000000002027b298 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:08.287300 [ 20762 ] {} <Fatal> BaseDaemon: 24. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.h:241: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()::operator()() const @ 0x000000002027b298 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:08.617333 [ 20761 ] {} <Fatal> BaseDaemon: 25. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>()()) std::__invoke[abi:v15000]<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>(DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&) @ 0x000000002027b275 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:08.674533 [ 20760 ] {} <Fatal> BaseDaemon: 25. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>()()) std::__invoke[abi:v15000]<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>(DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&) @ 0x000000002027b275 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:09.171127 [ 20762 ] {} <Fatal> BaseDaemon: 25. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>()()) std::__invoke[abi:v15000]<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>(DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&) @ 0x000000002027b275 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:09.568871 [ 20761 ] {} <Fatal> BaseDaemon: 26. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper<bool, false>::__call<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>(DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&) @ 0x000000002027b255 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:09.774541 [ 20762 ] {} <Fatal> BaseDaemon: 26. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper<bool, false>::__call<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>(DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&) @ 0x000000002027b255 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:09.825387 [ 20760 ] {} <Fatal> BaseDaemon: 26. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:470: bool std::__invoke_void_return_wrapper<bool, false>::__call<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&>(DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'()&) @ 0x000000002027b255 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:10.483803 [ 20762 ] {} <Fatal> BaseDaemon: 27. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'(), bool ()>::operator()[abi:v15000]() @ 0x000000002027b235 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:10.663880 [ 20761 ] {} <Fatal> BaseDaemon: 27. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'(), bool ()>::operator()[abi:v15000]() @ 0x000000002027b235 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:10.991315 [ 20760 ] {} <Fatal> BaseDaemon: 27. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'(), bool ()>::operator()[abi:v15000]() @ 0x000000002027b235 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.572420 [ 20762 ] {} <Fatal> BaseDaemon: 28. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker<bool ()>::__call_impl<std::__function::__default_alloc_func<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'(), bool ()>>(std::__function::__policy_storage const*) @ 0x000000002027b1fd in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.653083 [ 20761 ] {} <Fatal> BaseDaemon: 28. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker<bool ()>::__call_impl<std::__function::__default_alloc_func<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'(), bool ()>>(std::__function::__policy_storage const*) @ 0x000000002027b1fd in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.660455 [ 20760 ] {} <Fatal> BaseDaemon: 28. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:716: bool std::__function::__policy_invoker<bool ()>::__call_impl<std::__function::__default_alloc_func<DB::MergeTask::ExecuteAndFinalizeHorizontalPart::subtasks::'lambda0'(), bool ()>>(std::__function::__policy_storage const*) @ 0x000000002027b1fd in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.772065 [ 20762 ] {} <Fatal> BaseDaemon: 29. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func<bool ()>::operator()[abi:v15000]() const @ 0x0000000014cbf556 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.856782 [ 20761 ] {} <Fatal> BaseDaemon: 29. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func<bool ()>::operator()[abi:v15000]() const @ 0x0000000014cbf556 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.858193 [ 20760 ] {} <Fatal> BaseDaemon: 29. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func<bool ()>::operator()[abi:v15000]() const @ 0x0000000014cbf556 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:11.970132 [ 20762 ] {} <Fatal> BaseDaemon: 30. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function<bool ()>::operator()() const @ 0x0000000014cbe5b5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:12.056809 [ 20761 ] {} <Fatal> BaseDaemon: 30. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function<bool ()>::operator()() const @ 0x0000000014cbe5b5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:12.057244 [ 20760 ] {} <Fatal> BaseDaemon: 30. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function<bool ()>::operator()() const @ 0x0000000014cbe5b5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:12.541294 [ 20762 ] {} <Fatal> BaseDaemon: 31. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:433: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x00000000202624c6 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:12.781691 [ 20761 ] {} <Fatal> BaseDaemon: 31. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:433: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x00000000202624c6 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:12.834319 [ 20760 ] {} <Fatal> BaseDaemon: 31. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:433: DB::MergeTask::ExecuteAndFinalizeHorizontalPart::execute() @ 0x00000000202624c6 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:13.528887 [ 20762 ] {} <Fatal> BaseDaemon: 32. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:854: DB::MergeTask::execute() @ 0x0000000020266d63 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:13.671968 [ 20760 ] {} <Fatal> BaseDaemon: 32. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:854: DB::MergeTask::execute() @ 0x0000000020266d63 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:13.802129 [ 20762 ] {} <Fatal> BaseDaemon: 33. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x0000000020253124 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:13.809583 [ 20761 ] {} <Fatal> BaseDaemon: 32. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTask.cpp:854: DB::MergeTask::execute() @ 0x0000000020266d63 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:13.877148 [ 20760 ] {} <Fatal> BaseDaemon: 33. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x0000000020253124 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:13.992050 [ 20762 ] {} <Fatal> BaseDaemon: 34. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:190: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000002072e007 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.008959 [ 20760 ] {} <Fatal> BaseDaemon: 34. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:190: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000002072e007 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.074426 [ 20761 ] {} <Fatal> BaseDaemon: 33. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeFromLogEntryTask.h:36: DB::MergeFromLogEntryTask::executeInnerTask() @ 0x0000000020253124 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.183891 [ 20762 ] {} <Fatal> BaseDaemon: 35. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000002072c7fc in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.200508 [ 20760 ] {} <Fatal> BaseDaemon: 35. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000002072c7fc in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.271348 [ 20761 ] {} <Fatal> BaseDaemon: 34. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:190: DB::ReplicatedMergeMutateTaskBase::executeImpl() @ 0x000000002072e007 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.311858 [ 20762 ] {} <Fatal> BaseDaemon: 36. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:280: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::routine(std::shared_ptr<DB::TaskRuntimeData>) @ 0x000000002029beda in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.331675 [ 20760 ] {} <Fatal> BaseDaemon: 36. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:280: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::routine(std::shared_ptr<DB::TaskRuntimeData>) @ 0x000000002029beda in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.446169 [ 20762 ] {} <Fatal> BaseDaemon: 37. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:346: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() @ 0x000000002029cb37 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.464792 [ 20760 ] {} <Fatal> BaseDaemon: 37. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:346: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() @ 0x000000002029cb37 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.465100 [ 20761 ] {} <Fatal> BaseDaemon: 35. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/ReplicatedMergeMutateTaskBase.cpp:46: DB::ReplicatedMergeMutateTaskBase::executeStep() @ 0x000000002072c7fc in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.597874 [ 20761 ] {} <Fatal> BaseDaemon: 36. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:280: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::routine(std::shared_ptr<DB::TaskRuntimeData>) @ 0x000000002029beda in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.611881 [ 20762 ] {} <Fatal> BaseDaemon: 38. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()::operator()() const @ 0x00000000202a5f18 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.637697 [ 20760 ] {} <Fatal> BaseDaemon: 38. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()::operator()() const @ 0x00000000202a5f18 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.728933 [ 20761 ] {} <Fatal> BaseDaemon: 37. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:346: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::threadFunction() @ 0x000000002029cb37 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.791101 [ 20762 ] {} <Fatal> BaseDaemon: 39. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>()()) std::__invoke[abi:v15000]<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&) @ 0x00000000202a5ef5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.817706 [ 20760 ] {} <Fatal> BaseDaemon: 39. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>()()) std::__invoke[abi:v15000]<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&) @ 0x00000000202a5ef5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.900963 [ 20761 ] {} <Fatal> BaseDaemon: 38. /home/tavplubix/ch/ClickHouse/src/Storages/MergeTree/MergeTreeBackgroundExecutor.cpp:56: DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()::operator()() const @ 0x00000000202a5f18 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.962647 [ 20762 ] {} <Fatal> BaseDaemon: 40. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper<void, true>::__call<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&) @ 0x00000000202a5ed5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:14.989927 [ 20760 ] {} <Fatal> BaseDaemon: 40. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper<void, true>::__call<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&) @ 0x00000000202a5ed5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.077594 [ 20761 ] {} <Fatal> BaseDaemon: 39. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:394: decltype(std::declval<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>()()) std::__invoke[abi:v15000]<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&) @ 0x00000000202a5ef5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.133274 [ 20762 ] {} <Fatal> BaseDaemon: 41. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x00000000202a5eb5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.161304 [ 20760 ] {} <Fatal> BaseDaemon: 41. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x00000000202a5eb5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.247696 [ 20761 ] {} <Fatal> BaseDaemon: 40. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/invoke.h:480: void std::__invoke_void_return_wrapper<void, true>::__call<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&>(DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'()&) @ 0x00000000202a5ed5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.304610 [ 20762 ] {} <Fatal> BaseDaemon: 42. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000202a5e7d in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.333456 [ 20760 ] {} <Fatal> BaseDaemon: 42. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000202a5e7d in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.421137 [ 20761 ] {} <Fatal> BaseDaemon: 41. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:235: std::__function::__default_alloc_func<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'(), void ()>::operator()[abi:v15000]() @ 0x00000000202a5eb5 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.422520 [ 20762 ] {} <Fatal> BaseDaemon: 43. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func<void ()>::operator()[abi:v15000]() const @ 0x0000000014d835b6 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.449761 [ 20760 ] {} <Fatal> BaseDaemon: 43. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func<void ()>::operator()[abi:v15000]() const @ 0x0000000014d835b6 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.530512 [ 20762 ] {} <Fatal> BaseDaemon: 44. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function<void ()>::operator()() const @ 0x0000000014d82915 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.530735 [ 20762 ] {} <Fatal> BaseDaemon: Integrity check of the executable skipped because the reference checksum could not be read.\r\n2023.11.01 15:02:15.557124 [ 20760 ] {} <Fatal> BaseDaemon: 44. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function<void ()>::operator()() const @ 0x0000000014d82915 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.557472 [ 20760 ] {} <Fatal> BaseDaemon: Integrity check of the executable skipped because the reference checksum could not be read.\r\n2023.11.01 15:02:15.595884 [ 20761 ] {} <Fatal> BaseDaemon: 42. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:716: void std::__function::__policy_invoker<void ()>::__call_impl<std::__function::__default_alloc_func<DB::MergeTreeBackgroundExecutor<DB::DynamicRuntimeQueue>::MergeTreeBackgroundExecutor(String, unsigned long, unsigned long, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, StrongTypedef<unsigned long, CurrentMetrics::MetricTag>, std::basic_string_view<char, std::char_traits<char>>)::'lambda'(), void ()>>(std::__function::__policy_storage const*) @ 0x00000000202a5e7d in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.718049 [ 20761 ] {} <Fatal> BaseDaemon: 43. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:848: std::__function::__policy_func<void ()>::operator()[abi:v15000]() const @ 0x0000000014d835b6 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.830666 [ 20761 ] {} <Fatal> BaseDaemon: 44. /home/tavplubix/ch/ClickHouse/contrib/llvm-project/libcxx/include/__functional/function.h:1187: std::function<void ()>::operator()() const @ 0x0000000014d82915 in /home/tavplubix/ch/ClickHouse/cmake-build-debug/programs/clickhouse\r\n2023.11.01 15:02:15.830922 [ 20761 ] {} <Fatal> BaseDaemon: Integrity check of the executable skipped because the reference checksum could not be read.\r\n\r\n```" | https://github.com/ClickHouse/ClickHouse/issues/56202 | https://github.com/ClickHouse/ClickHouse/pull/59295 | ac906371702c2eac856dac304f59ef041e95d48f | 35ea956255e07fbe05bf05455a227f0b3a00b7a2 | 2023-11-01T14:06:10Z | c++ | 2024-01-30T03:07:09Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,184 | ["src/Bridge/IBridge.cpp"] | clickhouse-odbc-bridge crash loop on client disconnect | **Describe what's wrong**
clickhouse-odbc-bridge enters the <Fatal> error loop when client disconnects after sending request and not reading response.
**How to reproduce**
when running
`clickhouse-odbc-bridge --http-port 9018`
run:
`for i in {1..10}; do echo -en "GET /ping HTTP/1.1\r\n\r\n" | nc -w 0 localh... | https://github.com/ClickHouse/ClickHouse/issues/56184 | https://github.com/ClickHouse/ClickHouse/pull/56185 | c01b848ef841698bc7dd78a87f72de9ab45edcce | 2ef10e82e6becbfc6739461124c99a549bf1ef2c | 2023-11-01T05:11:34Z | c++ | 2023-11-01T16:36:18Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,180 | ["docker/test/integration/mysql_java_client/MySQLJavaClientTest.java", "src/Core/MySQL/MySQLUtils.cpp", "src/Core/MySQL/MySQLUtils.h", "src/Core/MySQL/PacketsProtocolBinary.cpp", "src/Core/MySQL/PacketsProtocolText.cpp", "tests/integration/test_mysql_protocol/java_client.reference", "tests/integration/test_mysql_protoc... | Tableau converts null in nullable numbers and dates to "0" or "01/01/1970" when using the MySQL Clickhouse connector | When using Tableau, and connecting to Clickhouse through the MySQL connector, we noticed that it doesn't handle `Nullable` fields very well.
When running this SQL in Tableau:
```sql
SELECT NULL AS number_nullable, NULL AS string_nullable, NULL AS date_nullable
UNION ALL
SELECT 123 AS number_nullable, 'abc' AS ... | https://github.com/ClickHouse/ClickHouse/issues/56180 | https://github.com/ClickHouse/ClickHouse/pull/56799 | 3067ca64df756c9c469bfc71a53686c213a82351 | 44bd0598a3c128646974bc114dac2c44797159d7 | 2023-10-31T19:47:25Z | c++ | 2023-11-16T00:12:46Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,119 | ["src/Storages/MergeTree/MutateTask.cpp", "tests/queries/0_stateless/02008_materialize_column.sql", "tests/queries/0_stateless/02946_materialize_column_must_not_override_past_values.reference", "tests/queries/0_stateless/02946_materialize_column_must_not_override_past_values.sql"] | Materialize column overwrites all past value. It should be documented. | https://clickhouse.com/docs/en/sql-reference/statements/alter/column#materialize-column
It does not say an extremely important thing – column materialization will overwrite all past values in the column. | https://github.com/ClickHouse/ClickHouse/issues/56119 | https://github.com/ClickHouse/ClickHouse/pull/58023 | d3fb04250562784c0cd387e658c30479979cc292 | 7e11fc79d9f5156f48cc090f969f983ae507add8 | 2023-10-30T08:54:24Z | c++ | 2024-02-20T10:12:31Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,108 | ["tests/ci/worker/dockerhub_proxy_template.sh"] | Integration tests fails due to docker-compose pull timeout | Sometimes, 900 seconds is not enough for docker to pull the images, so:
- maybe there are some problems with http://dockerhub-proxy.dockerhub-proxy-zone:5000/?
- or just with CI infrastructure?
- or maybe it worth to simply increase this timeout? and enable `--debug` mode for `dockerd` (maybe it will have more logs,... | https://github.com/ClickHouse/ClickHouse/issues/56108 | https://github.com/ClickHouse/ClickHouse/pull/57744 | ef8068ed03c09253ad31b3dec5033713be2cd291 | 7bd6b42af23a6a11b10d5a6b0c2ffb38ee68a142 | 2023-10-29T16:44:29Z | c++ | 2023-12-11T13:25:51Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,107 | ["src/Columns/ColumnDecimal.cpp", "tests/ci/build_check.py", "utils/prepare-time-trace/prepare-time-trace.sh"] | Send information about compiled sizes of translation units and all files to the CI database | Depends on #53610. | https://github.com/ClickHouse/ClickHouse/issues/56107 | https://github.com/ClickHouse/ClickHouse/pull/56636 | 00b414f87da6b9b793832c759ad8757aa339d199 | b1d8c98cfdd8cfdf04196c95fba80fd76f3ece24 | 2023-10-29T14:59:39Z | c++ | 2023-11-13T05:52:59Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 56,031 | ["src/Interpreters/InterpreterSelectQuery.cpp", "src/Interpreters/MutationsInterpreter.cpp", "src/Interpreters/TreeRewriter.cpp", "src/Interpreters/TreeRewriter.h", "tests/queries/0_stateless/02902_add_scalar_in_all_case.reference", "tests/queries/0_stateless/02902_add_scalar_in_all_case.sql"] | Scalar doesn't exist for `format` function | ```sql
SELECT *
FROM format(TSVRaw, (
SELECT
'123',
'456'
))
FORMAT TSVRaw
Query id: c5e0b9f8-d055-4b5d-8e14-b695f8096ab0
0 rows in set. Elapsed: 0.002 sec.
Received exception:
Code: 36. DB::Exception: Scalar `2451974040954057853_15236037560691200747` doesn't exist (internal bug):... | https://github.com/ClickHouse/ClickHouse/issues/56031 | https://github.com/ClickHouse/ClickHouse/pull/56057 | b042e2d98621303491f7ffc238deed5855f9d2a8 | cb0cf67d6766ee3ad7b876c6a068ea3a44acb6cc | 2023-10-26T02:06:35Z | c++ | 2023-10-30T11:31:15Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 55,998 | ["programs/server/Server.cpp"] | OSIOWaitMicroseconds is not available at systems with the new kernels | ```
SELECT
(arrayJoin(ProfileEvents) AS e).1 AS name,
sum(e.2) AS value
FROM system.query_log
WHERE (event_date >= (today() - 100)) AND (name LIKE 'OS%')
GROUP BY name
ORDER BY name ASC
┌─name─────────────────────────┬────────value─┐
│ OSCPUVirtualTimeMicroseconds │ 4504276982 │
│ OSCPUWaitMicrose... | https://github.com/ClickHouse/ClickHouse/issues/55998 | https://github.com/ClickHouse/ClickHouse/pull/56227 | 39163b4e314ae51aefd4fc25850ca930420e7873 | cea78cd093ac1ebc6feb7533483c6cd867078ae9 | 2023-10-24T22:44:32Z | c++ | 2023-11-02T12:21:27Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 55,942 | ["src/Functions/FunctionsComparison.h", "src/Interpreters/InterpreterShowIndexesQuery.cpp", "tests/queries/0_stateless/02906_interval_comparison.reference", "tests/queries/0_stateless/02906_interval_comparison.sql"] | interval comparison apparently ignore units | Comparison of intervals appear to ignore units, and just compare the numeric values.
Here's what happens (clearly 1 microsecond is not equal to 1 second, and similarly 100us is not greater than 1 second).
```
df3efe7565e7 :) select toIntervalMicrosecond(1) = toIntervalSecond(1)
SELECT toIntervalMicrosecond(... | https://github.com/ClickHouse/ClickHouse/issues/55942 | https://github.com/ClickHouse/ClickHouse/pull/56090 | 718a7faa7c36093b0060ecc8d050cdd6ee220a8c | 744b1db0846865fd3eed3cb187018bbf5f300082 | 2023-10-23T12:49:48Z | c++ | 2023-10-28T12:56:55Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 55,875 | ["src/Common/MemoryTracker.cpp", "src/Common/MemoryTracker.h", "tests/queries/0_stateless/02896_memory_accounting_for_user.reference", "tests/queries/0_stateless/02896_memory_accounting_for_user.sh"] | user memory tracking - wrong numbers | That bash script does async inserts in loop:
```bash
#!/bin/bash
clickhouse-client --query='drop table if exists test_inserts'
clickhouse-client --query='create table test_inserts engine=Null AS system.numbers'
total_iterations=40000
iterations_in_parallel=80
for ((i = 1; i <= $total_iterations; i++)); d... | https://github.com/ClickHouse/ClickHouse/issues/55875 | https://github.com/ClickHouse/ClickHouse/pull/56089 | 76e6b75ae22c186ebe08f039b546c766a5df6902 | 3069db71f1cc4548ab1f1baab8fa437717334199 | 2023-10-20T15:44:30Z | c++ | 2023-11-02T16:14:15Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 55,843 | ["src/Processors/Transforms/WindowTransform.cpp", "tests/queries/0_stateless/02900_window_function_with_sparse_column.reference", "tests/queries/0_stateless/02900_window_function_with_sparse_column.sql"] | Window function returns wrong result on sparse column | last_value produces wrong data in some cases
Reproduced on 23.7 and 23.9, not on 23.6 and 23.5
[The list of releases](https://github.com/ClickHouse/ClickHouse/blob/master/utils/list-versions/version_date.tsv)
**How to reproduce**
create database test on cluster default engine Atomic
CREATE TABLE test.test on... | https://github.com/ClickHouse/ClickHouse/issues/55843 | https://github.com/ClickHouse/ClickHouse/pull/55895 | ab3f9bcacfd9444c765c2986d1c34b64dfe0e029 | 1be4ff229be998787da5bc734056e5fcde06118c | 2023-10-19T17:06:41Z | c++ | 2023-10-21T22:02:34Z |
closed | ClickHouse/ClickHouse | https://github.com/ClickHouse/ClickHouse | 55,834 | ["src/Client/LocalConnection.cpp", "tests/queries/0_stateless/02900_clickhouse_local_drop_current_database.reference", "tests/queries/0_stateless/02900_clickhouse_local_drop_current_database.sh"] | Deleting database that I'm currently in | Using ClickHouse Local, if I create a database:
```
$ clickhouse local -m --path archives.chdb
Processing configuration file 'config.xml'.
ClickHouse local version 23.9.1.1854 (official build).
:) create database foo;
CREATE DATABASE foo
Query id: b6ccc456-0334-4ce1-a644-9d6cfeac09b8
Ok.
0 rows in ... | https://github.com/ClickHouse/ClickHouse/issues/55834 | https://github.com/ClickHouse/ClickHouse/pull/55853 | 5819bcd07a1ed424bc33f81c5f2b9145ca059514 | 14c29001856f1d1a498faf5e08e5e1ca08c7be79 | 2023-10-19T13:12:05Z | c++ | 2023-10-20T17:04:54Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.