Skip to content

Commit

Permalink
Updated filesystem docs on how to use for deeply nested JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
dat-a-man committed May 20, 2024
1 parent 4c6f928 commit 7f82688
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/website/docs/dlt-ecosystem/destinations/filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,14 @@ To configure the layout and placeholders using `config.toml`, use the following
layout = "{table_name}/{test_placeholder}/{YYYY}-{MM}-{DD}/{ddd}/{mm}/{load_id}.{file_id}.{ext}"
extra_placeholders = { "test_placeholder" = "test_value" }
current_datetime="2024-04-14T00:00:00"
# for deeply nested layouts
kwargs = '{"auto_mkdir": true}'
```

To set using environment variables:

```sh
export DESTINATION__FILESYSTEM__KWARGS = '{"auto_mkdir": true/false}'
```

:::note
Expand Down

0 comments on commit 7f82688

Please sign in to comment.