interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Add support for DuckDB

Open rdjonsson opened this issue 1 year ago • 3 comments

Since there seems to already be support for sqlite, something similar seems possible for DuckDB? Polyglot notebooks could really use DuckDB's great file I/O capabilities for data wrangling tasks. I may even try to add it myself, but only if someone with knowledge about the ins and outs of the codebase can tell me that it is straightforward.

rdjonsson avatar May 30 '24 21:05 rdjonsson

Have a look at this repo : https://github.com/colombod/dotnet-interactive-extension-lab, this the duck db extension https://github.com/colombod/dotnet-interactive-extension-lab/tree/main/src/DuckDB.InteractiveExtension

colombod avatar Jun 03 '24 17:06 colombod

Thanks! I'll take a look, when I get some time!

rdjonsson avatar Jun 10 '24 10:06 rdjonsson

It works great! The documentation is sparse but everything you need to get it to work can be found in the example notebook. https://github.com/colombod/dotnet-interactive-extension-lab/blob/main/samples/duckDb.dib

rdjonsson avatar Jun 12 '24 13:06 rdjonsson

I'm reopening this since the linked solution is being pulled into this repo and the package will be republished under a different name.

jonsequitur avatar Oct 30 '24 22:10 jonsequitur

The updated package name is Microsoft.DotNet.Interactive.DuckDB. It will be released to nuget.org with the next release of Polyglot Notebooks to VS Code stable.

jonsequitur avatar Oct 31 '24 00:10 jonsequitur