Skip to content

Commit 02dc6f6

Browse files
committed
Merge remote-tracking branch 'upstream/master' into azure-remove-redundant-list
2 parents b8231b0 + 9a480c9 commit 02dc6f6

File tree

248 files changed

+8991
-3995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+8991
-3995
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,16 @@ Please feel free to reach out to tyler `<at>` clickhouse `<dot>` com.
4747
You can also peruse [ClickHouse Events](https://clickhouse.com/company/news-events) for a list of all upcoming trainings, meetups, speaking engagements, etc.
4848

4949
Upcoming meetups
50-
* [Tokyo Meetup with Confluent](https://www.meetup.com/clickhouse-tokyo-user-group/events/306832118/) - April 15, 2025
51-
* [Kuala Lumper Meetup with CNCF](https://www.meetup.com/clickhouse-malaysia-meetup-group/events/306697678/) - April 16, 2025
5250
* [Jakarta Meetup with AWS](https://www.meetup.com/clickhouse-indonesia-user-group/events/306973747/) - April 22, 2025
5351
* [Denver Meetup](https://www.meetup.com/clickhouse-denver-user-group/events/306934991/) - April 23, 2025
5452
* [Austin Meetup](https://www.meetup.com/clickhouse-austin-user-group/events/307289908) - May 13, 2025
5553
* [London Meetup](https://www.meetup.com/clickhouse-london-user-group/events/306047172/) - May 14, 2025
5654
* [Istanbul Meetup](https://www.meetup.com/clickhouse-turkiye-meetup-group/events/306978337/) - May 15, 2025
55+
* [Shenzhen Meetup](hhttps://www.huodongxing.com/event/7803892350511) - May 17, 2025
5756

5857
Recent meetups
58+
* [Kuala Lumper Meetup with CNCF](https://www.meetup.com/clickhouse-malaysia-meetup-group/events/306697678/) - April 16, 2025
59+
* [Tokyo Meetup with Confluent](https://www.meetup.com/clickhouse-tokyo-user-group/events/306832118/) - April 15, 2025
5960
* [Ho Chi Minh Meetup with AWS & Infinite Lambda](https://www.meetup.com/clickhouse-vietnam-meetup-group/events/306810105/) - April 12, 2025
6061
* [Oslo Meetup](https://www.meetup.com/open-source-real-time-data-warehouse-real-time-analytics/events/306414327/) - April 8, 2025
6162
* [Sydney Meetup](https://www.meetup.com/clickhouse-australia-user-group/events/306549810/) - April 1, 2025

ci/jobs/scripts/check_style/aspell-ignore/en/aspell-dict.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,8 +1887,10 @@ geospatial
18871887
getClientHTTPHeader
18881888
getMacro
18891889
getMaxTableNameLengthForDatabase
1890+
getMergeTreeSetting
18901891
getOSKernelVersion
18911892
getServerPort
1893+
getServerSetting
18921894
getSetting
18931895
getSettingOrDefault
18941896
getSizeOfEnumType
@@ -2233,6 +2235,7 @@ mebibytes
22332235
memtable
22342236
memtables
22352237
mergeTreeIndex
2238+
mergeTreeProjection
22362239
mergeable
22372240
mergetree
22382241
messageID

ci/jobs/scripts/workflow_hooks/filter_job.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,18 @@ def should_skip_job(job_name):
8383
f"Skipped, labeled with '{Labels.CI_FUNCTIONAL_FLAKY}' - run stateless test jobs only",
8484
)
8585

86-
if Labels.CI_INTEGRATION in _info_cache.pr_labels and (
86+
if Labels.CI_INTEGRATION in _info_cache.pr_labels and not (
8787
job_name.startswith(JobNames.INTEGRATION) or job_name in JobConfigs.builds_for_tests
8888
):
8989
return (
9090
True,
9191
f"Skipped, labeled with '{Labels.CI_INTEGRATION}' - run integration test jobs only",
9292
)
9393

94-
if Labels.CI_FUNCTIONAL in _info_cache.pr_labels and (
94+
if Labels.CI_FUNCTIONAL in _info_cache.pr_labels and not (
9595
job_name.startswith(JobNames.STATELESS)
96-
or job_name.startswith(JobNames.STATEFUL or job_name in JobConfigs.builds_for_tests)
96+
or job_name.startswith(JobNames.STATEFUL)
97+
or job_name in JobConfigs.builds_for_tests
9798
):
9899
return (
99100
True,

cmake/darwin/default_libs.cmake

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,18 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
1515
set(THREADS_PREFER_PTHREAD_FLAG ON)
1616
find_package(Threads REQUIRED)
1717

18+
if(NOT CMAKE_CROSSCOMPILING)
19+
execute_process(
20+
COMMAND xcrun --sdk macosx --show-sdk-version
21+
OUTPUT_VARIABLE OS_DARWIN_SDK_VERSION
22+
OUTPUT_STRIP_TRAILING_WHITESPACE
23+
)
24+
if(${OS_DARWIN_SDK_VERSION} MATCHES "^[0-9]+\\.[0-9]+")
25+
message(STATUS "Detected OSX SDK Version: ${OS_DARWIN_SDK_VERSION}")
26+
else ()
27+
message(WARNING "Unexpected OSX SDK Version: ${OS_DARWIN_SDK_VERSION}")
28+
endif()
29+
endif()
30+
1831
include (cmake/unwind.cmake)
19-
include (cmake/cxx.cmake)
32+
include (cmake/cxx.cmake)

contrib/arrow

contrib/postgres-cmake/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ if (OS_DARWIN OR OS_FREEBSD OR USE_MUSL)
7979
target_compile_definitions(_libpq PRIVATE -DSTRERROR_R_INT=1)
8080
endif()
8181

82+
# Mac 15.4 / Xcode 16.3 started defining srtchrnul
83+
# Could be cleaned up if properly resolved in upstream
84+
# https://www.postgresql.org/message-id/flat/385134.1743523038%40sss.pgh.pa.us
85+
if (OS_DARWIN AND OS_DARWIN_SDK_VERSION AND OS_DARWIN_SDK_VERSION VERSION_GREATER_EQUAL 15.4)
86+
target_compile_definitions(_libpq PRIVATE -DHAVE_STRCHRNUL)
87+
endif()
88+
8289
target_link_libraries (_libpq PRIVATE OpenSSL::SSL)
8390

8491
add_library(ch_contrib::libpq ALIAS _libpq)

contrib/zstd

Submodule zstd updated 71 files

docs/en/operations/settings/experimental-settings.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

docs/en/operations/settings/merge-tree-settings.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ title: 'MergeTree tables settings'
66

77
import ExperimentalBadge from '@theme/badges/ExperimentalBadge';
88
import BetaBadge from '@theme/badges/BetaBadge';
9+
import SettingsInfoBlock from '@theme/SettingsInfoBlock/SettingsInfoBlock';
10+
import VersionHistory from '@theme/VersionHistory/VersionHistory';
911

1012
System table `system.merge_tree_settings` shows the globally set MergeTree settings.
1113

docs/en/sql-reference/functions/other-functions.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4671,3 +4671,67 @@ Result:
46714671
│ 206 │
46724672
└─────────────────────────────────────────────┘
46734673
```
4674+
4675+
## getServerSetting {#getserversetting}
4676+
4677+
Returns the current value of one of the server settings
4678+
4679+
**Syntax**
4680+
4681+
```sql
4682+
getServerSetting('server_setting');
4683+
```
4684+
4685+
**Parameter**
4686+
4687+
- `server_setting` — The setting name. [String](../data-types/string.md).
4688+
4689+
**Returned value**
4690+
4691+
- The server setting's current value.
4692+
4693+
**Example**
4694+
4695+
```sql
4696+
SELECT getServerSetting('allow_use_jemalloc_memory');
4697+
```
4698+
4699+
Result:
4700+
4701+
```text
4702+
┌─getServerSetting('allow_use_jemalloc_memory')─┐
4703+
│ true │
4704+
└───────────────────────────────────────────────┘
4705+
```
4706+
4707+
## getMergeTreeSetting {#getmergetreesetting}
4708+
4709+
Returns the current value of one of the merge tree settings
4710+
4711+
**Syntax**
4712+
4713+
```sql
4714+
getMergeTreeSetting('merge_tree_setting');
4715+
```
4716+
4717+
**Parameter**
4718+
4719+
- `merge_tree_setting` — The setting name. [String](../data-types/string.md).
4720+
4721+
**Returned value**
4722+
4723+
- The merge tree setting's current value.
4724+
4725+
**Example**
4726+
4727+
```sql
4728+
SELECT getMergeTreeSetting('index_granularity');
4729+
```
4730+
4731+
Result:
4732+
4733+
```text
4734+
┌─getMergeTree(index_granularity')─┐
4735+
│ 8192 │
4736+
└──────────────────────────────────┘
4737+
```

0 commit comments

Comments
 (0)