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
52,140
["docs/en/sql-reference/aggregate-functions/reference/any.md", "src/AggregateFunctions/AggregateFunctionAny.cpp", "tests/queries/0_stateless/02813_any_value.reference", "tests/queries/0_stateless/02813_any_value.sql"]
Add `any_value` as a compatibility alias for `any`
**Use case** Compatibility with BigQuery. **Describe the solution you'd like** Simply add this alias. It should be case-insensitive.
https://github.com/ClickHouse/ClickHouse/issues/52140
https://github.com/ClickHouse/ClickHouse/pull/52147
c960b3b533b748027f6be5e27022b84143b43058
8964de808ea16f141a25cfedb6c41713fd395d5c
2023-07-15T18:13:49Z
c++
2023-07-25T11:05:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,139
["docs/en/sql-reference/aggregate-functions/reference/arrayconcatagg.md", "src/AggregateFunctions/AggregateFunctionFactory.cpp", "src/AggregateFunctions/AggregateFunctionGroupArray.cpp", "src/Common/IFactoryWithAliases.h", "tests/queries/0_stateless/02813_array_concat_agg.reference", "tests/queries/0_stateless/02813_ar...
Add `array_concat_agg` for compatibility with BigQuery
It should be an alias to `groupArrayArray` aggregate function in ClickHouse. The task is slightly more complex than https://github.com/ClickHouse/ClickHouse/issues/52100 because the `groupArrayArray` is a combination of `groupArray` and the `Array` combinator.
https://github.com/ClickHouse/ClickHouse/issues/52139
https://github.com/ClickHouse/ClickHouse/pull/52149
46e03432a928981fc3c5924cae8e6184fea86c27
f4e095b50237c891ade2f8dba332963419cde91d
2023-07-15T18:12:34Z
c++
2023-07-18T00:03:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,107
["src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp", "src/Storages/MergeTree/MergeTreeDataSelectExecutor.h", "tests/queries/0_stateless/01786_explain_merge_tree.reference", "tests/queries/0_stateless/02354_annoy_index.reference", "tests/queries/0_stateless/02354_usearch_index.reference", "tests/queries/0_stateles...
why set type index should invalid,but the explain shows Selected Granules is less than Initial Granules
i have a big data table, there is a column with non-repetitive datas. there is a set type index on this column. the max_rows was set 100.( index_granularity = 8192, and GRANULARITY of the index is 16. so i think the row number is 131072, is bigger than max_rows which be set as 100, so as the official document said, th...
https://github.com/ClickHouse/ClickHouse/issues/52107
https://github.com/ClickHouse/ClickHouse/pull/53616
a190efed837b55f4263da043fb502c63737b5873
45d924c62c4390aa31db3d443a0e353ef692642b
2023-07-14T06:16:00Z
c++
2023-08-24T14:46:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,100
["docs/en/sql-reference/aggregate-functions/reference/grouparray.md", "src/AggregateFunctions/AggregateFunctionGroupArray.cpp", "tests/queries/0_stateless/02813_array_agg.reference", "tests/queries/0_stateless/02813_array_agg.sql"]
A compatibility alias `array_agg` for PostgreSQL, equivalent to the `groupArray` aggregate function.
**Use case** Someone send a PostgreSQL query to ClickHouse and forgot that it is ClickHouse. **Describe the solution you'd like** It is nice to introduce an alias. **Additional context** This task is trivial. There is a chance the behavior is different in regard to aggregation of NULL values, but it is o...
https://github.com/ClickHouse/ClickHouse/issues/52100
https://github.com/ClickHouse/ClickHouse/pull/52135
3b2b7d75c92fc8a49e52e3aebc9c574fb88eabde
9e7361a0f627bcacdf98de145f0fc80ea1883a9c
2023-07-14T01:03:27Z
c++
2023-07-15T19:14:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,066
["tests/queries/0_stateless/02813_system_licenses_base.reference", "tests/queries/0_stateless/02813_system_licenses_base.sql", "utils/list-licenses/list-licenses.sh"]
Credits to poco disappeared from system.licenses
``` SELECT library_name, license_type FROM system.licenses WHERE library_name ILIKE '%poco%' ``` now is empty. Happened after https://github.com/ClickHouse/ClickHouse/pull/46075 We need to put the poco license back, because it's fair and mandatory according to their license. "The copyright notic...
https://github.com/ClickHouse/ClickHouse/issues/52066
https://github.com/ClickHouse/ClickHouse/pull/52127
758ec9fa9264d80d672a9f6fe0600c89a2da3aa2
89d646cef0e7dc3fa9e97ac32fbb61b70fc502b7
2023-07-12T15:08:43Z
c++
2023-07-22T17:54:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,057
["src/Functions/FunctionsComparison.h"]
ClickHouse Server 23.7.1.857 terminated by Null Pointer Access after running a SQL statement
**Describe the bug** The ClickHouse server terminated by Null Pointer Access after running a SQL statement. **How to reproduce** The SQL statement to reproduce: ```sql SELECT x FROM ( SELECT ( WITH x AS ( SELECT 1 AS x ) ...
https://github.com/ClickHouse/ClickHouse/issues/52057
https://github.com/ClickHouse/ClickHouse/pull/52172
cf0b58a831472aed9b475ce1730e681506193626
8d10dd71f7e86c431bb9eeb76a1dee182dff8f1e
2023-07-12T09:39:36Z
c++
2023-07-18T15:53:41Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,055
["src/Processors/QueryPlan/Optimizations/optimizeUseAggregateProjection.cpp", "tests/queries/0_stateless/01710_minmax_count_projection_count_nullable.reference", "tests/queries/0_stateless/01710_minmax_count_projection_count_nullable.sql"]
Count over Nullable LowCardinality column
> You have to provide the following information whenever possible. **Describe what's wrong** `count` aggregate function provides incosistent results over the `LowCardinality(Nullable(...))` column > A clear and concise description of what works not as it is supposed to. > A link to reproducer in [https://fi...
https://github.com/ClickHouse/ClickHouse/issues/52055
https://github.com/ClickHouse/ClickHouse/pull/52297
46122bdf4a6ba086d29f677a9cda355af3d77ca4
758ec9fa9264d80d672a9f6fe0600c89a2da3aa2
2023-07-12T09:22:41Z
c++
2023-07-22T17:39:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,049
["src/Interpreters/ExpressionAnalyzer.cpp", "src/Interpreters/GetAggregatesVisitor.cpp", "src/Interpreters/GetAggregatesVisitor.h", "src/Interpreters/TreeRewriter.cpp", "src/Interpreters/TreeRewriter.h", "tests/queries/0_stateless/02814_order_by_tuple_window_function.reference", "tests/queries/0_stateless/02814_order_b...
ClickHouse Server 23.7.1.857 terminated by SIGABRT through create table and select stmts
**Describe the bug** ClickHouse 23.7.1.857 Server is terminated by SIGABRT through create table and select statements. **How to reproduce** The SQL statement to reproduce: ```SQL CREATE TABLE v0 ( v1 Nullable ( Int32 ) , col2 String , col3 Int32 , col4 Int32 ) ENGINE = MergeTree ( ) ORDER BY tuple ( ) ; SELECT...
https://github.com/ClickHouse/ClickHouse/issues/52049
https://github.com/ClickHouse/ClickHouse/pull/52145
3b0a4040cd1c3864277e22bb805e26823c0194a1
9bf114f9a36556d6f227dea0fa91be131ee99710
2023-07-12T04:19:07Z
c++
2023-07-16T14:43:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
52,020
["src/AggregateFunctions/AggregateFunctionGroupArrayMoving.cpp", "src/AggregateFunctions/AggregateFunctionGroupArrayMoving.h", "tests/queries/0_stateless/02817_group_array_moving_zero_window_size.reference", "tests/queries/0_stateless/02817_group_array_moving_zero_window_size.sql"]
ClickHouse Server receives SIGFPE after running a SELECT statement
**Describe the bug** The ClickHouse server received signal Arithmetic exception (8) due to "Integer divide by zero" after running a SQL statement. **How to reproduce** The SQL statement to reproduce: ```sql SELECT groupArrayMovingAvg ( toInt64 ( 0 ) ) ( toDecimal32 ( 1 , 1 ) ); ``` It can be reproduced on th...
https://github.com/ClickHouse/ClickHouse/issues/52020
https://github.com/ClickHouse/ClickHouse/pull/52161
6d0ed2963aebf6bde4057fcfcab0ce8fac3a5ecf
416433d40280b65c13d47e6d3204db4849ae809e
2023-07-10T14:04:02Z
c++
2023-07-18T23:03:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,962
["programs/install/Install.cpp"]
init.d behaves strange with /etc/default/clickhouse and systemctl
if I use systemctl, `/etc/default/clickhouse` is used if I use init.d `/etc/default/clickhouse` is not used, though it should use the same systemctl and it loads /etc/default/clickhouse ``` cat /etc/default/clickhouse CLICKHOUSE_WATCHDOG_ENABLE=0 systemctl restart clickhouse-server ps -ef clickho+ 1671394 ...
https://github.com/ClickHouse/ClickHouse/issues/51962
https://github.com/ClickHouse/ClickHouse/pull/53418
39e481934c8cf99fe698c9b5d109d8b9ab2464c6
5d0a05ef196e7f68100581f28f6df523f4607d3e
2023-07-07T20:27:50Z
c++
2023-08-14T18:29:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,960
["tests/queries/0_stateless/02901_parallel_replicas_rollup.reference", "tests/queries/0_stateless/02901_parallel_replicas_rollup.sh"]
Parallel replicas: wrong block size
![ParalelReplicas](https://github.com/ClickHouse/ClickHouse/assets/18581488/96292a0f-cc9c-4e90-8f7d-40d854e11f04) ``` SET use_hedged_requests = false, max_parallel_replicas = 3, cluster_for_parallel_replicas = 'parallel_replicas', allow_experimental_parallel_reading_from_replicas = 1, parallel_replicas_for_non_repl...
https://github.com/ClickHouse/ClickHouse/issues/51960
https://github.com/ClickHouse/ClickHouse/pull/55886
fd4df9a38ac8ef8e8eedad7e7d9eabd4571b2a90
4eb335eb4ca20da3022d7bbee440803045aca5c3
2023-07-07T19:28:45Z
c++
2023-10-23T09:23:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,918
["src/AggregateFunctions/AggregateFunctionMinMaxAny.h", "tests/queries/0_stateless/02812_subquery_operators.reference", "tests/queries/0_stateless/02812_subquery_operators.sql"]
nullptr dereference in subquery operators
Originally logical error in the test, and a segmentation fault in Fiddle. **Test:** https://s3.amazonaws.com/clickhouse-test-reports/51881/c7ccf23a24a7fb2bb1245b76fc9169649cd474c3/stateless_tests__debug__[5_5].html **Fiddle:** https://fiddle.clickhouse.com/1e170d25-91cf-4730-918f-045a407efec5 **Logs:** ```[b3...
https://github.com/ClickHouse/ClickHouse/issues/51918
https://github.com/ClickHouse/ClickHouse/pull/51922
b958499c27df57b9ffff05a1efbbcad14591ba20
781d5e3aa397c5e83533e15a52404dbdce613a00
2023-07-07T02:12:43Z
c++
2023-07-08T07:37:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,846
["src/Storages/StorageMerge.cpp", "src/Storages/StorageMerge.h", "tests/queries/0_stateless/02875_merge_engine_set_index.reference", "tests/queries/0_stateless/02875_merge_engine_set_index.sh"]
IN operator much slower on 23.6.1 than on 23.4.2.11
(you don't have to strictly follow this form) **Describe the unexpected behaviour** I have a merge table (say) t_merge, and a memory table t_memory. on version 23.4.2.11, I use IN operator to query records from t_merge, by "where (xx, xxx) in t_memory). It is really quick than "t_merge left semi join t_memory". th...
https://github.com/ClickHouse/ClickHouse/issues/51846
https://github.com/ClickHouse/ClickHouse/pull/54905
49f9b6d34009459da8a3ee5627685ad21b453446
c643069b0d91c965c6cc0255ed3d5ff976a2d430
2023-07-05T14:35:27Z
c++
2023-11-09T13:52:54Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,811
["src/Storages/checkAndGetLiteralArgument.cpp", "tests/queries/0_stateless/02811_invalid_embedded_rocksdb_create.reference", "tests/queries/0_stateless/02811_invalid_embedded_rocksdb_create.sql"]
Wrong create sql with EmbeddedRocksDB engine can crash the server
> You have to provide the following information whenever possible. Reproduce SQL: ```sql CREATE TABLE dict ( `k` String, `v` String ) ENGINE = EmbeddedRocksDB(k) PRIMARY KEY k ``` https://fiddle.clickhouse.com/b8df4e3e-110b-43ad-838f-da6a1d5636e8 **Does it reproduce on recent release?** Y...
https://github.com/ClickHouse/ClickHouse/issues/51811
https://github.com/ClickHouse/ClickHouse/pull/51847
fbdb8f387e98a5efeb2a713db38afee2aa581391
236ee81266e3e8d842fe611e4f592c13b582d33d
2023-07-05T06:46:47Z
c++
2023-07-07T23:50:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,782
["docs/en/sql-reference/statements/show.md", "src/Interpreters/InterpreterShowIndexesQuery.cpp", "tests/queries/0_stateless/02724_show_indexes.reference"]
MySQL compatibility: SHOW KEYS output
**Describe the unexpected behaviour** BI tools such as QuickSight use `SHOW KEYS` queries to determine the primary keys of the dataset. The output of the `SHOW KEYS` command is different from a real MySQL server. "Real" MySQL: ``` mysql> SHOW KEYS FROM `cell_towers` FROM `mysql`; +-------------+------------...
https://github.com/ClickHouse/ClickHouse/issues/51782
https://github.com/ClickHouse/ClickHouse/pull/51796
d0cb6596e1ca101fc8aa20ac1d0f43cab35e4b2d
2d89dba8d1d142bab54a2b17e5ad6e818de3a748
2023-07-04T13:59:35Z
c++
2023-07-21T22:22:47Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,762
["src/Dictionaries/CacheDictionary.cpp"]
cache dictionary request the same key lot of times
then one single block of data processed by dictGet have a lot of duplicate keys ClickHouse will construct suboptimal query like ```sql SELECT ... FROM dict_source WHERE `id` IN (1000, 1000, ..., 1000, 1000, 1000); ``` instead of simple ```sql SELECT ... FROM dict_source WHERE `id` IN (1000); ``` [R...
https://github.com/ClickHouse/ClickHouse/issues/51762
https://github.com/ClickHouse/ClickHouse/pull/51853
5d385f5f14bffc93b683cfff016d1c4f6eb7f107
1343e5cc452f1ca23e3dce3c03856e01f5051648
2023-07-04T09:26:39Z
c++
2023-07-08T18:58:16Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,753
["src/IO/ReadHelpers.cpp", "src/IO/ReadHelpers.h", "tests/queries/0_stateless/01268_DateTime64_in_WHERE.sql", "tests/queries/0_stateless/01702_toDateTime_from_string_clamping.reference", "tests/queries/0_stateless/02373_datetime64_monotonicity.queries", "tests/queries/0_stateless/02373_datetime64_monotonicity.reference...
DateTime64 inconsistent parsing from String
DateTime64 parsing goes wrong for string representing a number smaller than 10000: ``` select toDateTime64('9999', 3) -- returns 1970-01-01 00:00:00.000, but CANNOT_PARSE_DATETIME expected select toDateTime64('10000', 3) -- returns 1970-01-01 02:46:40.000 (expected) ``` However, DateTime doesn't have t...
https://github.com/ClickHouse/ClickHouse/issues/51753
https://github.com/ClickHouse/ClickHouse/pull/55146
6068277af9725b88ec5e5a48ef38476bae1b7d8e
b4ab47380abd0837233385af7b853a8b7596660c
2023-07-03T22:03:10Z
c++
2023-10-25T10:32:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,706
["docs/_description_templates/template-data-type.md", "docs/_description_templates/template-engine.md", "docs/_description_templates/template-function.md", "docs/_description_templates/template-server-setting.md", "docs/_description_templates/template-setting.md", "docs/_description_templates/template-statement.md", "d...
404 by the links to description templates
https://github.com/ClickHouse/ClickHouse/blob/master/docs/README.md#description-templates All of the template links are 404, like on the screenshot. ![Screenshot from 2023-07-02 11-46-44](https://github.com/ClickHouse/ClickHouse/assets/10815678/3021c03a-c4ec-4d4e-bf48-b8188b8341e4)
https://github.com/ClickHouse/ClickHouse/issues/51706
https://github.com/ClickHouse/ClickHouse/pull/51747
a14f4ae83bf1d73bb03abacb98729b3fef721f61
160c89650241bf05dab022247b2b24e3c633e7cf
2023-07-02T08:47:48Z
c++
2023-07-03T18:10:52Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,667
["tests/queries/0_stateless/02116_tuple_element.sql"]
[Analyzer] flaky test: 02116_tuple_element
https://s3.amazonaws.com/clickhouse-test-reports/0/3b7f6a43243913f302f8c19c664e07ac6ee790e4/stateless_tests__release__analyzer_.html ``` 2023-06-30 04:58:10 Code: 10. DB::Exception: Received from localhost:9000. DB::Exception: Tuple doesn't have element with index '0': In scope SELECT t1.0 FROM t_tuple_element. (NO...
https://github.com/ClickHouse/ClickHouse/issues/51667
https://github.com/ClickHouse/ClickHouse/pull/51669
1ce99baf00c96196e88a950a517f98a5efc317c8
d85f5cc4cf46aed7419feb82dffa085b392f6bff
2023-06-30T10:16:45Z
c++
2023-07-02T16:02:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,660
["src/Processors/QueryPlan/Optimizations/liftUpFunctions.cpp", "tests/queries/0_stateless/02789_functions_after_sorting_and_columns_with_same_names_bug.reference", "tests/queries/0_stateless/02789_functions_after_sorting_and_columns_with_same_names_bug.sql", "tests/queries/0_stateless/02789_functions_after_sorting_and_...
Incorrect sort result after join
> You have to provide the following information whenever possible. We have two tables with data below: ``` create table test1 ( `pt` String, `brand_name` String, `total_indirect_order_cnt` Float64, `total_indirect_gmv` Float64 ) ENGINE = Memory create table test2 ( `pt` String, `b...
https://github.com/ClickHouse/ClickHouse/issues/51660
https://github.com/ClickHouse/ClickHouse/pull/51481
008238be71340234586ca8ab93fe18845db91174
83e9ec117c04bb3db2ce05400857924e15cf0894
2023-06-30T09:45:43Z
c++
2023-07-18T10:34:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,648
["src/Functions/FunctionsHashing.h", "tests/queries/0_stateless/02790_keyed_hash_bug.reference", "tests/queries/0_stateless/02790_keyed_hash_bug.sql"]
use-of-uninitialized-value: src/Columns/ColumnVector.cpp:440:9
https://s3.amazonaws.com/clickhouse-test-reports/51641/a705b08bd81658e878d7b7d214b057c661bbed69/fuzzer_astfuzzermsan/report.html ``` ==162==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5581d4138256 in DB::ColumnVector<unsigned long>::get64(unsigned long) const build_docker/./src/Columns/ColumnVector...
https://github.com/ClickHouse/ClickHouse/issues/51648
https://github.com/ClickHouse/ClickHouse/pull/51804
82a80cf694b01849ade4c8412d6b0238fcf7f639
d7782f6518bc88cdbe87716ac95f45f96e381882
2023-06-30T07:44:33Z
c++
2023-07-06T00:47:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,588
["src/Functions/FunctionBinaryArithmetic.h", "tests/queries/0_stateless/02531_ipv4_arithmetic.reference", "tests/queries/0_stateless/02531_ipv4_arithmetic.sql"]
Logical error: 'Arguments of 'intDiv' have incorrect data types: 'number' of type 'UInt64', 'toIPv4OrNull('0')' of type 'IPv4''.
``` SELECT sum(u) FROM (SELECT intDiv(number, toIPv4OrNull('0')) AS k, uniqCombined(reinterpretAsString(number % NULL)) AS u FROM numbers(65535 * 10) GROUP BY k) WHERE toIPv4OrNull(NULL) WITH TOTALS ``` https://s3.amazonaws.com/clickhouse-test-reports/51585/85d621dc389fc53e610b95d16d7d69cb0a94c4a2/fuzzer_astfuzzer...
https://github.com/ClickHouse/ClickHouse/issues/51588
https://github.com/ClickHouse/ClickHouse/pull/51642
3ce8dc5503904f18c288cb447f08f469fde8d14f
61d05aeca4dc49e46aa92a5ed0e0b4f705cb21d3
2023-06-29T11:05:57Z
c++
2023-07-28T12:27:37Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,581
["docs/en/sql-reference/functions/array-functions.md", "utils/check-style/aspell-ignore/en/aspell-dict.txt"]
`select hasAll([1], ['a'])` raises an exception rather than returns 0 as documented
**Describe what's wrong** Executing `select hasAll([1], ['a'])` would raise an exception. > SELECT hasAll([1], ['a']) Query id: c809db5e-e770-4eb3-a73e-68a7561acd47 0 rows in set. Elapsed: 0.442 sec. Received exception: Code: 386. DB::Exception: There is no supertype for types UInt8, String because some of th...
https://github.com/ClickHouse/ClickHouse/issues/51581
https://github.com/ClickHouse/ClickHouse/pull/51634
6fe8a7389dc303f429e88835c7e4e97518aa3c36
c1bef56c551b0d9cbf3d8d58953717205cfdc37d
2023-06-29T06:48:13Z
c++
2023-06-29T19:38:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,574
["src/Common/SystemLogBase.cpp", "src/Common/SystemLogBase.h", "src/Daemon/BaseDaemon.cpp", "src/Interpreters/CrashLog.cpp", "tests/integration/test_crash_log/__init__.py", "tests/integration/test_crash_log/test.py"]
system.crash_log is not created sometimes.
Table system.crash_log is not created after a force crash. **Version** ```bash ./build/programs/clickhouse-client --version ClickHouse client version 23.6.1.1. ``` **Does it reproduce on recent release?** Yes. **How to reproduce** First, you must delete a table that has already been created, if it exis...
https://github.com/ClickHouse/ClickHouse/issues/51574
https://github.com/ClickHouse/ClickHouse/pull/51720
9df928eb132dcd99e446f9dc7897ea613f7c64a7
f3684f78b7fe79b5474857a0fbe39d494f4fe995
2023-06-29T00:16:40Z
c++
2023-07-13T08:49:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,532
["src/Client/Suggest.cpp"]
[Master] CLI suggestions are broken when connecting to older ClickHouse releases
AFAIK it only affects master (unreleased) I'm not sure how common of a scenario this is (it is in my local setup), but if you use ClickHouse master (23.6) client to connect to an old release (like 22.8) the suggestions won't work because the query used to retrieve them is invalid. ``` $ ch_client_prod-02 ClickH...
https://github.com/ClickHouse/ClickHouse/issues/51532
https://github.com/ClickHouse/ClickHouse/pull/51578
2ce7bcaa3d5fb36a11ae0211eabd5a89c2a8c5de
76316f9cc8e9f78515181a839dfbf64cd20274ff
2023-06-28T12:06:06Z
c++
2023-07-05T11:49:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,525
["docs/en/sql-reference/functions/tuple-functions.md", "src/Common/assert_cast.h", "src/Functions/tupleElement.cpp", "tests/queries/0_stateless/02116_tuple_element.sql", "tests/queries/0_stateless/02286_tuple_numeric_identifier.sql", "tests/queries/0_stateless/02354_tuple_element_with_default.reference", "tests/queries...
Fuzzer: Logical error in tupleElement()
`SELECT tupleElement([[(count('2147483646'), 1)]], 'aaaa', [[1, 2, 3]])` --> `Logical error: 'Bad cast from type DB::IColumn const* to DB::ColumnArray const*'.` https://s3.amazonaws.com/clickhouse-test-reports/0/abf56b80a9303b0ffea4996753d7c670acfcdf61/fuzzer_astfuzzerdebug/report.html
https://github.com/ClickHouse/ClickHouse/issues/51525
https://github.com/ClickHouse/ClickHouse/pull/51534
bd88a2195a2f867deb5dbf673be550f56d0239d3
9930fd4756f5b9b9fad4f8cc66d47e5331f817b8
2023-06-28T11:19:30Z
c++
2023-06-29T04:50:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,516
["src/Disks/StoragePolicy.cpp"]
The error message of modify the storage policy is incorrect
(you don't have to strictly follow this form) **Describe the unexpected behaviour** **How to reproduce** - ClickHouse 23.6.1.1 - master branch ``` --the config of storage_policy <clickhouse> <storage_configuration> <disks> <disk_01> <path>/mnt/data1/ckdata/</path> ...
https://github.com/ClickHouse/ClickHouse/issues/51516
https://github.com/ClickHouse/ClickHouse/pull/51854
fa9514f21612e60c0939b7bfd1b5f4f1f1f410c8
8da8b79cc4b17aa9e2e645a3c825e752c7d0467c
2023-06-28T09:15:18Z
c++
2023-07-07T01:58:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,510
["src/Interpreters/ActionsVisitor.cpp", "tests/analyzer_tech_debt.txt", "tests/queries/0_stateless/02818_parameterized_view_with_cte_multiple_usage.reference", "tests/queries/0_stateless/02818_parameterized_view_with_cte_multiple_usage.sql"]
Parametrized view does not work with many usage of one parameter
Clickhouse v.23.3.5.9 Working example ``` create view default.test_param_view as with {param_test_val:UInt8} as param_test_val select param_test_val, arrayCount((a)->(a < param_test_val), t.arr) as cnt1 from (select [1,2,3,4,5] as arr) t; ``` Not working example ``` create view default.test_para...
https://github.com/ClickHouse/ClickHouse/issues/51510
https://github.com/ClickHouse/ClickHouse/pull/52328
b6bcc32acb16af84d40ba6b7fb466e239eb977a4
5db88e677b982e1d1417ccc1196696a31fc43341
2023-06-28T07:41:45Z
c++
2023-07-26T22:06:10Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,486
["src/IO/VarInt.cpp", "src/IO/VarInt.h", "src/Server/TCPHandler.cpp", "tests/queries/0_stateless/02812_large_varints.reference", "tests/queries/0_stateless/02812_large_varints.sql"]
Catched `Logical error: 'Distributed task iterator is not initialized'.`
**Describe the bug** A link to the report https://s3.amazonaws.com/clickhouse-test-reports/51478/5fdb19672bc443222560df00e0b76add05a1ad10/fuzzer_astfuzzerasan/report.html **How to reproduce** The query in the report is `SELECT number % NULL, NULL, sum(number) AS val FROM remote('127.0.0.{2,3}', numbers(toUInt64(-1...
https://github.com/ClickHouse/ClickHouse/issues/51486
https://github.com/ClickHouse/ClickHouse/pull/51905
f8eaa3e8e6791d5aaa5bddb947efde4da23fd3d7
1eaefd031892cc9e16e51c6d67445303b59b570b
2023-06-27T14:27:44Z
c++
2023-07-07T19:33:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,400
["docs/en/operations/system-tables/parts.md", "src/Storages/MergeTree/IMergeTreeDataPart.cpp", "src/Storages/MergeTree/IMergeTreeDataPart.h", "src/Storages/System/StorageSystemParts.cpp", "tests/queries/0_stateless/02117_show_create_table_system.reference"]
Add column `primary_key_bytes` to the `system.parts` table, telling the size of the primary.idx/cidx file on disk.
null
https://github.com/ClickHouse/ClickHouse/issues/51400
https://github.com/ClickHouse/ClickHouse/pull/51496
44929b7d2873704c4df4bc54ddfbd4c36ef322de
381ab07e1ba8454346c7e99dc0504941802badf0
2023-06-26T06:01:47Z
c++
2023-07-17T08:39:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,322
["base/base/bit_cast.h", "src/Functions/transform.cpp", "tests/queries/0_stateless/02797_transform_narrow_types.reference", "tests/queries/0_stateless/02797_transform_narrow_types.sql"]
Wrong result of function `transform`
**Describe what's wrong** ```sql SELECT transform(-1, [-1, 2], ['f', 's'], 'g') ``` ``` ┌─transform(-1, [-1, 2], ['f', 's'], 'g')─┐ │ g │ └─────────────────────────────────────────┘ ``` The expected result is `f`. **Additional context** Those cases work correct...
https://github.com/ClickHouse/ClickHouse/issues/51322
https://github.com/ClickHouse/ClickHouse/pull/51350
786987a29a67bb8e26685b1856bf52a20c142ef1
396eb704269b7d67cfbf654d8b111d826292ddc2
2023-06-23T12:23:26Z
c++
2023-06-24T03:49:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,312
["src/Interpreters/HashJoin.cpp", "tests/queries/0_stateless/02771_semi_join_use_nulls.reference", "tests/queries/0_stateless/02771_semi_join_use_nulls.sql.j2"]
Logical error: Invalid number of rows in Chunk column Float32 (in `JoiningTransform`)
https://s3.amazonaws.com/clickhouse-test-reports/51284/ccb42d0afa202aba6b4a8459bae971afa87a67dd/fuzzer_astfuzzerdebug/report.html ``` 2023.06.22 21:16:38.668932 [ 478 ] {39f31655-7a80-4128-b4fa-5cd019b085ab} <Fatal> : Logical error: 'Invalid number of rows in Chunk column Float32 position 2: expected 0, got 1'. 20...
https://github.com/ClickHouse/ClickHouse/issues/51312
https://github.com/ClickHouse/ClickHouse/pull/51601
b28fa1f0540fd5517f1cca3dc74a701892c957b5
b75a83d32ddbcbde9ca7a03d9dde2e63cea4f261
2023-06-23T10:01:47Z
c++
2023-07-05T23:21:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,257
["docs/en/operations/system-tables/events.md", "docs/en/operations/system-tables/metrics.md", "src/Storages/System/StorageSystemEvents.cpp", "src/Storages/System/StorageSystemEvents.h", "src/Storages/System/StorageSystemMetrics.cpp", "src/Storages/System/StorageSystemMetrics.h", "tests/queries/0_stateless/02117_show_cr...
system.events and system.metrics tables should have column `name` as an alias to `event` and `metric`
null
https://github.com/ClickHouse/ClickHouse/issues/51257
https://github.com/ClickHouse/ClickHouse/pull/52315
0d8f8521445aaca2f34abafc880dc8d035bcfae4
8daeeedc8f04b83a09f1608dbced4a2973c6c2db
2023-06-21T19:16:08Z
c++
2023-07-30T20:37:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,236
["src/DataTypes/FieldToDataType.cpp", "src/DataTypes/FieldToDataType.h", "tests/queries/0_stateless/02832_integer_type_inference.reference", "tests/queries/0_stateless/02832_integer_type_inference.sql"]
Integer type inference seems confusing
Integer type inference seems incorect incorect ```sql select [-4741124612489978151, -3236599669630092879, 5607475129431807682] ``` thow this exception ``` Received exception from server (version 23.3.2): Code: 386. DB::Exception: Received from localhost:9101. DB::Exception: There is no supertype for types U...
https://github.com/ClickHouse/ClickHouse/issues/51236
https://github.com/ClickHouse/ClickHouse/pull/53003
aea9ac7de28f092a6367749f5ee8d99c41453e86
5354af00aedd659e44bea6eb4fa9717ca32aa2b2
2023-06-21T13:22:48Z
c++
2023-09-12T10:05:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,211
["src/Processors/QueryPlan/Optimizations/liftUpFunctions.cpp", "tests/queries/0_stateless/02789_functions_after_sorting_and_columns_with_same_names_bug.reference", "tests/queries/0_stateless/02789_functions_after_sorting_and_columns_with_same_names_bug.sql", "tests/queries/0_stateless/02789_functions_after_sorting_and_...
DB::Exception: Block structure mismatch in (columns with identical name must have identical structure) stream: different types
> You have to provide the following information whenever possible. We have a table and left join query. ``` CREATE TABLE test ( `pt` String, `count_distinct_exposure_uv` AggregateFunction(uniqHLL12, Int64) ) ENGINE = AggregatingMergeTree ORDER BY pt ``` ``` SELECT * FROM ( SELECT m0...
https://github.com/ClickHouse/ClickHouse/issues/51211
https://github.com/ClickHouse/ClickHouse/pull/51481
008238be71340234586ca8ab93fe18845db91174
83e9ec117c04bb3db2ce05400857924e15cf0894
2023-06-21T01:26:49Z
c++
2023-07-18T10:34:51Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,173
["src/Processors/QueryPlan/Optimizations/optimizeTree.cpp", "src/Processors/QueryPlan/Optimizations/projectionsCommon.cpp", "src/Processors/QueryPlan/Optimizations/projectionsCommon.h", "tests/queries/0_stateless/01710_normal_projection_with_query_plan_optimization.reference", "tests/queries/0_stateless/01710_normal_pr...
ORDER BY projection is used when main table have better selectivity
**Describe the issue** ORDER BY projection is used when main table have better selectivity **How to reproduce** ``` CREATE TABLE _local.t0 ( `c1` Int64, `c2` Int64, `c3` Int64, `c4` Int64, PROJECTION p1 ( SELECT c1, c2, c4 ORD...
https://github.com/ClickHouse/ClickHouse/issues/51173
https://github.com/ClickHouse/ClickHouse/pull/52308
a39ba00ec34bea1b53f062d9f7507b86c48e4d40
4b0be1e535e792648d85c6f42e07cf79e6e34156
2023-06-19T23:57:54Z
c++
2023-07-20T16:25:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,137
["src/Access/ContextAccess.cpp", "src/Core/BaseSettings.h", "src/Daemon/BaseDaemon.cpp"]
Show changed settings in fatal error messages.
**Describe the issue** If an error happened in the query context, we can extract and list all the changed settings.
https://github.com/ClickHouse/ClickHouse/issues/51137
https://github.com/ClickHouse/ClickHouse/pull/51138
f54333ba37c3c28d5ab2c03b2bafecfbb2c09c19
f9558345e886876b9132d9c018e357f7fa9b22a3
2023-06-18T18:15:49Z
c++
2023-06-19T12:50:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,125
["src/Storages/MergeTree/IMergeTreeDataPartInfoForReader.h", "src/Storages/MergeTree/IMergeTreeReader.cpp", "src/Storages/MergeTree/IMergeTreeReader.h", "src/Storages/MergeTree/LoadedMergeTreeDataPartInfoForReader.h", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeReaderCompact.cpp", "src/...
Exception "while reading from part" does not tell you about the table name
**Use case** `Code: 432. DB::Exception: Unknown codec family code: 60: (while reading column event_date): (while reading from part /var/lib/clickhouse/store/a07/a07660e7-b4aa-4520-a802-833765c28feb/202306_96661_96661_0/ from mark 0 with max_rows_to_read = 8): While executing MergeTreeThread. (UNKNOWN_CODEC) (version...
https://github.com/ClickHouse/ClickHouse/issues/51125
https://github.com/ClickHouse/ClickHouse/pull/51270
cc3398159efe1db53a4043b8a157ad525ab5bed2
ad7fe63339352335acc5412ad313c93c6e8652c7
2023-06-17T15:08:22Z
c++
2023-06-23T13:01:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,090
["tests/queries/0_stateless/02789_jit_cannot_convert_column.reference", "tests/queries/0_stateless/02789_jit_cannot_convert_column.sql", "tests/queries/0_stateless/02790_jit_wrong_result.reference", "tests/queries/0_stateless/02790_jit_wrong_result.sql"]
JIT compiler issue / Cannot convert column because it is non constant in source stream but must be constant in result
https://fiddle.clickhouse.com/52b751b5-fa79-4865-bd9b-49aca042bc13 ```sql SELECT sum(c), toInt32((h - null::Nullable(DateTime)) / 3600) + 1 AS a FROM ( SELECT count() AS c, h FROM ( SELECT now() AS h ) WHERE toInt32((h - null::Nullable(DateTime)) / 3600) + 1 = 1 GROUP BY h ) GROUP ...
https://github.com/ClickHouse/ClickHouse/issues/51090
https://github.com/ClickHouse/ClickHouse/pull/51113
db82e94e68c48dd01a2e91be597cbedc7b56a188
e28dc5d61c924992ddd0066e0e5e5bb05b848db3
2023-06-16T16:00:40Z
c++
2023-12-08T02:27:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,089
["programs/local/LocalServer.cpp", "src/Client/ClientBase.cpp", "tests/queries/0_stateless/02096_bad_options_in_client_and_local.reference", "tests/queries/0_stateless/02096_bad_options_in_client_and_local.sh", "tests/queries/0_stateless/02833_local_udf_options.reference", "tests/queries/0_stateless/02833_local_udf_opt...
Executable UDF path w/ clickhouse-local
Related to ancient https://github.com/ClickHouse/ClickHouse/issues/31188 It currently seems pretty much impossible to run executable UDFs using `clickhouse-local`. As its now well known, modern clickhouse demands UDF scripts to reside in a [user_scripts_path](https://clickhouse.com/docs/en/operations/server-configur...
https://github.com/ClickHouse/ClickHouse/issues/51089
https://github.com/ClickHouse/ClickHouse/pull/52643
d6e2e8b92c5ab7dfb069c5688ed5069644880211
ac2de3c79fb6637aa14aa3e9c254737234ca6cf4
2023-06-16T15:56:59Z
c++
2023-07-28T07:21:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
51,083
["src/Dictionaries/DictionaryStructure.h", "tests/queries/0_stateless/02811_ip_dict_attribute.reference", "tests/queries/0_stateless/02811_ip_dict_attribute.sql"]
Ipv4 is not supported as a dictionary attribute anymore
https://fiddle.clickhouse.com/5b6d5838-ce20-4a42-adb1-587fdaffe3da https://fiddle.clickhouse.com/18eca811-e125-418f-9031-6e0d108ce64c ```sql create table src ( id UInt64, ip4 IPv4) Engine=Memory as select * from values((1, '0.0.0.0'),(2, '10.10.10.10')); CREATE DICTIONARY dict ( id UInt64, ip4 ...
https://github.com/ClickHouse/ClickHouse/issues/51083
https://github.com/ClickHouse/ClickHouse/pull/51756
f7d89309064f4c18aedfd7abcf3ee077c308dd76
9448d42aea6c5befae09cc923570fd6575a6d6f8
2023-06-16T14:13:07Z
c++
2023-07-27T19:59:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,996
["tests/queries/0_stateless/02210_processors_profile_log.reference", "tests/queries/0_stateless/02210_processors_profile_log.sql"]
02210_processors_profile_log is flaky
https://play.clickhouse.com/play?user=play#U0VMRUNUIHB1bGxfcmVxdWVzdF9udW1iZXIsIGNoZWNrX3N0YXJ0X3RpbWUsIGNoZWNrX25hbWUsIHRlc3RfbmFtZSwgdGVzdF9zdGF0dXMsIGNoZWNrX3N0YXR1cywgcmVwb3J0X3VybApGUk9NIGNoZWNrcwpXSEVSRSAxCiAgICBBTkQgcHVsbF9yZXF1ZXN0X251bWJlciA9IDAKICAgIEFORCB0ZXN0X3N0YXR1cyAhPSAnU0tJUFBFRCcKICAgIEFORCB0ZXN0X3N0Y...
https://github.com/ClickHouse/ClickHouse/issues/50996
https://github.com/ClickHouse/ClickHouse/pull/51641
32e0348caa6ee34d1f631fceffbc6a93b09953d2
a3ae0cc385ef11277df3d588ec367fc7443b4cec
2023-06-14T15:15:45Z
c++
2023-07-05T21:45:49Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,846
["src/TableFunctions/TableFunctionS3.cpp"]
S3 table function does not work for pre-signed URL
**Use case** Example: ``` SELECT count(*) FROM s3('https://dpt-aggregations.s3.ca-central-1.amazonaws.com/export_4.parquet?response-content-disposition=inline&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEGMaCXVzLWVhc3QtMSJHMEUCIQDBDvlcLaeb86%2FL33VjL8OoOHSbipWuxEm57FDSFAEbxQIgVXTpYAL42jER5Y0SS4uy9uplYe7LzVyu8RCjZBQ29S...
https://github.com/ClickHouse/ClickHouse/issues/50846
https://github.com/ClickHouse/ClickHouse/pull/52310
22e5da914c739f425f70b9247c3c22f96e49de5b
f5e50b8b2894e6365b6acf57d4aa7355dd9493c9
2023-06-10T21:07:35Z
c++
2023-07-28T09:39:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,836
["src/Common/AsynchronousMetrics.cpp"]
Normalized CPU metrics should use the max number of CPU cores from CGroups when they are set
**Use case** Kubernetes
https://github.com/ClickHouse/ClickHouse/issues/50836
https://github.com/ClickHouse/ClickHouse/pull/50835
366bf3b3ec5b46f87832029daf4f607b90b72cc3
5cdf893f3ab1b0b80c974757ac5b054938285267
2023-06-10T16:05:21Z
c++
2023-06-12T20:15:05Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,831
["programs/server/dashboard.html"]
Fill gaps on the embedded dashboard
Add ``` WITH FILL STEP {rounding:UInt32} ``` to the queries.
https://github.com/ClickHouse/ClickHouse/issues/50831
https://github.com/ClickHouse/ClickHouse/pull/50832
0b85af3957f1df0842ed12622ca0c6de4b786c70
81b38db5295482d67a8f3a5bd53be066707e21c0
2023-06-10T12:28:52Z
c++
2023-06-12T14:33:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,707
["src/Client/ClientBase.cpp", "src/Client/Suggest.cpp", "src/Parsers/ASTQueryWithOutput.cpp", "src/Parsers/ASTQueryWithOutput.h", "src/Parsers/ParserQueryWithOutput.cpp", "tests/queries/0_stateless/02050_clickhouse_client_local_exception.sh", "tests/queries/0_stateless/02346_into_outfile_and_stdout.sh"]
Bad usability of exception messages when a file already exists in INTO OUTFILE
**Describe the issue** ``` milovidov-desktop :) SELECT * FROM numbers(10) INTO OUTFILE 'numbers.tsv' SELECT * FROM numbers(10) INTO OUTFILE 'numbers.tsv' Query id: 4512f761-2b36-4a25-9ccd-22982a17eb64 Ok. Exception on client: Code: 76. DB::Exception: Code: 76. DB::ErrnoException: Cannot open file numbers...
https://github.com/ClickHouse/ClickHouse/issues/50707
https://github.com/ClickHouse/ClickHouse/pull/50950
71678f64b184b3325820ab1f3882cbc5755cb196
4b02d83999808ab06320ba82a4530bb958e6b51f
2023-06-08T12:13:14Z
c++
2023-06-25T16:40:55Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,669
["src/Interpreters/ActionsDAG.cpp", "tests/queries/0_stateless/02812_bug_with_unused_join_columns.reference", "tests/queries/0_stateless/02812_bug_with_unused_join_columns.sql"]
LOGICAL_ERROR when use DROP unused join columns and filter push down at the same time in new analyzer
reproduce it on master by a very easy SQL ``` SELECT concat(func.name, comb.name) AS x FROM system.functions AS func JOIN system.aggregate_function_combinators AS comb using name WHERE is_aggregate settings allow_experimental_analyzer=1; SE...
https://github.com/ClickHouse/ClickHouse/issues/50669
https://github.com/ClickHouse/ClickHouse/pull/51947
389aaf9db1e9beeda709d05e876bec936686b5a1
25aa6fcff9d89373a8b4991c4b6141e2acb9cbf2
2023-06-07T13:58:09Z
c++
2023-07-07T23:42:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,626
["tests/queries/0_stateless/01676_clickhouse_client_autocomplete.sh"]
01676_clickhouse_client_autocomplete is flaky
```sql SELECT check_name, test_name, toStartOfDay(check_start_time) as t, count() as runs, 100 * (countIf(test_status != 'OK' AND test_status != 'SKIPPED') AS f) / runs as failure_percentage FROM checks WHERE test_name LIKE '01676_clickhouse_client_autocomplete%' AND pull_request_number = 0 ...
https://github.com/ClickHouse/ClickHouse/issues/50626
https://github.com/ClickHouse/ClickHouse/pull/50636
707abc85f46791fc816c52bb8feacad0dfd3ea96
1b1e3fbdd431a1b4eaf46f0cb15844ff8ded5143
2023-06-06T12:57:27Z
c++
2023-06-06T23:36:58Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,619
["src/Server/GRPCServer.cpp", "src/Server/TCPHandler.cpp"]
00534_functions_bad_arguments tests are flaky
It seems it's mostly related with MSAN (too slow? too many things at once?) ``` SELECT check_name, test_name, toStartOfDay(check_start_time) as t, count() as runs, 100 * (countIf(test_status != 'OK' AND test_status != 'SKIPPED') AS f) / runs as failure_percentage FROM checks WHERE test_name LI...
https://github.com/ClickHouse/ClickHouse/issues/50619
https://github.com/ClickHouse/ClickHouse/pull/51310
eaf95306ed45a7875c37a36d125350c7f3e10462
75ef844f99a3af081978a7d905dcf2c214508237
2023-06-06T10:54:36Z
c++
2023-06-23T11:51:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,582
["src/Processors/Transforms/FinishSortingTransform.cpp", "tests/queries/0_stateless/02815_fix_not_found_constants_col_in_block.reference", "tests/queries/0_stateless/02815_fix_not_found_constants_col_in_block.sql"]
Unexpected error: Not found column NULL in block
**Describe what's wrong** The two SELECT statements should output the same results, but one of them throws an exception. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1 (commit eb5985e5fc0e83c94aa1af134f2718e9fe87979c) Easy repr...
https://github.com/ClickHouse/ClickHouse/issues/50582
https://github.com/ClickHouse/ClickHouse/pull/52259
9280f4a9fda5b926461e63e9c9e66c26890071a0
d0cb6596e1ca101fc8aa20ac1d0f43cab35e4b2d
2023-06-05T10:33:48Z
c++
2023-07-21T22:05:59Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,578
["src/Storages/StorageLog.cpp", "src/Storages/StorageStripeLog.cpp", "tests/queries/0_stateless/02771_log_faminy_truncate_count.reference", "tests/queries/0_stateless/02771_log_faminy_truncate_count.sql"]
LOG engine count() after TRUNCATE is not empty
> A clear and concise description of what works not as it is supposed to. When I do TRUNCATE on LOG ENGINE table, it deletes records, but count() is not empty > A link to reproducer https://fiddle.clickhouse.com/9ee5ac13-56b9-4b78-9f61-66f0e8e49de6 **Does it reproduce on recent release?** Yes **How to r...
https://github.com/ClickHouse/ClickHouse/issues/50578
https://github.com/ClickHouse/ClickHouse/pull/50585
8f9c74debb002b74180ad534e828714b49bba44a
ad74189bc2ed4039b0cf129928141e13f6db435b
2023-06-05T08:39:10Z
c++
2023-06-09T11:32:45Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,570
["src/Functions/in.cpp", "tests/queries/0_stateless/02867_null_lc_in_bug.reference", "tests/queries/0_stateless/02867_null_lc_in_bug.sql"]
NULL::LowCardinality(Nullable(T)) NOT IN bug
**Describe what's wrong** ClickHouse will return NULL value for operator NOT IN with 0-set **Does it reproduce on recent release?** Yes, 23.3 **How to reproduce** ``` SELECT lc FROM ( SELECT CAST(NULL, 'LowCardinality(Nullable(String))') AS lc ) WHERE lc NOT IN ( SELECT * FROM ( ...
https://github.com/ClickHouse/ClickHouse/issues/50570
https://github.com/ClickHouse/ClickHouse/pull/53706
ef3a6ee4fcfa8f76296bca04608e8924cc0ec613
f522c247741cb74046863fa266533526fabc4a73
2023-06-05T04:18:20Z
c++
2023-08-27T19:43:50Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,537
["src/Storages/StorageGenerateRandom.cpp", "tests/queries/0_stateless/00416_pocopatch_progress_in_http_headers.sh", "tests/queries/0_stateless/02539_generate_random_map.reference", "tests/queries/0_stateless/02586_generate_random_structure.reference"]
A query consumes a lot of RAM sometimes.
**How to reproduce** ``` SELECT timestamp_diff(( SELECT * FROM generateRandom() ) AS vx, ( SELECT * FROM hudi(['\0']) ) , (CAST((NULL) AS DateTime))); ``` Run several times.
https://github.com/ClickHouse/ClickHouse/issues/50537
https://github.com/ClickHouse/ClickHouse/pull/50538
50720760825e76a964c95aa4ba377c4ab147d0f5
18817517ed6f8849e3d979e10fbb273e0edf0eaa
2023-06-04T02:01:14Z
c++
2023-06-04T23:50:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,530
["src/Parsers/ExpressionElementParsers.cpp", "tests/queries/0_stateless/02782_inconsistent_formatting_and_constant_folding.reference", "tests/queries/0_stateless/02782_inconsistent_formatting_and_constant_folding.sql"]
Server crashes triggered at DB::FunctionMathUnary
**Describe what's wrong** The SELECT statement makes the server crash. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1 (commit eb5985e5fc0e83c94aa1af134f2718e9fe87979c) Easy reproduce in ClickHouse fiddle: https://fiddle.clickho...
https://github.com/ClickHouse/ClickHouse/issues/50530
https://github.com/ClickHouse/ClickHouse/pull/50536
6241ea35145d1d88f218a17ea3454736037dcd6b
091d6d02f7c0ecbb8708973d9199a839e7ea6d50
2023-06-03T15:05:30Z
c++
2023-06-05T01:35:53Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,459
["programs/client/Client.cpp", "tests/queries/0_stateless/01317_no_password_in_command_line.reference", "tests/queries/0_stateless/01317_no_password_in_command_line.sh"]
Specifying --password "secret" --password in client asks user to enter password
ClickHouse client version 23.5.1.1 **Describe the unexpected behavior.** Specifying `--password "secret" --password` asks the user to enter the password instead of failing in the console output. **Repro** `clickhouse-client --password "secret" --password` **Expected behavior** An error: `Bad arguments: opti...
https://github.com/ClickHouse/ClickHouse/issues/50459
https://github.com/ClickHouse/ClickHouse/pull/50966
c1faf42481b3ff9b2bb8702405760577d56a3f03
946e1a8c6f34209cb1c9fed46e7e6aed4420ae09
2023-06-02T05:59:42Z
c++
2023-06-15T09:14:26Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,456
["src/Common/TaskStatsInfoGetter.cpp", "src/Common/ThreadStatus.h"]
Linux 6.1.22 on RISC-V failed to support TaskStats interface
> I've successfully built ClickHouse on today's master but cannot check if it will run. I give about a 30% chance for it. https://drive.google.com/file/d/1LHwtaPBJlSQYPppPMfUbML99H9UJKy4r/view?usp=sharing I've started the server of this version of clickhouse on risc-v. But when I execute the SQL, I go...
https://github.com/ClickHouse/ClickHouse/issues/50456
https://github.com/ClickHouse/ClickHouse/pull/50457
f0bfd44e13cd09b12f0add52097fa0041ba31594
c97f1735671a49293614162ae65f6df612009e40
2023-06-02T01:24:15Z
c++
2023-06-02T14:50:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,381
["src/CMakeLists.txt"]
Linker failed with 23.4, error: undefined symbol: make_fcontext
1. clang & cmake version ``` Ubuntu clang version 16.0.5 (++20230521064343+5729e63ac7b4-1~exp1~20230521184435.94) cmake version 3.26.4 ``` 2. code branch ``` commit edcd8ed14cd6f09a3056a9dac8c1329eb28df9f5 (HEAD -> 23.4, origin/23.4, coding/23.4) Merge: cb2a4617e54 0ab664b7fbd Author: Nikita Mikhaylov <mikh...
https://github.com/ClickHouse/ClickHouse/issues/50381
https://github.com/ClickHouse/ClickHouse/pull/50385
aa19b2fc407e2b0452a8fd23ca623febcec43d8c
28862129a56dc78be77eff000915924ba41e81fa
2023-05-31T08:16:23Z
c++
2023-06-04T01:02:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,323
["tests/queries/0_stateless/02789_jit_cannot_convert_column.reference", "tests/queries/0_stateless/02789_jit_cannot_convert_column.sql", "tests/queries/0_stateless/02790_jit_wrong_result.reference", "tests/queries/0_stateless/02790_jit_wrong_result.sql"]
Crash at llvm::X86InstrInfo::copyPhysReg
**Describe what's wrong** The SELECT statement makes the server crash. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1 (commit 806ef08e5f6b3fc93993d19aac505290e9bfa554) Easy reproduce in ClickHouse fiddle: https://fiddle.clickho...
https://github.com/ClickHouse/ClickHouse/issues/50323
https://github.com/ClickHouse/ClickHouse/pull/51113
db82e94e68c48dd01a2e91be597cbedc7b56a188
e28dc5d61c924992ddd0066e0e5e5bb05b848db3
2023-05-29T18:01:34Z
c++
2023-12-08T02:27:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,311
["docs/en/sql-reference/functions/hash-functions.md", "src/Functions/FunctionsHashing.h", "src/Functions/FunctionsHashingMisc.cpp", "tests/queries/0_stateless/02534_keyed_siphash.reference", "tests/queries/0_stateless/02534_keyed_siphash.sql", "tests/queries/0_stateless/02552_siphash128_reference.reference", "tests/que...
sipHash64Keyed not same sipHash64
Testing queries (query 6 return Error): //------------------------- Запрос 1 ------------------------- DROP TABLE IF EXISTS sipHash64Keyed_test ; //------------------------- Запрос 2 ------------------------- CREATE TABLE sipHash64Keyed_test ENGINE = Memory() AS SELECT 1 a, 'test' b ; //-----------...
https://github.com/ClickHouse/ClickHouse/issues/50311
https://github.com/ClickHouse/ClickHouse/pull/53525
5395a68baab921b71a93d7759666ed7d37beba5c
b8912203e4b73770f5442881f91331f736d42d20
2023-05-29T09:43:03Z
c++
2023-08-18T12:14:56Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,289
["src/Common/Config/ConfigProcessor.cpp", "src/Common/Config/ConfigProcessor.h"]
how i can use udf function xml file like test_function.xml and graphite_rollup.xml used together
when i add a test_function.xml on /etc/clickhouse-server/,the content is : `<functions> <function> <type>executable</type> <name>test_function_python</name> <return_type>String</return_type> <argument> <type>UInt64</type> <name>value</name> ...
https://github.com/ClickHouse/ClickHouse/issues/50289
https://github.com/ClickHouse/ClickHouse/pull/52770
91e67c105f6a39d08cd982d252a6a3b034ad4f4a
d8a55b25c00103faf55e768e38646142c223e32f
2023-05-28T15:46:56Z
c++
2023-07-30T04:21:01Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,284
["tests/queries/0_stateless/02911_cte_invalid_query_analysis.reference", "tests/queries/0_stateless/02911_cte_invalid_query_analysis.sql"]
LOGICAL_ERROR: Bad cast from type DB::ColumnVector<char8_t> to DB::ColumnVector<signed char>
**Describe what's wrong** The SELECT statement should output results normally, but it threw an exception. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1.1 (commit 3e6314675c6467bc4dd78f659bac862f7e9648f8) Easy reproduce in Clic...
https://github.com/ClickHouse/ClickHouse/issues/50284
https://github.com/ClickHouse/ClickHouse/pull/56517
0898cf3e06f844ea77c88b6e1153586794a67de6
8fabe2116414cd714aab59c5d22106e18da36cd3
2023-05-27T14:16:35Z
c++
2023-11-10T11:27:43Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,283
["src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/02769_nan_equality_comparison.reference", "tests/queries/0_stateless/02769_nan_equality_comparison.sql"]
Wrong result of SELECT statement with compile_expressions in recent commits (affected version: 21-23.5.1)
**Describe what's wrong** The SELECT statement with contradictory WHERE conditions should return empty results. However, it outputs one row. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1.1 (commit 3e6314675c6467bc4dd78f659bac862f...
https://github.com/ClickHouse/ClickHouse/issues/50283
https://github.com/ClickHouse/ClickHouse/pull/50287
3a3cee586a6f69ff23b5bdb85d39ae86ad290a62
e1d535c890279ac5de4cc5bf44c38b223505c6ee
2023-05-27T13:04:06Z
c++
2023-05-28T22:56:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,269
["src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/02769_nan_equality_comparison.reference", "tests/queries/0_stateless/02769_nan_equality_comparison.sql"]
Wrong result of SELECT statement with compile_expressions in recent commits (head version)
**Describe what's wrong** The two semantically-equivalent SELECT statements should output the same results, but they did not. **Does it reproduce on recent release?** It cannot be reproduced in the latest version, but it can be reproduced in the head version. **How to reproduce** Version: 23.5.1.1 (commi...
https://github.com/ClickHouse/ClickHouse/issues/50269
https://github.com/ClickHouse/ClickHouse/pull/50287
3a3cee586a6f69ff23b5bdb85d39ae86ad290a62
e1d535c890279ac5de4cc5bf44c38b223505c6ee
2023-05-26T14:16:29Z
c++
2023-05-28T22:56:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,253
["docs/en/operations/server-configuration-parameters/settings.md"]
Document `max_partition_size_to_drop`
Max table size to drop is documented here: https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#max-table-size-to-drop, but `max_partition_size_to_drop` is missing.
https://github.com/ClickHouse/ClickHouse/issues/50253
https://github.com/ClickHouse/ClickHouse/pull/50256
6554e7438ee9ca2418f7717178b70648c34b10f3
9da34f2aa66a520879c0eaeda20e452203598a00
2023-05-25T20:39:55Z
c++
2023-05-27T00:46:04Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,239
["src/Processors/QueryPlan/PartsSplitter.cpp", "src/Processors/QueryPlan/PartsSplitter.h", "src/Processors/QueryPlan/ReadFromMergeTree.cpp", "tests/queries/0_stateless/01861_explain_pipeline.reference", "tests/queries/0_stateless/02780_final_streams_data_skipping_index.reference", "tests/queries/0_stateless/02791_final...
DB::Exception: Block structure mismatch in Pipe::unitePipes stream: different number of columns
**Describe the problem** Setting a table with a PK/ORDER BY using functions in a column like toYYYYMMDD/toDate/toDateTime .... to downsample and allow a less granular ordering creates some problems in queries. If using `do_not_merge_across_partitions_select_final` queries with FINAL do not work. **How to reproduc...
https://github.com/ClickHouse/ClickHouse/issues/50239
https://github.com/ClickHouse/ClickHouse/pull/51492
e4dd603919d2e5e98a9a2360e9d88984026a889b
3a48a7b8727d32b8ccbbf8c27ed12eccee4e2fad
2023-05-25T15:37:12Z
c++
2023-07-08T05:05:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,198
["tests/queries/0_stateless/02769_compare_functions_nan.reference", "tests/queries/0_stateless/02769_compare_functions_nan.sql"]
Wrong result of SELECT statement with compile_expressions
**Describe what's wrong** The SELECT statement with contradictory WHERE conditions should return empty results. However, it outputs one row. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1.1 (commit 3e6314675c6467bc4dd78f659bac862f...
https://github.com/ClickHouse/ClickHouse/issues/50198
https://github.com/ClickHouse/ClickHouse/pull/50366
4d4112ff536f819514973dfd0cb8274cf044bb3e
2efebee5a37b25b26898705ecd833a2c3091eaf9
2023-05-24T15:49:24Z
c++
2023-05-31T13:24:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,183
["src/Interpreters/Context.cpp", "src/Interpreters/Context.h", "src/Processors/QueryPlan/Optimizations/optimizeUseAggregateProjection.cpp", "src/Processors/QueryPlan/Optimizations/optimizeUseNormalProjection.cpp", "src/Processors/QueryPlan/ReadFromMergeTree.cpp", "src/Processors/QueryPlan/ReadFromPreparedSource.cpp", "...
Missing projection QueryAccessInfo when query_plan_optimize_projection = true
**Describe the unexpected behaviour** When `query_plan_optimize_projection = true`, there is no projection information in query_log. This is because we don't store used projection in `query_info` anymore. We need to find a place to store the name of used projection inside query plan. P.S. we should also add the...
https://github.com/ClickHouse/ClickHouse/issues/50183
https://github.com/ClickHouse/ClickHouse/pull/52327
2e67a8927b256546881baee7c823ecb6ee918198
04462333d26181a03562098a1f0c6b5ee290b421
2023-05-24T12:45:28Z
c++
2023-07-22T14:50:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,099
["src/Interpreters/InterpreterSelectQuery.cpp", "src/Interpreters/TreeOptimizer.cpp", "src/Interpreters/TreeOptimizer.h", "src/Interpreters/TreeRewriter.cpp", "tests/queries/0_stateless/02751_multiif_to_if_crash.reference", "tests/queries/0_stateless/02751_multiif_to_if_crash.sql"]
Segmentation fault on simple query with nested SELECT on multiif
When running this query on Clickhouse server version 23.4.2.11 (and previous) 23.*: `SELECT sum(A) FROM (SELECT multiIf(1, 1, NULL) as A);` We get a segmentation fault on Clickhouse server. The following (small) variations do work correctly though. ``` SELECT sum(multiIf(1, 1, NULL)); ...
https://github.com/ClickHouse/ClickHouse/issues/50099
https://github.com/ClickHouse/ClickHouse/pull/50123
91bc0fad1bb932cd875ca4aa5ceda5f97584ea42
3a955661da7cfc514189b0049e9b9c3af9ceb7d1
2023-05-22T12:45:56Z
c++
2023-05-23T12:29:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,093
["src/Interpreters/Context.cpp", "src/Interpreters/Context.h", "src/Processors/QueryPlan/Optimizations/optimizeUseAggregateProjection.cpp", "src/Processors/QueryPlan/Optimizations/optimizeUseNormalProjection.cpp", "src/Processors/QueryPlan/ReadFromMergeTree.cpp", "src/Processors/QueryPlan/ReadFromPreparedSource.cpp", "...
Example of projection from documentations is not work
ClickHouse v.23.3.2.37 Trying to work with projections example from ClickHouse documentation, but its not work. Link to example from doc: https://clickhouse.com/docs/en/sql-reference/statements/alter/projection#example-filtering-without-using-primary-keys code: ``` CREATE TABLE visits_order ( `user_id` U...
https://github.com/ClickHouse/ClickHouse/issues/50093
https://github.com/ClickHouse/ClickHouse/pull/52327
2e67a8927b256546881baee7c823ecb6ee918198
04462333d26181a03562098a1f0c6b5ee290b421
2023-05-22T11:07:18Z
c++
2023-07-22T14:50:03Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,039
["src/Functions/FunctionsComparison.h", "tests/queries/0_stateless/02763_jit_compare_functions_nan.reference", "tests/queries/0_stateless/02763_jit_compare_functions_nan.sql"]
Wrong result of the boolean expression with JIT (`compile_expressions`) while comparing NaNs
**Describe what's wrong** The SELECT statement with contradictory WHERE conditions should return empty results. However, it outputs one row. **Does it reproduce on recent release?** It can be reproduced in the latest version. **How to reproduce** Version: 23.5.1.1 (commit 30464b939781e3aa0897acf9a3883976...
https://github.com/ClickHouse/ClickHouse/issues/50039
https://github.com/ClickHouse/ClickHouse/pull/50056
bb91e3ac2e7112fffeef71bfa000f2b862910259
dc4cb5223b736d0d92a27cc7d1f098f3c593304d
2023-05-19T22:11:58Z
c++
2023-05-22T22:45:14Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
50,016
["src/Analyzer/Passes/QueryAnalysisPass.cpp", "src/Interpreters/Context.cpp", "src/Interpreters/Context.h"]
Analyzer: JOIN with the same table function creates 2 identical storages
With new analyzer enabled in such query: ``` SELECT sum(a.id) as aid, sum(b.id) as bid FROM file('tmp.csv') AS a INNER JOIN file('tmp.csv') AS b ON a.text = b.text ``` we execute table function `file('tmp.csv')` twice, as a result we have 2 identical storages created. But we should create it only once ...
https://github.com/ClickHouse/ClickHouse/issues/50016
https://github.com/ClickHouse/ClickHouse/pull/50105
f4c73e94d21c6de0b1af7da3c42c2db6bf97fc73
a05088ab731f1e625ce5197829f59b765c94474f
2023-05-19T09:07:01Z
c++
2023-05-23T08:16:34Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,939
["src/DataTypes/DataTypeArray.cpp", "src/DataTypes/DataTypeArray.h", "src/Functions/FunctionBinaryArithmetic.h", "tests/queries/0_stateless/02812_pointwise_array_operations.reference", "tests/queries/0_stateless/02812_pointwise_array_operations.sql"]
Support pointwise operations on arrays
Currently to do pointwise operations on arrays we have to use ArrayMap. This is unnecessarily verbose e.g. ``` SELECT url, caption, L2Distance(array_column, arrayMap((x,y) -> x+y, arrayMap((x,y) -> x-y, [1,2,3,4], [1,2,3,4]), arrayMap((x,y) -> x+y, [5,6,7,4], [1,2,3,4]) ) ) AS score...
https://github.com/ClickHouse/ClickHouse/issues/49939
https://github.com/ClickHouse/ClickHouse/pull/52625
3f915491f029ef030dc3d4777e5f60a3abf52822
9476344dc4e57eb3f96b7bf7595f274435a99394
2023-05-17T08:24:44Z
c++
2023-08-08T09:58:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,938
["src/DataTypes/DataTypeDateTime64.h", "tests/queries/0_stateless/02785_summing_merge_tree_datetime64.reference", "tests/queries/0_stateless/02785_summing_merge_tree_datetime64.sql"]
SummingMergeTree support for DateTime64
**Describe the unexpected behaviour** When using a `DateTime64` in a `SummingMergeTree` on a column that is not part of the sorting key or a summarizable field. You get the following error on insert time: ``` Received exception from server (version 23.5.1): Code: 43. DB::Exception: Received from localhost:9000....
https://github.com/ClickHouse/ClickHouse/issues/49938
https://github.com/ClickHouse/ClickHouse/pull/50797
f39c28bae7cfd5c5d3978644829d0f0203ed265d
0349315143b57db22032ab049ddbebcf269a9020
2023-05-17T07:22:17Z
c++
2023-06-20T20:02:21Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,927
["programs/server/config.xml", "src/IO/Resource/DynamicResourceManager.cpp", "tests/config/config.d/custom_settings_prefixes.xml", "tests/queries/0_stateless/02737_sql_auto_is_null.reference", "tests/queries/0_stateless/02737_sql_auto_is_null.sql"]
MySQL compatibility: SQL_AUTO_IS_NULL setting
**Use case** BI tools like Tableau send the following command to the server during the initial connection: ``` SET SQL_AUTO_IS_NULL = 0 ``` **Describe the solution you'd like** According to the [docs](https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_auto_is_null), the defaul...
https://github.com/ClickHouse/ClickHouse/issues/49927
https://github.com/ClickHouse/ClickHouse/pull/50013
2323542e47a02ab476b4dc1d4bb1830c53695f07
2c8c412835f1799e410c585ac370ce0ebabf7c7a
2023-05-16T16:21:47Z
c++
2023-05-19T23:04:02Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,924
["src/Formats/ProtobufSerializer.cpp", "tests/queries/0_stateless/02751_protobuf_ipv6.reference", "tests/queries/0_stateless/02751_protobuf_ipv6.sh", "tests/queries/0_stateless/format_schemas/02751_protobuf_ipv6.proto"]
Unable to import IPv6 addresses using Protobuf
**Describe the issue** Since version 23, it is not possible to directly import IPv6 addresses from Protobuf (as bytes). This was working fine with 22.3. **How to reproduce** In `/var/lib/clickhouse/format_schemas/flows.proto`: ```proto syntax = "proto3"; message FlowMessage { bytes ExporterAddress = 3; } ```...
https://github.com/ClickHouse/ClickHouse/issues/49924
https://github.com/ClickHouse/ClickHouse/pull/49933
f98c337d2f9580fa65c8d21de447ab6e8fe3d781
a2c3de50820996549e975a0aceeb398ccc2897b5
2023-05-16T15:25:27Z
c++
2023-05-19T03:02:15Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,913
["src/Storages/MergeTree/DataPartsExchange.cpp", "src/Storages/MergeTree/MergeTreeData.cpp", "src/Storages/MergeTree/MergeTreeData.h", "tests/integration/test_projection_report_broken_part/__init__.py", "tests/integration/test_projection_report_broken_part/configs/testkeeper.xml", "tests/integration/test_projection_rep...
Unexpected part name: <projection name>
**INPUTS** - `ReplicatedMergeTree` table projections (works fine) - CH ver `23.1.6.42` - system.mutations for `MATERIALIZE projection` has `is_done` equals to `0` for unexists parts **Unexpected behaviour** Hanging MATERIALIZE projection MUTATION in system.mutations for unexists parts **Expected behavior** 0...
https://github.com/ClickHouse/ClickHouse/issues/49913
https://github.com/ClickHouse/ClickHouse/pull/50052
8dbf7beb32fa752bc4b87decc741221ae2e9249c
c89f92e1f67271f295cb4a44de12b2916ff393cd
2023-05-16T11:34:43Z
c++
2023-05-22T11:20:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,885
["src/AggregateFunctions/AggregateFunctionIf.h", "tests/performance/uniqExactIf.xml"]
Parallelise merging of `UniqExactIf` states
Original question from user: https://github.com/ClickHouse/ClickHouse/discussions/49865#discussioncomment-5904525 We need to repeat what was done for `uniqExact`, i.e. provide [methods](https://github.com/nickitat/ClickHouse/blob/master/src/AggregateFunctions/AggregateFunctionUniq.h#L416-L424) for `AggregateFunction...
https://github.com/ClickHouse/ClickHouse/issues/49885
https://github.com/ClickHouse/ClickHouse/pull/50285
12ca383132f183ac6dda002a15d86c3a601d4dd4
3cc9feafc2a99359512fd31752a9379e09f8cbe1
2023-05-15T14:53:27Z
c++
2023-05-29T16:42:44Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,878
["docs/en/development/build.md", "docs/en/getting-started/install.md", "utils/check-style/aspell-ignore/en/aspell-dict.txt"]
[ARM] Request to Specify ClickHouse Version during Installation
RPM packages only support modern ARM cores, such as Graviton 2, 3. For older ARM cores, install ClickHouse as follows: ``` curl https://clickhouse.com/ | sh ``` _Originally posted by @alexey-milovidov in https://github.com/ClickHouse/ClickHouse/issues/49814#issuecomment-1546781571_ Dear alexey...
https://github.com/ClickHouse/ClickHouse/issues/49878
https://github.com/ClickHouse/ClickHouse/pull/50359
ff5884989f238d02ea0392ea061d40938bde40a9
3bc4d11b46b2be73e7a5752714382fdcf359da88
2023-05-15T10:20:26Z
c++
2023-05-31T00:32:39Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,781
["src/Functions/array/FunctionArrayMapped.h", "tests/queries/0_stateless/02735_array_map_array_of_tuples.reference", "tests/queries/0_stateless/02735_array_map_array_of_tuples.sql"]
arrayMap unwraps tuples with a single element
**Describe the unexpected behaviour** ``` SELECT arrayMap(e -> e, [tuple(NULL)]) Query id: 0acdde56-2f1e-43ea-8de5-b69a84465f15 ┌─arrayMap(lambda(tuple(e), e), [tuple(NULL)])─┐ │ [NULL] │ └──────────────────────────────────────────────┘ ``` **How to reproduce** ...
https://github.com/ClickHouse/ClickHouse/issues/49781
https://github.com/ClickHouse/ClickHouse/pull/49789
a3e26dd22f746db3a2fa9ec308365b1dde99f1fe
3351ef739812f918eda28c2a0ca75d725d0e33e4
2023-05-11T11:45:57Z
c++
2023-05-12T11:27:40Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,769
["programs/client/Client.cpp", "programs/local/LocalServer.cpp", "tests/queries/0_stateless/01523_client_local_queries_file_parameter.reference", "tests/queries/0_stateless/01523_client_local_queries_file_parameter.sh", "tests/queries/0_stateless/02751_multiquery_with_argument.reference", "tests/queries/0_stateless/027...
clickhouse-client: Passing `--query` and `--queries-file` works in non-oblivious way
Combining `clickhouse-client` executes queries from file but does not exectute query in --query **How to reproduce** 1. Create file sql.sql with string `SELECT 'File` 2. `clickhouse-local --query "select 1" --queries-file "sql.sql"` **Actual behavior** Client prints `File`, `Select 1` is ignored **Expected ...
https://github.com/ClickHouse/ClickHouse/issues/49769
https://github.com/ClickHouse/ClickHouse/pull/50210
a97b180ff36d50c6a2231b04f7cb10d7b274ac0f
73fb2081c1699e0312c45a6c6b14c8c77297ecf0
2023-05-11T08:11:57Z
c++
2023-06-01T12:16:20Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,708
["src/Storages/StorageFile.cpp", "src/TableFunctions/TableFunctionFile.cpp", "tests/queries/0_stateless/02946_parallel_replicas_distributed.reference", "tests/queries/0_stateless/02946_parallel_replicas_distributed.sql"]
allow_experimental_parallel_reading_from_replicas multplies results
```sql CREATE TABLE test (id UInt64, date Date) ENGINE = MergeTree ORDER BY id as select *, today() from numbers(100); CREATE TABLE IF NOT EXISTS test_d as test ENGINE = Distributed(test_cluster_one_shard_three_replicas_localhost, currentDatabase(),test); SELECT count(), sum(id) FROM test_d SETTINGS allo...
https://github.com/ClickHouse/ClickHouse/issues/49708
https://github.com/ClickHouse/ClickHouse/pull/57979
cc8f6ab8090888c8dc92655a70e2f2d6a5502ce7
1a7de9158fd3b3f1a3f477af6a6533f46c3dc045
2023-05-09T17:54:36Z
c++
2023-12-18T20:29:11Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,694
["src/Common/tests/gtest_thread_pool_schedule_exception.cpp"]
Failed unit test `ThreadPool.ExceptionFromWait`
Link https://s3.amazonaws.com/clickhouse-test-reports/49676/7250e7fec863286b010484dd0a13a0812168ff60/unit_tests__ubsan_.html
https://github.com/ClickHouse/ClickHouse/issues/49694
https://github.com/ClickHouse/ClickHouse/pull/49755
94bfb1171ded4033f813e4d13c2d36d12a351bbf
d147cb105c9d805bd98bd1d7090b3b57297a93a8
2023-05-09T11:05:26Z
c++
2023-05-12T11:08:48Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,685
["src/Processors/QueryPlan/ReadFromMergeTree.cpp", "tests/queries/0_stateless/02814_ReplacingMergeTree_fix_select_final_on_single_partition.reference", "tests/queries/0_stateless/02814_ReplacingMergeTree_fix_select_final_on_single_partition.sql"]
Setting do_not_merge_across_partitions_select_final = 1 does not filter deleted rows in ReplacingMergeTree
We are using Clickhouse 23.3.2 version and we have a few `ReplacingMergeTree` tables defined like below: ``` CREATE TABLE subscriptions_replacing ( `subscription_id` UInt64, `account_id` UInt64, ... `_is_deleted` UInt8, `_version` UInt64 ) ENGINE = ReplicatedReplacingMergeTree('/clickhou...
https://github.com/ClickHouse/ClickHouse/issues/49685
https://github.com/ClickHouse/ClickHouse/pull/53511
cba1d6688253d102103cbc1e737cfee806a99abc
b7d8ebf5e238e3c91bcda6b74a671784ce8181af
2023-05-09T06:10:41Z
c++
2023-08-28T13:07:06Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,672
["src/Common/Volnitsky.h", "src/Common/format.h", "src/Functions/randomStringUTF8.cpp", "tests/queries/0_stateless/01278_random_string_utf8.reference", "tests/queries/0_stateless/01278_random_string_utf8.sql"]
AST Fuzzer (msan): use-of-uninitialized-value in StringSearcher
[A link to the report ](https://s3.amazonaws.com/clickhouse-test-reports/49636/fe02317d4595ddcea9837dc5a33f047242653642/fuzzer_astfuzzermsan/report.html) Stacks: https://pastila.nl/?030ef1b1/7e71a0d51ee89c61ce8ca97856c021e2 https://pastila.nl/?0269eed6/0c3c7e9b0b6c6db8cbc7dbeed06ce055 https://pastila.nl/?0269eed...
https://github.com/ClickHouse/ClickHouse/issues/49672
https://github.com/ClickHouse/ClickHouse/pull/49750
23fd9937a3f38e57559e82f4a090672d79446665
8997c6ef953cf96e6ed9e966d1ef034c19e1ec3d
2023-05-08T16:40:39Z
c++
2023-05-11T16:49:12Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,622
["src/Common/HashTable/ClearableHashSet.h", "tests/queries/0_stateless/02733_fix_distinct_in_order_bug_49622.reference", "tests/queries/0_stateless/02733_fix_distinct_in_order_bug_49622.sql"]
Unexpected "DISTINCT" result with empty string
+ ClickHouse Version `23.4.2.11` + DDL ```sql CREATE TABLE test ( c1 String, c2 String, c3 String ) ENGINE = ReplacingMergeTree ORDER BY (c1, c3); INSERT INTO test(c1, c2, c3) VALUES ('', '', '1'), ('', '', '2'),('v1', 'v2', '3'),('v...
https://github.com/ClickHouse/ClickHouse/issues/49622
https://github.com/ClickHouse/ClickHouse/pull/49636
4b3b9f6ba614a5d605553cf312a7d155f16cfe49
8bc04d5fa8f395ea10d9f96a244e54c49fe72c94
2023-05-07T13:02:58Z
c++
2023-05-08T16:42:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,569
["src/Storages/MergeTree/MergeTreeIndexSet.cpp", "tests/queries/0_stateless/02789_set_index_nullable_condition_bug.reference", "tests/queries/0_stateless/02789_set_index_nullable_condition_bug.sql"]
Creating Index changes the query result, all rows are skipped
Clickhouse v22.8.17.17+ I expect to get 1 row, but I get an empty result [https://fiddle.clickhouse.com/75841829-0825-4e49-878c-4e0ceba63bb0](https://fiddle.clickhouse.com/75841829-0825-4e49-878c-4e0ceba63bb0) ``` CREATE OR REPLACE TABLE test_table ( col1 String, col2 String, INDEX test_tabl...
https://github.com/ClickHouse/ClickHouse/issues/49569
https://github.com/ClickHouse/ClickHouse/pull/51205
32e671d0c6e96b16c7160fba07e4e3d833d68371
b10bcbc7f41d361fa4b7948b389dbbd4642c51e6
2023-05-05T18:29:29Z
c++
2023-06-26T14:33:36Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,566
["docker/bare/README.md"]
docker container logs to /var/log/clickhouse-server instead only to /dev/stdout
(you don't have to strictly follow this form) **Describe the unexpected behaviour** The docker container logs to /var/log/clickhouse-server instead only to /dev/stdout. **How to reproduce** Create a clickhouse installation with Clickhouse operator. Thats the output of on of the clikhouse containers right ...
https://github.com/ClickHouse/ClickHouse/issues/49566
https://github.com/ClickHouse/ClickHouse/pull/49605
c3fa74ab8aa3c1e8723f715572a3b056f53f9e54
920b42f88f89361c580a9620191d34930741248f
2023-05-05T16:51:01Z
c++
2023-05-07T03:40:46Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,528
["src/Analyzer/Passes/UniqToCountPass.cpp", "src/Analyzer/Passes/UniqToCountPass.h", "src/Analyzer/QueryTreePassManager.cpp", "src/Core/Settings.h", "src/Interpreters/InterpreterSelectQuery.cpp", "src/Interpreters/RewriteUniqToCountVisitor.cpp", "src/Interpreters/RewriteUniqToCountVisitor.h", "tests/integration/test_re...
Rewrite `uniq` to `count` if a subquery returns distinct values.
``` SELECT uniq(x) FROM (SELECT DISTINCT x ...) ``` can be rewritten to ``` SELECT count() FROM (SELECT DISTINCT x ...) ``` as well as ``` SELECT uniq() FROM (SELECT x ... GROUP BY x) ``` It can apply to all variants of the `uniq` functions except `uniqUpTo`. The optimization could be implemente...
https://github.com/ClickHouse/ClickHouse/issues/49528
https://github.com/ClickHouse/ClickHouse/pull/52004
bd5d93e4393eee1cb09360433e8aa36c9994e6b4
5f767b0dfa6c950af064c9399ec7b2e11fdac2e4
2023-05-04T22:25:52Z
c++
2023-07-25T09:41:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,523
["src/Dictionaries/DictionaryFactory.cpp", "src/Dictionaries/DictionaryFactory.h", "src/Dictionaries/FlatDictionary.cpp", "src/Dictionaries/getDictionaryConfigurationFromAST.cpp", "tests/queries/0_stateless/01018_ddl_dictionaries_bad_queries.reference", "tests/queries/0_stateless/01018_ddl_dictionaries_bad_queries.sh",...
If a dictionary is created with a complex key, automatically choose the "complex key" layout variant.
null
https://github.com/ClickHouse/ClickHouse/issues/49523
https://github.com/ClickHouse/ClickHouse/pull/49587
c825f15b7481f009baa2119d5efae05ed406b49f
97329981119ac6cc17e8a565df645d560f756193
2023-05-04T21:26:57Z
c++
2023-07-31T07:20:09Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,510
["src/Storages/System/attachInformationSchemaTables.cpp", "tests/integration/test_mysql_protocol/golang.reference", "tests/integration/test_mysql_protocol/test.py", "tests/integration/test_select_access_rights/test_from_system_tables.py", "tests/queries/0_stateless/01161_information_schema.reference", "tests/queries/0_...
MySQL compatibility: mixed case queries
**Use case** When using MySQL protocol to connect BI tools (for example, QuickSight) to ClickHouse, the following query is executed to introspect the dataset size, and it fails: ```sql SELECT data_length FROM information_schema.TABLES WHERE table_schema = 'default' AND table_name = 'cell_towe...
https://github.com/ClickHouse/ClickHouse/issues/49510
https://github.com/ClickHouse/ClickHouse/pull/52695
621d8522892e689d4049ae8ab131e30f97137859
5d64e036baec6807f1c3c180a2ba110826b94df0
2023-05-04T13:20:43Z
c++
2023-08-03T10:15:31Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,509
["src/Storages/MergeTree/MergeTreeData.cpp", "tests/queries/0_stateless/02352_lightweight_delete_and_object_column.reference", "tests/queries/0_stateless/02352_lightweight_delete_and_object_column.sql"]
error: There is no physical column _row_exists in table
**Describe the unexpected behaviour** There is still repeating error message in the log: `There is no physical column _row_exists in table. (NO_SUCH_COLUMN_IN_TABLE)` (see full trace below). The log is full of this messages. It is impossible for me to find out which table it is. * Which ClickHouse server ver...
https://github.com/ClickHouse/ClickHouse/issues/49509
https://github.com/ClickHouse/ClickHouse/pull/49737
56a563f2bd95ef43366b6273b4a9b496469a4423
7c7565f094404d97de497d448cdd951847b28669
2023-05-04T13:19:12Z
c++
2023-05-12T10:20:07Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,445
["src/Interpreters/Cache/QueryCache.cpp", "src/Processors/Chunk.cpp", "src/Processors/Chunk.h"]
Bad cast from type DB::ColumnConst to DB::ColumnVector<char8_t>
https://s3.amazonaws.com/clickhouse-test-reports/49211/a08225d9ea4d0ca6ddf665a1b5b7fc69b2147137/stress_test__debug_.html
https://github.com/ClickHouse/ClickHouse/issues/49445
https://github.com/ClickHouse/ClickHouse/pull/50704
945a119fc6d2b3061a2d4edb19e5c5eef73f6a54
305e3d1f660a3508f2060ea0032b56ff963e62ff
2023-05-03T10:40:55Z
c++
2023-06-23T15:01:00Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,400
["tests/integration/test_ssl_cert_authentication/test.py"]
Flaky test `test_ssl_cert_authentication`
https://s3.amazonaws.com/clickhouse-test-reports/0/0f6a81843fa2b5b86b8a7ac238d18b9fcdf5c657/integration_tests__release__[4_4].html
https://github.com/ClickHouse/ClickHouse/issues/49400
https://github.com/ClickHouse/ClickHouse/pull/49982
f850a448ecebe6a097d1f4bf711f50a863652bc0
f39c81d13edbd84aa46760284bf7c5ecb20212c8
2023-05-02T11:43:34Z
c++
2023-05-23T11:57:22Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,322
["src/Columns/ColumnLowCardinality.h", "tests/integration/test_system_metrics/test.py"]
Processing of small blocks with LowCardinality fields may produce a wrong value in the progress bar.
**Describe the unexpected behaviour** ``` CREATE TABLE test ( s LowCardinality(String) ) ENGINE = MergeTree ORDER BY (); INSERT INTO test SELECT randomPrintableASCII(10000) FROM numbers(1000000); SET preferred_block_size_bytes = '64K' SELECT blockSize(), count() AS c, sum(length(s)) FROM test GROUP...
https://github.com/ClickHouse/ClickHouse/issues/49322
https://github.com/ClickHouse/ClickHouse/pull/49323
965956ad55c46e6956b4f034d516e9da3aae2faa
79ad150454a1e2560bcc051f5f438f0cb5021ef5
2023-04-28T22:10:19Z
c++
2023-05-05T20:34:27Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,312
["src/Interpreters/ActionsVisitor.cpp", "src/Interpreters/ActionsVisitor.h", "src/Interpreters/ExpressionAnalyzer.cpp", "src/Processors/QueryPlan/CreatingSetsStep.cpp", "src/Storages/VirtualColumnUtils.cpp", "tests/queries/0_stateless/02596_build_set_and_remote.reference", "tests/queries/0_stateless/02596_build_set_and...
Abort in `InterpreterSelectQuery::executeSubqueriesInSetsAndJoins` due to invalid std::promise
https://s3.amazonaws.com/clickhouse-test-reports/45596/5915290f0fe9ed8aaa5344aec85390b874bd949b/fuzzer_astfuzzerubsan/report.html ``` std::exception. Code: 1001, type: std::__1::future_error, e.what() = The associated promise has been destructed prior to the associated state becoming ready. (version 23.4.1.1) (from...
https://github.com/ClickHouse/ClickHouse/issues/49312
https://github.com/ClickHouse/ClickHouse/pull/49425
2924837c7e6030058b87b9a65a06276543430cfd
a90c2ec90df2a3be7c10fe0b5f7ba8015a71d47a
2023-04-28T15:28:04Z
c++
2023-05-03T19:47:29Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,304
["docs/en/operations/backup.md", "src/Backups/RestoreSettings.cpp", "src/Backups/RestoreSettings.h", "src/Backups/RestorerFromBackup.cpp", "src/Backups/RestorerFromBackup.h", "src/Backups/SettingsFieldOptionalString.cpp", "src/Backups/SettingsFieldOptionalString.h", "tests/integration/test_backup_restore_storage_policy...
RESTORE TABLE db.table SETTINGS ... (use different storage policy for restore of backup)
**Use case** Currently during backup restore, it's allow you to restore table as is, with source storage policy. But it's not always desired behavior, for example if you have tiered storage, during RESTORE TABLE, ClickHouse tries to reserve space in storage policy according to volume order only, and not TTL policy....
https://github.com/ClickHouse/ClickHouse/issues/49304
https://github.com/ClickHouse/ClickHouse/pull/52970
9d29b7cdbf65d2df44f7bc909e3c06c7ea9fcb9a
6af6247f8a57d87e39057fd5516c1e6eb18fc4b7
2023-04-28T12:49:35Z
c++
2023-08-07T17:01:08Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,290
["docs/en/sql-reference/table-functions/file.md", "docs/ru/sql-reference/table-functions/file.md", "src/Storages/HDFS/StorageHDFS.cpp", "src/Storages/StorageFile.cpp", "tests/integration/test_storage_hdfs/test.py", "tests/queries/0_stateless/02771_complex_globs_in_storage_file_path.reference", "tests/queries/0_stateles...
file/(hdfs?) globs allow to have patterns across different directories
**Use case** We want to read only specific files in each directory, and do not have access to other files. **Describe the solution you'd like** ``` SELECT *, _path, _file FROM file('{a/1,b/2}.csv', CSV) 0 rows in set. Elapsed: 0.050 sec. Received exception: Code: 636. DB::Exception: C...
https://github.com/ClickHouse/ClickHouse/issues/49290
https://github.com/ClickHouse/ClickHouse/pull/50559
6c62c3b4268e4afc70ff8841a0a54a09d8456ecd
32b765a4ba577acbfdb09a8d400dad8d4ef0f48d
2023-04-27T23:53:28Z
c++
2023-07-19T04:24:38Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,254
["contrib/isa-l-cmake/CMakeLists.txt", "docs/en/development/build.md"]
aarch64 build broken after #48833
ISA-L was introduced in #48833, and looks like it's only available for x86 architectures. This completely broke MacOs M1 compilation, and I guess also any other ARM-based architecture.
https://github.com/ClickHouse/ClickHouse/issues/49254
https://github.com/ClickHouse/ClickHouse/pull/49288
3f959848bd6631f0a86e06d7a3eb9bfc1177a8d2
fd5c8355b04246d66860acab7667ee12ffc9b036
2023-04-27T09:41:30Z
c++
2023-04-28T08:43:24Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,232
["docs/en/sql-reference/table-functions/url.md", "docs/ru/sql-reference/table-functions/url.md", "docs/zh/sql-reference/table-functions/url.md", "src/Common/parseRemoteDescription.cpp", "src/Common/parseRemoteDescription.h", "src/Storages/StorageURL.cpp", "src/Storages/StorageURL.h", "tests/queries/0_stateless/00646_ur...
The limit on the maximum number of generated addresses cannot be changed for function `url`
``` play-eu :) SELECT _path, count() FROM url('https://clickhouse-public-datasets.s3.amazonaws.com/wikistat/original/pageviews-20200101-{00..23}{00..59}00.gz', LineAsString) GROUP BY _path ORDER BY _path SELECT _path, count() FROM url('https://clickhouse-public-datasets.s3.amazonaws.com/wikistat/original...
https://github.com/ClickHouse/ClickHouse/issues/49232
https://github.com/ClickHouse/ClickHouse/pull/49356
7bed59e1d2a01eb4313e84413ad47c513451ca17
d4b89cb643184582dd22fdf754aab92d6c7cbd16
2023-04-26T21:32:41Z
c++
2023-05-22T16:10:32Z
closed
ClickHouse/ClickHouse
https://github.com/ClickHouse/ClickHouse
49,171
["src/Storages/MergeTree/KeyCondition.cpp", "tests/queries/0_stateless/02479_nullable_primary_key_non_first_column.reference", "tests/queries/0_stateless/02479_nullable_primary_key_non_first_column.sql", "tests/queries/0_stateless/02479_nullable_primary_key_second_column.reference", "tests/queries/0_stateless/02479_nul...
Unexpected query result with nullable primary key
> You have to provide the following information whenever possible. **Describe what's wrong** Wrong query result when table has nullable primary key. ```sql CREATE TABLE dm_metric_small2 (`x` Nullable(Int64), `y` Nullable(Int64), `z` Nullable(Int64)) ENGINE = MergeTree() ORDER BY (x, y, z) SETTINGS index_granu...
https://github.com/ClickHouse/ClickHouse/issues/49171
https://github.com/ClickHouse/ClickHouse/pull/49172
a8e63abbb48abd70026d71e5e0189f9efcbfeb28
abe0cfd10f913211059038f67761c5ce633e0b2d
2023-04-26T10:00:27Z
c++
2023-05-01T10:51:22Z