status
stringclasses
1 value
repo_name
stringclasses
13 values
repo_url
stringclasses
13 values
issue_id
int64
1
104k
updated_files
stringlengths
11
1.76k
title
stringlengths
4
369
body
stringlengths
0
254k
issue_url
stringlengths
38
55
pull_url
stringlengths
38
53
before_fix_sha
stringlengths
40
40
after_fix_sha
stringlengths
40
40
report_datetime
timestamp[ns, tz=UTC]
language
stringclasses
5 values
commit_datetime
timestamp[us, tz=UTC]
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,018
["src/Common/logger_useful.h", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "tests/queries/0_stateless/02360_rename_table_along_with_log_name.reference", "tests/queries/0_stateless/02360_rename_table_along_with_log_name.sh"]
Wrong table name in logs after RENAME TABLE
**Describe what's wrong** Wrong table name in logs after table `RENAME` **Does it reproduce on recent release?** Yes. **How to reproduce** 22.6 ``` CREATE TABLE table_test_a ( `key` UInt32 ) ENGINE = MergeTree ORDER BY key; INSERT INTO table_test_a SELECT * FROM numbers(1000); RENAME TA...
https://github.com/ClickHouse/ClickHouse/issues/38018
https://github.com/ClickHouse/ClickHouse/pull/39227
54abeb624a671f7439f9a612e7f13e5464b66d28
c683cb252f84bf540067e4f173a1abf056f0881b
2022-06-13T11:00:56Z
c++
2022-07-26T15:12:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
38,003
["src/Client/ClientBase.cpp", "src/Common/ProgressIndication.cpp", "src/Common/ProgressIndication.h"]
CPU usage in client sometimes displaying -0.0
Simply display zero if it's less or equals to 0.
https://github.com/ClickHouse/ClickHouse/issues/38003
https://github.com/ClickHouse/ClickHouse/pull/38064
5e9e5a4eaf2babd321461069fa195bc857e2cd95
b2f0c16f426f8ebf6ebb61873ff5a17430f5e0e8
2022-06-11T21:05:30Z
c++
2022-06-15T01:14:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,983
["src/Common/AsynchronousMetrics.cpp"]
AsynchronousMetrics: add info about the total memory amount with respect to cgroup limits.
**Use case** Better monitoring of ClickHouse in Kubernetes. **Describe the solution you'd like** Add a new metric.
https://github.com/ClickHouse/ClickHouse/issues/37983
https://github.com/ClickHouse/ClickHouse/pull/45999
8465b6cdf0f1cc563fd70f299d7bb91a6dab86c3
cd171bef7d875019be517ca7f5758d660c3202bd
2022-06-10T13:59:09Z
c++
2023-04-28T17:39:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,904
["src/Processors/QueryPlan/Optimizations/liftUpFunctions.cpp", "tests/queries/0_stateless/02336_sort_optimization_with_fill.reference", "tests/queries/0_stateless/02336_sort_optimization_with_fill.sql"]
Inconsistent result for subselect having ORDER BY WITH FILL when select is also ordered.
**Describe what's wrong** Inconsistent result for subselect having ORDER BY WITH FILL when select is also ordered. **Does it reproduce on recent release?** yes **How to reproduce** ``` SELECT x, s FROM ( SELECT 5 AS x, 'Hello' AS s ORDER BY x WITH FILL FROM 1 TO 10 ); ┌─x─┬─s─────┐ │ 1 │ │ │ 2 ...
https://github.com/ClickHouse/ClickHouse/issues/37904
https://github.com/ClickHouse/ClickHouse/pull/37959
6177eb0e835cf13c8116d4ae43847a4a552cc0a4
8f6fee76fb14c08ba9267b1bece2e505136ce5b2
2022-06-07T14:13:20Z
c++
2022-06-10T16:58:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,900
["src/Interpreters/InterpreterInsertQuery.cpp", "tests/performance/views_max_insert_threads.xml", "tests/queries/0_stateless/01275_parallel_mv.reference", "tests/queries/0_stateless/01275_parallel_mv.sql", "tests/queries/0_stateless/01275_parallel_mv.sql.j2", "tests/queries/0_stateless/02350_views_max_insert_threads.re...
max_insert_threads and materialized views performance degradation
test ```sql DROP TABLE IF EXISTS t; DROP TABLE IF EXISTS t_mv; create table t (a UInt64) Engine = Null; create materialized view t_mv Engine = Null AS select now() as ts, max(a) from t group by ts; insert into t select * from numbers_mt(3000000000) settings max_threads = 16, max_insert_threads=16; ``` results...
https://github.com/ClickHouse/ClickHouse/issues/37900
https://github.com/ClickHouse/ClickHouse/pull/38731
7f216d1b9914436d28e4e0e9a04d4b02c9f1cb38
c7110123991f617069ee76ae509aef923907519a
2022-06-07T09:52:37Z
c++
2022-07-04T04:43:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,847
["CMakeLists.txt", "docker/packager/packager", "docs/en/development/continuous-integration.md", "docs/en/development/developer-instruction.md", "docs/ru/development/developer-instruction.md", "programs/CMakeLists.txt", "programs/main.cpp", "src/Common/config.h.in", "src/Storages/System/StorageSystemBuildOptions.generat...
Remove "CLICKHOUSE_SPLIT_BINARY" option.
People said it does not work.
https://github.com/ClickHouse/ClickHouse/issues/37847
https://github.com/ClickHouse/ClickHouse/pull/39520
0f2177127b7bb1517e0acab815ded905f5ba1390
52d08d9db4c46e9f0a23a1913d3adac222630689
2022-06-03T23:00:53Z
c++
2022-07-31T12:23:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,831
["docker/test/fuzzer/query-fuzzer-tweaks-users.xml"]
OOM in query with `if` and large `FixedString`
**How to reproduce** `clickhouse benchmark -c16 <<< "SELECT if(number % 2 = 0, toFixedString(toString(number), 100000), '') FROM numbers(100000) format Null"`
https://github.com/ClickHouse/ClickHouse/issues/37831
https://github.com/ClickHouse/ClickHouse/pull/45032
c0cbb6a5cc9dc696a5dd7b70bd4a952dca566be0
32cc41f0ebc41b4cee425c823de5e051f0eaa888
2022-06-03T12:52:39Z
c++
2023-01-08T06:41:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,815
["src/Storages/WindowView/StorageWindowView.cpp", "src/Storages/WindowView/StorageWindowView.h", "tests/queries/0_stateless/01076_window_view_alter_query_to.sh", "tests/queries/0_stateless/01077_window_view_alter_query_to_modify_source.sh", "tests/queries/0_stateless/01087_window_view_alter_query.sh", "tests/queries/0_...
Block structure mismatch in function connect between CopyingDataToViewsTransform and PushingToWindowViewSink
https://s3.amazonaws.com/clickhouse-test-reports/0/58f8c8726595e54092cf8f30fed729a7ed1d3fd3/stress_test__undefined__actions_.html ``` /var/log/clickhouse-server/clickhouse-server.err.log:2022.06.02 23:23:48.748947 [ 13574 ] {e0d43260-253d-4ae4-b286-46b0f883c55e} <Fatal> : Logical error: 'Block structure mismatch in ...
https://github.com/ClickHouse/ClickHouse/issues/37815
https://github.com/ClickHouse/ClickHouse/pull/37965
384cef724285493893f837be881e079ee456c720
a4e080d144f866823cbd5010fc99ff53f029d480
2022-06-03T08:53:10Z
c++
2022-06-11T11:38:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,799
["docs/en/engines/table-engines/mergetree-family/mergetree.md"]
Functions to estimate Bloom FIlter size
For configuring the parameters of `ngrambf_v1` we need to estimate the number of ngrams in the granule and perform some calculations. It's good to add some bloom filter-related functions into ClickHouse. These functions are just arithmetic expressions, so it should be possible to calculate them now, but it may be...
https://github.com/ClickHouse/ClickHouse/issues/37799
https://github.com/ClickHouse/ClickHouse/pull/49169
6388be2062c746008165ef5f9a1cf66ccf63d373
d3c7054bcff284ef5a9a022983d3cdea2bb83fda
2022-06-02T15:04:22Z
c++
2023-05-03T10:43:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,794
["src/Common/OvercommitTracker.cpp", "src/Common/OvercommitTracker.h"]
Deadlock in ProcessList
https://s3.amazonaws.com/clickhouse-test-reports/37740/002f95741a1363373ee91e3dca28aff3c83c8794/stress_test__memory__actions_.html Looks like this (however, I cannot find the root cause in the stacktraces): ``` Thread 1 (Thread 0x7f026f965d40 (LWP 665)): #0 0x00007f026fcbe110 in __lll_lock_wait () from /lib/x8...
https://github.com/ClickHouse/ClickHouse/issues/37794
https://github.com/ClickHouse/ClickHouse/pull/39030
f00069fdb69df8162302a36dffc50f1cbd2e7927
d222f238f02c79863cce7cc95ec19c68905e946a
2022-06-02T13:12:10Z
c++
2022-07-09T11:47:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,739
["src/Storages/MergeTree/ReplicatedMergeTreeQueue.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeQueue.h", "src/Storages/StorageReplicatedMergeTree.cpp"]
Possible flaky 01154_move_partition_long
https://s3.amazonaws.com/clickhouse-test-reports/37650/217f492264f5526a2372f95c9144be162934a34c/stateless_tests__thread__actions__[2/3].html <details> <summary>Error message</summary> ``` 2022-05-30 10:25:56 [e89d17b24d77] 2022.05.30 10:25:52.466531 [ 40175 ] {316371e3-cd4c-4c1b-9755-06affc23d6bb} Interprete...
https://github.com/ClickHouse/ClickHouse/issues/37739
https://github.com/ClickHouse/ClickHouse/pull/37763
585930f06a96da5f94afa1205960f96cf7d5f037
45657d203a434ae0818558c4f836d64e7a67280a
2022-06-01T11:42:38Z
c++
2022-06-02T11:15:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,735
["src/Functions/FunctionHashID.h", "tests/queries/0_stateless/02293_hashid.reference", "tests/queries/0_stateless/02293_hashid.sql"]
FunctionHashID: reference binding to null pointer of type 'const DB::IColumn'
https://s3.amazonaws.com/clickhouse-test-reports/0/154cae43562f96a12936fd26e04e5fcf689ed9ba/fuzzer_astfuzzerubsan,actions//report.html ``` 2022.06.01 13:01:01.170312 [ 437 ] {} <Fatal> BaseDaemon: ######################################## 2022.06.01 13:01:01.170414 [ 437 ] {} <Fatal> BaseDaemon: (version 22.6.1.1 (...
https://github.com/ClickHouse/ClickHouse/issues/37735
https://github.com/ClickHouse/ClickHouse/pull/37742
6a516099152c8c14ffbcc6ffdc79c46077918889
670c721ded3ea4f3a1abaa39908f637242694d03
2022-06-01T10:41:21Z
c++
2022-06-02T10:47:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,728
["docs/en/sql-reference/functions/files.md", "docs/ru/sql-reference/functions/files.md", "src/Functions/FunctionFile.cpp", "tests/queries/0_stateless/02357_file_default_value.reference", "tests/queries/0_stateless/02357_file_default_value.sql", "tests/queries/0_stateless/02358_file_default_value.reference", "tests/quer...
Ordinary function `file`: it should take optional second argument "default" to return when file does not exist.
**Use case** #18842 **Describe the solution you'd like** `SELECT file('nonexisting')` - throws exception; `SELECT file('nonexisting', '')` - returns empty string; `SELECT file('nonexisting', NULL)` - returns NULL.
https://github.com/ClickHouse/ClickHouse/issues/37728
https://github.com/ClickHouse/ClickHouse/pull/39218
91c0b9476889c074ca1388de867febde5ce51dd5
dfdfabec947065dd4939d8ca92e984212eba0f31
2022-06-01T09:54:33Z
c++
2022-08-01T11:04:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,727
["src/Common/ColumnsHashing.h", "tests/queries/0_stateless/02316_const_string_intersact.reference", "tests/queries/0_stateless/02316_const_string_intersact.sql"]
`SELECT 'Play ClickHouse' InterSect SELECT 'Play ClickHouse'` makes null pointer dereference.
null
https://github.com/ClickHouse/ClickHouse/issues/37727
https://github.com/ClickHouse/ClickHouse/pull/37738
e23cec01d525dc7423d16144319fa432274ba5b9
89638de521ae1b561dbc74936d5b9402ec5dbd37
2022-06-01T09:49:17Z
c++
2022-06-01T16:31:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,718
[".github/workflows/backport_branches.yml", ".github/workflows/release.yml", ".github/workflows/release_branches.yml", "tests/ci/ast_fuzzer_check.py", "tests/ci/build_download_helper.py", "tests/ci/download_binary.py", "tests/ci/env_helper.py", "tests/ci/push_to_artifactory.py", "tests/ci/version_helper.py"]
Package listing for macOS
**Use case** Working with a specific version in a MacOS environment (especially for devs) **Describe the solution you'd like** Currently, we have a list for a lot of build packages for Linux distributions, it would be nice to do the same thing for MacOS. Something like: https://packages.clickhouse.com/tgz/stab...
https://github.com/ClickHouse/ClickHouse/issues/37718
https://github.com/ClickHouse/ClickHouse/pull/41088
12e7cd6b19a1f0a446e67968a1aecbb10f1f1f87
b815fdbc8c9716c4e3724ef02bcc98e4792407fb
2022-05-31T19:36:57Z
c++
2022-09-09T15:17:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,673
["src/Interpreters/InterpreterSelectQuery.cpp", "tests/queries/0_stateless/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order.reference", "tests/queries/0_stateless/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order.sql"]
ORDER BY gives unsorted results when there are duplicate rows in table and projection is used
**Describe what's wrong** **Does it reproduce on recent release?** Yes, it's happening in latest release of 19th May **How to reproduce** * Which ClickHouse server version to use: v22.5.1.2079-stable * Non-default settings, if any: `SET allow_experimental_projection_optimization=1;` * `CREATE TABLE` sta...
https://github.com/ClickHouse/ClickHouse/issues/37673
https://github.com/ClickHouse/ClickHouse/pull/37342
ce48e8e1028ce394eeaf32d4e0240d38b0467932
87d445295f215e27b694dfa835d52f01328fb469
2022-05-31T05:55:49Z
c++
2022-05-23T10:29:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,662
["src/Parsers/ExpressionElementParsers.cpp", "tests/queries/0_stateless/00031_parser_number.reference", "tests/queries/0_stateless/00948_values_interpreter_template.reference", "tests/queries/0_stateless/02316_literal_no_octal.reference", "tests/queries/0_stateless/02316_literal_no_octal.sql"]
Error in parsing ENUM Literal Values.
**Describe the unexpected behaviour** Clickhouse parses enum object unexpectedly when enum object literal value is 08 or 09. I tried to debug the problem and it seems that Which::type is returning Float64 and hence ENUMparser is throwing error. **Notice dot symbol after 8 literal value in generated SQL . This ...
https://github.com/ClickHouse/ClickHouse/issues/37662
https://github.com/ClickHouse/ClickHouse/pull/37765
ef6f5a6500954fb48b506254960d505fcbc54d70
17fbf49d137f28c32a98db8539c98b7b071e5dd3
2022-05-30T18:24:59Z
c++
2022-06-07T11:24:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,651
["src/Core/SortDescription.h", "src/Interpreters/InterpreterSelectQuery.cpp", "src/Processors/Transforms/FillingTransform.cpp", "tests/queries/0_stateless/02366_with_fill_date.reference", "tests/queries/0_stateless/02366_with_fill_date.sql"]
Timeout exception for query with ORDER BY WITH FILL
Hi there, it seems that the combination of `ORDER BY WITH FILL`, `FROM TO` and `STEP INTERVAL` is causing the query to hang and eventually to timeout (ignoring session timeout limit). Sometimes the server hangs after few such queries and don't respond to KILL signal (had to restart the VM). **How to reproduce** ...
https://github.com/ClickHouse/ClickHouse/issues/37651
https://github.com/ClickHouse/ClickHouse/pull/37849
44463cfca0af49bd50a6a1b994fe7fcac024f959
873432fb536c479b525ae30784a9e20357424eaf
2022-05-30T13:14:49Z
c++
2022-07-27T10:27:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,586
["src/Core/Settings.h", "src/Interpreters/OptimizeIfChains.h", "src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/01355_if_fixed_string.sql", "tests/queries/0_stateless/02315_replace_multiif_to_if.reference", "tests/queries/0_stateless/02315_replace_multiif_to_if.sql"]
Replace `multiIf` to `if` in case of single branch.
**Describe the situation** ``` clickhouse-benchmark --max_threads 32 --iterations 10 --database mgbench --enable_global_with_statement 1 --query " SELECT yr, mo, SUM(coffee_hourly_avg) AS coffee_monthly_sum, AVG(coffee_hourly_avg) AS coffee_monthly_avg, SUM(printer_hourly_avg) AS pr...
https://github.com/ClickHouse/ClickHouse/issues/37586
https://github.com/ClickHouse/ClickHouse/pull/37695
c6574b15bc7f7323d9a3adf30b13c63d3b6de227
3ace07740171eae90c832173bba57203a8f7f192
2022-05-27T05:01:47Z
c++
2022-06-03T12:56:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,569
["src/Interpreters/InterpreterSelectWithUnionQuery.cpp", "src/Interpreters/SelectQueryOptions.h", "src/Interpreters/TreeRewriter.cpp", "tests/queries/0_stateless/02227_union_match_by_name.reference", "tests/queries/0_stateless/02227_union_match_by_name.sql"]
Null pointer dereference in Aggregator
``` <Fatal> BaseDaemon: ######################################## <Fatal> BaseDaemon: (version 22.5.1.2079 (official build), build id: EBBF91C52186EE12) (from thread 46419) (query_id: 51268d18-4093-4de4-b3fa-18f3e7ff3ea9) (query: SELECT avgWeighted(x, y) FROM (SELECT NULL, 255 AS x, 1 AS y UNION ALL SELECT y, NULL AS ...
https://github.com/ClickHouse/ClickHouse/issues/37569
https://github.com/ClickHouse/ClickHouse/pull/37593
473b0bd0db0e4e26ecdbf028770a920f234b571f
f58623a3755b50f83ccc1cfb946a5d8ba7ca7218
2022-05-26T15:26:26Z
c++
2022-05-31T13:27:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,549
["tests/ci/build_check.py", "tests/ci/ci_config.py"]
Build in CI can be interrupted but results uploaded to S3
Build in CI can be interrupted but results uploaded to S3 - it prevents further rerun until new commit. Example: https://github.com/ClickHouse/ClickHouse/actions/runs/2378796282/attempts/2 Discussion (slack): https://clickhouse-inc.slack.com/archives/C02N5V7EU57/p1653502032025939
https://github.com/ClickHouse/ClickHouse/issues/37549
https://github.com/ClickHouse/ClickHouse/pull/38086
c83594284dc30c55568bbc0cf1b60bcb7f6be995
e1547058cf6271ec5f97a93876f3b4209207134d
2022-05-25T20:53:28Z
c++
2022-06-20T09:49:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,531
["src/Functions/FunctionsRound.h", "tests/queries/0_stateless/00700_decimal_round.reference", "tests/queries/0_stateless/00700_decimal_round.sql"]
incorrect floor / ceiling / round with Decimal128/256
```sql SELECT floor(toDecimal64(1232.123132, 4) AS D64), ceiling(D64), round(D64), roundBankers(D64), floor(toDecimal128(1232.123132, 24) AS D128), ceiling(D128), round(D128), roundBankers(D128), floor(toDecimal256(1232.123132, 24) AS D256), ceiling(D256), round(D...
https://github.com/ClickHouse/ClickHouse/issues/37531
https://github.com/ClickHouse/ClickHouse/pull/38027
59d32f8c96f169c9d20a3a7984b7cae29efc4750
baebbc084f059cd4dfa148c3aa40b2286b042059
2022-05-25T14:17:36Z
c++
2022-06-17T07:48:18Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,514
["src/Processors/Transforms/FillingTransform.cpp", "tests/queries/0_stateless/02112_with_fill_interval.reference", "tests/queries/0_stateless/02112_with_fill_interval.sql"]
The WITH FILL modifier can not be applied to Date in descending order
**Describe the unexpected behaviour** The `WITH FILL` modifier on an `ORDER BY` clause does not accept a negative `INTERVAL` as a `STEP`, when the `ORDER BY` is applied to a `Date` column and the order is `DESC`. This is unexpected because negative steps work fine on numeric columns sorted in descending order. ...
https://github.com/ClickHouse/ClickHouse/issues/37514
https://github.com/ClickHouse/ClickHouse/pull/37600
6db44f633f70d0647a9c6aaa0e1d7a54a6b04835
52d3791eb9ab187dca15f6737e67ff84eec5b210
2022-05-25T05:46:44Z
c++
2022-05-30T17:43:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,434
["src/Coordination/KeeperServer.cpp", "tests/integration/test_keeper_force_recovery_single_node/__init__.py", "tests/integration/test_keeper_force_recovery_single_node/configs/enable_keeper1.xml", "tests/integration/test_keeper_force_recovery_single_node/configs/enable_keeper1_solo.xml", "tests/integration/test_keeper_...
clickhouse-keeper --force-recovery useless after scale down keeper cluster in Kubernetes
@antonio2368 , after https://github.com/ClickHouse/ClickHouse/pull/36258 and https://github.com/ClickHouse/ClickHouse/issues/35465 I tried to test your --force-recovery implementation and failed, totally when we try to scale down zookeeper cluster from 3 nodes to 1 nodes we need only one keeper node `clickhouse...
https://github.com/ClickHouse/ClickHouse/issues/37434
https://github.com/ClickHouse/ClickHouse/pull/37440
8d876653e852e4e435924f0e7d388bfdb72d00f6
ea19f1f18c89f9d0dd5223355046fb660352405f
2022-05-23T03:22:45Z
c++
2022-05-24T11:03:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,423
["src/Storages/MergeTree/DataPartsExchange.cpp"]
Possible deadlock during fetching part (only when I use a non-production feature "zero-copy replication")
There is a possible deadlock in `Fetcher::fetchPart` when fail to do fetching with zero-copy. ``` ... Thread 1612 (Thread 0x7f4437dff700 (LWP 692837)): #0 0x00007f448499a42d in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x00007f4484995dcb in _L_lock_812 () from /lib64/libpthread.so.0 #2 0x00007f4484...
https://github.com/ClickHouse/ClickHouse/issues/37423
https://github.com/ClickHouse/ClickHouse/pull/37424
ff98c24d44dc1ef708b7b350c1a99ad9517d578d
51868a9a4ff1f7d77757cb4172d5b50962e5d88d
2022-05-22T10:27:55Z
c++
2022-05-25T18:15:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,420
["src/Processors/Formats/Impl/BinaryRowInputFormat.cpp", "src/Processors/Formats/Impl/CSVRowInputFormat.cpp", "src/Processors/Formats/Impl/CustomSeparatedRowInputFormat.cpp", "src/Processors/Formats/Impl/JSONCompactEachRowRowInputFormat.cpp", "src/Processors/Formats/Impl/TabSeparatedRowInputFormat.cpp", "src/Processors...
HTTP body in RowBinary format started with BOM (0xEFBBBF) leads to `Cannot read all data`
> You have to provide the following information whenever possible. Batches started with `0xEFBBBF` cannot be inserted in the `RowBinary` format using HTTP. > A clear and concise description of what works not as it is supposed to. **Does it reproduce on recent release?** On the latest available on the docker...
https://github.com/ClickHouse/ClickHouse/issues/37420
https://github.com/ClickHouse/ClickHouse/pull/37428
8c0dba73024ae24f54fca28ca278f4d6e3dd8adc
251be860e7dfcd481ec896ae23f1146806eec4d2
2022-05-22T01:06:59Z
c++
2022-06-01T11:36:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,419
["src/Functions/FunctionShowCertificate.cpp", "src/Functions/FunctionShowCertificate.h", "src/Functions/registerFunctions.cpp"]
Implement function to inspect server's SSL certificate
**Use case** Check and verify server's SSL certificate **Describe the solution you'd like** Some function like showCertificate to populate standard certificate fields... **Additional context** Addition following #36583
https://github.com/ClickHouse/ClickHouse/issues/37419
https://github.com/ClickHouse/ClickHouse/pull/37540
c6b20cd5edb8d9517fdaf5176e86025ddbbb83cb
873ac9f8ff4659d490c60f481491614a2af6d5e9
2022-05-21T21:28:20Z
c++
2022-05-31T06:50:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,401
["src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/02304_grouping_set_order_by.reference", "tests/queries/0_stateless/02304_grouping_set_order_by.sql"]
grouping sets + order by (column `time` is not under aggregate)
```sql SELECT toStartOfHour(time) AS timex, id, count() FROM ( SELECT concat('id', toString(number % 3)) AS id, toDateTime('2020-01-01') + (number * 60) AS time FROM numbers(100) ) GROUP BY GROUPING SETS ( (timex, id), (timex)) ORDER BY timex ASC; Received exception from server...
https://github.com/ClickHouse/ClickHouse/issues/37401
https://github.com/ClickHouse/ClickHouse/pull/37493
f321925032fd2de1cb3b308fdf9ae71aaf1c267f
5c3c994d2a47cc05d044f7f645623c7445dd771b
2022-05-20T20:56:19Z
c++
2022-05-26T00:25:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,395
["src/Functions/generateUUIDv4.cpp", "tests/queries/0_stateless/02310_generate_multi_columns_with_uuid.reference", "tests/queries/0_stateless/02310_generate_multi_columns_with_uuid.sql"]
generateUUIDv4(tag argument)
to make it possible to generate two columns with UUID. ``` select generateUUIDv4(1), generateUUIDv4(2); ┌─generateUUIDv4(1)────────────────────┬─generateUUIDv4(2)────────────────────┐ │ bc834744-236b-4860-a961-4f8aafcae2b5 │ 37e7908c-e1d4-491f-b34d-dee0de7794df │ └──────────────────────────────────────┴───────...
https://github.com/ClickHouse/ClickHouse/issues/37395
https://github.com/ClickHouse/ClickHouse/pull/37415
b3ee8114d924772d2f164bca7e8badd8328dddc3
698e5e5352ac498b14753cd67f585c9c8d4b4df4
2022-05-20T19:33:56Z
c++
2022-05-22T21:29:42Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,381
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/ExpressionAnalyzer.h", "tests/queries/0_stateless/02354_read_in_order_prewhere.reference", "tests/queries/0_stateless/02354_read_in_order_prewhere.sql"]
Exception with optimize_move_to_prewhere = 1
``` select version(); ┌─version()───┐ │ 22.5.1.2079 │ └─────────────┘ CREATE TABLE order ( `ID` String, `Type` Enum8('TYPE_0' = 0, 'TYPE_1' = 1, 'TYPE_2' = 2), `Num` UInt64, `Data` String, `RowCreatedAt` DateTime DEFAULT now() ) ENGINE = ReplacingMergeTree() PARTITION BY toYYYYMMDD(R...
https://github.com/ClickHouse/ClickHouse/issues/37381
https://github.com/ClickHouse/ClickHouse/pull/39157
c669721d46519a51c9e61c40bee8bd1fa8a7995a
f6a82a6a5345fd36cd5198e09c4ad8398aa4d310
2022-05-20T07:42:51Z
c++
2022-07-15T14:37:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,368
["src/Storages/System/StorageSystemCertificates.cpp"]
Possible memory leaks in system.certificates implementation
Memory leaks in system.certificates implementation due to possible exception. Example: https://github.com/ClickHouse/ClickHouse/pull/37142/files#diff-1e24e43bfc38cec9770c3cc831b14d045c8138a60d7b77de8d32d96f4a2387e7R110 ref #37142
https://github.com/ClickHouse/ClickHouse/issues/37368
https://github.com/ClickHouse/ClickHouse/pull/37407
d878f193d81730f413196d60531ac7adffec26cf
790f442362f68374037c225000779ae6e293c407
2022-05-19T14:59:41Z
c++
2022-05-21T21:15:30Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,360
["src/Columns/IColumn.h", "src/DataTypes/IDataType.cpp", "src/DataTypes/IDataType.h", "src/Processors/QueryPlan/AggregatingStep.cpp", "src/Processors/Transforms/CubeTransform.cpp", "src/Processors/Transforms/RollupTransform.cpp", "tests/queries/0_stateless/02313_group_by_modifiers_with_non-default_types.reference", "te...
Enum without zero value is not supported in WITH CUBE, WITH ROLLUP and GROUPING SETS
``` play-eu :) SELECT actor_login, event_type, count() FROM github_events WHERE repo_name = 'ClickHouse/ClickHouse' GROUP BY actor_login, event_type WITH ROLLUP ORDER BY count() DESC LIMIT 10 SELECT actor_login, event_type, count() FROM github_events WHERE repo_name = 'ClickHouse/ClickHouse' GROUP...
https://github.com/ClickHouse/ClickHouse/issues/37360
https://github.com/ClickHouse/ClickHouse/pull/37667
04e25bc044aeb79edd6e05bd847f568b5a4a19a1
ab9fc572d536ec9b3b7b2ac8628a3824bdeeda4c
2022-05-19T13:06:23Z
c++
2022-06-15T02:14:33Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,333
["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/02462_match_regexp_pk.reference", "tests/queries/0_stateless/02462_match_regexp_pk.sql"]
`match` function can use index if it's a condition on string prefix.
`SELECT ... WHERE match(key, '^prefix...')` should use index similarly to `SELECT ... WHERE key LIKE 'prefix%'`
https://github.com/ClickHouse/ClickHouse/issues/37333
https://github.com/ClickHouse/ClickHouse/pull/42458
d18d08bcc78431977abe735e3bc6793e6e2308c2
bab0e06e3d988b02840cb089fc64e53b83612a04
2022-05-18T18:27:50Z
c++
2022-10-31T21:33:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,331
["docs/en/sql-reference/statements/create/user.md", "docs/ru/sql-reference/statements/create/user.md", "src/Parsers/Access/ParserCreateUserQuery.cpp", "src/Parsers/tests/gtest_Parser.cpp"]
CREATE USER fails with "ON CLUSTER" and "sha256_password"
I'm trying to create a new user on a clickhouse cluster with 3 shards using this command: `CREATE USER IF NOT EXISTS user ON CLUSTER '{cluster}' IDENTIFIED WITH sha256_password BY 'password' DEFAULT ROLE NONE` This command gets expanded to: `CREATE USER IF NOT EXISTS user ON CLUSTER {cluster} IDENTIFIED WITH sh...
https://github.com/ClickHouse/ClickHouse/issues/37331
https://github.com/ClickHouse/ClickHouse/pull/37377
3dfa30dedd65505b654a9f345448d54dabf24fce
ce1df15e1c757768e5f60d2bd8542c0b41a447ad
2022-05-18T16:46:03Z
c++
2022-05-21T18:36:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,329
["src/Interpreters/Context.cpp", "src/Interpreters/Context.h"]
DataTypeFactory::get locks a mutex from context.
`DataTypeFactory::get` locks a mutex inside shared a context, there was a case when many threads were locked inside it https://pastila.nl/?0043b3e6/c557368f4cf0eb87a3c6f2cc162bc693 It is not clear which thread locked the mutex for a long time. However, it may be possible to lock less inside `DataTypeFactory::get`...
https://github.com/ClickHouse/ClickHouse/issues/37329
https://github.com/ClickHouse/ClickHouse/pull/37532
3a92e61827c1e060a6214fd5dbdf1cfe165c4b71
fea2401f1fa4985ef6ee918fc835f22fde815862
2022-05-18T15:12:52Z
c++
2022-05-26T11:03:28Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,298
["src/Functions/normalizeString.cpp", "tests/queries/0_stateless/02311_normalize_utf8_constant.reference", "tests/queries/0_stateless/02311_normalize_utf8_constant.sql"]
hex(normalizeUTF8NFC LOGICAL_ERROR
```sql SELECT hex(normalizeUTF8NFC('â')) Received exception from server (version 22.4.5): Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Column size mismatch (internal logical error): While processing hex(normalizeUTF8NFC('â')). (LOGICAL_ERROR) ``` ```sql SELECT 'â' AS s, ...
https://github.com/ClickHouse/ClickHouse/issues/37298
https://github.com/ClickHouse/ClickHouse/pull/37443
e33cfc889cdb5371749afb8b07db470946781fec
712b000f2aa6db53a1dd174fc73768b29cfab11e
2022-05-17T15:58:45Z
c++
2022-05-24T09:11:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,280
["src/Access/ContextAccess.cpp", "tests/queries/0_stateless/02315_readonly_create_function.reference", "tests/queries/0_stateless/02315_readonly_create_function.sh"]
Users can create functions in the case of readonly.
clickhouse version: 22.3.6.5 users.yaml : ``` public_ro: password: "test" networks: ip: '::/0' profile: readonly quota: default allow_databases: - database: public ``` exec result: ``` clickhouse-0-0.clickhouse-headless.default.svc.cluster.local :) create table test(te...
https://github.com/ClickHouse/ClickHouse/issues/37280
https://github.com/ClickHouse/ClickHouse/pull/37699
8c40f05d4cba0583339b10c98537307329df942e
1d9c8351a0703231938fcb4b2d90cea192f6f439
2022-05-17T06:28:22Z
c++
2022-06-02T09:04:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,274
["src/Dictionaries/HTTPDictionarySource.cpp", "src/Storages/ExternalDataSourceConfiguration.cpp", "src/Storages/ExternalDataSourceConfiguration.h", "tests/integration/test_storage_dict/__init__.py", "tests/integration/test_storage_dict/configs/conf.xml", "tests/integration/test_storage_dict/test.py"]
Add support for HTTP source for Data Dictionaries in Named Collections
**Use case** For creating external data dictionary with settings (url, headers, etc.) from config.xml `<named_collections>` for HTTP sources. This is to allow updating per environment test, staging, prod without updating `CREATE DICTIONARY` statement, values set externally. **Describe the solution you'd like** ...
https://github.com/ClickHouse/ClickHouse/issues/37274
https://github.com/ClickHouse/ClickHouse/pull/37581
7fbe91ca810ef70c5e083278fcab817cad6d28c7
e23cec01d525dc7423d16144319fa432274ba5b9
2022-05-16T22:16:28Z
c++
2022-06-01T15:55:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,237
["src/Storages/StorageMaterializedView.cpp", "src/Storages/StorageMaterializedView.h"]
Exception when insert into materialized view
> You have to provide the following information whenever possible. Exception when insert into materialized view > A clear and concise description of what works not as it is supposed to. **Does it reproduce on recent release?** Reproduce on `ClickHouse 22.5.1.1 with revision 54462` [The list of releases](...
https://github.com/ClickHouse/ClickHouse/issues/37237
https://github.com/ClickHouse/ClickHouse/pull/37243
87d445295f215e27b694dfa835d52f01328fb469
b6bf283f4d5ac6c54a8db9c99bbeb28c8921979c
2022-05-16T07:42:39Z
c++
2022-05-23T10:33:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,231
["tests/queries/0_stateless/02311_range_hashed_dictionary_range_cast.reference", "tests/queries/0_stateless/02311_range_hashed_dictionary_range_cast.sql"]
RANGE_HASHED throws Value in column UInt64 cannot be safely converted into type Int64
```sql 21.8.13 create table dict_source (key UInt64, start UInt64, end UInt64, x Float64) Engine=Memory; insert into dict_source values (1, 0, 18446744073709551615, inf); CREATE DICTIONARY dict ( key UInt64, start UInt64, end UInt64, x Float64 ) PRIMARY KEY key SOURCE(CLICKHOUSE(TABLE dict_source DB 'defa...
https://github.com/ClickHouse/ClickHouse/issues/37231
https://github.com/ClickHouse/ClickHouse/pull/37449
008de5c779b442af64e8337a45894d01a63e4ac6
9de54040ad02445893c51336b5cefcb92da25c3b
2022-05-16T02:59:05Z
c++
2022-05-23T14:49:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,229
["src/Interpreters/InterpreterCreateQuery.cpp", "src/Parsers/ParserCreateQuery.h", "tests/queries/0_stateless/01269_create_with_null.reference", "tests/queries/0_stateless/01269_create_with_null.sql", "tests/queries/0_stateless/02302_column_decl_null_before_defaul_value.reference", "tests/queries/0_stateless/02302_colu...
Column declaration: [NOT] NULL right after type
Execution of this query ``` create table t (c1 int(11) DEFAULT 1 NULL) engine=MergeTree order by tuple() ``` will return parsed query ``` CREATE TABLE t ( `c1` int NULL DEFAULT 1 ) ENGINE = MergeTree ORDER BY tuple() ``` In the parsed query, NULL comes before DEFAULT, in the initial - other way around...
https://github.com/ClickHouse/ClickHouse/issues/37229
https://github.com/ClickHouse/ClickHouse/pull/37337
2ff747785ed6eb6da8911975f2673f976db48dd6
04e2737a572fbc9e9baf9a5b735a906458fd1e2b
2022-05-15T21:05:06Z
c++
2022-05-24T19:16:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,205
["src/Interpreters/MutationsInterpreter.cpp", "src/Storages/MergeTree/MergeTask.cpp", "src/Storages/MergeTree/MutateTask.cpp", "src/Storages/MergeTree/StorageFromMergeTreeDataPart.h", "tests/queries/0_stateless/01825_type_json_mutations.reference", "tests/queries/0_stateless/01825_type_json_mutations.sql"]
Records with a JSON column aren't deleted correctly
**Describe what's wrong** Record with a JSON column seems to not be deleted correctly. **Does it reproduce on recent release?** Yes **How to reproduce** First let's create the table with a JSON column. ``` CREATE TABLE testJson ( `id` UInt32, `fields` JSON ) ENGINE = ReplicatedMergeTree ...
https://github.com/ClickHouse/ClickHouse/issues/37205
https://github.com/ClickHouse/ClickHouse/pull/37266
492de1076cbf87be99b67ac37ec866faa55c094f
aaace46da25222295d5c3db8119962627d2fc88c
2022-05-13T18:59:48Z
c++
2022-05-18T10:19:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,141
["src/Interpreters/ApplyWithGlobalVisitor.cpp", "tests/queries/0_stateless/02295_global_with_in_subquery.reference", "tests/queries/0_stateless/02295_global_with_in_subquery.sql"]
Exception: Missing columns when union all under with clause in subquery
It's ok when i run ```sql with (select count(*) from system.clusters) as v1, (select count(*) from system.disks) as v2 select v1 as v union all select v2 as v ``` result: ``` v | --+ 14| 1| ``` , but when i wrap it in subquery: ```sql SELECT v FROM (with (select count(*) from...
https://github.com/ClickHouse/ClickHouse/issues/37141
https://github.com/ClickHouse/ClickHouse/pull/37166
7006ef6ebb51ced7c92efc843eb15103e0fd1e78
75008d5903cb798112ca0e419abc9c45752f982b
2022-05-12T03:13:29Z
c++
2022-05-16T10:21:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,099
["packages/clickhouse-server.postinstall"]
ClickHouse server fails to start after upgrading from `22.3.6.5-lts` to `22.4.5.9-stable`
Dear ClickHouse maintainers, Please, kindly find the reported issue below. # Issue The ClickHouse server fails to start after upgrading from the `22.3.6.5-lts` version to the `22.4.5.9-stable` version. # Scenario ## Steps 1. Install the ClickHouse server `22.3.6.5-lts` by using the `*.deb` files (`dpkg -i *...
https://github.com/ClickHouse/ClickHouse/issues/37099
https://github.com/ClickHouse/ClickHouse/pull/39323
1842a3fc7a8fdb50491aa97a5b531088ac63fdb9
a5d5dc2c00047f5b4f2b2e58f1e456c50a7e3522
2022-05-11T03:48:13Z
c++
2022-08-03T22:46:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
37,045
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/ExpressionAnalyzer.h", "tests/queries/0_stateless/02281_limit_by_distributed.reference", "tests/queries/0_stateless/02281_limit_by_distributed.sql"]
Error "Cannot create column of type Set." with distributed in + LIMIT 1 BY
22.4.5 ```sql SELECT dummy FROM cluster(test_cluster_two_shards, system.one) WHERE dummy IN ( SELECT dummy FROM cluster(test_cluster_two_shards, system.one) ) LIMIT 1 BY dummy SETTINGS distributed_product_mode = 'local' Received exception from server (version 22.4.5): Code: 43. DB::Exception: R...
https://github.com/ClickHouse/ClickHouse/issues/37045
https://github.com/ClickHouse/ClickHouse/pull/37193
4def736ecbfdeae0b6b2495dde8cbab317af6918
7d88b8162235df5bbef53bdba7074014c375df25
2022-05-09T14:34:43Z
c++
2022-05-18T11:28:19Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,982
["programs/server/play.html"]
Play UI: Nullable numbers are not aligned to the right and bar chart is not rendered.
https://play.clickhouse.com/play?user=play#U0VMRUNUIGRhdGFiYXNlLCBuYW1lLCB0b3RhbF9yb3dzLCBmb3JtYXRSZWFkYWJsZVNpemUodG90YWxfYnl0ZXMpIEFTIGIgRlJPTSBzeXN0ZW0udGFibGVzIE9SREVSIEJZIHRvdGFsX3Jvd3MgREVTQw==
https://github.com/ClickHouse/ClickHouse/issues/36982
https://github.com/ClickHouse/ClickHouse/pull/36988
854338d1c8399c3e6f66882549e556e16634dc6e
b2945766d0cfb7efc23ce094b5b4a2703815552c
2022-05-06T18:14:11Z
c++
2022-05-07T10:06:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,971
["src/Daemon/BaseDaemon.cpp"]
Clickhouse Watchdog exits with code 0 if child process killed by SIGKILL
``` мая 06 17:17:08 localhost clickhouse-server[1478172]: 2022.05.06 17:17:08.250884 [ 1478172 ] {} <Fatal> Application: Child process was terminated by signal 9 (KILL). If it is not done by 'forcestop' command or manually, the possible cause is OOM Killer (see 'dmesg' and look at the '/var/log/kern.log' for the detai...
https://github.com/ClickHouse/ClickHouse/issues/36971
https://github.com/ClickHouse/ClickHouse/pull/47973
e5f5088320fd9cda1787db84a6182a9716544246
3eb2a1cc5b273319327d96829c8f8e225aa531fc
2022-05-06T15:42:40Z
c++
2023-03-24T21:26:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,966
["src/Storages/StorageReplicatedMergeTree.cpp"]
Mutation 0000000000 was killed
As I've observed the DDL worker being a bottleneck of operations when working with replicas I've decided to give the `pool_size` option a try since the operations queued are related to different tables (and usually even different databases too) to see how things go. Apparently things work fine (since the caller avoi...
https://github.com/ClickHouse/ClickHouse/issues/36966
https://github.com/ClickHouse/ClickHouse/pull/39900
f08952b74c7bcfa1dbbde2ccd292da85e145f7ea
f52b6748db0c5076ae3a53390d75dbc71aa88b6a
2022-05-06T11:59:24Z
c++
2022-08-06T10:09:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,894
["tests/queries/0_stateless/02302_lc_nullable_string_insert_as_number.reference", "tests/queries/0_stateless/02302_lc_nullable_string_insert_as_number.sql"]
`ColumnLowCardinality cannot be inside Nullable column` error if insert values `int` instead of `string`
```sql 21.8.13.6 CREATE TABLE a(`c1` LowCardinality(Nullable(String)) DEFAULT CAST(NULL, 'LowCardinality(Nullable(String))')) ENGINE = Memory; INSERT INTO a (c1) FORMAT Values (0); select * from a; ┌─c1─┐ │ 0 │ └────┘ ``` ```sql 22.3.4 CREATE TABLE a(`c1` LowCardinality(Nullable(String)) DEFAULT CAST...
https://github.com/ClickHouse/ClickHouse/issues/36894
https://github.com/ClickHouse/ClickHouse/pull/51274
3a170c297a61e2a7957dda104a3eed0f77f129a1
41783c47d1fead9e8094dc460038e6571de1e83a
2022-05-04T00:00:38Z
c++
2023-07-04T22:59:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,810
["PreLoad.cmake"]
Unable to build ClickHouse from source on macOS Monterey
> Make sure that `git diff` result is empty and you've just pulled fresh master. Try cleaning up cmake cache. Just in case, official build instructions are published here: https://clickhouse.com/docs/en/development/build/ - [x] git diff is empty - [x] Pulled fresh master - [x] Cleaned `cmake` cache - [x] Re-revie...
https://github.com/ClickHouse/ClickHouse/issues/36810
https://github.com/ClickHouse/ClickHouse/pull/36819
65f33a30891871a78fe84b778cfa15bdf8be5897
8740d82bb5481aabebcfab1bcaf0e16450d3636d
2022-04-29T17:55:08Z
c++
2022-04-30T10:32:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,808
["src/Functions/FunctionsHashing.h", "tests/queries/0_stateless/02292_hash_array_tuples.reference", "tests/queries/0_stateless/02292_hash_array_tuples.sql"]
Hash functions are not supported for `Array(Tuple(...))` columns
**Describe the unexpected behaviour** Hash functions are not supported for `Array(Tuple(...))` columns: ```sql SELECT cityHash64([(1, 2), (2, 3)]) Received exception from server (version 22.5.1): Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: Method getDataAt is not supported for Tuple(U...
https://github.com/ClickHouse/ClickHouse/issues/36808
https://github.com/ClickHouse/ClickHouse/pull/36812
13e8db62992637c446722568f81097afb54f5b9c
0caf91602fc383f56682b0328babf9491f4bb62b
2022-04-29T17:07:11Z
c++
2022-05-06T12:15:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,797
["CMakeLists.txt", "cmake/ld.lld.in", "cmake/split_debug_symbols.cmake", "cmake/tools.cmake", "src/Common/Elf.cpp", "src/Common/SymbolIndex.cpp", "tests/queries/0_stateless/02161_addressToLineWithInlines.sql", "tests/queries/0_stateless/02420_stracktrace_debug_symbols.reference", "tests/queries/0_stateless/02420_strack...
introspection functions don't load debug symbols from clickhouse-common-static-dbg anymore
null
https://github.com/ClickHouse/ClickHouse/issues/36797
https://github.com/ClickHouse/ClickHouse/pull/40873
365438d6172cb643603d59a81c12eb3f10d4c5e6
499e479892b68414f087a19759fe3600508e3bb3
2022-04-29T13:41:54Z
c++
2022-09-07T15:31:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,792
["src/Interpreters/InterpreterInsertQuery.cpp", "tests/queries/0_stateless/01119_optimize_trivial_insert_select.reference", "tests/queries/0_stateless/01119_optimize_trivial_insert_select.sql"]
Optimization of trivial INSERT SELECT significantly slows down some queries
**The creation of table becomes too slow when I use CTEs within the query.** ***ClickHouse server version 22.4.3*** **How to reproduce** Trying to create a table based on the result of a query, I take very bad performance when I use a CTE: ``` --creation of table t and insertion of 10000000000 records --e...
https://github.com/ClickHouse/ClickHouse/issues/36792
https://github.com/ClickHouse/ClickHouse/pull/37047
a3df693acee9e3be7bd787c5191d4ed734f5b5f2
a3d922d6f6127d99704c48bbb7e5c7eaae286780
2022-04-29T12:15:49Z
c++
2022-05-10T10:02:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,770
["src/Functions/serverConstants.cpp", "tests/config/config.d/display_name.xml", "tests/config/install.sh", "tests/queries/0_stateless/02313_displayname.reference", "tests/queries/0_stateless/02313_displayname.sql"]
Add miscellaneous function `displayName()`
**Use case** It is better than hostname in the following example: ``` SELECT hostname() AS host, event_time, round(value, 2) AS v, bar(v, 0, 10, 100) FROM system.asynchronous_metric_log WHERE event_date >= yesterday() AND event_time >= now() - 300 AND metric = 'LoadAverage1' ORDER BY host, event_time ``` Becau...
https://github.com/ClickHouse/ClickHouse/issues/36770
https://github.com/ClickHouse/ClickHouse/pull/37681
88033562cd3906537cdf60004479495ccedd3061
c4eb83408f5712500ed3668c026d346b5acdb3a6
2022-04-29T04:33:25Z
c++
2022-11-08T09:53:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,714
["src/AggregateFunctions/AggregateFunctionMannWhitney.h", "src/AggregateFunctions/AggregateFunctionStudentTTest.cpp", "src/AggregateFunctions/AggregateFunctionTTest.h", "src/AggregateFunctions/AggregateFunctionWelchTTest.cpp", "src/AggregateFunctions/StatCommon.h", "tests/queries/0_stateless/01560_mann_whitney.referenc...
Incorrect pvalue in studentTTest
**Describe what's wrong** When using the studentTTest or welchTTest function these sometimes return the pvalue "1" while this result is wrong. I can't see a very specific pattern to it, but it might be related to high numbers of input rows as these are the only examples I can produce. Here two examples: ``` SELE...
https://github.com/ClickHouse/ClickHouse/issues/36714
https://github.com/ClickHouse/ClickHouse/pull/36953
dcad1541052f0e52d97b7f4d91620a93b5f8fe23
85a1204e959885bbed869477f8c4893914972661
2022-04-27T14:57:48Z
c++
2022-06-07T13:39:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,687
["src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.h", "src/Storages/MergeTree/MergeTreeBlockReadUtils.cpp", "src/Storages/MergeTree/MergeTreeBlockReadUtils.h", "src/Storages/MergeTree/MergeTreeReadPool.cpp", "src/Storages/MergeTree/MergeTreeSelectProcessor.cpp", "src/Storages/...
22.4 Vertical merges of wide parts are broken
Vertical merges of wide parts fail if there is an array in the table and not all columns are present in parts. ```sql CREATE TABLE aaa ( a Array(Int16), b Int8 ) ENGINE = MergeTree ORDER BY tuple() settings vertical_merge_algorithm_min_columns_to_activate=1, vertical_merge_algorithm_min_row...
https://github.com/ClickHouse/ClickHouse/issues/36687
https://github.com/ClickHouse/ClickHouse/pull/36707
73b451160d02e372a012f42fcae0b2a24cf850e9
9fb1d92ff54518f6d6d16b8f3c6c0bf1ed9c0b0a
2022-04-26T18:50:55Z
c++
2022-04-29T07:09:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,648
["programs/server/play.html"]
Play UI: if there is exactly only one record in the resultset and the number of columns is large, display it in vertical format.
**Use case** I want it.
https://github.com/ClickHouse/ClickHouse/issues/36648
https://github.com/ClickHouse/ClickHouse/pull/36811
9621d443459f0549bf4cb9ea181d381d36034728
474a805ea7586ee562f701919965c434101d713a
2022-04-25T22:25:57Z
c++
2022-05-02T00:44:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,618
["src/Parsers/ParserCreateQuery.h", "tests/queries/0_stateless/02287_ephemeral_format_crash.reference", "tests/queries/0_stateless/02287_ephemeral_format_crash.sql"]
Incorrect syntax of EPHEMERAL column leads to clickhouse-client crash
``` -- correct syntax: CREATE TABLE test_aborted1 (a UInt8, b String EPHEMERAL) Engine=Memory(); -- ok -- incorrect syntax: CREATE TABLE test_aborted1 (a UInt8, b EPHEMERAL String) Engine=Memory(); -- in clickhouse-client: Aborted (lldb) bt * thread #1, name = 'clickhouse-clie', stop reason = signal SIGSEGV...
https://github.com/ClickHouse/ClickHouse/issues/36618
https://github.com/ClickHouse/ClickHouse/pull/36633
db9cb4cf092910935101c81c6ad90d6f39dfc1be
7001489095a3b4412c60f2e3da751f30a988c368
2022-04-25T12:11:54Z
c++
2022-04-28T16:38:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,558
["src/Functions/FunctionsConversion.h", "tests/queries/0_stateless/02287_type_object_convert.reference", "tests/queries/0_stateless/02287_type_object_convert.sql"]
CAST Object to Object with Nullable subcolumns doesn't work
I expect it should work: ``` :) select CAST(CAST('{"x" : 1}', 'Object(\'json\')'), 'Object(Nullable(\'json\'))') SELECT CAST(CAST('{"x" : 1}', 'Object(\'json\')'), 'Object(Nullable(\'json\'))') Query id: fb057b45-b72a-4d22-9b38-a3136cdf2465 0 rows in set. Elapsed: 0.002 sec. Received exception from serv...
https://github.com/ClickHouse/ClickHouse/issues/36558
https://github.com/ClickHouse/ClickHouse/pull/36564
77e55c344c7c68288d514b36e3c4eb5fa6afa179
9c1a06703a2f4cae38060534511ce5468d86ff87
2022-04-22T18:29:37Z
c++
2022-05-04T18:40:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,530
["src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/02233_interpolate_1.reference", "tests/queries/0_stateless/02233_interpolate_1.sql"]
INTERPOLATE doesn't work for MergeTree
**Describe what's wrong** INTERPOLATE doesn't work for tables with ENGINE = MergeTree **Does it reproduce on recent release?** yes **How to reproduce** ``` CREATE TABLE t1 (n Int32) ENGINE = MergeTree ORDER BY n; INSERT INTO t1 VALUES (1),(3),(3),(6),(6),(6); SELECT n, count() AS m FROM t1 GRO...
https://github.com/ClickHouse/ClickHouse/issues/36530
https://github.com/ClickHouse/ClickHouse/pull/36549
34c342fdd3164c18db339d07de21c54ef92b0a84
0fa63a8d65937b39f3f4db5d133b2090dfd89f12
2022-04-22T04:44:28Z
c++
2022-04-25T11:18:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,523
["src/DataTypes/DataTypeTuple.cpp", "tests/queries/0_stateless/02286_tuple_numeric_identifier.reference", "tests/queries/0_stateless/02286_tuple_numeric_identifier.sql"]
JSON data type: Explicitly specified names of tuple elements cannot start with digit
**Describe the unexpected behaviour** An error is received when inserting to a table with JSON column type: ``` Received exception from server (version 22.3.3): Code: 36. DB::Exception: Received from localhost:9000. DB::Exception: Explicitly specified names of tuple elements cannot start with digit. (BAD_ARGUME...
https://github.com/ClickHouse/ClickHouse/issues/36523
https://github.com/ClickHouse/ClickHouse/pull/36544
bd1f12e5d50595728e3c6078f3ed73eaac696dfa
17bb7f175b8f5b3ed7ff90ed552c40a85133e696
2022-04-21T23:14:07Z
c++
2022-04-26T10:22:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,474
["src/Interpreters/SessionLog.cpp"]
session_log.interface is missing enum values
``` select distinct interface from system.session_log Code: 36. DB::Exception: Unexpected value 6 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 22.3.3.44 (official build)) ``` Current interfaces in table definitions: ``` `interface` Enum8('TCP' = 1, 'HTTP' = 2, 'gRPC'...
https://github.com/ClickHouse/ClickHouse/issues/36474
https://github.com/ClickHouse/ClickHouse/pull/36480
064a4a9a6996823ef520187b860d572fbd34e35c
9713441650fc0781726d25d258a6f550f4b47ca3
2022-04-21T06:45:29Z
c++
2022-04-21T19:14:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,451
["src/Dictionaries/getDictionaryConfigurationFromAST.cpp"]
ClickHouse does not start if dns entry is invalid for external ClickHouse dictionary
**Describe the unexpected behavior** Create a dictionary of source type ClickHouse using a remote instance. Remove the remote instance and its associated DNS address. If we restart the local instance with the dictionary, it will refuse to start with the following exception: ``` 0. Poco::Net::HostNotFoundException:...
https://github.com/ClickHouse/ClickHouse/issues/36451
https://github.com/ClickHouse/ClickHouse/pull/36463
5b5dd4fa4673d0137e56c8bbe3af28444866cd54
7f50bebba114abfb947a92995b588f2757a7e487
2022-04-20T11:54:14Z
c++
2022-04-22T12:28:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,448
["src/Interpreters/TreeOptimizer.cpp", "tests/queries/0_stateless/02285_executable_user_defined_function_group_by.reference", "tests/queries/0_stateless/02285_executable_user_defined_function_group_by.sql"]
Executable User Defined Functions used by aggregate function error "Unknown function"
Always reproduced (ClickHouse server version 22.3.2.1): ` udf code, python version 3.9.6 #!/usr/bin/python import sys import time if __name__ == '__main__': for line in sys.stdin: print("Python4 " + line, end='') sys.stdout.flush() ` SELECT test_function_python('clickhouse') Quer...
https://github.com/ClickHouse/ClickHouse/issues/36448
https://github.com/ClickHouse/ClickHouse/pull/36486
8af3159916eb67c9f2a1356d4cc5f644b1fe1f6d
fe004c3486b9275939a97ea29f7a0000e74f8427
2022-04-20T11:49:13Z
c++
2022-04-24T03:11:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,377
["src/Storages/StorageReplicatedMergeTree.cpp", "tests/queries/0_stateless/02020_alter_table_modify_comment.reference", "tests/queries/0_stateless/02302_ReplicatedMergeTree_comment.reference", "tests/queries/0_stateless/02302_ReplicatedMergeTree_comment.sql"]
ALTER TABLE MODIFY COMMENT does not work on ReplicatedMergeTree
We use Clickhouse version 22.3.3.44, and met with with some wrong behaviour - queries "ALTER TABLE ... MODIFY COMMENT ... " does not work on ReplicatedMergeTree engine. Bug reproduce script: ``` CREATE TABLE sandbox.test__calendar ( `dttm` DateTime COMMENT 'date and time', `timestamp` Int64 COMMENT 'e...
https://github.com/ClickHouse/ClickHouse/issues/36377
https://github.com/ClickHouse/ClickHouse/pull/37416
5f10c6e8893aadf40b1b30c500d6c89cd3b21b49
f63fa9bcc680fa4ac412c67ae484a0af84be5063
2022-04-18T07:48:28Z
c++
2022-05-27T16:29:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,367
["src/Disks/IO/ThreadPoolReader.cpp", "src/Disks/IO/ThreadPoolRemoteFSReader.cpp", "src/IO/WriteBufferFromS3.cpp", "src/Interpreters/ThreadStatusExt.cpp", "src/Processors/Transforms/buildPushingToViewsChain.cpp"]
When I use Kafka table: there might be a memory leak after upgrading to version 22.3.3
We use clickhosue version 21.12.2.17 before.It works well But we found that after upgrade to 22.3.3, the memory of clickhouse used grow up daily . I don't know if this is a memory overflow here is the promethues metric 'ClickHouseMetrics_MemoryTracking' duration last 15days ![image](https://user-images.git...
https://github.com/ClickHouse/ClickHouse/issues/36367
https://github.com/ClickHouse/ClickHouse/pull/40732
eb87e3df16592fe42d501b99a6254957626c4165
88141cae98d7dad12720423c9ddbb98551d089f7
2022-04-18T02:27:52Z
c++
2022-08-29T17:36:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,354
["src/TableFunctions/ITableFunctionFileLike.cpp", "src/TableFunctions/ITableFunctionFileLike.h", "src/TableFunctions/TableFunctionFile.cpp", "src/TableFunctions/TableFunctionFile.h", "tests/queries/0_stateless/02286_use_file_descriptor_in_table_function_file.reference", "tests/queries/0_stateless/02286_use_file_descrip...
Allow file descriptors in table function `file` if it is run in `clickhouse-local`
**Use case** ``` clickhouse-local --query "SELECT * FROM file(0, JSONEachRow)" < something ``` **Additional context** I also tried other intuitive options: ``` clickhouse-local --query "SELECT * FROM file(stdin, JSONEachRow)" < something clickhouse-local --query "SELECT * FROM file('-', JSONEachRow)" < so...
https://github.com/ClickHouse/ClickHouse/issues/36354
https://github.com/ClickHouse/ClickHouse/pull/36562
aaf74914b04a7755c082d12867e7830b65da7bf4
fd980e6840530db64d96749ff806d27e3a9d47fa
2022-04-17T16:17:49Z
c++
2022-05-02T11:25:13Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,340
["programs/main.cpp"]
Hostile environments can poison ClickHouse with LD_PRELOAD
**Use case** https://colab.research.google.com/drive/1wzYn59PA9EDyra6356a8rUpwd3zUX0Zt?usp=sharing **Describe the solution you'd like** There are multiple ways to prevent LD_PRELOAD: - link statically with musl to prevent any chance for LD_PRELOAD working; - add some flag to the binary like capabilities or...
https://github.com/ClickHouse/ClickHouse/issues/36340
https://github.com/ClickHouse/ClickHouse/pull/36342
eab80dbfdcc3ab9a17f2ed8039bab9499c5ee106
956b4b5361f791b12a88aabd808bf5225abed5fb
2022-04-16T20:59:17Z
c++
2022-04-18T04:01:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,336
["src/Client/ClientBase.cpp", "src/Core/Settings.h", "src/Parsers/ParserInsertQuery.cpp", "src/Server/GRPCServer.cpp", "tests/queries/0_stateless/02267_insert_empty_data.reference", "tests/queries/0_stateless/02267_insert_empty_data.sql"]
A setting `throw_if_no_data_to_insert`
**Use case** ClickHouse already throws exception if the data for INSERT is empty: ``` Code: 108. DB::Exception: No data to insert ``` Let's introduce a setting, enabled by default, to control this behavior. The user will be able to disable it to allow empty INSERTs. This is useful in some batch scripts.
https://github.com/ClickHouse/ClickHouse/issues/36336
https://github.com/ClickHouse/ClickHouse/pull/36345
f6ab2bd523e6965aaba2e3e7e1f4e083d5db4279
1333b4cd8940965f89bc1a2e25184834144e8abe
2022-04-16T17:53:22Z
c++
2022-04-18T04:04:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,335
["src/Core/Settings.h", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "src/Storages/MergeTree/MergeTreeSink.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp", "tests/queries/0_stateless/02280_add_query_level_settings.reference", "tests/queries/0_stateless/02280_add_query...
`parts_to_delay_insert` and `parts_to_throw_insert` can be also query-level settings
If they are defined, they can override table-level settings.
https://github.com/ClickHouse/ClickHouse/issues/36335
https://github.com/ClickHouse/ClickHouse/pull/36371
641a5f5e350074777ea04854c0202a98abda06d4
af980ef4efca068254c9abe18be64b6895f6f052
2022-04-16T16:53:11Z
c++
2022-04-28T09:08:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,334
["src/TableFunctions/TableFunctionNull.cpp", "src/TableFunctions/TableFunctionNull.h", "tests/queries/0_stateless/02267_type_inference_for_insert_into_function_null.reference", "tests/queries/0_stateless/02267_type_inference_for_insert_into_function_null.sql"]
Type inference for INSERT INTO FUNCTION null()
**Use case** `INSERT INTO FUNCTION null() SELECT * FROM ...` ``` Table function 'null' requires 'structure'. ```
https://github.com/ClickHouse/ClickHouse/issues/36334
https://github.com/ClickHouse/ClickHouse/pull/36353
0af183826d4f103a75995956f194232bc3ade425
f5e270b2f858cbaeea6041819ff66c22ec3d1b60
2022-04-16T14:57:03Z
c++
2022-04-18T04:06:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,313
["programs/server/Server.cpp", "src/Common/getNumberOfPhysicalCPUCores.cpp"]
The server has 96 logical cores (AMD EPYC 7R32) but ClickHouse selected 36 threads.
I don't understand why.
https://github.com/ClickHouse/ClickHouse/issues/36313
https://github.com/ClickHouse/ClickHouse/pull/36310
956b4b5361f791b12a88aabd808bf5225abed5fb
48fd09c7db7a8ee0b9a65d8dda660be8a0643c95
2022-04-15T23:57:02Z
c++
2022-04-18T04:01:23Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,307
["docs/en/sql-reference/data-types/enum.md", "docs/ru/sql-reference/data-types/enum.md", "src/DataTypes/DataTypeEnum.cpp", "tests/queries/0_stateless/00757_enum_defaults.reference", "tests/queries/0_stateless/00757_enum_defaults.sql"]
Possible range issues in automatic assigned enums, also fix error message.
**Describe the unexpected behaviour** Currently enum is numbered straight through using UInt64 starting from 1, while underlying type either Int8 or Int16 - such inconsistency can lead to some undesirable side effects or run-time errors **How to reproduce** current trunk, feature just added in #36101 ``` ClickHo...
https://github.com/ClickHouse/ClickHouse/issues/36307
https://github.com/ClickHouse/ClickHouse/pull/36352
894b1b163e982c6929ab451467f6e253e7e3648b
f6a7b6c2a122742ae060762323b431d4aa00b5d6
2022-04-15T20:35:30Z
c++
2022-04-20T03:34:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,304
[".github/workflows/tags_stable.yml", "docker/server/Dockerfile.alpine", "docker/server/Dockerfile.ubuntu", "utils/list-versions/update-docker-version.sh"]
Dockerfile in the repository is not updated on releases.
See `ARG VERSION=22.1.1.*`.
https://github.com/ClickHouse/ClickHouse/issues/36304
https://github.com/ClickHouse/ClickHouse/pull/41256
636994fab8df402fad4cadc0e0b28f8a0f892413
f47a44ef021b76f142065705a8c5fea367d32122
2022-04-15T18:36:05Z
c++
2022-09-14T10:27:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,303
["src/Processors/Formats/Impl/JSONEachRowRowInputFormat.cpp", "src/Processors/Formats/Impl/JSONEachRowRowOutputFormat.cpp", "tests/queries/0_stateless/02187_async_inserts_all_formats.reference", "tests/queries/0_stateless/02267_jsonlines_ndjson_format.reference", "tests/queries/0_stateless/02267_jsonlines_ndjson_format...
Add aliases `JSONLines`, `NDJSON`
To `JSONEachRow`
https://github.com/ClickHouse/ClickHouse/issues/36303
https://github.com/ClickHouse/ClickHouse/pull/36327
143b67a79049120520142cb389ea5e6e61a6c176
e8575f5f357b282efb93b96e6a0c2c11eda02998
2022-04-15T18:28:35Z
c++
2022-04-22T04:08:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,261
["src/Dictionaries/DictionaryStructure.h", "tests/queries/0_stateless/02811_ip_dict_attribute.reference", "tests/queries/0_stateless/02811_ip_dict_attribute.sql"]
support IPv6 as a dictionary attribute
```sql create table src ( id UInt64, ip6 IPv6) Engine=Memory; insert into src values(1, 'fe80::9801:43ff:fe1f:7690'); CREATE DICTIONARY dict ( id UInt64, ip6 IPv6 ) PRIMARY KEY id LAYOUT(HASHED()) SOURCE (CLICKHOUSE ( table src)) lifetime ( 10); (version 22.4.1): DB::Exception: Unknown t...
https://github.com/ClickHouse/ClickHouse/issues/36261
https://github.com/ClickHouse/ClickHouse/pull/51756
f7d89309064f4c18aedfd7abcf3ee077c308dd76
9448d42aea6c5befae09cc923570fd6575a6d6f8
2022-04-14T14:16:12Z
c++
2023-07-27T19:59:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,123
["src/Processors/Transforms/PostgreSQLSource.cpp"]
Segmentation fault after external dictionary loading with PostgreSQL12.5
ClickHouse: 22.3.3.44 CentOS Linux release 7.8.2003 (Core) PostgreSQL: 12.5 ClickHouse crashes while creating an external dictionary with PostgreSQL 12.5 as a source. Client returns Unexpected EOF while reading bytes message after query finish. ``` CREATE DICTIONARY xxx_dict ( id String, x1 String, ...
https://github.com/ClickHouse/ClickHouse/issues/36123
https://github.com/ClickHouse/ClickHouse/pull/38190
6f148679efd8b9185b8ae70320ba7dcd00eeed1d
1d7cf28cabdc7ad62d0079582e763d630f3c27e1
2022-04-11T09:15:52Z
c++
2022-06-18T12:18:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,114
["src/Common/ThreadPool.cpp"]
Reset thread names in thread pool
**Describe the issue** We observe many obsolete names of idle threads like `Formatter`. **Solution** Reset thread name after a job is done in thread pool.
https://github.com/ClickHouse/ClickHouse/issues/36114
https://github.com/ClickHouse/ClickHouse/pull/36115
fcb83a12ff28cc79c12dc8441ea1e5884ae85b58
6a165787a6b653ef764e9d1c20beb599541dfb05
2022-04-10T23:00:12Z
c++
2022-04-13T16:10:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,111
["src/Client/ClientBase.cpp", "tests/queries/0_stateless/01293_client_interactive_vertical_multiline.expect", "tests/queries/0_stateless/01293_client_interactive_vertical_singleline.expect"]
Supporting \G and semicolon after query in clickhouse-client to enable Vertical format
Currently executing queries like: ``` SELECT * FROM system.tables LIMIT 10;\G SELECT * FROM system.tables LIMIT 10\G; ``` Ends up with a syntax error. From the documentation, it should not be an error: > You can specify \G instead of or after the semicolon.
https://github.com/ClickHouse/ClickHouse/issues/36111
https://github.com/ClickHouse/ClickHouse/pull/36130
6b6671e89f75f3c448b51d2f9eab8b369f8e7fef
d9ce08915a05b6131cb171606a64a68fd2da6b60
2022-04-10T21:14:09Z
c++
2022-04-13T08:39:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,071
["src/Processors/QueryPlan/Optimizations/limitPushDown.cpp", "tests/queries/0_stateless/02265_limit_push_down_over_window_functions_bug.reference", "tests/queries/0_stateless/02265_limit_push_down_over_window_functions_bug.sql"]
Window functions should not be affected by LIMIT
``` SELECT number, leadInFrame(number) OVER w AS W FROM numbers(10) WINDOW w AS (ORDER BY number ASC Rows BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) LIMIT 3; ┌─number─┬─W─┐ │ 0 │ 1 │ │ 1 │ 2 │ │ 2 │ 0 │ <-- W should be 3! └────────┴───┘ ``` In contrast: https://www.db-...
https://github.com/ClickHouse/ClickHouse/issues/36071
https://github.com/ClickHouse/ClickHouse/pull/36075
d9ce08915a05b6131cb171606a64a68fd2da6b60
362fcfd2b8f50edcf4fc4b43c15ac5ff7c2d964f
2022-04-08T13:17:14Z
c++
2022-04-13T09:57:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,043
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/ExpressionAnalyzer.h", "tests/queries/0_stateless/02354_read_in_order_prewhere.reference", "tests/queries/0_stateless/02354_read_in_order_prewhere.sql"]
Not found column in block exception
Hello, We upgraded our Clickhouse version to 22.3.3.44. After ugrade, we get strange exception in the queries. If I include 'n' word to where query, it gives an exception. I have a sample query like below: ``` SELECT ts FROM event WHERE ((appkey='n') AND (ecode = 'n')) ORDER BY ts ASC limit 1; ``` It giv...
https://github.com/ClickHouse/ClickHouse/issues/36043
https://github.com/ClickHouse/ClickHouse/pull/39157
c669721d46519a51c9e61c40bee8bd1fa8a7995a
f6a82a6a5345fd36cd5198e09c4ad8398aa4d310
2022-04-07T15:23:16Z
c++
2022-07-15T14:37:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,038
["docker/test/fuzzer/run-fuzzer.sh", "tests/queries/0_stateless/02504_parse_datetime_best_effort_calebeaires.reference", "tests/queries/0_stateless/02504_parse_datetime_best_effort_calebeaires.sql"]
Add support to dates before 1970 to parseDateTime64BestEffort
This query does not give the corrected date when using parse date time feature. Do you have plans to give support on dates between 1970 to 'Best Effort Of'? ```sql insert into `bucket_155`.`my_table` ( `col_date`, `col_date32`, `col_datetime`, `col_datetime32`, `col_datetime64` ) val...
https://github.com/ClickHouse/ClickHouse/issues/36038
https://github.com/ClickHouse/ClickHouse/pull/44339
875797ee63a3b6ed7f9523c5ccad3e07a5021872
7f0800fbd1cfaed200db7213f613d52fe5fbc7b5
2022-04-07T14:08:37Z
c++
2022-12-29T12:45:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,037
["src/Interpreters/SelectQueryOptions.h", "src/Processors/QueryPlan/DistributedCreateLocalPlan.cpp", "src/Storages/ProjectionsDescription.cpp", "tests/queries/0_stateless/02315_optimize_monotonous_functions_in_order_by_remote.reference", "tests/queries/0_stateless/02315_optimize_monotonous_functions_in_order_by_remote....
DB::Exception: Cannot find column `toDateTime(number)` in source stream, there are only columns: [number]. (THERE_IS_NO_COLUMN)
**How to check** ``` CREATE TABLE test_local on cluster '{cluster}' (number UInt64) ENGINE = MergeTree() ORDER BY number; CREATE TABLE test_distruted (number UInt64) ENGINE = Distributed('{cluster}', currentDatabase(), test_local); INSERT INTO test_local SELECT number from system.numbers limit 3; select number...
https://github.com/ClickHouse/ClickHouse/issues/36037
https://github.com/ClickHouse/ClickHouse/pull/37724
77c06447d56fbcb9483047435dc0e03d652f409e
a0020cb55c856222404894ca6f571e3be570afe0
2022-04-07T13:39:51Z
c++
2022-06-01T08:54:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
36,025
["cmake/cpu_features.cmake"]
Power build is throwing libcxx error and binaries from ci pipeline also throws the error.
Hello there, As part of a system porting requirement we need to port **clickhouse** along with some other datasources to **PPC64LE**. We were port clickhouse for a long time now as we ran into several issues, it got delayed. We are now stuck in a problem where we are able to build it from source but not able to run...
https://github.com/ClickHouse/ClickHouse/issues/36025
https://github.com/ClickHouse/ClickHouse/pull/36529
76839016891fc51381434d7a543b2de336989e2d
2e88b8b4b8edb0466565f5f90068c9ce4e3e0a62
2022-04-07T09:34:16Z
c++
2022-04-26T05:43:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,952
["src/Access/SettingsProfilesCache.cpp", "src/Access/SettingsProfilesInfo.cpp", "src/Access/SettingsProfilesInfo.h", "tests/integration/test_settings_profile/test.py"]
Code: 1001. DB::Exception: std::out_of_range: unordered_map::at: key not found
Hi When I used clickhouse-client to connect to the database, the database reported the following error! <Error> TCPHandler: Code: 1001. DB::Exception: std::out_of_range: unordered_map::at: key not found. (STD_EXCEPTION), Stack trace (when copying this message, always i nclude the lines below): 0. std::logic_error...
https://github.com/ClickHouse/ClickHouse/issues/35952
https://github.com/ClickHouse/ClickHouse/pull/42641
4a145b6c96b79473b1a8547cf6bae3b038cde1db
6f564c59bd17f6a9672c9925219c1923207c665c
2022-04-05T04:40:56Z
c++
2022-11-30T12:01:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,902
["src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/queries/0_stateless/02380_insert_mv_race.reference", "tests/queries/0_stateless/02380_insert_mv_race.sh"]
Block structure mismatch in QueryPipeline stream: different number of columns
https://s3.amazonaws.com/clickhouse-test-reports/0/91453fe4d65981fa0cf5ee72ba011014d04b3510/stress_test__debug__actions_.html ``` /var/log/clickhouse-server/clickhouse-server.log.2:2022.04.03 15:56:30.878986 [ 2031 ] {6bd4a5d9-b8e1-4082-b2ba-39c6b9d0c079} <Fatal> : Logical error: 'Block structure mismatch in QueryP...
https://github.com/ClickHouse/ClickHouse/issues/35902
https://github.com/ClickHouse/ClickHouse/pull/39477
c983f14ed143a964c3daac12a6867d072027da1e
0005c37acca55253a5ec7d762ff228a33ae76745
2022-04-04T10:33:00Z
c++
2022-08-05T15:19:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,897
["src/Interpreters/UserDefinedExecutableFunctionFactory.cpp", "tests/integration/test_executable_user_defined_function/functions/test_function_config.xml", "tests/integration/test_executable_user_defined_function/test.py", "tests/integration/test_executable_user_defined_function/user_scripts/input_nullable.py"]
user-defined-functions null value input
When I'm executing a UDF function, a `null value` input to the script is received as `0`(for numbers) and `empty string` (for strings). The UDF definition like this ``` <function> <type>executable</type> <name>some_function_name</name> <return_name>result</return_name> <return_type>String</ret...
https://github.com/ClickHouse/ClickHouse/issues/35897
https://github.com/ClickHouse/ClickHouse/pull/37711
1d9c8351a0703231938fcb4b2d90cea192f6f439
cb931353265bd9f672953c33875cf1a54f7c8a2b
2022-04-04T05:35:51Z
c++
2022-06-02T09:05:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,891
["docs/en/sql-reference/data-types/enum.md", "docs/ru/sql-reference/data-types/enum.md", "src/DataTypes/DataTypeEnum.cpp", "tests/queries/0_stateless/00757_enum_defaults.reference", "tests/queries/0_stateless/00757_enum_defaults.sql"]
Auto assign numbers for Enum elements
``` :) CREATE TEMPORARY TABLE test (x enum('a', 'b')) CREATE TEMPORARY TABLE test ( `x` enum('a', 'b') ) Query id: 081d03e8-9945-4b0c-a906-4477f4b45d64 0 rows in set. Elapsed: 0.005 sec. Received exception from server (version 22.4.1): Code: 223. DB::Exception: Received from localhost:9000. DB::...
https://github.com/ClickHouse/ClickHouse/issues/35891
https://github.com/ClickHouse/ClickHouse/pull/36352
894b1b163e982c6929ab451467f6e253e7e3648b
f6a7b6c2a122742ae060762323b431d4aa00b5d6
2022-04-03T22:14:10Z
c++
2022-04-20T03:34:35Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,890
["src/DataTypes/DataTypeFactory.cpp", "src/Parsers/ParserDataType.cpp", "tests/queries/0_stateless/02271_int_sql_compatibility.reference", "tests/queries/0_stateless/02271_int_sql_compatibility.sql"]
UNSIGNED modifier does not work with unused parameters of INT
**Describe the unexpected behaviour** ``` :) CREATE TEMPORARY TABLE test (x INT UNSIGNED) CREATE TEMPORARY TABLE test ( `x` INT UNSIGNED ) Query id: f4fa2663-3a8a-445d-a9cb-de759ac191de Ok. 0 rows in set. Elapsed: 0.002 sec. :) DROP TABLE test DROP TABLE test Query id: 32fee2e0-78c4-4fe...
https://github.com/ClickHouse/ClickHouse/issues/35890
https://github.com/ClickHouse/ClickHouse/pull/36423
2e187e4b97665f07ec1d255b34f9063847eeca46
5b5dd4fa4673d0137e56c8bbe3af28444866cd54
2022-04-03T22:12:16Z
c++
2022-04-22T12:27:57Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,889
["src/Interpreters/InterpreterCreateQuery.cpp", "src/Parsers/ParserCreateQuery.h", "tests/queries/0_stateless/01269_create_with_null.reference", "tests/queries/0_stateless/01269_create_with_null.sql", "tests/queries/0_stateless/02302_column_decl_null_before_defaul_value.reference", "tests/queries/0_stateless/02302_colu...
Wrong order of NOT NULL data type modifier and DEFAULT.
**Describe the unexpected behaviour** ``` :) CREATE TEMPORARY TABLE test (x INT NOT NULL DEFAULT 1) Syntax error: failed at position 52 ('DEFAULT') (line 3, col 22): CREATE TEMPORARY TABLE test ( `x` INT NOT NULL DEFAULT 1 ^ ) Expected one of: COMMENT, CODEC, TTL, token, Comma,...
https://github.com/ClickHouse/ClickHouse/issues/35889
https://github.com/ClickHouse/ClickHouse/pull/37337
2ff747785ed6eb6da8911975f2673f976db48dd6
04e2737a572fbc9e9baf9a5b735a906458fd1e2b
2022-04-03T22:09:55Z
c++
2022-05-24T19:16:25Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,841
["src/Common/ProfileEvents.cpp", "src/Common/ShellCommand.cpp", "src/Interpreters/UserDefinedExecutableFunctionFactory.cpp", "tests/queries/0_stateless/02252_executable_user_defined_function_short_circuit.reference", "tests/queries/0_stateless/02252_executable_user_defined_function_short_circuit.sql"]
Assume User Defined Function as heavy-to-process in Short Circuit Processing
**Use case** Please look at the next request: ``` SELECT * FROM numbers(1000000) WHERE number % 10000 == 0 and extremely_heavy_udf(number) == 'ok' ``` Now as far as all the functions are "eager" the heavy UDF will drastically reduce performance of the request. **Describe the solution you'd like** As far a...
https://github.com/ClickHouse/ClickHouse/issues/35841
https://github.com/ClickHouse/ClickHouse/pull/35917
4479b68980f03a5adc30b315c38793ffef95e7d4
c3c284e6e6b5160790030da307e8129bef0e5e88
2022-04-01T12:43:52Z
c++
2022-04-05T12:05:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,837
["docs/en/sql-reference/statements/create/view.md", "src/Core/Settings.h", "src/Interpreters/SystemLog.cpp", "src/Processors/Transforms/buildPushingToViewsChain.cpp", "tests/queries/0_stateless/02572_materialized_views_ignore_errors.reference", "tests/queries/0_stateless/02572_materialized_views_ignore_errors.sql", "te...
Bad insert into MV with Engine=URL
It will be great have some retries and drops for INSERTS if you have a material view with Engine=URL and HTTP server is gone. Currently all INSERTS will be failed, even in the main table, so it should be like soft exception. Also will be great if ENGINE=Url won't send "Connection: close" in HTTP request :-) P....
https://github.com/ClickHouse/ClickHouse/issues/35837
https://github.com/ClickHouse/ClickHouse/pull/46658
65d671b7c72c7b1da23f831faa877565cf34f92c
575ffbc4653b117e918356c8e60f7748df956643
2022-04-01T11:47:18Z
c++
2023-03-09T11:19:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,836
["src/Storages/MergeTree/MergeTreeDataMergerMutator.cpp", "src/Storages/MergeTree/MergeTreeSettings.h", "src/Storages/MergeTree/SimpleMergeSelector.cpp", "src/Storages/MergeTree/SimpleMergeSelector.h", "tests/integration/test_merge_tree_optimize_old_parts/__init__.py", "tests/integration/test_merge_tree_optimize_old_pa...
Automatically optimize on special conditions
Clickhouse has special options "do_not_merge_across_partitions_select_final" for ReplaceMergeTree Engine, which allows make fast select on the "optimized" partitions. Unfortunate you have to run manually (crontab) "OPTIMIZE TABLE ... PARTITION ... FINAL" . It will be great to have some options which will tell Clic...
https://github.com/ClickHouse/ClickHouse/issues/35836
https://github.com/ClickHouse/ClickHouse/pull/42423
b5d51e8a8f24578e80f12a22e5c2a6d8549c177e
9ee7131f678b9c3d73ca67ec00ad4f5599453ade
2022-04-01T11:29:48Z
c++
2022-10-24T17:41:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,830
["src/Interpreters/InterpreterCreateQuery.cpp", "tests/queries/0_stateless/02292_nested_not_flattened_detach.reference", "tests/queries/0_stateless/02292_nested_not_flattened_detach.sql"]
Nested field structure lost when restarting the server
**Describe what's wrong** We have a nested field in a table. The table is created using SET flatten_nested = 0. When the server is restarted the field is no longer nested (only flattened arrays appear). **Does it reproduce on recent release?** version 22.2.3.1 **How to reproduce** Create a table using:...
https://github.com/ClickHouse/ClickHouse/issues/35830
https://github.com/ClickHouse/ClickHouse/pull/36803
fd980e6840530db64d96749ff806d27e3a9d47fa
b98ac570901e025fc93b7be4070dc760fd283042
2022-04-01T09:11:53Z
c++
2022-05-02T11:58:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,816
["src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/00980_merge_alter_settings.sql", "tests/queries/0_stateless/00980_zookeeper_merge_tree_alter_settings.sql", "tests/queries/0_stateless/02252_reset_non_existing_setting.reference", "tests/queries/0_stateless/02252_reset_non_existing_setting.sql"]
reset SETTING TTL silently does nothing
```sql create table A ( A date) Engine=MergeTree order by A TTL A+interval 1 year; alter table A reset SETTING TTL; show create table A; CREATE TABLE default.A ( `A` Date ) ENGINE = MergeTree ORDER BY A TTL A + toIntervalYear(1) SETTINGS index_granularity = 8192 ```
https://github.com/ClickHouse/ClickHouse/issues/35816
https://github.com/ClickHouse/ClickHouse/pull/35884
bd89fcafdbc44b4b41f1c7458af5eeedec062774
3ccf99c3d7790769a35f3d7ab7d76031cfdf1f9f
2022-03-31T16:23:16Z
c++
2022-04-04T13:27:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,801
["tests/queries/0_stateless/02807_default_date_time_nullable.reference", "tests/queries/0_stateless/02807_default_date_time_nullable.sql"]
Wrong behavior of DateTime default value when nullable
The behavior of default value differs depending of the type of the column for DateTime when it's Nullable or not Nullable : When the column is Nullable, the default value for datetime '0' is wrong (underflowing ?) ```sql create table test ( data int, default Nullable(DateTime) DEFAULT '1970-01-01 00:00:...
https://github.com/ClickHouse/ClickHouse/issues/35801
https://github.com/ClickHouse/ClickHouse/pull/51356
3a48a7b8727d32b8ccbbf8c27ed12eccee4e2fad
33d7cca9df0ed9d91c3c8ed3009f92142ce69f9d
2022-03-31T12:19:14Z
c++
2023-07-08T07:34:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,790
["src/DataTypes/ObjectUtils.cpp", "src/DataTypes/ObjectUtils.h", "src/Storages/MergeTree/MergeTreeDataWriter.cpp", "src/Storages/MergeTree/MergeTreeDataWriter.h", "src/Storages/MergeTree/MergeTreeSink.cpp", "src/Storages/MergeTree/ReplicatedMergeTreeSink.cpp", "src/Storages/StorageMemory.cpp", "tests/queries/0_stateles...
JSON field in partitioned table insert error when crossing partition boundaries
Good day everyone! I have stumbled upon an interesting issue with semi-structured data experimental feature . When inserting into a partitioned MergeTree with JSON column and crossing partition boundaries the error is thrown `DB::Exception: ColumnObject must be converted to ColumnTuple before use. (LOGICAL_...
https://github.com/ClickHouse/ClickHouse/issues/35790
https://github.com/ClickHouse/ClickHouse/pull/35806
db75bf6f5d8a421b3f8ba14aed25445ef71db8c6
d08d4a2437991bf0fae5683217343189ed2fb59b
2022-03-31T08:18:40Z
c++
2022-04-04T14:16:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,757
["docker/test/fuzzer/allow-nullable-key.xml", "docker/test/fuzzer/run-fuzzer.sh", "programs/client/Client.cpp", "programs/client/Client.h", "src/Client/ClientBase.h", "src/Client/QueryFuzzer.cpp", "src/Client/QueryFuzzer.h", "src/Storages/MergeTree/registerStorageMergeTree.cpp"]
Fuzzing of data types in tables
AST-based query fuzzer should randomly modify data types in CREATE TABLE queries, mostly by wrapping in Nullable, Array and LowCardinality.
https://github.com/ClickHouse/ClickHouse/issues/35757
https://github.com/ClickHouse/ClickHouse/pull/40096
324c922121736913549ecce0c7a5d7906fa89076
02cdc20d5d2ad98ed9850e111e6fe18af4bf7a55
2022-03-30T11:32:01Z
c++
2022-10-05T12:53:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,751
["src/Parsers/ExpressionElementParsers.cpp", "tests/queries/0_stateless/02247_fix_extract_parser.reference", "tests/queries/0_stateless/02247_fix_extract_parser.sql"]
Clickhouse cannot parse table definition after update to v22.3
Clickhouse server crashed after update from `yandex/clickhouse-server:21.11.3.6` to `clickhouse/clickhouse-server:22.3.2.2` Seems like some problem with parsing metadata file of mv: ``` 2022.03.30 09:26:11.300637 [ 1 ] {} <Error> Application: DB::Exception: Syntax error (in file /var/lib/clickhouse/store/990/990...
https://github.com/ClickHouse/ClickHouse/issues/35751
https://github.com/ClickHouse/ClickHouse/pull/35799
f2c6387a8d7c8568cd17df7fdd0c992596bb1b20
cafff71d2f794c4cad45338be6cd7fc89a311a3b
2022-03-30T09:35:10Z
c++
2022-04-01T08:59:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
35,726
["src/Core/Settings.h", "src/DataTypes/Serializations/SerializationIP.cpp", "src/Formats/FormatFactory.cpp", "src/Formats/FormatSettings.h", "tests/queries/0_stateless/02244_ip_address_invalid_insert.reference", "tests/queries/0_stateless/02244_ip_address_invalid_insert.sql"]
22.3 toIPv6 backward incompatible despite cast_ipv4_ipv6_default_on_conversion_error
```sql CREATE TABLE test_tbl ( `ip` String, `ipv6` IPv6 MATERIALIZED toIPv6(ip) ) ENGINE = Memory; insert into test_tbl(ip) values ( 'fe80::9801:43ff:fe1f:7690'), ('1.1.1.1'), (''), ('::ffff:1.1.1.1' ); DB::Exception: Invalid IPv6 value: while executing 'FUNCTION _CAST(toIPv6(ip) :: 2, 'IPv6' :: 1) set...
https://github.com/ClickHouse/ClickHouse/issues/35726
https://github.com/ClickHouse/ClickHouse/pull/35733
19819c72f88e037ba0ed8c368b8f3bdc28faabad
e6c9a36ac79f7c3cd29a47a906d502667fc2c93d
2022-03-29T15:16:18Z
c++
2022-04-04T10:28:16Z