FlipsideCrypto / terra-models

Data models for the Terra blockchain, originally built by the MetricsDAO community.
https://flipsidecrypto.github.io/terra-models/
MIT License
0 stars 5 forks source link

add jinja to fix the break #70

Closed robel91 closed 1 year ago

robel91 commented 1 year ago

all_test_passing


PS C:\Users\Owner\git_flipside\terra_dbt> dbt run -m models\core\core__ez_swaps.sql               
23:12:55  Running with dbt=1.2.1
23:12:55  Found 67 models, 567 tests, 0 snapshots, 0 analyses, 693 macros, 2 operations, 0 seed files, 44 sources, 0 exposures, 0 metrics
23:12:55  
23:13:04  
23:13:04  Running 2 on-run-start hooks
23:13:04  1 of 2 START hook: terra.on-run-start.0 ........................................ [RUN]
23:13:04  1 of 2 OK hook: terra.on-run-start.0 ........................................... [OK in 0.00s]
23:13:04  2 of 2 START hook: terra.on-run-start.1 ........................................ [RUN]
23:13:13  2 of 2 OK hook: terra.on-run-start.1 ........................................... [SUCCESS 1 in 8.96s]
23:13:13
23:13:13  Concurrency: 4 threads (target='dev')
23:13:13  
23:13:13  1 of 1 START view model core.ez_swaps .......................................... [RUN]
23:13:15  1 of 1 OK created view model core.ez_swaps ..................................... [SUCCESS 1 in 1.82s]
23:13:15
23:13:15  Finished running 1 view model, 2 hooks in 0 hours 0 minutes and 19.88 seconds (19.88s).
23:13:15  
23:13:15  Completed successfully

```# Description

_Please include a summary of changes and related issue (if any)._

# Tests

- [ ] Please provide evidence of your successful `dbt run` / `dbt test` here
- [ ] Any comparison between `prod` and `dev` for any schema change

# Checklist
- [ ] Follow [dbt style guide](https://github.com/dbt-labs/corp/blob/main/dbt_style_guide.md)
- [ ] Run `git merge main` to pull any changes from remote into your branch prior to merge.
- [ ] Tag the person(s) responsible for reviewing proposed changes
- [ ] **IMPORTANT** Note for deployment if a `full-refresh` is needed for any model this PR impacts.
     - If any schema is changing, whether it be a table or a view, we will need to run a `full-refresh` in prod to avoid errors with the scheduled refresh jobs.
     - The PR can be reviewed, but should not be merged unless by someone with prod access.
         - Tag `forgxyz` if a full-refresh will be required on prod.
forgxyz commented 1 year ago

Note for deployment - a full-refresh is required due to the changing unique key

robel91 commented 1 year ago

Thanks @forgxyz . I will update them now