Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update duckdb limitations #555

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions spiceaidocs/docs/components/data-accelerators/duckdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ datasets:

:::warning[Limitations]

- The DuckDB accelerator does not support schemas with [field types](https://duckdb.org/docs/sql/data_types/overview): nested arrays/lists, UTF8/string arrays/lists, structs, nested structs or map fields. For example:
- The DuckDB accelerator does not support schemas with [field types](https://duckdb.org/docs/sql/data_types/overview): nested arrays/lists, UTF8/string arrays/lists, boolean arrays/lists, structs, nested structs or map fields. For example:
- Supported:
- `SELECT [1, 2, 3];`
- `SELECT ['1992-09-20 11:30:00.123456789', 'epoch'::TIMESTAMP]`
Expand All @@ -45,8 +45,8 @@ datasets:
- `SELECT {'x': 1, 'y': 2, 'z': 3}`
- `SELECT MAP(['key1', 'key2', 'key3'], [10, 20, 30])`
- `SELECT ['duck', 'goose', 'heron'];`
- `SELECT [true, false];`
- The DuckDB accelerator does not support `Decimal256` (76 digits), as it exceeds DuckDB's maximum Decimal width of 38 digits.
- The DuckDB accelerator does not support using the same `duckdb_file` for multiple accelerated datasets.
- Updating a dataset with DuckDB acceleration while the Spice Runtime is running (hot-reload) will cause DuckDB accelerator query federation to disable until the Runtime is restarted.

:::
Expand All @@ -57,4 +57,4 @@ When accelerating a dataset using `mode: memory` (the default), some or all of t

In-memory limitations can be mitigated by storing acceleration data on disk, which is supported by [`duckdb`](./duckdb.md) and [`sqlite`](./sqlite.md) accelerators by specifying `mode: file`.

:::
:::