Skip to content

Commit

Permalink
Merge branch 'current' into mirnawong1-patch-26
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Mar 13, 2024
2 parents c1f3968 + 0d1d5ee commit 14ad4a4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
8 changes: 5 additions & 3 deletions website/docs/docs/core/connect-data-platform/athena-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,14 @@ default:
dev:
type: athena
s3_staging_dir: [s3_staging_dir]
s3_data_dir: [s3_data_dir]
s3_data_naming: [table_unique] # the type of naming convention used when writing to S3
region_name: [region_name]
database: [database name]
schema: [dev_schema]
aws_profile_name:
[optional, profile to use from your AWS shared credentials file.]

aws_profile_name: [optional profile to use from your AWS shared credentials file.]
threads: [1 or more]
num_retries: [0 or more] # number of retries performed by the adapter. Defaults to 5
target: dev
```
Expand Down
27 changes: 21 additions & 6 deletions website/docs/docs/core/connect-data-platform/teradata-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ meta:
config_page: '/reference/resource-configs/teradata-configs'
---

Some core functionality may be limited. If you're interested in contributing, check out the source code for the repository listed below.
Some core functionality may be limited. If you're interested in contributing, check out the source code in the repository listed in the next section.


import SetUpPages from '/snippets/_setup-pages-intro.md';
Expand Down Expand Up @@ -46,7 +46,7 @@ import SetUpPages from '/snippets/_setup-pages-intro.md';
|--------------|------------|-------------------|----------------|
| 1.2.x | 1.2.x | 0.1.0 | 0.9.x or below |
| 1.6.7 | 1.6.7 | 1.1.1 | 1.1.1 |
| 1.7.0 | 1.7.3 | 1.1.1 | 1.1.1 |
| 1.7.1 | 1.7.3 | 1.1.1 | 1.1.1 |


### Connecting to Teradata
Expand Down Expand Up @@ -149,15 +149,26 @@ To learn more about dbt incremental strategies please check [the dbt incremental
All dbt commands are supported.

## Support for model contracts
Model contracts are not yet supported with dbt-teradata.
Model contracts are supported with dbt-teradata v1.7.1 and onwards.
Constraint support and enforcement in dbt-teradata:

| Constraint type | Support Platform | enforcement |
|-----------------|------------------|-------------|
| not_null | ✅ Supported | ✅ Enforced |
| primary_key | ✅ Supported | ✅ Enforced |
| foreign_key | ✅ Supported | ✅ Enforced |
| unique | ✅ Supported | ✅ Enforced |
| check | ✅ Supported | ✅ Enforced |

Refer to [Model contracts](/docs/collaborate/govern/model-contracts) for more info.

## Support for `dbt-utils` package
`dbt-utils` package is supported through `teradata/teradata_utils` dbt package. The package provides a compatibility layer between `dbt_utils` and `dbt-teradata`. See [teradata_utils](https://hub.getdbt.com/teradata/teradata_utils/latest/) package for install instructions.

### Cross DB macros
Starting with release 1.3, some macros were migrated from [teradata-dbt-utils](https://github.com/Teradata/dbt-teradata-utils) dbt package to the connector. See the table below for the macros supported from the connector.
Starting with release 1.3, some macros were migrated from [teradata-dbt-utils](https://github.com/Teradata/dbt-teradata-utils) dbt package to the connector. Refer the following table for the macros supported by the connector.

For using cross DB macros, teradata-utils as a macro namespace will not be used, as cross DB macros have been migrated from teradata-utils to Dbt-Teradata.
For using cross-DB macros, teradata-utils as a macro namespace will not be used, as cross-DB macros have been migrated from teradata-utils to Dbt-Teradata.


#### Compatibility
Expand Down Expand Up @@ -217,7 +228,11 @@ For using cross DB macros, teradata-utils as a macro namespace will not be used,
## Limitations

### Transaction mode
Only ANSI transaction mode is supported.
Both ANSI and TERA modes are now supported in dbt-teradata. TERA mode's support is introduced with dbt-teradata 1.7.1, it is an initial implementation.

:::info TERA transaction mode
This is an initial implementation of the TERA transaction mode and may not support some use cases. We highly recommend validating all records or transformations using this mode to avoid unexpected issues or errors.
:::

## Credits

Expand Down
4 changes: 2 additions & 2 deletions website/snippets/_enterprise-permissions-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The project roles enable you to work within the projects in various capacities.

#### Account permissions for project roles

| Account-level permission | Admin | Analyst | Database admin | Developer | Git Admin | Job admin | Job runner | Job viewer | Metadata | Semantic Layer | Stakeholder | Team admin | Webhook |
| Account-level permission | Admin | Analyst | Database admin | Developer | Git Admin | Job admin | Job runner | Job viewer | Metadata <br></br>(Discovery API only) | Semantic Layer | Stakeholder | Team admin | Webhook |
|--------------------------|:-----:|:-------:|:--------------:|:---------:|:---------:|:---------:|:-----------:|:-----------:|:--------:|:--------------:|:-----------:|:----------:|:-------:|
| Account settings | R | | R | | R | | | | | | | R | |
| Auth provider | | | | | | | | | | | | | |
Expand All @@ -72,7 +72,7 @@ The project roles enable you to work within the projects in various capacities.

#### Project permissions for project roles

|Project-level permission | Admin | Analyst | Database admin | Developer | Git Admin | Job admin | Job runner | Job viewer | Metadata | Semantic Layer | Stakeholder | Team admin | Webhook |
|Project-level permission | Admin | Analyst | Database admin | Developer | Git Admin | Job admin | Job runner | Job viewer | Metadata <br></br> (Discovery API only) | Semantic Layer | Stakeholder | Team admin | Webhook |
|--------------------------|:-----:|:-------:|:--------------:|:---------:|:---------:|:---------:|:-----------:|:-----------:|:--------:|:--------------:|:-----------:|:----------:|:-------:|
| Connections | W | R | W | R | R | R | | | | | R | R | |
| Credentials | W | W | W | W | R | W | | | | | R | R | |
Expand Down

0 comments on commit 14ad4a4

Please sign in to comment.