diff --git a/Makefile b/Makefile index 59ecd60..0cd93dc 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ ifeq ($(GEN),ninja) FORCE_COLOR=-DFORCE_COLORED_OUTPUT=1 endif -BUILD_FLAGS=-DEXTENSION_STATIC_BUILD=1 -DBUILD_EXTENSIONS="tpch" ${OSX_ARCH_FLAG} +BUILD_FLAGS=-DEXTENSION_STATIC_BUILD=1 -DBUILD_EXTENSIONS="tpch;httpfs" ${OSX_ARCH_FLAG} CLIENT_FLAGS := diff --git a/test/sql/scanner/httpfs.test b/test/sql/scanner/httpfs.test new file mode 100644 index 0000000..2d4fcb8 --- /dev/null +++ b/test/sql/scanner/httpfs.test @@ -0,0 +1,13 @@ +# name: test/sql/scanner/httpfs.test +# description: test database over https +# group: [sqlite_scanner] + +require sqlite_scanner + +require httpfs + +statement ok +FROM sqlite_scan('https://raw.githubusercontent.com/duckdblabs/sqlite_scanner/main/data/db/sakila.db', 'film'); + +statement ok +CALL sqlite_attach('https://raw.githubusercontent.com/duckdblabs/sqlite_scanner/main/data/db/count.db');