tursodatabase/libsql

Integrate a https/S3 extension

Open

#138 aperta il 5 mar 2023

Vedi su GitHub
 (0 commenti) (2 reazioni) (0 assegnatari)C (490 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (16.744 star)
Metriche merge PR
 (Merge medio 23h 19m) (1 PR mergiata in 30 g)

Descrizione

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.

Guida contributor