datasette icon indicating copy to clipboard operation
datasette copied to clipboard

Support for duckdb

Open ahuang11 opened this issue 2 years ago • 2 comments

I was experimenting with the CLI and wanted to do: datasette nino_ml.csv

Then I realized because it's not an SQLite database, it doesn't work. However, if duckdb is incorporated, I believe it could work.

ahuang11 avatar Jan 05 '24 21:01 ahuang11

Is your need to support opening csv in datasette? You can give a try to this shell script: csv2datasette. No need to support duckdb.

CharlesNepote avatar Feb 01 '24 17:02 CharlesNepote

:+1:

I agree that there's a clear alignment between what datasette and what duckdb are trying to facilitate: access to data for analytics!!

While I understand that datasette might have started development before duckdb (at least before it has become any popular), I'd go as far as to say that there should be a port of datasette to duckdb (instead of sqllite) as that newer engine was made specifically for analytical workloads (column oriented and so on...) plus it actually comes with a lot of pretty useful features baked-in that would make some of the datasette plugins, specific to sqllite, redundant (and not need to be ported at all, hence reducing the project area :+1: )

b-luu avatar Jul 23 '24 14:07 b-luu