-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add current_timestamp to prevent empty query caching * add changie log (cherry picked from commit 1b8cae2) Co-authored-by: Mykola Dementiev <[email protected]>
- Loading branch information
1 parent
3a5e868
commit 3e3abb3
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Fixes | ||
body: Fix contact validation failure on query data types change | ||
time: 2023-08-04T00:58:17.97704+03:00 | ||
custom: | ||
Author: dementiev27 | ||
Issue: "861" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{% macro bigquery__get_empty_subquery_sql(select_sql, select_sql_header=none) %} | ||
{%- if select_sql_header is not none -%} | ||
{{ select_sql_header }} | ||
{%- endif -%} | ||
select * from ( | ||
{{ select_sql }} | ||
) as __dbt_sbq | ||
where false and current_timestamp() = current_timestamp() | ||
limit 0 | ||
{% endmacro %} |