Skip to content

Commit ccaef27

Browse files
committed
Merge with v1.4.1
2 parents 84aa44c + 7621d1b commit ccaef27

File tree

3,940 files changed

+137363
-143615
lines changed

Some content is hidden

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

3,940 files changed

+137363
-143615
lines changed

.clang-tidy

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Checks: '-*,clang-diagnostic-*,bugprone-*,performance-*,google-explicit-constructor,google-build-using-namespace,google-runtime-int,misc-definitions-in-headers,modernize-use-nullptr,modernize-use-override,-bugprone-macro-parentheses,readability-braces-around-statements,-bugprone-branch-clone,readability-identifier-naming,hicpp-exception-baseclass,misc-throw-by-value-catch-by-reference,-bugprone-signed-char-misuse,-bugprone-misplaced-widening-cast,-bugprone-sizeof-expression,-bugprone-easily-swappable-parameters,google-global-names-in-headers,llvm-header-guard,misc-definitions-in-headers,modernize-use-emplace,modernize-use-bool-literals,-performance-inefficient-string-concatenation,-performance-no-int-to-ptr,readability-container-size-empty,cppcoreguidelines-pro-type-cstyle-cast,-llvm-header-guard,-performance-enum-size,cppcoreguidelines-pro-type-const-cast,cppcoreguidelines-avoid-non-const-global-variables,cppcoreguidelines-interfaces-global-init,cppcoreguidelines-slicing,cppcoreguidelines-rvalue-reference-param-not-moved,cppcoreguidelines-virtual-class-destructor,-readability-identifier-naming,-bugprone-exception-escape,-bugprone-unused-local-non-trivial-variable,-bugprone-empty-catch'
1+
Checks: '-*,clang-diagnostic-*,bugprone-*,performance-*,google-explicit-constructor,google-build-using-namespace,google-runtime-int,misc-definitions-in-headers,modernize-use-nullptr,modernize-use-override,-bugprone-macro-parentheses,readability-braces-around-statements,-bugprone-branch-clone,readability-identifier-naming,hicpp-exception-baseclass,misc-throw-by-value-catch-by-reference,-bugprone-signed-char-misuse,-bugprone-misplaced-widening-cast,-bugprone-sizeof-expression,-bugprone-easily-swappable-parameters,google-global-names-in-headers,llvm-header-guard,misc-definitions-in-headers,modernize-use-emplace,modernize-use-bool-literals,-performance-inefficient-string-concatenation,-performance-no-int-to-ptr,readability-container-size-empty,cppcoreguidelines-pro-type-cstyle-cast,-llvm-header-guard,-performance-enum-size,cppcoreguidelines-pro-type-const-cast,cppcoreguidelines-avoid-non-const-global-variables,cppcoreguidelines-interfaces-global-init,cppcoreguidelines-slicing,cppcoreguidelines-rvalue-reference-param-not-moved,cppcoreguidelines-virtual-class-destructor,-readability-identifier-naming,-bugprone-exception-escape,-bugprone-unused-local-non-trivial-variable,-bugprone-empty-catch,-misc-use-internal-linkage,-readability-static-definition-in-anonymous-namespace'
22
WarningsAsErrors: '*'
33
HeaderFilterRegex: 'src/include/duckdb/.*'
44
FormatStyle: none
@@ -49,4 +49,7 @@ CheckOptions:
4949
value: '::duckdb::shared_ptr;::duckdb::unique_ptr;::std::auto_ptr;::duckdb::weak_ptr'
5050
- key: cppcoreguidelines-rvalue-reference-param-not-moved.IgnoreUnnamedParams
5151
value: true
52-
52+
- key: misc-use-internal-linkage
53+
value: true
54+
- key: readability-static-definition-in-anonymous-namespace
55+
value: true

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ body:
1414
* [duckdb-node](https://github.com/duckdb/duckdb-node/issues/new)
1515
* [duckdb-node-neo](https://github.com/duckdb/duckdb-node-neo/issues/new)
1616
* [duckdb-odbc](https://github.com/duckdb/duckdb-odbc/issues/new)
17+
* [duckdb-python](https://github.com/duckdb/duckdb-python/issues/new)
1718
* [duckdb-r](https://github.com/duckdb/duckdb-r/issues/new)
1819
* [duckdb-rs](https://github.com/duckdb/duckdb-rs/issues/new)
1920
* [duckdb-swift](https://github.com/duckdb/duckdb-swift/issues/new)

.github/actions/build_extensions/action.yml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# # # # # # # # # # # # # # # # # #
2+
#
3+
# WARNING: DEPRECATED!
4+
#
5+
# # # # # # # # # # # # # # # # # #
6+
17
name: "Build Extensions"
28
description: "Build, test and deploy the DuckDB extensions"
39
inputs:
@@ -160,8 +166,6 @@ runs:
160166

161167
run: |
162168
ls
163-
mkdir -p ~/.ssh
164-
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
165169
cd ${{ inputs.build_dir}}
166170
ls -al
167171
pwd
@@ -211,6 +215,7 @@ runs:
211215
shell: bash
212216
env:
213217
LOCAL_EXTENSION_REPO: ${{ inputs.run_autoload_tests == '1' && github.workspace || ''}}
218+
DUCKDB_TEST_DESCRIPTION: 'Extension autoloading tests. All `require` calls are ignored and auto-loading is tested. Use require no_extension_autoloading in the test to skip tests.'
214219
run: |
215220
cd ${{ inputs.build_dir}}
216221
python3 scripts/get_test_list.py --file-contains 'require ' --list '"*.test"' > test.list
@@ -219,6 +224,29 @@ runs:
219224
rm -rf build/release/extension
220225
mv build/extension_tmp build/release/extension
221226
227+
- name: Run tests with auto loading with VS2019 C++ stdlib
228+
if: ${{ inputs.run_autoload_tests == '1' && inputs.vcpkg_target_triplet == 'x64-windows-static-md' }}
229+
shell: bash
230+
env:
231+
LOCAL_EXTENSION_REPO: ${{ inputs.run_autoload_tests == '1' && github.workspace || ''}}
232+
run: |
233+
rm -rf build/extension_tmp
234+
mv build/release/extension build/extension_tmp
235+
choco install wget -y --no-progress
236+
cd ${{ inputs.build_dir }}
237+
TEST_RUNNER_DIR=./build/release/test/Release
238+
if [ ! -f ${TEST_RUNNER_DIR}/unittest.exe ]; then
239+
echo "Invalid unit tests runner dir: ${TEST_RUNNER_DIR}, check 'inputs.unittest_script' argument"
240+
exit 1
241+
fi
242+
wget -P ${TEST_RUNNER_DIR} https://blobs.duckdb.org/ci/msvcp140.dll
243+
ls ${TEST_RUNNER_DIR}
244+
# test.list is generated on the previous step
245+
${{ inputs.unittest_script }} '-f test.list'
246+
rm ${TEST_RUNNER_DIR}/msvcp140.dll
247+
rm -rf ./build/release/extension
248+
mv ./build/extension_tmp ./build/release/extension
249+
222250
- name: Deploy
223251
if: ${{ inputs.deploy_as != '' }}
224252
shell: bash

.github/actions/build_extensions_dockerized/action.yml

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

.github/config/distribution_matrix.json

Lines changed: 0 additions & 63 deletions
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
if (NOT MINGW)
2+
duckdb_extension_load(avro
3+
LOAD_TESTS DONT_LINK
4+
GIT_URL https://github.com/duckdb/duckdb-avro
5+
GIT_TAG 7b75062f6345d11c5342c09216a75c57342c2e82
6+
)
7+
endif()
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
if (NOT MINGW AND NOT ${WASM_ENABLED})
2+
duckdb_extension_load(aws
3+
### TODO: re-enable LOAD_TESTS
4+
GIT_URL https://github.com/duckdb/duckdb-aws
5+
GIT_TAG 18803d5e55b9f9f6dda5047d0fdb4f4238b6801d
6+
)
7+
endif()
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
if (NOT MINGW AND NOT ${WASM_ENABLED})
2+
duckdb_extension_load(azure
3+
LOAD_TESTS
4+
GIT_URL https://github.com/duckdb/duckdb-azure
5+
GIT_TAG 0709c0fa1cf67a668b58b1f06ff3e5fc1696e10a
6+
)
7+
endif()
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
if (NOT MINGW AND NOT ${WASM_ENABLED})
2+
duckdb_extension_load(delta
3+
GIT_URL https://github.com/duckdb/duckdb-delta
4+
GIT_TAG 03aaf0f073bc622ade27c158d32473588b32aa8b
5+
SUBMODULES extension-ci-tools
6+
APPLY_PATCHES
7+
)
8+
endif()
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
duckdb_extension_load(ducklake
2+
DONT_LINK
3+
GIT_URL https://github.com/duckdb/ducklake
4+
GIT_TAG f134ad86f2f6e7cdf4133086c38ecd9c48f1a772
5+
)

0 commit comments

Comments
 (0)