tursodatabase/libsql

Integrate a https/S3 extension

Open

#138 opened on Mar 5, 2023

View on GitHub
 (0 comments) (2 reactions) (0 assignees)C (490 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (16,744 stars)
PR merge metrics
 (Avg merge 23h 19m) (1 merged PR in 30d)

Description

DuckDB folks implemented an extremely nice HTTPS extension: https://duckdb.org/docs/extensions/httpfs.html.

Let's figure out how to add one to libSQL as well. DuckDB's syntax: SELECT * FROM 'https://domain.tld/file.extension sounds extremely self-explanatory and useful, so I suggest we just follow suit. Perhaps by having a special built-in VFS implementation capable of reading files from https, and reading+writing to S3 endpoints. Then, the syntax "SELECT * from 'url'" can transparently use this VFS.

Contributor guide