Commit Graph

159873 Commits

Author SHA1 Message Date
Igor Nikonov
678f4c02df Merge remote-tracking branch 'origin/master' into pr-fix-setting-history 2024-12-03 19:42:35 +00:00
Igor Nikonov
4df0603c58 Fix 2024-12-03 19:42:31 +00:00
Nikolai Kochetov
5be41d489d
Merge pull request #72735 from ClickHouse/fix-y-shaped-join-context
Fix context lifetime for Y-shaped join.
2024-12-03 17:42:35 +00:00
Dmitry Novik
854b72ade2
Merge pull request #72608 from ClickHouse/analyzer-array-join-fix
Analyzer: Proper fix for distributed ARRAY JOINs
2024-12-03 14:07:32 +00:00
Vladimir Cherkasov
d7acd3db93
Merge pull request #69910 from ClickHouse/vdimir/residual_join_conditions
Non-experimental non-equi join conditions
2024-12-03 13:48:31 +00:00
Pavel Kruglov
a433dea0ea
Merge pull request #72660 from ClickHouse/doc-mysql-settings
Documentation: add reference to relevant settings for mysql table function
2024-12-03 13:21:25 +00:00
Daniil Ivanik
6262bfdc87
Merge pull request #72652 from pakud/patch-2
Adding example for JSONExtract which refers to a nested entry in JSON
2024-12-03 12:14:51 +00:00
Raúl Marín
009580edd0
Merge pull request #72715 from Algunenano/dragonbox
Remove heavy header from WriteHelpers.h
2024-12-03 10:58:37 +00:00
Nikolai Kochetov
3156209d58 Fix context lifetime for Y-shaped join. 2024-12-03 11:57:32 +01:00
Anton Popov
82a80db693
Merge pull request #65691 from CurtizJ/fix-azure-list
Fix `ListObjects` in azure blob storage
2024-12-03 10:50:38 +00:00
Yakov Olkhovskiy
46f5f79ab5
Merge pull request #72659 from ClickHouse/imp-safeget
Safer Field::safeGet?
2024-12-03 07:28:55 +00:00
Yakov Olkhovskiy
617af1d3c0
Merge pull request #71297 from lzydmxy/force-connect-on-retry
Force_connected for retry resume connection establisher
2024-12-03 01:21:31 +00:00
Raúl Marín
7afee244c5 Merge remote-tracking branch 'blessed/master' into dragonbox 2024-12-03 00:37:01 +01:00
Yakov Olkhovskiy
57e77cc815 add move semantics 2024-12-02 21:46:57 +00:00
Alexander Gololobov
ce87198ebe
Merge pull request #72643 from ClickHouse/measure_logger_time
Measure time consumed by logging
2024-12-02 20:43:26 +00:00
Anton Popov
e58d886b88
Merge pull request #72651 from CurtizJ/better-cache-prewarm
Better prewarm of mark and primary index caches
2024-12-02 20:01:59 +00:00
Igor Nikonov
8c4b73ed64
Merge branch 'master' into pr-fix-setting-history 2024-12-02 19:29:41 +01:00
Raúl Marín
6291daec72 Remove heavy header from WriteHelpers.h 2024-12-02 19:23:48 +01:00
Yarik Briukhovetskyi
46dd7074c7
Merge pull request #72640 from yariks5s/fix_datetime64_in_datetime64
Fix a bug with DateTime64 in DateTime64
2024-12-02 17:39:31 +00:00
Konstantin Bogdanov
2ecc690b93
Merge pull request #72567 from ClickHouse/fix-broken-result-part-path
Fix weird `result_part_path`
2024-12-02 17:04:02 +00:00
Raúl Marín
1f0f3b41e4
Merge pull request #72425 from Algunenano/obsolete_macro
Remove obsolete usage of ABORT_ON_LOGICAL_ERROR
2024-12-02 16:16:03 +00:00
Igor Nikonov
4eba52e0d5 Align PR setting changes history with 24.10 2024-12-02 15:35:58 +00:00
Anton Popov
d4f9305362 fix test 2024-12-02 15:05:47 +00:00
János Benjamin Antal
d66b108513
Merge pull request #72603 from azat/mm-fix-metric
Fix inaccurate MemoryTracking metric in case of allocation failures
2024-12-02 14:00:20 +00:00
Dmitry Novik
9412e8a25e Update reference file 2024-12-02 14:49:20 +01:00
vdimir
ebe76f939b
fix test 2024-12-02 13:12:20 +00:00
Konstantin Bogdanov
28d5d2130a
Merge pull request #72572 from ClickHouse/fix-glob-parsing
Fix parsing a glob with one element
2024-12-02 12:44:37 +00:00
Nikita Taranov
b84d0554ed
Merge pull request #72658 from ClickHouse/null_format_matching_case_insensitive
Recognise all spellings of `Null` in `FORMAT Null`
2024-12-02 12:21:39 +00:00
Alexander Gololobov
4aecc57555
Increase cpu time limit in sanitizer builds 2024-12-02 12:58:34 +01:00
Yarik Briukhovetskyi
fd3723a727
Merge branch 'ClickHouse:master' into fix_datetime64_in_datetime64 2024-12-02 12:19:09 +01:00
vdimir
ceea266253
fix 2024-12-02 11:09:03 +00:00
Dmitry Novik
7e00e604fa Fix test 2024-12-02 12:01:24 +01:00
Anton Popov
5ad8c8beaf Merge remote-tracking branch 'upstream/master' into HEAD 2024-12-02 10:53:48 +00:00
Raúl Marín
c6c60eb5c7 Merge remote-tracking branch 'blessed/master' into obsolete_macro 2024-12-02 11:52:19 +01:00
Vladimir Cherkasov
7b9973ef8f
Merge branch 'master' into vdimir/residual_join_conditions 2024-12-02 11:38:00 +01:00
Vladimir Cherkasov
e8dab58d2d
Merge pull request #70957 from bigo-sg/tostring-fix
Function cast support Spark text output
2024-12-02 10:28:35 +00:00
Dmitry Novik
ad5a571d7a Preserve table expression counting 2024-12-02 10:58:26 +01:00
Raúl Marín
0a5a0a2973
Merge pull request #72402 from Algunenano/keeper_fault
Better error message on bad keeper snapshots
2024-12-02 09:24:16 +00:00
Alexander Gololobov
499a39c614 Smoke test 2024-12-02 10:09:44 +01:00
Vitaly Baranov
62ed8679ad
Merge pull request #72655 from ClickHouse/vitlibar-fix-formatting-in-interpreter-create-query
Fix formatting in InterpreterCreateQuery.cpp
2024-12-02 09:04:31 +00:00
Antonio Andelic
541098d0c6
Merge pull request #72584 from ClickHouse/update-nuraft
Update NuRaft
2024-12-02 07:50:12 +00:00
Antonio Andelic
8b5e00d3f2
Merge pull request #72630 from ClickHouse/better-memory-usage-estimation
Better memory usage approx of `MarksInCompressedFile`
2024-12-02 07:49:38 +00:00
zhanglistar
3c3f1c919d
Merge branch 'master' into tostring-fix 2024-12-02 12:21:00 +08:00
Yakov Olkhovskiy
54108d5c16 fix tidy 2024-12-02 00:08:00 +00:00
Nikita Taranov
a2b18f2e2b fix test 2024-12-01 23:31:51 +01:00
alesapin
4f596388a2
Merge pull request #72556 from ClickHouse/devirtualize_serialize_call
Devirtualize serialize call in AggregateFunction
2024-12-01 21:18:38 +00:00
Yakov Olkhovskiy
a929dc7df5 fix 2024-12-01 19:16:41 +00:00
Yakov Olkhovskiy
90e1ca8cb0 add reference to relevant settings for mysql table function 2024-12-01 19:07:43 +00:00
Azat Khuzhin
88a3dbe716 Fix inaccurate MemoryTracking metric in case of allocation failures
MemoryTracking metric takes into account memory allocation even in case
of this allocation will fail with MEMORY_LIMIT_EXCEEDED, which is not
good, which eventually will lead to `amount` and `MemoryTracking`
mismatch, I found one server with **43x difference**.

<details>

```sql
SELECT
    event_time_microseconds,
    message
FROM system.text_log
WHERE (event_date = (today() - 1)) AND (logger_name = 'MemoryTracker') AND (message LIKE '%total%')
ORDER BY 1 DESC
LIMIT 1

Query id: 64d60852-fa14-4ed1-adb1-d4bbd6159475

   ┌────event_time_microseconds─┬─message───────────────────────────────────┐
1. │ 2024-11-27 05:09:48.157608 │ Current memory usage (total): 471.00 GiB. │
   └────────────────────────────┴───────────────────────────────────────────┘
```

```sql
SELECT
    metric,
    formatReadableSize(value)
FROM system.metrics
WHERE (metric ILIKE '%mem%') OR (metric ILIKE '%jemalloc%')
ORDER BY value ASC

Query id: af7908a8-956a-4684-b7c5-b2e0c6fa06f4

   ┌─metric────────────────────────┬─formatReadableSize(value)─┐
1. │ MergesMutationsMemoryTracking │ 0.00 B                    │
2. │ MemoryTracking                │ 20.37 TiB                 │
   └───────────────────────────────┴───────────────────────────┘
```

</details>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-01 19:48:25 +01:00
Antonio Andelic
e940ceaacc Merge branch 'master' into better-memory-usage-estimation 2024-12-01 19:16:37 +01:00