Skip to content

Commit

Permalink
fix syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deanna-minnick committed Oct 12, 2022
1 parent 4b31a72 commit 7a2a5e3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions integration_tests/models/sql/test_safe_divide.sql
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@

with data_safe_divide as (

select * from {{ ref('data_safe_divide') }}

),

data_safe_divide_numerator_expressions (
data_safe_divide_numerator_expressions as (

select * from {{ ref('data_safe_divide_numerator_expressions') }}
),

data_safe_divide_denominator_expressions (
data_safe_divide_denominator_expressions as (

select * from {{ ref('data_safe_divide_denominator_expressions') }}
)
Expand All @@ -26,11 +26,13 @@ union all
select
{{ dbt_utils.safe_divide('numerator_1 * numerator_2', 'denominator') }} as actual,
output as expected

from data_safe_divide_numerator_expressions

union all

select
{{ dbt_utils.safe_divide('numerator', 'denominator_1 * denominator_2') }} as actual,
output as expected

from data_safe_divide_denominator_expressions

0 comments on commit 7a2a5e3

Please sign in to comment.