Skip to content

Commit

Permalink
fixed broken links
Browse files Browse the repository at this point in the history
just need to work a bit more on the reference and test alerts then should be ready
  • Loading branch information
royendo committed Nov 14, 2024
1 parent 9a0f7d4 commit 1c97974
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/docs/build/credentials/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ At a high level, configuring credentials and credentials management in Rill can
## Setting credentials for Rill Developer

When reading from a source (or using a different OLAP engine), Rill will attempt to use existing credentials that have been configured on your machine.
1. Credentials that have been configured in your local environment via the CLI (for [AWS](../../reference/connectors/s3.md#local-credentials) / [Azure](../../reference/connectors/azure.md#local-credentials) / [Google Cloud](../../reference/connectors/gcs.md#local-credentials))
1. Credentials that have been configured in your local environment via the CLI (for [AWS](../../reference/connectors/s3.md#local-credentials) / [Azure](../../reference/connectors/azure.md#local-credentials) / [Google Cloud](../../reference/connectors/gcs#rill-developer-local-credentials))
2. Credentials that have been passed in directly through the connection string or DSN (typically for databases - see [Source YAML](../../reference/project-files/sources.md) and [Connector YAML](../../reference/project-files/connectors.md) for more details)
3. Credentials that have been passed in as a [variable](../../deploy/templating.md) when starting Rill Developer via `rill start --env key=value`
4. Credentials that have been specified in your *`<RILL_PROJECT_HOME>/.env`* file
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/build/incremental-models/incremental-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,18 @@ Incremental models with neither `state` nor `partition` defined will append data
:::
### Incremental Models with State defined

If your data is not [partitioned](partitions.md), you can define the incremental model with a predefined `state` parameter.
If your data is not [partitioned](#what-are-partitions), you can define the incremental model with a predefined `state` parameter.

```yaml
type: model
incremental: true
state:
sql: SELECT MAX(date) as date FROM TABLE
sql: |
SELECT * FROM TABLE
{{ if incremental }} WHERE COL_DATE = TO_DATE( '{{ .state.date }}', 'YYYY-MM-DD') + INTERVAL '1 day' {{ end }}
state:
sql: SELECT MAX(date) as date FROM TABLE
```

Once state is defined in an incremental model, its value can be used as a variable in your SQL statement. In the above example, the state returns the most recent `date` value from `TABLE` and adds an additional day. Then, the SQL statement will run based on the WHERE clause.
Expand Down
4 changes: 3 additions & 1 deletion docs/docs/reference/project-files/advanced-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ sidebar_position: 35
hide_table_of_contents: true
---

In some cases, advanced models will be required when implementing advanced features such as incremental partitioned models or staging models.
In some cases, advanced models will be required when implementing advanced features such as incremental partitioned models or staging models.


## Properties

**`type`** - refers to the resource type and must be 'model'_(required)_
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/tutorials/rill_basics/4-metrics-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:

### What is a Metrics View?
:::note
Starting from version 0.50, we have officially split the metrics view and dashboard and rolled out [visual metric editor](#via-the-ui) What this means is that we have a separate file for the metrics layer and a dashboard built on top of this. For more reasoning behind this change, please refer to our documentation.
Starting from version 0.50, we have officially split the metrics view and dashboard and rolled out [visual metric editor](#via-the-visual-metrics-editor) What this means is that we have a separate file for the metrics layer and a dashboard built on top of this. For more reasoning behind this change, please refer to our documentation.
:::
A metrics view is a layer in which you can create and define your measures and dimensions. Once you have defined your measures and dimensions, you can build the dashboard.

Expand Down
2 changes: 1 addition & 1 deletion docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const sidebars = {

{
type: 'category',
label: 'Incremental Models',
label: 'Advanced Models',

items: [
'tutorials/rill_advanced_features/incremental_models/introduction',
Expand Down

0 comments on commit 1c97974

Please sign in to comment.