Skip to content

Commit 2f3d779

Browse files
committed
Merge branch 'main' into aggregate-ec
2 parents f8caef6 + 9489881 commit 2f3d779

File tree

324 files changed

+7527
-5448
lines changed

Some content is hidden

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

324 files changed

+7527
-5448
lines changed

.github/actions/build_extensions/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ runs:
9999
if: inputs.vcpkg_build == 1
100100
uses: lukka/[email protected]
101101
with:
102-
vcpkgGitCommitId: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
102+
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574
103103

104104
- name: Set vcpkg env variables
105105
if: inputs.vcpkg_build == 1

.github/actions/build_extensions_dockerized/action.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ runs:
114114
run: |
115115
docker build \
116116
--build-arg 'vcpkg_url=https://github.com/microsoft/vcpkg.git' \
117-
--build-arg 'vcpkg_commit=a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6' \
117+
--build-arg 'vcpkg_commit=5e5d0e1cd7785623065e77eff011afdeec1a3574' \
118118
--build-arg 'extra_toolchains=;python3;' \
119119
-t duckdb/${{ inputs.duckdb_arch }} \
120120
./extension-ci-tools/docker/${{ inputs.duckdb_arch }}
@@ -167,25 +167,3 @@ runs:
167167
shell: bash
168168
run: |
169169
docker run --env-file=docker_env.txt -v `pwd`:/duckdb_build_dir -v `pwd`/ccache_dir:/ccache_dir duckdb/${{ inputs.duckdb_arch }} make test_release
170-
171-
- name: Deploy
172-
if: ${{ inputs.deploy_as != '' }}
173-
shell: bash
174-
env:
175-
AWS_ACCESS_KEY_ID: ${{ inputs.s3_id }}
176-
AWS_SECRET_ACCESS_KEY: ${{ inputs.s3_key }}
177-
DUCKDB_EXTENSION_SIGNING_PK: ${{ inputs.signing_pk }}
178-
AWS_DEFAULT_REGION: us-east-1
179-
DUCKDB_DEPLOY_SCRIPT_MODE: for_real
180-
run: |
181-
cd ${{ inputs.build_dir}}
182-
if [[ "$GITHUB_REPOSITORY" = "duckdb/duckdb" ]] ; then
183-
if [[ ! -z "${{ inputs.deploy_version }}" ]] ; then
184-
duckdb/scripts/extension-upload-all.sh ${{ inputs.deploy_as }} ${{ inputs.deploy_version }}
185-
elif [[ "$GITHUB_REF" =~ ^(refs/tags/v.+)$ ]] ; then
186-
duckdb/scripts/extension-upload-all.sh ${{ inputs.deploy_as }} ${{ github.ref_name }}
187-
elif [[ "$GITHUB_REF" =~ ^(refs/heads/main)$ ]] ; then
188-
duckdb/scripts/extension-upload-all.sh ${{ inputs.deploy_as }} "${GITHUB_SHA:0:10}"
189-
fi
190-
fi
191-

.github/actions/manylinux_2014_setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ runs:
9696
if: ${{ inputs.vcpkg == 1 }}
9797
uses: lukka/[email protected]
9898
with:
99-
vcpkgGitCommitId: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
99+
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574
100100

101101
- name: Install OpenSSL
102102
if: ${{ inputs.openssl == 1 }}

.github/actions/ubuntu_18_setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ runs:
8888
if: ${{ inputs.vcpkg == 1 }}
8989
uses: lukka/[email protected]
9090
with:
91-
vcpkgGitCommitId: a1a1cbc975abf909a6c8985a6a2b8fe20bbd9bd6
91+
vcpkgGitCommitId: 5e5d0e1cd7785623065e77eff011afdeec1a3574
9292

9393
- name: Setup Ccache
9494
if: ${{ inputs.ccache == 1 }}

.github/config/extensions.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ substrait,https://github.com/duckdb/substrait,1116fb580edd3e26e675436dbdbdf4a0aa
1212
arrow,https://github.com/duckdb/arrow,9e10240da11f61ea7fbfe3fc9988ffe672ccd40f,no-windows
1313
aws,https://github.com/duckdb/duckdb_aws,f7b8729f1cce5ada5d4add70e1486de50763fb97,
1414
azure,https://github.com/duckdb/duckdb_azure,09623777a366572bfb8fa53e47acdf72133a360e,
15-
spatial,https://github.com/duckdb/duckdb_spatial,7ea79b614755d2bdee4be468691e4e17b39b8dbc,
15+
spatial,https://github.com/duckdb/duckdb_spatial,a60aa3733741a99c49baaf33390c0f7c8a9598a3,
1616
iceberg,https://github.com/duckdb/duckdb_iceberg,d89423c2ff90a0b98a093a133c8dfe2a55b9e092,
1717
vss,https://github.com/duckdb/duckdb_vss,96374099476b3427c9ab43c1821e610b0465c864,
1818
fts,https://github.com/duckdb/duckdb_fts,0477abaf2484aa7b9aabf8ace9dc0bde80a15554,

.github/config/in_tree_extensions.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
duckdb_extension_load(autocomplete)
99
duckdb_extension_load(core_functions)
10-
duckdb_extension_load(httpfs)
1110
duckdb_extension_load(icu)
1211
duckdb_extension_load(json)
1312
duckdb_extension_load(parquet)

.github/config/out_of_tree_extensions.cmake

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,16 @@
1515
# VCPKG_TOOLCHAIN_PATH=~/vcpkg/scripts/buildsystems/vcpkg.cmake
1616
# VCPKG_TARGET_TRIPLET=arm64-osx
1717

18+
################# HTTPFS
19+
duckdb_extension_load(httpfs
20+
LOAD_TESTS
21+
GIT_URL https://github.com/duckdb/duckdb_httpfs
22+
GIT_TAG 92867fce5a6e90b9a6803fab2b196c00cc11e46c
23+
INCLUDE_DIR extension/httpfs/include
24+
)
25+
1826
################# ARROW
19-
if (NOT MINGW)
27+
if (NOT MINGW AND NOT $ENV{WASM_EXTENSIONS})
2028
duckdb_extension_load(arrow
2129
LOAD_TESTS DONT_LINK
2230
GIT_URL https://github.com/duckdb/arrow
@@ -26,11 +34,12 @@ if (NOT MINGW)
2634
endif()
2735

2836
################## AWS
29-
if (NOT MINGW)
37+
if (NOT MINGW AND NOT $ENV{WASM_EXTENSIONS})
3038
duckdb_extension_load(aws
3139
LOAD_TESTS
3240
GIT_URL https://github.com/duckdb/duckdb_aws
3341
GIT_TAG f743d4b3c2faecda15498d0219a1727ad6d62b5b
42+
APPLY_PATCHES
3443
)
3544
endif()
3645

@@ -39,7 +48,7 @@ endif()
3948
### build on a side
4049
if (NO)
4150
################# AZURE
42-
if (NOT MINGW)
51+
if (NOT MINGW AND NOT $ENV{WASM_EXTENSIONS})
4352
duckdb_extension_load(azure
4453
LOAD_TESTS
4554
GIT_URL https://github.com/duckdb/duckdb_azure
@@ -52,7 +61,7 @@ endif()
5261
################# DELTA
5362
# MinGW build is not available, and our current manylinux ci does not have enough storage space to run the rust build
5463
# for Delta
55-
if (NOT MINGW AND NOT "${OS_NAME}" STREQUAL "linux")
64+
if (NOT MINGW AND NOT "${OS_NAME}" STREQUAL "linux" AND NOT $ENV{WASM_EXTENSIONS})
5665
duckdb_extension_load(delta
5766
LOAD_TESTS
5867
GIT_URL https://github.com/duckdb/duckdb_delta
@@ -65,26 +74,26 @@ endif()
6574
duckdb_extension_load(excel
6675
LOAD_TESTS
6776
GIT_URL https://github.com/duckdb/duckdb_excel
68-
GIT_TAG 0e99dc789038c7af658e30d579b818473a6d6ea8
69-
INCLUDE_DIR extension/excel/include
77+
GIT_TAG e243577956f36a898d5485189e5288839c2c4b73
78+
INCLUDE_DIR src/excel/include
7079
)
7180

7281
################# ICEBERG
7382
# Windows tests for iceberg currently not working
74-
if (NOT WIN32)
75-
set(LOAD_ICEBERG_TESTS "LOAD_TESTS")
76-
else ()
77-
set(LOAD_ICEBERG_TESTS "")
78-
endif()
79-
80-
if (NOT MINGW)
81-
duckdb_extension_load(iceberg
82-
${LOAD_ICEBERG_TESTS}
83-
GIT_URL https://github.com/duckdb/duckdb_iceberg
84-
GIT_TAG d62d91d8a089371c4d1862a88f2e62a97bc2af3a
85-
APPLY_PATCHES
86-
)
87-
endif()
83+
#if (NOT WIN32)
84+
# set(LOAD_ICEBERG_TESTS "LOAD_TESTS")
85+
#else ()
86+
# set(LOAD_ICEBERG_TESTS "")
87+
#endif()
88+
#
89+
#if (NOT MINGW AND NOT $ENV{WASM_EXTENSIONS})
90+
# duckdb_extension_load(iceberg
91+
# ${LOAD_ICEBERG_TESTS}
92+
# GIT_URL https://github.com/duckdb/duckdb_iceberg
93+
# GIT_TAG d62d91d8a089371c4d1862a88f2e62a97bc2af3a
94+
# APPLY_PATCHES
95+
# )
96+
#endif()
8897

8998
################# INET
9099
duckdb_extension_load(inet
@@ -93,12 +102,13 @@ duckdb_extension_load(inet
93102
GIT_TAG 51d7ad789f34eecb36a2071bac5aef0e12747d70
94103
INCLUDE_DIR src/include
95104
TEST_DIR test/sql
105+
APPLY_PATCHES
96106
)
97107

98108
################# POSTGRES_SCANNER
99109
# Note: tests for postgres_scanner are currently not run. All of them need a postgres server running. One test
100110
# uses a remote rds server but that's not something we want to run here.
101-
if (NOT MINGW)
111+
if (NOT MINGW AND NOT $ENV{WASM_EXTENSIONS})
102112
duckdb_extension_load(postgres_scanner
103113
DONT_LINK
104114
GIT_URL https://github.com/duckdb/postgres_scanner
@@ -107,15 +117,17 @@ if (NOT MINGW)
107117
)
108118
endif()
109119

120+
# mingw CI with all extensions at once is somehow not happy
121+
if (NOT MINGW)
110122
################# SPATIAL
111123
duckdb_extension_load(spatial
112124
DONT_LINK LOAD_TESTS
113125
GIT_URL https://github.com/duckdb/duckdb_spatial.git
114-
GIT_TAG 7ea79b614755d2bdee4be468691e4e17b39b8dbc
126+
GIT_TAG a60aa3733741a99c49baaf33390c0f7c8a9598a3
115127
INCLUDE_DIR spatial/include
116128
TEST_DIR test/sql
117-
APPLY_PATCHES
118129
)
130+
endif()
119131

120132
################# SQLITE_SCANNER
121133
# Static linking on windows does not properly work due to symbol collision
@@ -132,11 +144,13 @@ duckdb_extension_load(sqlite_scanner
132144
APPLY_PATCHES
133145
)
134146

147+
if (NOT $ENV{WASM_EXTENSIONS})
135148
duckdb_extension_load(sqlsmith
136149
DONT_LINK LOAD_TESTS
137150
GIT_URL https://github.com/duckdb/duckdb_sqlsmith
138151
GIT_TAG d6d62c1cba6b1369ba79db4bff3c67f24aaa95c2
139152
)
153+
endif()
140154

141155
################# VSS
142156
duckdb_extension_load(vss
@@ -149,7 +163,7 @@ duckdb_extension_load(vss
149163
)
150164

151165
################# MYSQL
152-
if (NOT MINGW)
166+
if (NOT MINGW AND NOT $ENV{WASM_EXTENSIONS})
153167
duckdb_extension_load(mysql_scanner
154168
DONT_LINK
155169
LOAD_TESTS
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
diff --git a/test/sql/aws_errors.test b/test/sql/aws_errors.test
2+
index 50fb7d7..292724e 100644
3+
--- a/test/sql/aws_errors.test
4+
+++ b/test/sql/aws_errors.test
5+
@@ -2,7 +2,7 @@
6+
# description: test aws extension
7+
# group: [aws]
8+
9+
-require no_extension_autoloading
10+
+require no_extension_autoloading "EXPECTED: Test relies on autoloading not to be there"
11+
12+
# Before we load the extension, this will fail
13+
statement error
14+
@@ -22,4 +22,4 @@ httpfs extension is required for load_aws_credentials
15+
require httpfs
16+
17+
statement ok
18+
-CALL load_aws_credentials();
19+
\ No newline at end of file
20+
+CALL load_aws_credentials();
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
diff --git a/test/sql/test_inet_storage.test b/test/sql/test_inet_storage.test
2+
index 6679439..7de7620 100644
3+
--- a/test/sql/test_inet_storage.test
4+
+++ b/test/sql/test_inet_storage.test
5+
@@ -5,7 +5,7 @@
6+
require inet
7+
8+
# FIXME: Make inet properly autoloadable
9+
-require no_extension_autoloading
10+
+require no_extension_autoloading "FIXME: to be reviewed whether this can be lifted"
11+
12+
# load the DB from disk
13+
load __TEST_DIR__/store_inet.db
14+
diff --git a/test/sql/test_ipv6_inet_storage.test b/test/sql/test_ipv6_inet_storage.test
15+
index 5be1ff2..7dc1930 100644
16+
--- a/test/sql/test_ipv6_inet_storage.test
17+
+++ b/test/sql/test_ipv6_inet_storage.test
18+
@@ -25,7 +25,7 @@ CREATE VIEW iview AS SELECT INET '::1'
19+
restart
20+
21+
#FIXME: INET needs to be explicitly autoloaded on restart
22+
-require no_extension_autoloading
23+
+require no_extension_autoloading "FIXME: INET needs to be explicitly autoloaded on restart"
24+
25+
query IIIIII
26+
DESCRIBE tbl

0 commit comments

Comments
 (0)