Commit Graph

62226 Commits

Author SHA1 Message Date
Anton Popov
f9f13a8e41 enable setting optimize_functions_to_subcolumns by default 2024-08-08 16:27:25 +00:00
Anton Popov
e264ecd201 fix skip of parts in mutation with analyzer 2024-08-08 16:22:06 +00:00
Yarik Briukhovetskyi
a5fcf85fb6
Merge branch 'master' into hive_style_partitioning 2024-08-08 17:54:53 +02:00
Duc Canh Le
fdd8d5e5d8 Merge branch 'master' into drop_detached_partition_all
Fix CI
2024-08-08 14:44:10 +00:00
János Benjamin Antal
c9adfe246b
Merge pull request #57625 from ClickHouse/kafka-zookeeper
Kafka ZooKeeper
2024-08-08 14:02:27 +00:00
Yarik Briukhovetskyi
edccd30016
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 14:52:33 +02:00
Yakov Olkhovskiy
cbfc80a184
Merge pull request #67587 from ClickHouse/fix-create-view-with-recursive
Fix: creation of view with recursive CTE
2024-08-08 12:16:48 +00:00
Nikita Mikhaylov
4c289aa2dc
Merge pull request #64183 from vitlibar/ts-engine
Add new TimeSeries table engine to handle Prometheus protocols
2024-08-08 12:03:12 +00:00
alesapin
ac3dd0a9dc
Merge pull request #67873 from ClickHouse/fix-02597_column_update_tricy_expression_and_replication
[CI Fest] Fix `02597_column_update_tricy_expression_and_replication`
2024-08-08 11:58:37 +00:00
Sema Checherinda
117fedd3bb fix style 2024-08-08 12:59:32 +02:00
Sema Checherinda
0939e7f922 Merge branch 'master' into chesema-02765 2024-08-08 12:57:04 +02:00
Sema Checherinda
69ac203c9f fix tests 2024-08-08 12:56:33 +02:00
Sema Checherinda
ec145c86f5
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 12:28:52 +02:00
Sema Checherinda
df23a3456f work with review 2024-08-08 12:28:26 +02:00
vdimir
aec4e5bd63
Merge branch 'master' into vdimir/analyzer_external_query_fix 2024-08-08 12:15:19 +02:00
vdimir
c8c4ca88d0
Merge branch 'master' into vdimir/connection_reset_by_peer_spam_log 2024-08-08 12:12:45 +02:00
Yarik Briukhovetskyi
6384488826
Merge branch 'ClickHouse:master' into hive_style_partitioning 2024-08-08 11:45:01 +02:00
Sema Checherinda
b79e701d8f
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 11:33:36 +02:00
Sema Checherinda
8a93b1c7cf
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 11:33:10 +02:00
Sema Checherinda
376d643e39
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 11:32:55 +02:00
Sema Checherinda
dbe3035b6d
Update src/Disks/DiskFomAST.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-08 11:32:42 +02:00
Robert Schulze
f2c8d9678c
Merge remote-tracking branch 'ClickHouse/master' into fix-concurrent_threads_soft_limit_ratio 2024-08-08 09:09:44 +00:00
Robert Schulze
37641a0b4b
Merge remote-tracking branch 'ClickHouse/master' into fix-stat-assert 2024-08-08 08:57:22 +00:00
Antonio Andelic
d0f35ce6a6 Fix setting prefix 2024-08-08 10:29:01 +02:00
Dmitry Novik
486d717e88
Merge pull request #67661 from bigo-sg/win_bug
Fix crash on `percent_rank`
2024-08-08 08:28:48 +00:00
Alexey Milovidov
6a2ebfc95b
Revert "Use Atomic database by default in clickhouse-local" 2024-08-08 10:07:14 +02:00
János Benjamin Antal
7579d06272 Merge remote-tracking branch 'origin/master' into fix_trivial_count_non_deterministic_func 2024-08-08 08:02:28 +00:00
János Benjamin Antal
92be2db5b6 Merge remote-tracking branch 'origin/master' into kafka-zookeeper 2024-08-08 08:01:43 +00:00
morning-color
211999fde6
Merge branch 'master' into rows_before_group_by_counter 2024-08-08 15:49:24 +08:00
pufit
6c0cc194d3
Merge branch 'master' into pufit/fuzz-query-revert-revert 2024-08-07 23:26:05 -04:00
pufit
32153d6e0d
Merge branch 'master' into pufit/correct-error-for-alter-modify-definer 2024-08-07 23:25:02 -04:00
Konstantin Bogdanov
c42725331d
Fix 2024-08-08 02:47:02 +02:00
lgbo-ustc
daf62e1682 update 2024-08-08 08:30:10 +08:00
lgbo-ustc
8426e0d5e5 fix crash 2024-08-08 08:28:20 +08:00
Yarik Briukhovetskyi
c19ee360d1
Update StorageObjectStorageSource.cpp 2024-08-08 00:44:42 +02:00
Yarik Briukhovetskyi
9e3a2931d2
Merge branch 'master' into hive_style_partitioning 2024-08-07 23:59:34 +02:00
Nikita Mikhaylov
f37e0c7fc6 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-07 21:01:13 +00:00
Nikita Mikhaylov
b2722d8832 Disallow LowCardinality type for external tables 2024-08-07 20:54:40 +00:00
Alexey Milovidov
c5b63c5820 Merge branch 'master' into change-log-level-clickhouse-local 2024-08-07 22:13:02 +02:00
Michael Stetsyuk
f08cb90fe3 fxs 2024-08-07 19:54:55 +00:00
Alexey Milovidov
d81b5239de Remove unused CLI option 2024-08-07 21:37:01 +02:00
Yakov Olkhovskiy
466944683b fix for multiple WITH 2024-08-07 18:50:19 +00:00
Yakov Olkhovskiy
7706bc853d Merge branch 'master' into fix-race-tcphandler 2024-08-07 18:13:20 +00:00
Miсhael Stetsyuk
cf8ddbc15e
Update src/Databases/DatabaseReplicated.cpp
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2024-08-07 19:03:20 +01:00
János Benjamin Antal
47270449dc Style fix 2024-08-07 17:39:09 +00:00
János Benjamin Antal
ec3a248e70 Fix clang-tidy 2024-08-07 17:37:54 +00:00
Kseniia Sumarokova
315fd5496a
Merge pull request #65386 from skyoct/feat-s3-field
Feat add _etag for object storage
2024-08-07 17:35:43 +00:00
alesapin
0dc4d773ed Fxi style 2024-08-07 18:46:34 +02:00
Alexander Tokmakov
a523125411
Merge pull request #66410 from ClickHouse/reject_poco
Add logs and metrics about rejected connections in Poco
2024-08-07 16:40:59 +00:00
Yakov Olkhovskiy
b246f7c17c merge master 2024-08-07 16:25:31 +00:00
vdimir
5e9c3c222b
Merge pull request #67883 from canhld94/optimize_join_engine
Join engine support OPTIMIZE query
2024-08-07 16:24:50 +00:00
alesapin
ad678cb5a8 Ignore disappeared projections on start 2024-08-07 18:24:03 +02:00
Alexey Milovidov
2b78b3f90a Merge branch 'master' into change-log-level-clickhouse-local 2024-08-07 17:21:26 +02:00
János Benjamin Antal
3485e87d8a Really handle null messages 2024-08-07 15:18:55 +00:00
Alexey Milovidov
9c2b51e3d6
Merge pull request #65860 from ClickHouse/atomic-database-in-clickhouse-local
Use `Atomic` database by default in `clickhouse-local`
2024-08-07 15:18:54 +00:00
János Benjamin Antal
ac5aab1758 Handle kafka null messages 2024-08-07 13:30:28 +00:00
Kruglov Pavel
e809dbed60
Merge pull request #67171 from compasses/fix-memory-leak-nullkey-distinct
fix memory leak when exception happend during count distinct for null key
2024-08-07 12:47:52 +00:00
Kruglov Pavel
81b0caf85c
Merge pull request #67911 from Avogar/validate-data-types-in-alter
Validate data types in ALTER ADD/MODIFY COLUMN
2024-08-07 12:41:10 +00:00
Sema Checherinda
4a537874ca adjust tests 2024-08-07 14:35:05 +02:00
Nikita Taranov
04d988d31b
Merge pull request #67917 from ClickHouse/follow_up_67235
Follow up #67235
2024-08-07 12:13:29 +00:00
János Benjamin Antal
8b5c8e5361 Merge remote-tracking branch 'origin/master' into kafka-zookeeper 2024-08-07 11:33:21 +00:00
Sema Checherinda
272941021f
Merge pull request #66279 from ClickHouse/chesema-processor-onCancel
merge tree sink cancel delayed_chunk
2024-08-07 11:12:22 +00:00
Nikolai Kochetov
581594d5d0
Merge pull request #66672 from jsc0218/ProjWithSpecialMergeTree
Projection Merge in Special MergeTree
2024-08-07 11:09:10 +00:00
Sema Checherinda
b416764585 put description of system log table in one place 2024-08-07 13:02:38 +02:00
Raúl Marín
c9340cba32
Merge pull request #67622 from Algunenano/unit_test_asan
Don't run ASAN unit tests under gdb
2024-08-07 10:48:00 +00:00
Ilya Yatsishin
47111eb5af
Merge pull request #67511 from ClickHouse/revert-67507-revert-66536-external-replace-to-null
Revert "Revert "Add settings to replace external engines to Null during create""
2024-08-07 10:38:04 +00:00
Sema Checherinda
08f8d94856 no flush backup logs at shutdown, flush all logs 2024-08-07 12:23:28 +02:00
Sema Checherinda
e3290c7820 rework Context::getSystemLogs, add system logs flush at shutdown 2024-08-07 12:21:41 +02:00
Sema Checherinda
86267418f9 fix tests, rework recreation tables conditions, add log about ignored logs 2024-08-07 12:21:41 +02:00
Sema Checherinda
8e5577ad8f fix includes 2024-08-07 12:21:41 +02:00
Sema Checherinda
abd5dfe1d0 fix typo 2024-08-07 12:21:41 +02:00
Sema Checherinda
aa42ccf053 move LOGICAL_IF_THEN to base/defines.h 2024-08-07 12:21:41 +02:00
Sema Checherinda
bcc5201c99 init 2024-08-07 12:21:41 +02:00
Kseniia Sumarokova
29de277e90
Merge pull request #67841 from ClickHouse/add-debug-logs-for-window-view
Add debug logging for window view tests
2024-08-07 10:15:31 +00:00
János Benjamin Antal
3c531d314d Fix build 2024-08-07 10:09:35 +00:00
Robert Schulze
a9c284dd8e
Include fixes aafe498 and cfaa852 2024-08-07 10:07:27 +00:00
vdimir
53c4c51f19
Merge pull request #67015 from ClickHouse/vdimir/block_stucture_mismatch_62486
Fix storage Buffer over Distributed
2024-08-07 09:50:45 +00:00
vdimir
a119024be8
Merge pull request #67920 from ClickHouse/vdimir/datetime64_constant_to_ast
Fix DateTime64 parsing after constant folding
2024-08-07 09:41:42 +00:00
Duc Canh Le
7fa6948884 Merge branch 'master' into drop_detached_partition_all
Fix CI
2024-08-07 09:20:06 +00:00
Anton Popov
2c10d8c6c1
Merge pull request #66243 from CurtizJ/fix-filling-empty-subcolumns
Fix filling of missed subcolumns
2024-08-07 09:16:20 +00:00
Anton Popov
66f95cd073
Merge pull request #66443 from amosbird/cleanup-projections
Clean up projection inside storage snapshot
2024-08-07 09:02:25 +00:00
khodyrevyurii
00b62b1c0d
Minor clarifycation for method getNumberOfPhysicalCPUCores 2024-08-07 08:47:55 +00:00
lgbo-ustc
58b7ac2264 update 2024-08-07 15:15:32 +08:00
lgbo-ustc
377eed20fc reduce the size of HashJoin.cpp.o 2024-08-07 15:15:32 +08:00
lgbo-ustc
413834d049 instance template classes 2024-08-07 15:15:32 +08:00
lgbo-ustc
deb58b4ede any/anti/semi join support mixed join conditions 2024-08-07 15:15:32 +08:00
pufit
3b642e7f91
Merge pull request #66364 from azat/cluster-inter-server-secret-fix
Fix cluster() for inter-server secret (preserve initial user as before)
2024-08-07 04:58:12 +00:00
lgbo-ustc
9845aeac0f support percent_rank in old analyzer 2024-08-07 08:57:56 +08:00
lgbo-ustc
08c48cf944 update 2024-08-07 08:57:56 +08:00
lgbo-ustc
8f5cf70aab add some comments 2024-08-07 08:57:56 +08:00
lgbo-ustc
2e521e17ed fixed 2024-08-07 08:57:56 +08:00
lgbo-ustc
b35dd3bc02 simplify codes 2024-08-07 08:57:56 +08:00
lgbo-ustc
6e7bffa6ea remove unused codes 2024-08-07 08:57:56 +08:00
lgbo-ustc
632ab91bbb revert format 2024-08-07 08:57:56 +08:00
lgbo-ustc
b35ff7e417 update test 2024-08-07 08:57:56 +08:00
lgbo-ustc
114284bdce fixed 2024-08-07 08:57:55 +08:00
pufit
2a5a8f15f4 Add an explicit error for ALTER MODIFY SQL SECURITY on non-view tables. 2024-08-06 20:51:44 -04:00
Alexey Milovidov
25f557667a Change log level in clickhouse-local 2024-08-07 02:47:53 +02:00
Han Fei
6fba2f19f6
Merge pull request #67928 from hanfei1991/hanfei/more-log-for-async-insert-scatter-partition
more logs to debug logical error from async inserts
2024-08-06 23:22:34 +00:00
Alexey Milovidov
2d998b7c7a
Merge pull request #67565 from ClickHouse/chesema-perf-matview
enable parallel_view_processing in perf tests
2024-08-06 22:56:34 +00:00
Alexey Milovidov
ec83156691
Merge pull request #67896 from CurtizJ/fix-azure-create-container
Do not try to create azure container if not needed
2024-08-06 22:56:19 +00:00
Nikita Mikhaylov
5b3692b4f0 Added some useful debug logs 2024-08-07 00:29:19 +02:00
Alexey Milovidov
d1d10a483b Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-07 00:29:07 +02:00
Nikita Taranov
5ae5cd35b5 update 2024-08-06 21:50:31 +01:00
Nikita Taranov
053285dc1c Merge branch 'master' into keep_alive_max_reqs 2024-08-06 20:55:48 +01:00
Ilya Yatsishin
881d57a764
Merge branch 'master' into revert-67507-revert-66536-external-replace-to-null 2024-08-06 21:04:17 +02:00
Robert Schulze
c4fda6cd4c
Fix style 2024-08-06 18:26:22 +00:00
Nikita Mikhaylov
1ce71ed96d Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-06 20:25:20 +02:00
Nikolai Kochetov
c74460b47e Cleanup. 2024-08-06 17:53:23 +00:00
Alexander Tokmakov
77103aa729 Merge branch 'master' into reject_poco 2024-08-06 19:52:05 +02:00
Nikolai Kochetov
9c92c26edc Simplify code. 2024-08-06 17:51:26 +00:00
Sema Checherinda
5c4f4f8503 do not add to custom disk names 2024-08-06 18:52:29 +02:00
Nikolai Kochetov
61f9627955 Merge branch 'master' into ProjWithSpecialMergeTree 2024-08-06 15:30:03 +00:00
Robert Schulze
54ba7703b1
Fix #67742 2024-08-06 15:29:40 +00:00
Han Fei
40e763dd8b more logs to debug logical error from async inserts 2024-08-06 17:17:02 +02:00
Anton Popov
47953da08d fix reading of size column from missed Nested in compact parts 2024-08-06 15:08:40 +00:00
Jacob Reckhard
86e3b35f24 spelling fixes 2024-08-06 09:07:17 -06:00
Michael Stetsyuk
df2675fad0 [resubmit] add replication lag and recovery time metrics 2024-08-06 15:06:02 +00:00
Sema Checherinda
35c297dc83 Merge branch 'master' into chesema-perf-matview 2024-08-06 16:57:25 +02:00
Robert Schulze
f20cfdb54e
Cosmetics III 2024-08-06 14:53:49 +00:00
János Benjamin Antal
2074485083 Fix partial filtering in filterBlockWithPredicate 2024-08-06 14:51:38 +00:00
Alexey Milovidov
2df8d6acde
Merge pull request #67423 from ClickHouse/bff
Fix bloom filter index breaking some queries
2024-08-06 14:45:44 +00:00
Azat Khuzhin
a478ad24a9 tests: try to catch stacktraces from client in case of test timeouts
This is to catch issues like [1].

  [1]: https://github.com/ClickHouse/ClickHouse/issues/67736

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-06 16:39:16 +02:00
Sema Checherinda
0eb6a41f57 Merge branch 'master' into chesema-processor-onCancel 2024-08-06 16:36:28 +02:00
János Benjamin Antal
815fdc43ac Revert "Merge pull request #67800 from ClickHouse/revert-66510"
This reverts commit 45c4a71ccb, reversing
changes made to bb71c1eea8.
2024-08-06 14:36:02 +00:00
vdimir
a180bf311c
Merge pull request #67804 from ClickHouse/vdimir/fix_fliter_pushdown_no_keys
Fix filter pushdown for aggregation without keys
2024-08-06 14:35:50 +00:00
vdimir
5c4f2c1985
Fix DateTime64 parsing after constant folding 2024-08-06 14:33:28 +00:00
Anton Popov
b99c6c1153 fix reading of size column from missed Nested in compact parts 2024-08-06 14:02:24 +00:00
Nikita Taranov
f37fcb7768 impl 2024-08-06 14:32:20 +01:00
Anton Popov
ba3719dd09 Merge remote-tracking branch 'upstream/master' into HEAD 2024-08-06 13:25:16 +00:00
avogar
dbfba5ebc4 Validate data types in ALTER ADD/MODIFY COLUMN 2024-08-06 12:57:57 +00:00
Robert Schulze
d09c82ff76
Cosmetics II 2024-08-06 12:36:09 +00:00
Robert Schulze
2776a515ba
Cosmetics I 2024-08-06 12:29:54 +00:00
Igor Nikonov
feeb945461
Merge pull request #67389 from ClickHouse/pr-all-connection-failed
Try to fix: ALL_CONNECTION_TRIES_FAILED with parallel replicas
2024-08-06 11:37:23 +00:00
Anton Popov
860050eb3d
Update src/Disks/ObjectStorages/AzureBlobStorage/AzureBlobStorageCommon.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2024-08-06 13:30:23 +02:00
Nikita Mikhaylov
80d2686013 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-06 13:12:03 +02:00
Sema Checherinda
995187006a rework custom table's disk usage 2024-08-06 13:05:23 +02:00
Duc Canh Le
d7803ca621 small fix in log
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-08-06 10:48:10 +00:00
Anton Popov
3656b9094a
Merge pull request #67846 from ClickHouse/revert-67392-revert-66099-better-index-calc
Revert "Revert "Slightly better calculation of primary index""
2024-08-06 10:36:01 +00:00
Anton Popov
7c15ad3966 do not try to create azure container if not needed 2024-08-06 10:27:15 +00:00
vdimir
40de462d37
Merge branch 'master' into vdimir/analyzer_external_query_fix 2024-08-06 12:25:39 +02:00
Kseniia Sumarokova
b2987e4f4d
Update StorageWindowView.cpp 2024-08-06 11:42:18 +02:00
Nikita Mikhaylov
b4a6f249ab
Merge pull request #66438 from ClickHouse/analyzer-beta
Analyzer is finally Beta
2024-08-06 09:39:29 +00:00
Robert Schulze
4d44682017
Merge pull request #66479 from rschu1ze/bump-rocksdb2
Bump RocksDB from v7.10.2 to v8.9.1
2024-08-06 09:31:20 +00:00
Raúl Marín
25fa63f7e6 Merge remote-tracking branch 'blessed/master' into unit_test_asan 2024-08-06 11:19:57 +02:00
Nikolai Kochetov
614b78495a
Merge pull request #67395 from ClickHouse/anoter-case-of-non-deterministic-func-in-group-by-key
Fix another one case of non-deterministic PK
2024-08-06 08:56:54 +00:00
Nikita Mikhaylov
22ac7ce11d Merge branch 'master' of github.com:ClickHouse/ClickHouse into pr-all-connection-failed 2024-08-06 10:31:12 +02:00
Michael Kolupaev
dc776af565
Merge pull request #67484 from ClickHouse/nojs
Revert #61750 "Improve JSONEachRow reading by ignoring the keys case"
2024-08-06 08:27:02 +00:00
Michael Kolupaev
9e3bc9bc53
Merge pull request #66018 from ClickHouse/readyornot
Fix 'Not-ready Set is passed' in system tables
2024-08-06 08:13:03 +00:00
Duc Canh Le
11fd263be6 implement DROP DETACHED PARTITION ALL
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-08-06 07:43:25 +00:00
Duc Canh Le
24e1bfdb68 Join engine support OPTIMIZE query
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-08-06 07:37:00 +00:00
János Benjamin Antal
45c4a71ccb
Merge pull request #67800 from ClickHouse/revert-66510
Revert "Merge pull request #66510 from canhld94/fix_trivial_count_non_deterministic_func"
2024-08-06 06:30:35 +00:00
taiyang-li
e6f566e49d Small refactors in ORC output format 2024-08-06 13:23:12 +08:00
Alexey Katsman
913bc8ab3a
Merge pull request #67869 from alexkats/misc-fixes
Misc fixes
2024-08-06 04:10:41 +00:00
Alexey Milovidov
52f3ad97e8 Fix MaterializedMySQL 2024-08-06 03:30:19 +02:00
Alexey Milovidov
6a3d4152d7 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-06 03:29:50 +02:00
jsc0218
97e30f00bd Merge remote-tracking branch 'origin/master' into ProjWithSpecialMergeTree 2024-08-06 00:52:12 +00:00
Michael Kolupaev
4e8bd0654c Remove from history 2024-08-05 22:06:36 +00:00
Michael Kolupaev
a05ead3f77 Conflict 2024-08-05 22:04:53 +00:00
Michael Kolupaev
cfcd9fe096 Conflicts 2024-08-05 21:57:23 +00:00
Nikita Taranov
cb6baefa94 better 2024-08-05 21:49:36 +01:00
Michael Kolupaev
3841179a24 Merge remote-tracking branch 'origin/master' into readyornot 2024-08-05 19:58:21 +00:00
Michael Kolupaev
ba47f63fae Merge remote-tracking branch 'origin/master' into bff 2024-08-05 19:56:05 +00:00
Michael Kolupaev
5b91865f58 Merge remote-tracking branch 'origin/master' into nojs 2024-08-05 19:53:53 +00:00
Michael Kolupaev
4d22cdf31f Merge remote-tracking branch 'origin/master' into curange 2024-08-05 19:52:10 +00:00
Michael Kolupaev
9137551ddc
Merge pull request #67641 from ClickHouse/typechange
Fix crash in KeyCondition::cloneASTWithInversionPushDown() caused by type change
2024-08-05 19:12:53 +00:00
Raúl Marín
205303c286 Disable more bad tests 2024-08-05 20:37:43 +02:00
Azat Khuzhin
0dccc34a20 Fix cluster() for inter-server secret (preserve initial user as before)
The behaviour of cluster() with inter-server secret had been changed in #63013,
after it started to use "default" user, and this introduces a
regression.

The intention of that patch was to adjust only remote(), since it only
it accept custom user, which should be ignored.

Fixes: https://github.com/ClickHouse/ClickHouse/issues/66287
Fixes: https://github.com/ClickHouse/ClickHouse/issues/66352
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00
Azat Khuzhin
457686c379 Simplify StorageDistributed ctors
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 20:24:24 +02:00
Alexey Milovidov
c64f060496
Merge pull request #67687 from Avogar/fix-variant-as-common-type
Fix variant as common type in if function with Tuples, Maps and incompatible integers
2024-08-05 17:48:36 +00:00
Alex Katsman
c8805fbced Misc fixes 2024-08-05 17:41:47 +00:00
Alexey Milovidov
809d73d739
Merge pull request #67774 from azat/fix-replace-modifier-format
Fix REPLACE modifier formatting (forbid omitting brackets)
2024-08-05 17:02:00 +00:00
Kseniia Sumarokova
bebc5c2e7e
Merge pull request #67801 from ClickHouse/kssenii-patch-12
Update comment
2024-08-05 15:57:50 +00:00
Nikita Mikhaylov
6f025090eb Merge branch 'master' of github.com:ClickHouse/ClickHouse into ts-engine 2024-08-05 17:46:14 +02:00
Yarik Briukhovetskyi
d8aa219783
fix build 2024-08-05 17:43:29 +02:00
Nikita Mikhaylov
f5173a13a3
Merge pull request #67393 from jrdi/total_parts_marks
Add total marks and parts to ProfileEvents
2024-08-05 15:41:21 +00:00
Nikita Mikhaylov
d998bf55f1 Fix build 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
64c0903f54 Validate also alias 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
abf543cb2e Add to settings changes 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
7c729d3974 Remove all changes 2024-08-05 15:29:15 +00:00
Nikita Mikhaylov
735f154757 Build 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
194e7824de Minor 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
ddcad048de Fix build 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
a8ca5ad50b Fixed build and made setting an alias 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
ee2589df59 Add a settings to the history changelog 2024-08-05 15:29:14 +00:00
Nikita Mikhaylov
4e9c3baa25 Move analyzer to Beta stage 2024-08-05 15:29:14 +00:00
Raúl Marín
146b8afce6 Disable bad tests 2024-08-05 17:20:41 +02:00
Anton Popov
5448bf7b86 fix memory leak during index calculation 2024-08-05 15:07:55 +00:00
Anton Popov
59bffda932
Revert "Revert "Slightly better calculation of primary index"" 2024-08-05 17:06:28 +02:00
Yarik Briukhovetskyi
9b06753bb7
Merge branch 'master' into hive_style_partitioning 2024-08-05 17:02:27 +02:00
Nikolai Kochetov
b531f6b78c Fixing tests. 2024-08-05 15:00:38 +00:00
Yarik Briukhovetskyi
69658881d5
Merge pull request #67391 from sakulali/autodetect-config-format
Autodetect configuration file format if is not .xml, .yml or .yaml
2024-08-05 14:45:46 +00:00
kssenii
e9506202d6 Add debug logging 2024-08-05 16:41:46 +02:00
János Benjamin Antal
fd562086ae
Fix bad merge 2024-08-05 15:37:23 +02:00
János Benjamin Antal
7bb236d66e
Fix style 2024-08-05 14:43:39 +02:00
Alexey Milovidov
c5cf1ff57e
Merge pull request #67555 from ClickHouse/add-assert-into-timer-descriptor
Add an assert into TimerDescriptor
2024-08-05 12:38:34 +00:00
Kseniia Sumarokova
c21b97672c
Fix trailing whitespace 2024-08-05 14:36:54 +02:00
Alexey Milovidov
f1a096e8f6
Merge pull request #67723 from ClickHouse/fix-log-and-exception-messages-formatting
Fix test `00002_log_and_exception_messages_formatting`
2024-08-05 12:34:33 +00:00
Alexey Milovidov
a3b73e94aa
Merge pull request #67756 from ClickHouse/fix-stackoverflow-json-merge-patch
Fix stack overflow in JSONMergePatch function
2024-08-05 12:28:16 +00:00
Alexey Milovidov
e1e17b91c5
Merge pull request #67776 from azat/debug_ast_formatting_print_original_query
[RFC] Print original query for AST formatting check on CI
2024-08-05 12:26:54 +00:00
János Benjamin Antal
8f6476adb7 Merge remote-tracking branch 'origin/master' into kafka-zookeeper 2024-08-05 12:26:00 +00:00
Alexey Milovidov
243eb515d6
Merge pull request #66671 from azat/mongodb-uuid-type
Support true UUID type for MongoDB engine
2024-08-05 12:25:17 +00:00
Alexey Milovidov
07f039677e
Merge pull request #67771 from ClickHouse/whitespaces
Whitespaces
2024-08-05 12:21:20 +00:00
vdimir
07cfcdeaae
Fix filter pushdown for aggregation without keys 2024-08-05 11:44:32 +00:00
Kseniia Sumarokova
3111f0f32f
Merge pull request #67540 from ClickHouse/fix-busy-loop
Fix (incorrectly) immediate reschedule of FileCache::freeSpaceRatioKeepingThreadFunc() in case of non-evictable cache
2024-08-05 11:33:26 +00:00
Kseniia Sumarokova
3244002cae
Update FileCache.cpp 2024-08-05 13:22:10 +02:00
Anton Popov
2d92cd71a8 add some comments 2024-08-05 11:19:27 +00:00
János Benjamin Antal
8fece64f33
Merge pull request #66214 from sguerrini97/use_same_password_for_base_backup
Allow to create incremental password protected backups
2024-08-05 11:18:21 +00:00
János Benjamin Antal
048e3f56e8 Remove redundant scope 2024-08-05 11:15:48 +00:00
János Benjamin Antal
1a3e9d1474 Style fixes 2024-08-05 11:15:37 +00:00
Raúl Marín
079b8e1db2
Merge pull request #67405 from rschu1ze/input_row_count_remainders
Follow-up to #67294
2024-08-05 11:09:26 +00:00
Kseniia Sumarokova
2f1259dbfd
Merge pull request #67654 from shiyer7474/parameterized_view_serialization_fix
Fix serialization of parameterized view parameters
2024-08-05 10:56:13 +00:00
Kruglov Pavel
2c5687f3a4
Merge pull request #67122 from Avogar/variant-aggregate-column
Fix crash with Variant + AggregateFunction type
2024-08-05 10:49:22 +00:00
János Benjamin Antal
67fe443133 Fix build 2024-08-05 10:48:47 +00:00
Kseniia Sumarokova
6a0c0e7b1d
Update FileCache.cpp 2024-08-05 12:48:21 +02:00
Kseniia Sumarokova
3802b1ed6c
Update comment 2024-08-05 12:42:57 +02:00
János Benjamin Antal
65c0efb2d5 Revert "Merge pull request #66510 from canhld94/fix_trivial_count_non_deterministic_func"
This reverts commit bf595ca374, reversing
changes made to b6b1a7a779.
2024-08-05 10:29:49 +00:00
avogar
8534e749f8 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-memory-leak-nullkey-distinct 2024-08-05 10:24:39 +00:00
vdimir
2894b4339d
Merge pull request #67538 from ClickHouse/vdimir/join_on_tuple_comparison_elimination_bug
Fix join on tuple with NULLs
2024-08-05 10:22:32 +00:00
vdimir
1329b5eb0b
Fix Buffer over Distributed 2024-08-05 10:03:28 +00:00
vdimir
12d917b742
wip 2024-08-05 10:03:27 +00:00
vdimir
55fd2e04e3
wip 2024-08-05 10:03:27 +00:00
vdimir
b53e757656
Check argument types in DataTypeAggregateFunction ctor 2024-08-05 10:03:23 +00:00
vdimir
908f3fc937
Merge pull request #66257 from bigo-sg/ch_support_printf
Add function printf for spark compatiability
2024-08-05 09:53:22 +00:00
vdimir
7add8ecc7a
Merge pull request #67135 from azat/local/config-from-home
Read configuration for clickhouse-local from ~/.clickhouse-local
2024-08-05 09:44:22 +00:00
Alexey Katsman
5006c571f3
Merge pull request #67674 from Blokje5/use-functionargumentdescriptors-in-bitslice
Use FunctionArgumentDescriptors to check bitSlice function + add test case
2024-08-05 09:36:27 +00:00
avogar
a499cd25c7 Fix for integers 2024-08-05 09:31:41 +00:00
Anton Popov
834fa7fb56 Merge remote-tracking branch 'upstream/master' into HEAD 2024-08-05 09:26:08 +00:00
János Benjamin Antal
230b5150c2 Merge remote-tracking branch 'origin/master' into fix-message-queue-sink-from-http-interface 2024-08-05 09:14:13 +00:00
János Benjamin Antal
f816158dbc Address review comments 2024-08-05 09:11:55 +00:00
Robert Schulze
d0bc728d52
Bump rocksdb to v8.9.1 2024-08-05 08:11:40 +00:00
Robert Schulze
cebdc5ecf6
Bump rocksdb to v8.0.0 2024-08-05 08:11:23 +00:00
Azat Khuzhin
8bca80f4dd Fix REPLACE modifier formatting (forbid omitting brackets)
It is too tricky to verify does brackets required or not, i.e. "SELECT *
REPLACE(1/3/3 AS dummy)" will be formatted to "SELECT * REPLACE (1/3)/3 AS dummy"
which is already invalid query.

So let's simply always print them.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
v2: move the fix into correct place ASTColumnsReplaceTransformer::formatImpl() instead of ASTColumnsReplaceTransformer::Replacement::formatImpl()
2024-08-05 08:59:28 +02:00
Azat Khuzhin
6b1e184e12 Print original query for AST formatting check on CI
It may be tricky to understand the root cause of the AST formatting
issue in case of syntax error, so add one knob to control this -
debug_ast_formatting_print_original_query.

And CI contains core dumps anyway, so let's enable for CI.

P.S. There was concern from @al13n321 that printing original query even
in debug build is not a good idea [1], hence a knob for this.

  [1]: https://github.com/ClickHouse/ClickHouse/pull/63357/files#r1674809348

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-05 08:37:45 +02:00
Alexey Milovidov
4504326b2a Merge branch 'no-flaky-check' into fix-log-and-exception-messages-formatting 2024-08-05 00:03:25 +02:00
Alexey Milovidov
57108fcc2c Merge branch 'master' into no-flaky-check 2024-08-05 00:02:41 +02:00
Alexey Milovidov
1e19459610
Merge pull request #67334 from petern48/aliasFeature
New Feature: Add camelCase aliases denseRank() and percentRank()
2024-08-04 20:52:31 +00:00
Alexey Milovidov
16e8321d48
Merge pull request #67751 from azat/dict-fix-async-loading
Fix dictionary hang in case of CANNOT_SCHEDULE_TASK while loading (also fixes possible stress tests hung)
2024-08-04 20:46:57 +00:00
Vitaly Baranov
9f1753bb4f Corrections after review. 2024-08-04 22:01:54 +02:00
Alexey Milovidov
bd50224329 Whitespaces 2024-08-04 20:57:22 +02:00
Alexey Milovidov
576e0952b5 Merge branch 'master' into add-assert-into-timer-descriptor 2024-08-04 19:53:39 +02:00
Alexey Milovidov
a433115434 Fix typo 2024-08-04 19:18:00 +02:00
Alexey Milovidov
87e0cf6b76 Fix stack overflow in JSONMergePatch 2024-08-04 18:25:36 +02:00
Alexey Milovidov
0e013ba62e
Merge pull request #67306 from ucasfl/uniq-crash
Fix crash of uniq and uniqTheta with empty tuple argument
2024-08-04 16:12:00 +00:00
Alexey Milovidov
6fd4552fad Merge branch 'master' into fix-log-and-exception-messages-formatting 2024-08-04 18:08:28 +02:00
Alexey Milovidov
623665dc45
Merge pull request #67739 from azat/system.clusters-mask
Fill only selected columns from system.clusters
2024-08-04 15:46:01 +00:00
Alexey Milovidov
7073022f11
Merge pull request #67623 from ClickHouse/fix-logical-error-in-cached-about-expected-read-size
Fix `Logical error: 'file_offset_of_buffer_end <= read_until_position'` in fs cache
2024-08-04 15:44:46 +00:00
Azat Khuzhin
9f31488e50 Fix dictionary hang in case of CANNOT_SCHEDULE_TASK while loading
On CI you can find that 01747_executable_pool_dictionary_implicit_key
can hang [1], it is possible due to after CANNOT_SCHEDULE_TASK the async
loading will hang:

    2024.07.18 03:56:32.365226 [ 6138 ] {6206a18f-668c-4a5c-a5ad-07f577220762} <Trace> ExternalDictionariesLoader: Will load the object 'executable_pool_simple_implicit_key' in background, force = false, loading_id = 2
    2024.07.18 03:56:32.368005 [ 6138 ] {6206a18f-668c-4a5c-a5ad-07f577220762} <Error> executeQuery: Code: 439. DB::Exception: Cannot schedule a task: fault injected (threads=766, jobs=746): In scope SELECT dictGet('executable_pool_simple_implicit_key', 'a', toUInt64(1)). (CANNOT_SCHEDULE_TASK) (version 24.7.1.2241) (from [::1]:56446) (comment: 01747_executable_pool_dictionary_implicit_key.sql) (in query: SELECT dictGet('executable_pool_simple_implicit_key', 'a', toUInt64(1));), Stack trace (when copying this message, always include the lines below):
    0. /build/contrib/llvm-project/libcxx/include/exception:141: Poco::Exception::Exception(String const&, int) @ 0x0000000015f8a292
    1. /build/src/Common/Exception.cpp:110: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x000000000c3df6b9
    2. /build/contrib/llvm-project/libcxx/include/string:1499: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x0000000006de714c
    3. /build/contrib/llvm-project/libcxx/include/vector:438: DB::Exception::Exception<String const&, unsigned long, unsigned long&>(int, FormatStringHelperImpl<std::type_identity<String const&>::type, std::type_identity<unsigned long>::type, std::type_identity<unsigned long&>::type>, String const&, unsigned long&&, unsigned long&) @ 0x000000000c4838eb
    4. /build/src/Common/ThreadPool.cpp:0: void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool)::'lambda'(String const&)::operator()(String const&) const @ 0x000000000c4832d3
    5. /build/src/Common/ThreadPool.cpp:186: void ThreadPoolImpl<std::thread>::scheduleImpl<void>(std::function<void ()>, Priority, std::optional<unsigned long>, bool) @ 0x000000000c47e7db
    6. /build/contrib/llvm-project/libcxx/include/__functional/function.h:818: ? @ 0x000000000c47ec8d
    7. /build/contrib/llvm-project/libcxx/include/__functional/function.h:818: ? @ 0x000000001114b16e
    8. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:701: DB::ExternalLoader::LoadingDispatcher::startLoading(DB::ExternalLoader::LoadingDispatcher::Info&, bool, unsigned long) @ 0x0000000011147733
    9. /build/src/Interpreters/ExternalLoader.cpp:837: DB::ExternalLoader::LoadingDispatcher::loadImpl(String const&, std::chrono::duration<long long, std::ratio<1l, 1000l>>, bool, std::unique_lock<std::mutex>&)::'lambda'()::operator()() const @ 0x0000000011158bf9
    10. /build/contrib/llvm-project/libcxx/include/__mutex_base:397: DB::ExternalLoader::LoadingDispatcher::loadImpl(String const&, std::chrono::duration<long long, std::ratio<1l, 1000l>>, bool, std::unique_lock<std::mutex>&) @ 0x00000000111588bc
    11. /build/src/Interpreters/ExternalLoader.cpp:604: DB::ExternalLoader::LoadResult DB::ExternalLoader::LoadingDispatcher::tryLoad<DB::ExternalLoader::LoadResult>(String const&, std::chrono::duration<long long, std::ratio<1l, 1000l>>) @ 0x00000000111440bf
    12. /build/src/Interpreters/ExternalLoader.cpp:1381: std::shared_ptr<DB::IExternalLoadable const> DB::ExternalLoader::load<std::shared_ptr<DB::IExternalLoadable const>, void>(String const&) const @ 0x00000000111442f5
    13. /build/contrib/llvm-project/libcxx/include/__memory/shared_ptr.h:587: DB::ExternalDictionariesLoader::getDictionary(String const&, std::shared_ptr<DB::Context const>) const @ 0x0000000011141028
    14. /build/src/Functions/FunctionsExternalDictionaries.h:76: DB::FunctionDictHelper::getDictionary(String const&) @ 0x00000000071d28ec
    ...
    2024.07.18 03:58:29.000900 [ 48468 ] {8cf63d7e-dcbf-4af6-bd7c-0e1789ddce3b} <Debug> executeQuery: (from [::1]:40410) (comment: 01747_executable_pool_dictionary_implicit_key.sql) SELECT dictGet('executable_pool_simple_implicit_key', 'a', toUInt64(1)); (stage: Complete)
    # and no more rows for 8cf63d7e-dcbf-4af6-bd7c-0e1789ddce3b

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/66495/bc029ed8207ac75e96e9cb48cb79d27a9ffa4e2f/stress_test__debug_.html

The problem that it should be properly cancelled, otherwise it will not
be loaded in loadImpl(), but will be waited.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-04 15:48:59 +02:00
Alexey Milovidov
c629e2af50
Merge pull request #67741 from ClickHouse/arrayWithConstant-safety-thresholds
Better safety thresholds in `arrayWithConstant` function
2024-08-04 13:22:06 +00:00
Alexey Milovidov
06f83022da
Merge pull request #67324 from ClickHouse/fix-json-recursion
Fix stack overflow in too deep JSON
2024-08-04 13:21:44 +00:00
Robert Schulze
e4c165e919
Merge pull request #67103 from bigo-sg/fix_map_from_arrays
Function `mapFromArrays`: Allow `Map(K, V)` and `Array(Nullable(T))` as 1st arguments
2024-08-04 09:54:50 +00:00
Robert Schulze
80b41a3edd
Merge remote-tracking branch 'ClickHouse/master' into input_row_count_remainders 2024-08-04 09:53:00 +00:00
Robert Schulze
27db715761
Incorporate review feedback 2024-08-04 09:52:36 +00:00
Kseniia Sumarokova
4f1c2ad277
Merge pull request #67459 from ClickHouse/write-buffer-from-s3-fix-dtor
Fix wait for tasks in ~WriteBufferFromS3 in case WriteBuffer was cancelled
2024-08-04 09:27:24 +00:00
Kseniia Sumarokova
15e1217beb
Merge branch 'master' into fix-busy-loop 2024-08-04 11:26:39 +02:00
Peter Nguyen
a31e2a4a5a
Merge branch 'ClickHouse:master' into aliasFeature 2024-08-03 21:38:42 -06:00
Alexey Milovidov
8b39486e21 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-04 00:59:31 +02:00
Alexey Milovidov
e7686494f5
Merge pull request #67727 from ClickHouse/fix-host-resolver-ubsan
Fix strange code in HostResolvePool
2024-08-03 22:41:14 +00:00
Alexey Milovidov
185b6a54da Merge with master 2024-08-04 00:34:58 +02:00
Alexey Milovidov
d37a4567f6 Merge branch 'master' into fix-json-recursion 2024-08-04 00:30:29 +02:00
Alexey Milovidov
3bea8b4e25 Merge branch 'master' into add-assert-into-timer-descriptor 2024-08-04 00:29:22 +02:00
Alexey Milovidov
b8050cc471
Merge pull request #67702 from ClickHouse/fix-timer-descriptor-locks
Fix locking inside TimerDescriptor
2024-08-04 00:28:23 +02:00
Alexey Milovidov
a051eb2a5d Fix tests 2024-08-04 00:24:17 +02:00
Alexey Milovidov
6b300ab44f Merge branch 'master' into fix-log-and-exception-messages-formatting 2024-08-04 00:23:18 +02:00
Alexey Milovidov
4e3202d906
Merge pull request #67645 from ClickHouse/fix-race-condition-in-settings-processlist
Fix race condition between ProcessList and Settings
2024-08-03 22:21:49 +00:00
Azat Khuzhin
2f00c96271 Support true UUID type for MongoDB engine
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:51:41 +02:00
Alexey Milovidov
8562a6106c Better safety thresholds in arrayWithConstant 2024-08-03 23:45:18 +02:00
Azat Khuzhin
f06ae2f551 Fill only selected columns from system.clusters
Some of them pretty heavy, i.e. is_active for ReplicatedDatabase

This should fix 02903_rmt_retriable_merge_exception flakiness [1].

 [1]: https://s3.amazonaws.com/clickhouse-test-reports/67687/89c47df559ba23d988f8af3c342e0c8d5531f4b8/fast_test.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-03 23:37:26 +02:00
Alexey Milovidov
ced8c3445c Something 2024-08-03 23:14:40 +02:00
Alexey Milovidov
087aff87dd Something 2024-08-03 23:12:07 +02:00
Alexey Milovidov
d9d30d1004
Merge pull request #67295 from canhld94/fix_empty_tuple_in_lhs_in
Fix hung query when using empty tuple as lhs of function IN
2024-08-03 20:57:59 +00:00
Alexey Milovidov
02b8d563e3
Merge pull request #67720 from vitlibar/fix-completing-restore-on-cluster
Fix completion of RESTORE ON CLUSTER
2024-08-03 18:58:32 +00:00
Alexey Milovidov
a2b1131cc8 Merge branch 'master' into atomic-database-in-clickhouse-local 2024-08-03 20:19:49 +02:00
Alexey Milovidov
2305cae149
Merge pull request #67564 from ClickHouse/miscellaneous-2
Miscellaneous
2024-08-03 18:16:35 +00:00
Alexey Milovidov
5e0d13e38b Merge branch 'master' into fix-log-and-exception-messages-formatting 2024-08-03 19:25:33 +02:00
Alexey Milovidov
c07089f054 Merge branch 'master' into fix-json-recursion 2024-08-03 19:06:25 +02:00
Alexey Milovidov
b1e6c9b543 Merge branch 'master' into fix-race-condition-in-settings-processlist 2024-08-03 19:03:54 +02:00
Alexey Milovidov
9eb8f4a976 Merge branch 'master' into fix-timer-descriptor-locks 2024-08-03 18:58:30 +02:00
Alexey Milovidov
60648e5240
Revert "Add replication lag and recovery time metrics" 2024-08-03 18:41:17 +02:00
Alexey Milovidov
fc651cc0c6 Fix strange code in HostResolvePool 2024-08-03 17:57:48 +02:00
taiyang-li
1103a2d669 Merge branch 'ch_support_printf' of https://github.com/bigo-sg/ClickHouse into ch_support_printf 2024-08-03 22:43:29 +08:00
taiyang-li
a749223251 change as request 2024-08-03 22:43:12 +08:00
Vitaly Baranov
4ef382360d Fix compilation. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
e85dfa9e85 Fix exception handling in PrometheusRequestHandler. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
6fb7ee3c68 Add global setting allow_experimental_time_series_table. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
fae893e294 Add TimeSeries setting use_all_tags_column_to_generate_id. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
30231797c7 Add columns min_time and max_time. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
a5febd4ea0 Add table functions timeSeriesData(), timeSeriesTags(), timeSeriesMetrics()
to retrieve the target tables of a TimeSeries table.
2024-08-03 16:20:23 +02:00
Vitaly Baranov
eacbadf560 Support prometheus remote read protocol. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
24103c733d Support prometheus remote write protocol. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
7d88995f42 Provide alternative way to setup configuration for exposing metrics using new section <prometheus.handlers> in configuration. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
03b9305956 Send exception from PrometheusRequestHandler back to client. Set thread name. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
03ebab2ca5 Refactor factory of PrometheusRequestHandler to make extending it easier. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
50604e8ea9 Add new table engine TimeSeries. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
2a6f498b77 Add view targets Data, Tags, Metrics. 2024-08-03 16:20:23 +02:00
Vitaly Baranov
8b7a294bc7 Support constructing SnappyWriteBuffer from a reference to other write buffer. 2024-08-03 16:20:23 +02:00
李扬
667727192f
Merge branch 'ClickHouse:master' into fix_map_from_arrays 2024-08-03 21:28:20 +08:00
Alexey Milovidov
d3dcd21dc9 Merge branch 'master' into fix-timer-descriptor-locks 2024-08-03 15:12:05 +02:00
Alexey Milovidov
73080d25a9 Fix test 00002_log_and_exception_messages_formatting 2024-08-03 15:10:05 +02:00
Alexey Milovidov
00ea60d72c
Merge pull request #67690 from ClickHouse/fix-bad-log-message-sort-description
Fix bad log message in sort description
2024-08-03 12:57:20 +00:00
Alexey Milovidov
4a10d26eb1
Merge pull request #67696 from ClickHouse/fix-test-reports
Fix check names in test reports and the CI Logs database
2024-08-03 14:55:03 +02:00
Miсhael Stetsyuk
14fce8b8da
Merge pull request #66704 from ClickHouse/add-S3DiskNoKeyErrors-metric
Add S3DiskNoKeyErrors metric
2024-08-03 12:44:33 +00:00
Vitaly Baranov
6ce6af0647 Fix completion RESTORE ON CLUSTER. 2024-08-03 14:40:25 +02:00
Sergei Trifonov
3a7842ce05
Merge pull request #67553 from ClickHouse/fix-async-loader-destruction
Fix AsyncLoader destruction race
2024-08-03 09:27:48 +00:00
Sergei Trifonov
d8cb1613fa
Merge pull request #65654 from ClickHouse/scheduler-queue-throughput-introspection
Scheduler queue throughput introspection, Fix CPU indication in client
2024-08-03 09:24:28 +00:00
Antonio Andelic
c96e1f86da
Merge pull request #67433 from ClickHouse/fix-archive-file-parsing
Fix file/URI parsing with archive syntax
2024-08-03 08:05:20 +00:00
Antonio Andelic
1b20d47202
Merge pull request #67665 from ClickHouse/fix-udf-reload
Fix reloading SQL UDFs with UNION
2024-08-03 08:05:12 +00:00
Peter Nguyen
b6f1da51f3
Merge branch 'ClickHouse:master' into aliasFeature 2024-08-02 21:46:42 -06:00
Michael Kolupaev
96e826d154 Change tactics again 2024-08-03 02:57:33 +00:00
jsc0218
28ec383739 add sharedmergetree 2024-08-03 02:07:24 +00:00
Michael Kolupaev
e491c51cdc e 2024-08-03 01:49:53 +00:00
Alexey Milovidov
dfeb199116 Fix locking inside TimerDescriptor 2024-08-03 03:06:37 +02:00
Alexey Milovidov
9a017528a4 Minor change 2024-08-03 02:58:42 +02:00
Nikita Taranov
51918dc080 impl 2024-08-03 00:24:35 +01:00
pufit
08bde9cb44 fix conflict 2024-08-02 18:28:33 -04:00
Michael Kolupaev
d304bb916c Merge remote-tracking branch 'origin/master' into curange 2024-08-02 21:19:37 +00:00
Michael Kolupaev
eb0e12099a Another attempt 2024-08-02 21:18:35 +00:00
Yarik Briukhovetskyi
593af842f5
Merge pull request #67558 from yariks5s/fix_datetime64_toStartOfWeek
Fix toStartOfWeek wrong result with DateTime64
2024-08-02 20:42:29 +00:00
Michael Kolupaev
96c54f0786 Merge remote-tracking branch 'origin/master' into typechange 2024-08-02 20:13:30 +00:00
Michael Kolupaev
a37eeb0f21 Allow types to change, re-resolve overloads 2024-08-02 20:13:27 +00:00
Antonio Andelic
10e28236b9 Merge branch 'master' into fix-udf-reload 2024-08-02 21:31:32 +02:00
avogar
12b6ea0232 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-variant-as-common-type 2024-08-02 17:27:32 +00:00
Alexey Milovidov
e3239c6ee1 Fix bad log message in JIT for sorting 2024-08-02 19:09:16 +02:00
Alexey Milovidov
b38c46a87d Minor change 2024-08-02 19:08:51 +02:00
Nikolai Kochetov
0e0280b903 Merge branch 'master' into anoter-case-of-non-deterministic-func-in-group-by-key 2024-08-02 16:57:29 +00:00
avogar
89c47df559 Fix variant as common type in if function with Tuples and Maps 2024-08-02 16:52:46 +00:00
sakulali
8d42b42c10 Merge remote-tracking branch 'origin/master' into autodetect-config-format 2024-08-02 23:56:03 +08:00
Nikolai Kochetov
18c69e164f
Merge pull request #67536 from ClickHouse/fix-67330
Prefer constant to INPUT in PlannerActionsVisitor.
2024-08-02 15:55:45 +00:00
Lennard Eijsackers
2110b765d1 Style check fix + adding debug info to query output
Signed-off-by: Lennard Eijsackers <lennardeijsackers92@gmail.com>
2024-08-02 17:53:12 +02:00
Alexey Milovidov
accb8ae78d Merge branch 'master' into fix-json-recursion 2024-08-02 17:49:36 +02:00
Alexey Milovidov
aecb1dcc10 Merge branch 'master' into add-assert-into-timer-descriptor 2024-08-02 17:48:04 +02:00
Alexey Milovidov
fece77d4d8 Merge branch 'master' into fix-race-condition-in-settings-processlist 2024-08-02 17:45:56 +02:00
Alexey Milovidov
e3d03ce3f9 Merge branch 'master' into miscellaneous-2 2024-08-02 17:43:33 +02:00
Alexey Milovidov
b3e2ce6955 Minor change 2024-08-02 17:40:52 +02:00
Miсhael Stetsyuk
f1df59d6c9
Merge pull request #66703 from ClickHouse/add-replication-lag-and-recovery-time-metrics
Add replication lag and recovery time metrics
2024-08-02 15:21:43 +00:00
Igor Nikonov
b5c100bcb9 Merge remote-tracking branch 'origin/master' into pr-all-connection-failed 2024-08-02 15:12:21 +00:00
Lennard Eijsackers
8d97968006 Use FunctionArgumentDescriptors to check bitSlice function + add test case
Signed-off-by: Lennard Eijsackers <lennardeijsackers92@gmail.com>
2024-08-02 15:13:37 +02:00
Sema Checherinda
c3a1381d70 some corner case optimize 2024-08-02 15:11:31 +02:00
kssenii
db0bce3352 Try make the code more understandable 2024-08-02 15:01:15 +02:00
Julia Kartseva
528187410f
Merge pull request #65751 from jkartseva/store-plain-rw-metadata-separately
Store `plain_rewritable` disk metadata in the separate `'__meta'` layout; add flat object storage directory structure
2024-08-02 11:52:59 +00:00
Antonio Andelic
d2d8a16ca6 Fix refreshable MVs 2024-08-02 13:52:01 +02:00
Yarik Briukhovetskyi
a6614b8797
Merge branch 'master' into hive_style_partitioning 2024-08-02 13:39:19 +02:00
Igor Nikonov
611e21e4ac Merge remote-tracking branch 'origin/master' into pr-all-connection-failed 2024-08-02 10:59:17 +00:00
Antonio Andelic
76e2e886db Merge branch 'master' into fix-udf-reload 2024-08-02 12:37:13 +02:00
Raúl Marín
e2b686efea Fix test 2024-08-02 12:26:38 +02:00
serxa
cdf81b0e17 Merge branch 'master' into fix-async-loader-destruction 2024-08-02 10:18:12 +00:00
Antonio Andelic
62f0e09ecb Fix setting changes 2024-08-02 12:17:08 +02:00
Antonio Andelic
1a9eb69b3f Merge branch 'master' into fix-archive-file-parsing 2024-08-02 12:15:31 +02:00
Kseniia Sumarokova
a8adda2a71
Merge branch 'master' into write-buffer-from-s3-fix-dtor 2024-08-02 12:10:05 +02:00
serxa
c51ed14a27 Merge branch 'master' into scheduler-queue-throughput-introspection 2024-08-02 09:51:14 +00:00