Skip to content

Commit

Permalink
Wrap additional info into VersionBlock components
Browse files Browse the repository at this point in the history
  • Loading branch information
okramarenko committed Nov 17, 2023
1 parent e897498 commit ae50c59
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ title: "SingleStore configurations"
id: "singlestore-configs"
---

<VersionBlock firstVersion="1.4">

## Incremental materialization strategies
The [`incremental_strategy` config](/docs/build/incremental-models#about-incremental_strategy) controls how dbt builds incremental models. Currently, SingleStoreDB supports only the `delete+insert` configuration.

The `delete+insert` incremental strategy directs dbt to follow a two-step incremental approach. Initially, it identifies and removes the records flagged by the configured `is_incremental()` block. Subsequently, it re-inserts these records.

</VersionBlock>

## Performance Optimizations
[SingleStore Physical Database Schema Design documentation](https://docs.singlestore.com/managed-service/en/create-a-database/physical-database-schema-design/concepts-of-physical-database-schema-design.html) is helpful if you want to use specific options (that are described below) in your dbt project.

Expand Down Expand Up @@ -107,6 +111,8 @@ select ...

</File>

<VersionBlock firstVersion="1.5">

## Model contracts

Starting from 1.5, the `dbt-singlestore` adapter supports model contracts.
Expand Down Expand Up @@ -215,3 +221,5 @@ It's important to note that certain data type mappings might show up differently


Just keep these points in mind when setting up and using your `dbt-singlestore` adapter, and you'll avoid common pitfalls!
</VersionBlock>

0 comments on commit ae50c59

Please sign in to comment.