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

Fixing Redshift config typos #3987

Merged
merged 22 commits into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
bd421b4
Create may-ide-updates.md
runleonarun May 31, 2023
390b655
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun May 31, 2023
f3c32ff
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
951ffb1
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
a33c4e7
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
f53cafe
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
d94d16f
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
f35c75f
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
136c340
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
runleonarun Jun 1, 2023
901aaa1
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
mirnawong1 Jun 1, 2023
3d3d010
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
mirnawong1 Jun 1, 2023
4923080
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
mirnawong1 Jun 1, 2023
3201b4d
Update website/docs/docs/dbt-versions/release-notes/08-May-2023/may-i…
mirnawong1 Jun 1, 2023
0cd65a1
Update redshift-configs.md
runleonarun Aug 29, 2023
fed1bd1
Update website/docs/reference/resource-configs/redshift-configs.md
runleonarun Aug 30, 2023
58f9c6a
Update website/docs/reference/resource-configs/redshift-configs.md
runleonarun Aug 30, 2023
acd2eaf
Update website/docs/reference/resource-configs/redshift-configs.md
runleonarun Aug 30, 2023
3200af7
Merge branch 'current' into runleonarun-patch-8
mirnawong1 Aug 30, 2023
1591f0f
Merge branch 'runleonarun-patch-8' of https://github.com/dbt-labs/doc…
mirnawong1 Aug 30, 2023
544f87e
fix spcing for versionblock
mirnawong1 Aug 30, 2023
cd5c349
Update may-ide-updates.md
mirnawong1 Aug 30, 2023
5a6eab8
Merge branch 'current' into runleonarun-patch-8
mirnawong1 Aug 30, 2023
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
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
---
title: "May IDE updates and fixes"
id: "may-ide-updates"
description: "May 2023 release note: We've launched SQLFluff in beta, released an IDE UI page, significantly improved IDE performance, improved error messages, fixed bugs, and more."
sidebar_label: "Update and fixes: IDE"
sidebar_position: 2
tags: [May-2023, IDE]
---

To continue improving your [Cloud IDE](/docs/cloud/dbt-cloud-ide/develop-in-the-cloud) development experience, the dbt Labs team continues to work on adding new features, fixing bugs, and increasing reliability ✨.

Stay up-to-date with [IDE-related changes](/tags/ide).

## New features
- Lint via SQL Fluff is now available in beta (GA over the next 2-3 weeks)
- Format markdown files with prettier
- Leverage developer experience shortcuts, including ``Ctrl + ` `` (toggle history drawer), `CMD + Option + /` (toggle block comment), `CMD + Shift + P` (open command palette), `Option + W` (close editor tab)
- Display parent folder name for files with same name in Changes section
- Navigate the new IDE features quickly using [the IDE User Interface](/docs/cloud/dbt-cloud-ide/ide-user-interface) help page
- Use `top X` in SQL when previewing in the IDE
- Opt into the new IDE backend layer over the past month (still with dbt-rpc). Ready for beta later in June!


## Product refinements

- Performance-related upgrades:
- Reduced cold start time by 60+%
- Improved render time of modals in the IDE by 98%
- Improved IDE performance with dbt Core v1.5+ (faster and snappier – highly encourage you to [upgrade your dbt version](/docs/dbt-versions/upgrade-core-in-cloud)!)
- Upgraded sqlfmt (which powers the Format button) to 0.18.0
- Updated Build button to change menu options based on file/model type (snapshot, macro, etc.)
- Display message to disable adblocker for file contents error
- Moved Format button to console bar
- Made many security enhancements in the IDE
## Bug fixes

- File icon sizes no longer get wonky in small screen
- Toast notifications no longer take over command bar menu
- Hover info inside the text editor no longer gets cut off
- Transition between a file and a recently modified scratchpad no longer triggers a console error
- dbt v1.5+ now can access the IDE
- Confirm button on the Unsaved Changes modal now closes after clicking it
- Long node names no longer overflow in the parsed logs section in history drawer
- Status pill in history drawer no longer scales with longer command
- Tooltip for tab name with a long file name is no longer cut off
- Lint button should no longer available in main branch
---
title: "May IDE updates and fixes"
id: "may-ide-updates"
description: "May 2023 release note: We've launched SQLFluff in beta, released an IDE UI page, significantly improved IDE performance, improved error messages, fixed bugs, and more."
sidebar_label: "Update and fixes: IDE"
sidebar_position: 2
tags: [May-2023, IDE]
---
To continue improving your [Cloud IDE](/docs/cloud/dbt-cloud-ide/develop-in-the-cloud) development experience, the dbt Labs team continues to work on adding new features, fixing bugs, and increasing reliability ✨.
Stay up-to-date with [IDE-related changes](/tags/ide).
## New features
- Lint via SQL Fluff is now available in beta (GA over the next 2-3 weeks)
- Format markdown files with prettier
- Leverage developer experience shortcuts, including ``Ctrl + ` `` (toggle history drawer), `CMD + Option + /` (toggle block comment), `CMD + Shift + P` (open command palette), `Option + W` (close editor tab)
- Display parent folder name for files with same name in Changes section
- Navigate the new IDE features quickly using [the IDE User Interface](/docs/cloud/dbt-cloud-ide/ide-user-interface) help page
- Use `top X` in SQL when previewing in the IDE
- Opt into the new IDE backend layer over the past month (still with dbt-rpc). Ready for beta later in June!
## Product refinements
- Performance-related upgrades:
- Reduced cold start time by 60+%
- Improved render time of modals in the IDE by 98%
- Improved IDE performance with dbt Core v1.5+ (faster and snappier – highly encourage you to [upgrade your dbt version](/docs/dbt-versions/upgrade-core-in-cloud)!)
- Upgraded sqlfmt (which powers the Format button) to 0.18.0
- Updated Build button to change menu options based on file/model type (snapshot, macro, etc.)
- Display message to disable adblocker for file contents error
- Moved Format button to console bar
- Made many security enhancements in the IDE
## Bug fixes
- File icon sizes no longer get wonky in small screen
- Toast notifications no longer take over command bar menu
- Hover info inside the text editor no longer gets cut off
- Transition between a file and a recently modified scratchpad no longer triggers a console error
- dbt v1.5+ now can access the IDE
- Confirm button on the Unsaved Changes modal now closes after clicking it
- Long node names no longer overflow in the parsed logs section in history drawer
- Status pill in history drawer no longer scales with longer command
- Tooltip for tab name with a long file name is no longer cut off
- Lint button should no longer available in main branch
9 changes: 7 additions & 2 deletions website/docs/reference/resource-configs/redshift-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,27 @@ To-do:
In dbt-redshift, the following incremental materialization strategies are supported:

<VersionBlock lastVersion="1.5">
runleonarun marked this conversation as resolved.
Show resolved Hide resolved

- `append` (default)
- `delete+insert`

</VersionBlock>

<VersionBlock firstVersion="1.6">

- `append` (default)
- `merge`
- `delete+insert`

</VersionBlock>

All of these strategies are inheirited via from dbt-postgres.
All of these strategies are inherited from dbt-postgres.

## Performance optimizations

### Using sortkey and distkey

Tables in Amazon Redshift have two powerful optimizations to improve query performance: distkeys and sortkeys. Supplying these values as model-level configurations apply the corresponding settings in the generated `CREATE TABLE` <Term id="ddl" />. Note that these settings will have no effect for models set to `view` or `ephemeral` models.
Tables in Amazon Redshift have two powerful optimizations to improve query performance: distkeys and sortkeys. Supplying these values as model-level configurations apply the corresponding settings in the generated `CREATE TABLE` <Term id="ddl" />. Note that these settings will have no effect on models set to `view` or `ephemeral` models.

- `dist` can have a setting of `all`, `even`, `auto`, or the name of a key.
- `sort` accepts a list of sort keys, for example: `['timestamp', 'userid']`. dbt will build the sort key in the same order the fields are supplied.
Expand Down
Loading