Skip to content

Commit

Permalink
duckdbvfs: Add httpfs test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi committed Sep 19, 2023
1 parent 15c2b77 commit 31a884a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 :=

Expand Down
13 changes: 13 additions & 0 deletions test/sql/scanner/httpfs.test
Original file line number Diff line number Diff line change
@@ -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');

0 comments on commit 31a884a

Please sign in to comment.