Skip to content

Commit

Permalink
fix: pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar-salvi-apptware committed Jan 17, 2025
1 parent 0b54bb6 commit f08b827
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions metadata-ingestion/docs/sources/looker/lookml_post.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@
db: ANALYTICS_PROD
```
2. If a view contains a LookML constant (e.g., `sql_table_name: @{db}.kafka_streaming.events;`), its value is resolved in the following order:
2. If your LookML code references a constant (e.g., `sql_table_name: @{db}.kafka_streaming.events;`), its value is resolved in the following order:

- **First, checks the `manifest.lkml` file** for the constant definition.
```manifest.lkml
constant: db {
value: "ANALYTICS_PROD"
}
```
```manifest.lkml
constant: db {
value: "ANALYTICS_PROD"
}
```
- **If not found, falls back to `config`**

```yml
lookml_constants:
db: ANALYTICS_PROD
```
```

### Multi-Project LookML (Advanced)

Expand Down

0 comments on commit f08b827

Please sign in to comment.