Choosing an Engine
The same Wvlet query runs on Wvlet's own engine or, compiled to SQL, on a database. wvlet run and wv use the Wvlet engine unless you pass -t or --profile.
| Engine | Pick it when | Select it with |
|---|---|---|
| Wvlet engine | Your data is in local Parquet, Iceberg, JSON, or CSV files, or you want no database to install | Default; -t wvlet |
| Wvlet engine in the browser or Node.js | You want to try Wvlet with no install, or run it from the npm CLI | The Playground; wvlet run from @wvlet/cli |
| Wvlet engine with GPU (experimental) | You have an NVIDIA GPU and want to try offloading joins and aggregations | sbt only, from the repository |
| DuckDB | You need sql"..." / execute statements, .duckdb files, DuckDB extensions, or table functions such as read_csv(...) | -t duckdb or a "type": "duckdb" profile (npm CLI, or the JVM full package) |
| Trino | Your tables live in a Trino cluster | A Trino profile, --profile <name> |
| Snowflake | Your tables live in Snowflake | A Snowflake profile, --profile <name> (JVM full package) |
wvlet compilegenerates DuckDB SQL by default; see Generate SQL Queries.- One profile can hold several connectors, and
use <connector>switches between them; see Working with Multiple Connectors. - With
--host,-t wvletsends queries to a remote Wvlet server instead of running them in-process.