Skip to content

Commit

Permalink
removed schedule refresh from line items cube
Browse files Browse the repository at this point in the history
  • Loading branch information
bruk committed Oct 29, 2024
1 parent ea27580 commit 4604e41
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{% set scheduled_refresh = get_scheduled_refresh() %}

cubes:
- name: line_items
sql_table: ECOM.LINE_ITEMS
Expand Down Expand Up @@ -34,7 +32,6 @@ cubes:

pre_aggregations:
- name: line_items_summary
scheduled_refresh: {{ scheduled_refresh }}
measures:
- count
- total_amount
Expand Down
2 changes: 1 addition & 1 deletion model/cubes/users.yml.jinja → model/cubes/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{# Convenient function to mask values if the current team is not trusted #}
{% macro masked(sql, is_visible) -%}
{{ sql if is_visible else "\"'--- masked ---'\"" }}
{{ sql if is_visible else "\"'--- masked ---'\"" }}
{%- endmacro %}

cubes:
Expand Down

0 comments on commit 4604e41

Please sign in to comment.