Skip to content

Commit

Permalink
docs: add duckdb default precision
Browse files Browse the repository at this point in the history
  • Loading branch information
donotpush committed Aug 23, 2024
1 parent ebb4426 commit 80d0963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/website/docs/dlt-ecosystem/destinations/duckdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ to disable tz adjustments.

`duckdb` supports various [timestamp types](https://duckdb.org/docs/sql/data_types/timestamp.html). These can be configured using the column flags `timezone` and `precision` in the `dlt.resource` decorator or the `pipeline.run` method.

- **Precision**: supported precision values are 0, 3, and 9 for fractional seconds. Note that `timezone` and `precision` cannot be used together; attempting to combine them will result in an error.
- **Precision**: supported precision values are 0, 3, 6, and 9 for fractional seconds. Note that `timezone` and `precision` cannot be used together; attempting to combine them will result in an error.
- **Timezone**:
- Setting `timezone=False` maps to `TIMESTAMP`.
- Setting `timezone=True` (or omitting the flag, which defaults to `True`) maps to `TIMESTAMP WITH TIME ZONE` (`TIMESTAMPTZ`).
Expand Down

0 comments on commit 80d0963

Please sign in to comment.