Skip to content

Commit e00177a

Browse files
Merge remote-tracking branch 'upstream/main' into chore/add-ext-identifier
2 parents 468c17e + d9122b9 commit e00177a

File tree

212 files changed

+7308
-5628
lines changed

Some content is hidden

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

212 files changed

+7308
-5628
lines changed

.github/config/extensions/avro.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
if (NOT MINGW)
22
duckdb_extension_load(avro
3-
LOAD_TESTS DONT_LINK
3+
LOAD_TESTS
44
GIT_URL https://github.com/duckdb/duckdb-avro
55
GIT_TAG 93da8a19b41eb577add83d0552c6946a16e97c83
66
APPLY_PATCHES
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
duckdb_extension_load(ducklake
2-
DONT_LINK
3-
LOAD_TESTS
42
GIT_URL https://github.com/duckdb/ducklake
5-
GIT_TAG f45f41aa345f2b9afee5058f0cead72a4d06beb8
3+
GIT_TAG 1fb50273e4abfebb6b78cdfe35989b1c66792839
64
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
duckdb_extension_load(httpfs
22
LOAD_TESTS
33
GIT_URL https://github.com/duckdb/duckdb-httpfs
4-
GIT_TAG add35a03c1adfe530bb4ef69133b94fe8ec8ea35
4+
GIT_TAG fdf3d6fccdfd8b9633b59026f7885dda8dc9c444
55
)

.github/config/extensions/iceberg.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ if (NOT MINGW AND NOT ${WASM_ENABLED})
88
duckdb_extension_load(iceberg
99
#FIXME: restore autoloading tests ${LOAD_ICEBERG_TESTS}
1010
GIT_URL https://github.com/duckdb/duckdb-iceberg
11-
GIT_TAG b3e54a56436d6385c6820ec6843d3e927431f565
12-
APPLY_PATCHES
11+
GIT_TAG a7b58bf9f46941ca7f3dc72b349694496a260f16
1312
)
1413
endif()

.github/patches/extensions/iceberg/file.patch

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

.github/patches/extensions/sqlsmith/fix.patch

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ index dfc5e22..07ec473 100644
2626
class OrderModifier;
2727
class UpdateSetInfo;
2828
diff --git a/src/statement_generator.cpp b/src/statement_generator.cpp
29-
index fc34c7c..5defc4e 100644
29+
index fc34c7c..61476f2 100644
3030
--- a/src/statement_generator.cpp
3131
+++ b/src/statement_generator.cpp
3232
@@ -373,8 +373,9 @@ unique_ptr<QueryNode> StatementGenerator::GenerateQueryNode() {
@@ -41,6 +41,17 @@ index fc34c7c..5defc4e 100644
4141
switch (setop->setop_type) {
4242
case SetOperationType::EXCEPT:
4343
case SetOperationType::INTERSECT:
44+
@@ -467,7 +468,9 @@ unique_ptr<TableRef> StatementGenerator::GenerateBaseTableRef() {
45+
}
46+
case CatalogType::VIEW_ENTRY: {
47+
auto &view = entry.Cast<ViewCatalogEntry>();
48+
- column_count = view.types.size();
49+
+ view.BindView(context);
50+
+ auto view_columns = view.GetColumnInfo();
51+
+ column_count = view_columns->types.size();
52+
break;
53+
}
54+
default:
4455
diff --git a/src/statement_simplifier.cpp b/src/statement_simplifier.cpp
4556
index 2cd7f06..4602928 100644
4657
--- a/src/statement_simplifier.cpp

.github/workflows/Main.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,19 +467,27 @@ jobs:
467467
if: (success() || failure()) && steps.build.conclusion == 'success'
468468
shell: bash
469469
run: |
470-
python3 scripts/test_storage_compatibility.py --versions "1.2.1|1.3.2" --new-unittest build/release/test/unittest
470+
python3 scripts/test_storage_compatibility.py --versions "1.2.1|1.3.2|1.4.3" --new-unittest build/release/test/unittest
471+
471472
472473
# TODO: clean this up: we should probably be able to run this whole test suite with httpfs
473474
# We want to run the remainder of tests with httpfs
475+
- name: Setup vcpkg
476+
uses: lukka/run-vcpkg@v11.1
477+
with:
478+
vcpkgGitCommitId: 84bab45d415d22042bd0b9081aea57f362da3f35
479+
474480
- name: Build with httpfs extension
475481
id: build-httpfs
476482
shell: bash
477483
if: (success() || failure()) && steps.build.conclusion == 'success'
478484
env:
479485
CORE_EXTENSIONS: "json;parquet;icu;tpch;tpcds;httpfs"
480486
GEN: ninja
487+
VCPKG_TOOLCHAIN_PATH: ${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake
488+
USE_MERGED_VCPKG_MANIFEST: 1
481489
run:
482-
make
490+
make clean && make
483491

484492
- name: test/configs/encryption.json
485493
if: (success() || failure()) && steps.build.conclusion == 'success'

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,10 +534,16 @@ bundle-setup:
534534
mkdir -p bundle && \
535535
cp src/libduckdb_static.a bundle/. && \
536536
cp third_party/*/libduckdb_*.a bundle/. && \
537-
cp extension/lib*_extension_loader.a bundle/. && \
537+
cp extension/libduckdb_generated_extension_loader.a bundle/. && \
538538
cp extension/*/lib*_extension.a bundle/. && \
539539
mkdir -p vcpkg_installed && \
540540
find vcpkg_installed -name '*.a' -exec cp {} bundle/. \; && \
541+
mkdir -p _deps && \
542+
if [ -f linked_libs.txt ]; then \
543+
while IFS= read -r libline || [ -n "$$libline" ]; do \
544+
find _deps -path "*/$$libline" -exec cp {} bundle/. \; 2>/dev/null || true; \
545+
done < linked_libs.txt; \
546+
fi && \
541547
cd bundle && \
542548
find . -name '*.a' -exec mkdir -p {}.objects \; -exec mv {} {}.objects \; && \
543549
find . -name '*.a' -execdir ${AR} -x {} \;
@@ -559,5 +565,5 @@ gather-libs: release
559565
mkdir -p libs && \
560566
cp src/libduckdb_static.a libs/. && \
561567
cp third_party/*/libduckdb_*.a libs/. && \
562-
cp extension/lib*_extension_loader.a libs/. && \
568+
cp extension/libduckdb_generated_extension_loader.a libs/. && \
563569
cp extension/*/lib*_extension.a libs/.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# name: benchmark/micro/list/list_comprehension_if.benchmark
2+
# description: List comprehension without tuple indices
3+
# group: [list]
4+
5+
name List Comprehension with If
6+
group micro
7+
subgroup list
8+
9+
load
10+
CREATE TABLE t AS SELECT range(1, 100) AS values FROM range(1, 10001) t(i);
11+
12+
run
13+
SELECT [ v * 2 FOR v IN values IF v % 7 = 0 ] FROM t;
14+

extension/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# include generated includes
1010
include_directories("${PROJECT_BINARY_DIR}/codegen/include/")
1111

12-
add_library(dummy_static_extension_loader
12+
add_library(dummy_static_extension_loader STATIC
1313
loader/dummy_static_extension_loader.cpp)
1414

1515
install(
@@ -101,7 +101,7 @@ add_definitions(-DDUCKDB_MAJOR_VERSION=${DUCKDB_MAJOR_VERSION})
101101
add_definitions(-DDUCKDB_MINOR_VERSION=${DUCKDB_MINOR_VERSION})
102102
add_definitions(-DDUCKDB_PATCH_VERSION=${DUCKDB_PATCH_VERSION})
103103

104-
add_library(duckdb_generated_extension_loader OBJECT ${GENERATED_CPP_FILE})
104+
add_library(duckdb_generated_extension_loader STATIC ${GENERATED_CPP_FILE})
105105

106106
set(ALL_OBJECT_FILES
107107
${ALL_OBJECT_FILES} $<TARGET_OBJECTS:duckdb_generated_extension_loader>

0 commit comments

Comments
 (0)