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 ODBC driver usage #615

Merged
merged 2 commits into from
Nov 5, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
docs: Remove documentation for files restricted to CWD
peasee committed Nov 4, 2024

Verified

This commit was signed with the committer’s verified signature.
jorenham Joren Hammudoglu
commit e6f2af2b0e809dda1ee37bd5b6cf3daaa654454f
8 changes: 1 addition & 7 deletions spiceaidocs/docs/components/data-accelerators/duckdb.md
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ datasets:

The DuckDB accelerator can be configured by providing the following `params`:

- `duckdb_file`: The name for the file to back the DuckDB database. If the file does not exist, it will be created. Only applies if `mode` is `file`. Must reference a file in the current working directory.
- `duckdb_file`: The name for the file to back the DuckDB database. If the file does not exist, it will be created. Only applies if `mode` is `file`.

Configuration `params` are provided in the `acceleration` section for a data store. Other common `acceleration` fields can be configured for DuckDB, see see [datasets](/reference/spicepod/datasets.md).

@@ -34,12 +34,6 @@ datasets:
duckdb_file: /my/chosen/location/duckdb.db
```

:::info

When using `mode: file`, the DuckDB database file must reference a location in the current working directory, and cannot be a symbolic link.

:::

:::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, boolean arrays/lists, structs, nested structs or map fields. For example:
8 changes: 1 addition & 7 deletions spiceaidocs/docs/components/data-accelerators/sqlite.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ datasets:

The connection to SQLite can be configured by providing the following `params`:

- `sqlite_file`: The filename for the file to back the SQLite database. Only applies if `mode` is `file`. Must reference a file in the current working directory.
- `sqlite_file`: The filename for the file to back the SQLite database. Only applies if `mode` is `file`.
- `busy_timeout`: Optional. Specifies the duration for the SQLite [busy timeout](https://www.sqlite.org/c3ref/busy_timeout.html) when connecting to the database file. Default: 5000 ms.

Configuration `params` are provided in the `acceleration` section of a dataset. Other common `acceleration` fields can be configured for sqlite, see see [datasets](/reference/spicepod/datasets.md).
@@ -36,12 +36,6 @@ datasets:
sqlite_file: /my/chosen/location/sqlite.db
```

:::info

When using `mode: file`, the SQLite database file must reference a location in the current working directory, and cannot be a symbolic link.

:::

:::warning[Limitations]

- The SQLite accelerator doesn't support arrow `Interval` types, as [SQLite](https://www.sqlite.org/lang_datefunc.html) doesn't have a native interval type.
6 changes: 0 additions & 6 deletions spiceaidocs/docs/components/secret-stores/env/index.md
Original file line number Diff line number Diff line change
@@ -77,12 +77,6 @@ secrets:
file_path: ./custom/path/to/.env
```

:::info

When using a custom `.env` file with `file_path`, the path must reference a file in the current working directory and cannot be a symbolic link.

:::

To continue loading `.env` or `.env.local`, specify them as additional secret stores:

```yaml