Commit Graph

152259 Commits

Author SHA1 Message Date
Pablo Marcos
058c977063 Merge branch 'master' into system-query-metric-log 2024-09-02 10:57:10 +00:00
Pablo Marcos
09f47936d1 Move BackgroundSchedulePool::TaskHolder's ownership to QueryStatus
This way we ensure that the background task is encapsulated within
QueryStatus, ensuring we will never ever leak resources once the
query finishes.

Code-wise the previous implementation was ok, but this is making
it more bullet-proof for future changes.
2024-09-02 10:55:17 +00:00
Nikita Mikhaylov
1c839ff4b9
Merge pull request #69125 from ClickHouse/Avogar-patch-7
Fix types in JSON docs
2024-09-02 10:13:30 +00:00
Sergei Trifonov
0f4b296295
Merge pull request #69081 from ClickHouse/fix-progress-indication-race
Fix ProgressIndication data race on `cancelQuery()`
2024-09-02 09:58:31 +00:00
Yarik Briukhovetskyi
1b67fde591
Merge pull request #67436 from iceFireser/master
Fix the problem that alter modfiy order by causes inconsistent metadata
2024-09-02 09:54:38 +00:00
alesapin
8d3601f43e
Merge pull request #69034 from Michicosun/issues/68934/cp
cp/mv operations for keeper client
2024-09-02 09:29:23 +00:00
Yarik Briukhovetskyi
f89290cdbf
Merge pull request #68874 from liuneng1994/support-datetrunc-on-date32
Support Date32 on dateTrunc and toStartOfInterval
2024-09-02 09:26:54 +00:00
Yarik Briukhovetskyi
e3c5caf6db
Merge pull request #69055 from Warfields/patch-1
Update parametric-functions.md
2024-09-02 09:09:25 +00:00
Sergei Trifonov
579b891c57
Merge pull request #69132 from ClickHouse/serxa-patch-3
Fix locking in UserDefinedSQLObjectsZooKeeperStorage.cpp
2024-09-02 09:08:33 +00:00
Pablo Marcos
922ea9f5a2 Revert "Defensive programming to avoid leaking resources"
This reverts commit 181bc7f34c.
2024-09-02 08:57:25 +00:00
Yarik Briukhovetskyi
a1747493ac
Merge pull request #69066 from yariks5s/sandbox_
Path normalization in StorageFile
2024-09-02 08:27:41 +00:00
Igor Nikonov
11c6ba15fb
Merge pull request #69124 from ClickHouse/lift-up-union-expr-desc
Fix: expression description in plan after lift up union optimization
2024-09-02 08:25:21 +00:00
Sergei Trifonov
fba6620dc4
Fix locking in UserDefinedSQLObjectsZooKeeperStorage.cpp 2024-09-01 23:43:05 +02:00
Igor Nikonov
37a9ff451e
Merge branch 'master' into lift-up-union-expr-desc 2024-09-01 17:51:09 +02:00
iceFireser
79776dbbad
Merge branch 'ClickHouse:master' into master 2024-09-01 09:34:25 +08:00
Yakov Olkhovskiy
44f76ed713
Merge pull request #69123 from wxybear/fix_explain_insert_query_multiquery_mode
Fix analyze explain ast insert query in multiquery mode
2024-08-31 21:07:43 +00:00
Yakov Olkhovskiy
b6ea3442b4
Merge pull request #69032 from alexon1234/include_real_time_execution_in_http_header
Add RealTimeMicroseconds to HTTP Header X-ClickHouse-Summary
2024-08-31 20:47:23 +00:00
wxybear
b066760a21 fix: explainedQuery nullptr && 02504_explain_ast_insert 2024-08-31 22:18:33 +08:00
Nikita Mikhaylov
0076084f9a
Merge pull request #69121 from ilejn/compose_subnet
Fix subnet in docker_compose_net.yml
2024-08-31 13:11:32 +00:00
Kruglov Pavel
0857a10fc1
Fix types in JSON docs 2024-08-31 14:17:24 +02:00
Igor Nikonov
425a93e360 Fix 2024-08-31 12:12:32 +00:00
serxa
34d8a20307 Merge branch 'master' into fix-progress-indication-race 2024-08-31 12:12:23 +00:00
Igor Nikonov
a6145e5099 Fix: expression description in plan after lift up unioin optimization 2024-08-31 12:09:02 +00:00
wxybear
5ef1830f55 feat: add explain ast insert queries test 2024-08-31 18:39:01 +08:00
wxybear
c702d2581e fix: handle insert query in explain queries in multiquery mode 2024-08-31 14:50:35 +08:00
liuneng
cd1685d409 fix error message 2024-08-31 10:49:50 +08:00
liuneng
5e0000c4ca add test case and doc 2024-08-31 10:49:50 +08:00
liuneng
74f99d1f07 support datetrunc and toStartOfxxx on date32 2024-08-31 10:49:50 +08:00
Nikita Mikhaylov
3ffb965b23
Fix gateway 2024-08-31 02:02:15 +02:00
Ilya Golshtein
a031ec7452 compose_subnet: dns tests passed 2024-08-30 22:02:17 +00:00
Yarik Briukhovetskyi
e7f403a27e
Merge pull request #68823 from yariks5s/remove_integration_test_datetime
Convert integration test `test_incorrect_datetime_format` to stateless
2024-08-30 16:35:44 +00:00
Yakov Olkhovskiy
950ca28f53
Merge pull request #67805 from sunny19930321/feature/add-delete-from-in-partition-command
Lightweight Delete In Partition
2024-08-30 15:44:46 +00:00
Han Fei
a812cc0809
Merge pull request #69080 from hanfei1991/hanfei/fix-logical-error-async-insert-dup-offsets
fix logical error for empty async inserts
2024-08-30 15:41:25 +00:00
Pablo Marcos
181bc7f34c Defensive programming to avoid leaking resources 2024-08-30 15:17:29 +00:00
Pablo Marcos
72391fa819 Collect on query finish if took longer than the interval 2024-08-30 15:00:24 +00:00
Mikhail Artemenko
edd5817d1e Merge branch 'master' into issues/68934/cp 2024-08-30 14:43:36 +00:00
Nikita Mikhaylov
0238534358
Merge pull request #68984 from ClickHouse/slowenc
no-tsan in 02735_parquet_encoder
2024-08-30 14:13:39 +00:00
Pablo Marcos
9d2afeb37e Make tests faster and more deterministic
Running the queries for intervals that are not a multiple
of the query_metric_log_intervals ensures there's no
collection at the edge.
2024-08-30 13:34:01 +00:00
Pablo Marcos
1d78c5899a Remove unnecessary externs 2024-08-30 13:25:35 +00:00
Sergei Trifonov
f59ed02acb
Merge pull request #68956 from Blargian/docs_toBool
[Docs] add `toBool` to docs
2024-08-30 13:11:50 +00:00
Alejandro
91b345714d Revert enabling the legacy analyzer 2024-08-30 13:16:31 +01:00
Yarik Briukhovetskyi
b7eb7cceeb
remake test to remove the head of path 2024-08-30 14:02:59 +02:00
Nikolai Kochetov
84d37c1bab
Merge pull request #69035 from VOkunev/master
Support for the Spanish language in the embedded dictionaries
2024-08-30 11:14:08 +00:00
vdimir
17cdcf4c74
Merge pull request #68957 from ClickHouse/vdimir/perf-test-cgrp-mem
perf tests set cgroups_memory_usage_observer_wait_time to zero
2024-08-30 11:09:14 +00:00
Yarik Briukhovetskyi
45face77aa
Merge branch 'ClickHouse:master' into remove_integration_test_datetime 2024-08-30 13:02:07 +02:00
Han Fei
b0ecacc0c3 remove no-parallel 2024-08-30 12:53:42 +02:00
Yarik Briukhovetskyi
76b938acaf
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md 2024-08-30 12:50:08 +02:00
Yarik Briukhovetskyi
9a4c32e8de
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md 2024-08-30 12:50:02 +02:00
Yarik Briukhovetskyi
b1fc15ffc9
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md 2024-08-30 12:49:56 +02:00
Pablo Marcos
06790f0104 Fix memory collection
Use the memory_usage and peak_memory_usage from the QueryStatusInfo
instead which holds the proper value independently of the thread
we are collecting the data from.
2024-08-30 09:37:45 +00:00