Skip to content
DuckDB community extension

file_dialog

Choose a file via native file dialog

01 / SETUP

Install and load

Run these commands in a Haybarn SQL session. The extension is available from the community repository.

Haybarn 2.0.0 · SQL
INSTALL file_dialog FROM community;
LOAD file_dialog FROM community;

Using upstream DuckDB? Follow the maintainer’s installation instructions.

02 / QUERY

Usage example

SQL
FROM read_csv(choose_file());

-- Optionally, you can filter files by the extension. For example, this
-- makes the dialog list CSV files only
FROM read_csv(choose_file('csv'));

Provided by yutannihilation. Not yet verified on Haybarn 2.0.0.

Sample data & setup

About this extension

This extension is a tiny utility to choose a file interactively.

Project overview from the community descriptor.

Documentation and resources

Project and build details
Repository
yutannihilation/duckdb-ext-file-dialog
License
MIT
Maintainers
yutannihilation
Written in
Rust
Build source
c8c1d081d94f
Build definition
Community descriptor