Commit Graph

161133 Commits

Author SHA1 Message Date
Igor Nikonov
edb95473f8 Reduce tests output 2024-12-11 12:09:34 +00:00
Tuan Pham Anh
dc812aeb95 Reduce loop count, keeper_max_retries and keeper_retry_max_backoff_ms in test_replicated_merge_tree_s3_zero_copy::test_drop_table 2024-12-11 12:00:57 +00:00
Raúl Marín
130a2b16aa
Merge pull request #73083 from Algunenano/osx_icu
OSX: Build with ICU support
2024-12-11 11:49:36 +00:00
kssenii
4737618960 Fix 2024-12-11 12:20:56 +01:00
robot-clickhouse
170cdfdf08 Automatic style fix 2024-12-11 11:15:40 +00:00
Pavel Kruglov
06b1ef2c2d
Merge pull request #72989 from Avogar/dynamic-in-to-type-functions
Support Dynamic in functions toFloat64/touInt32/etc
2024-12-11 11:07:34 +00:00
Pavel Kruglov
33b8948a5c
Merge pull request #73043 from Avogar/fix-json-parsing-format-settings
Use default format settings during JSON parsing to avoid broken deserialization
2024-12-11 11:07:11 +00:00
Sema Checherinda
c0172f54cc fix new tests 2024-12-11 12:06:30 +01:00
Pavel Kruglov
66eecb112f
Merge pull request #73082 from Avogar/fix-tuple-duplicate-json-key
Check for duplicate JSON keys during Tuple parsing
2024-12-11 10:57:42 +00:00
Nikolai Kochetov
0ca6bb8834 Fixing style. 2024-12-11 10:38:55 +00:00
Tuan Pham Anh
36002f3943 Merge remote-tracking branch 'origin/master' into use-idisk-in-databases 2024-12-11 09:26:03 +00:00
Smita Kulkarni
bf0efd8cea Update error type to SUPPORT_IS_DISABLED 2024-12-11 10:19:43 +01:00
flynn
d42cd2fc95 Fix style 2024-12-11 09:09:22 +00:00
flynn
39ee608083 Fix 2024-12-11 08:04:29 +00:00
Olli Draese
07c8c772e7 Fixing timezone option of formatDateTime 2024-12-11 05:46:17 +02:00
Nikita Mikhaylov
88f7b53d8c
Merge pull request #72426 from ClickHouse/move-utils-to-programs
Moved utils to programs
2024-12-11 00:18:43 +00:00
Tuan Pham Anh
39f0a7adff Fix build_tidy compilation error 2024-12-11 00:04:54 +00:00
Anton Popov
34b7207b76
Merge pull request #73017 from CurtizJ/add-test-for-block-number-mutation
Add tests for some mutations with enabled column `_block_number`
2024-12-10 23:18:26 +00:00
Igor Nikonov
30ec2056be Fix 03279_pr_3_way_joins_right_first 2024-12-10 22:06:13 +00:00
Igor Nikonov
020e7822a4 Merge remote-tracking branch 'origin/master' into pr-3-way-joins 2024-12-10 22:03:23 +00:00
Igor Nikonov
072ec16067 Separated tests 2024-12-10 22:02:13 +00:00
Alexander Gololobov
bb1604d48c
Merge pull request #73049 from ClickHouse/preallocate_log_queue_buffer
Preallocate log queue buffer after flush to reduce number or (re)allocations when pushing new entires
2024-12-10 21:11:07 +00:00
Sema Checherinda
352e47ae64
Merge pull request #73080 from ClickHouse/chesema-rm-comments-2
remove commented code
2024-12-10 21:05:04 +00:00
Vitaly Baranov
e7df52d8a0
Merge pull request #72682 from vitlibar/add-retries-to-creating-replicated-table
Add retries to creating a replicated table
2024-12-10 21:04:36 +00:00
Igor Nikonov
457bb20d28 Better comment 2024-12-10 19:35:48 +00:00
Nikita Taranov
206d5153f7 add heavier test 2024-12-10 20:32:01 +01:00
avogar
1024bb9df5 Add comments 2024-12-10 19:19:09 +00:00
Igor Nikonov
2c4a0dd4c1 Reduce test 2024-12-10 19:18:19 +00:00
avogar
227346e7ae Rename method 2024-12-10 19:16:30 +00:00
avogar
7dc0811ffd Improve formatting of identifiers with JSON subcolumns 2024-12-10 19:15:57 +00:00
Igor Nikonov
25200543fc Remove test 2024-12-10 19:07:59 +00:00
Shichao Jin
098c8ac806
Merge pull request #73012 from gingerwizard/issue_2295
clarify compression options for table functions
2024-12-10 19:03:07 +00:00
kssenii
808e0395f0 Merge remote-tracking branch 'origin/master' into rest-catalog 2024-12-10 19:54:01 +01:00
kssenii
a5c5088f0c Merge remote-tracking branch 'origin/divanik/fix_bug_iceberg_json_equality_check' into rest-catalog 2024-12-10 19:53:56 +01:00
Azat Khuzhin
9072d1bd42 Fix possible overestimate memory tracking
Before this patch the untracked_memory was dumped before reseting the
current_thread which could lead to leaking some of untracked_memory in
`ThreadStatus::detachFromGroup` [1].

In particular I found that the local_data (which is 136 bytes) can be
"leaked" that way.

  [1]: 8999fdd95e/src/Interpreters/ThreadStatusExt.cpp (L292-L306)

This pops up on one of clusters where I noticed that the difference
between MemoryTracking and MemoryResident keeps growing over the time.
the difference grows ~200KiB per second - 16.5GiB per day.

That cluster has tons MVs triggered from Buffer/Distributed (i.e. now
query context), and this is indeed is the reason for leaking local_data,
since in this case there is no thread group in the query, and it is
created explicitly in `InterpreterInsertQuery::buildChain` [1].

  [1]: 20ccb638ba/src/Interpreters/InterpreterInsertQuery.cpp (L321)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-12-10 19:50:01 +01:00
kssenii
c2cf17c2dd Merge remote-tracking branch 'origin/master' into rest-catalog 2024-12-10 19:35:55 +01:00
kssenii
83ea4857ea Remove redundant 2024-12-10 19:26:10 +01:00
Kseniia Sumarokova
0235eed489
Merge pull request #73001 from ClickHouse/divanik/fix_bug_iceberg_json_equality_check
Make less strict assert when checking iceberg schema consistency
2024-12-10 18:24:29 +00:00
Igor Nikonov
64de1fb68f Mark the setting as obsolete 2024-12-10 18:21:23 +00:00
Nikolai Kochetov
93950fef45 Update rewrite cross to inner. 2024-12-10 16:54:29 +00:00
avogar
1d6c3629c6 Check for duplicate JSON keys during Tuple parsing 2024-12-10 16:52:07 +00:00
divanik
26004ee5ef Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/iceberg_metadata_big_refactoring 2024-12-10 16:50:59 +00:00
mkalfon
12d5f081d2 Reducing the log level of appeared replica part message 2024-12-10 17:48:06 +01:00
Nikita Mikhaylov
0b53e55c42
getlogin is ok for Musl 2024-12-10 17:47:04 +01:00
Raúl Marín
4eef87d8ed OSX: Build with ICU support 2024-12-10 17:34:00 +01:00
Pavel Kruglov
d028426864
Update TreeRewriter.cpp 2024-12-10 17:33:09 +01:00
Sema Checherinda
1ae7a683d7 remove commented code 2024-12-10 17:30:56 +01:00
Raúl Marín
20ccb638ba
Merge pull request #73013 from Algunenano/flaky_01319
Fix flakiness of 01319_query_formatting_in_server_log.sql
2024-12-10 16:16:52 +00:00
Alexander Gololobov
61d5c75343 Preallocate log queue buffer after flush 2024-12-10 16:58:09 +01:00
Sema Checherinda
4932f599ea fix style 2024-12-10 16:43:56 +01:00