Skip to content

Commit 65c68c1

Browse files
Merge branch 'master' into analyzer-rewrite-view-query
2 parents a6096ce + 9a480c9 commit 65c68c1

File tree

299 files changed

+10201
-4421
lines changed

Some content is hidden

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

299 files changed

+10201
-4421
lines changed

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,6 @@ option(OMIT_HEAVY_DEBUG_SYMBOLS
204204
${OMIT_HEAVY_DEBUG_SYMBOLS_DEFAULT})
205205

206206
option(BUILD_STANDALONE_KEEPER "Build keeper as small standalone binary" OFF)
207-
if (NOT BUILD_STANDALONE_KEEPER)
208-
option(CREATE_KEEPER_SYMLINK "Create symlink for clickhouse-keeper to main server binary" ON)
209-
else ()
210-
option(CREATE_KEEPER_SYMLINK "Create symlink for clickhouse-keeper to main server binary" OFF)
211-
endif ()
212207

213208
# Create BuildID when using lld. For other linkers it is created by default.
214209
# (NOTE: LINKER_NAME can be either path or name, and in different variants)

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

docker/test/integration/runner/Dockerfile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,17 @@ RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
6363
COPY requirements.txt /
6464
RUN python3 -m pip install --no-cache-dir -r requirements.txt
6565

66-
# Hudi supports only spark 3.3.*, not 3.4
67-
RUN curl -fsSL -O https://archive.apache.org/dist/spark/spark-3.3.2/spark-3.3.2-bin-hadoop3.tgz \
68-
&& tar xzvf spark-3.3.2-bin-hadoop3.tgz -C / \
69-
&& rm spark-3.3.2-bin-hadoop3.tgz
66+
RUN curl -fsSL -O https://archive.apache.org/dist/spark/spark-3.5.5/spark-3.5.5-bin-hadoop3.tgz \
67+
&& tar xzvf spark-3.5.5-bin-hadoop3.tgz -C / \
68+
&& rm spark-3.5.5-bin-hadoop3.tgz
7069

7170
# download spark and packages
7271
# if you change packages, don't forget to update them in tests/integration/helpers/cluster.py
73-
RUN packages="org.apache.hudi:hudi-spark3.3-bundle_2.12:0.13.0,\
74-
io.delta:delta-core_2.12:2.3.0,\
75-
org.apache.iceberg:iceberg-spark-runtime-3.3_2.12:1.1.0" \
76-
&& /spark-3.3.2-bin-hadoop3/bin/spark-shell --packages "$packages" > /dev/null \
77-
&& find /root/.ivy2/ -name '*.jar' -exec ln -sf {} /spark-3.3.2-bin-hadoop3/jars/ \;
72+
RUN packages="io.delta:delta-spark_2.12:3.1.0,\
73+
org.apache.hudi:hudi-spark3.5-bundle_2.12:1.0.1,\
74+
org.apache.iceberg:iceberg-spark-runtime-3.5_2.12:1.4.3" \
75+
&& /spark-3.5.5-bin-hadoop3/bin/spark-shell --packages "$packages" > /dev/null \
76+
&& find /root/.ivy2/ -name '*.jar' -exec ln -sf {} /spark-3.5.5-bin-hadoop3/jars/ \;
7877

7978
RUN set -x \
8079
&& addgroup --system dockremap \

docker/test/integration/runner/dockerd-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set -e
5454

5555
java_path="$(update-alternatives --config java | sed -n 's/.*(providing \/usr\/bin\/java): //p')"
5656
export JAVA_PATH=$java_path
57-
export SPARK_HOME="/spark-3.3.2-bin-hadoop3"
57+
export SPARK_HOME="/spark-3.5.5-bin-hadoop3"
5858
export PATH=$SPARK_HOME/bin:$PATH
5959
export JAVA_TOOL_OPTIONS="-Djdk.attach.allowAttachSelf=true"
6060

0 commit comments

Comments
 (0)