File tree Expand file tree Collapse file tree
integration_tests/models/staging/source_1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ sources:
1616 - name : table_2
1717 - name : table_4
1818 - name : table_5
19- freshness : # default freshness
20- warn_after : null
19+ freshness : null
2120 - name : raw_table_5
2221 identifier : table_5
2322
Original file line number Diff line number Diff line change 2424 " cast(" ~ dbt_project_evaluator .is_not_empty_string (node .description ) | trim ~ " as boolean)" ,
2525 " cast(" ~ node .config .enabled ~ " as boolean)" ,
2626 wrap_string_with_quotes(node .loaded_at_field | replace(" '" , " _" )),
27- " cast(" ~ (dbt_project_evaluator .is_not_empty_string (node .freshness .warn_after .count )
28- or dbt_project_evaluator .is_not_empty_string (node .freshness .error_after .count )) | trim ~ " as boolean)" ,
27+ " cast(" ~ (( node . freshness != None) and ( dbt_project_evaluator .is_not_empty_string (node .freshness .warn_after .count )
28+ or dbt_project_evaluator .is_not_empty_string (node .freshness .error_after .count ))) | trim ~ " as boolean)" ,
2929 wrap_string_with_quotes(node .database ),
3030 wrap_string_with_quotes(node .schema ),
3131 wrap_string_with_quotes(node .package_name ),
You can’t perform that action at this time.
0 commit comments