Skip to content

Commit

Permalink
fix docs code section types
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Mar 27, 2024
1 parent 617b009 commit 6483e0c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions docs/website/docs/dlt-ecosystem/destinations/dremio.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ keywords: [dremio, iceberg, aws, glue catalog]

## Install dlt with Dremio
**To install the DLT library with Dremio and s3 dependencies:**
```
```sh
pip install dlt[dremio,s3]
```

## Setup Guide
### 1. Initialize the dlt project

Let's start by initializing a new dlt project as follows:
```bash
```sh
dlt init chess dremio
```
> 💡 This command will initialise your pipeline with chess as the source and aws dremio as the destination using the filesystem staging destination
Expand All @@ -25,7 +25,7 @@ Let's start by initializing a new dlt project as follows:
### 2. Setup bucket storage and dremio credentials

First install dependencies by running:
```
```sh
pip install -r requirements.txt
```
or with `pip install dlt[dremio,s3]` which will install `s3fs`, `pyarrow`, and `botocore` packages.
Expand Down Expand Up @@ -89,7 +89,7 @@ Using a staging destination is mandatory when using the dremio destination. If y

## Table Partitioning and Local Sort
Apache Iceberg table partitions and local sort properties can be configured as shown below:
```python
```py
import dlt
from dlt.common.schema import TColumnSchema

Expand All @@ -112,7 +112,4 @@ This will result in `PARTITION BY ("foo","bar")` and `LOCALSORT BY ("baz")` clau
### Syncing of `dlt` state
- This destination fully supports [dlt state sync](../../general-usage/state#syncing-state-with-destination).


<!--@@@DLT_SNIPPET_START tuba::dremio-->
## Additional Setup guides
<!--@@@DLT_SNIPPET_END tuba::dremio-->
<!--@@@DLT_TUBA dremio-->

0 comments on commit 6483e0c

Please sign in to comment.