Skip to content

Commit

Permalink
Merge pull request #34 from Snowflake-Labs/add_violation_scheduler
Browse files Browse the repository at this point in the history
Remove unneeded violations filter
  • Loading branch information
sfc-gh-pkommini authored Sep 15, 2022
2 parents a6ea800 + 3f2849c commit af2293e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion procedures_js/alert_scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ function get_first_regex_group(regex, s) {

return {
scheduled: exec(FIND_VIEWS)
.filter((v) => ((find_tags(`$${v.qualified_view_name}`, 'VIOLATION_SCHEDULE')[0] == null) && !v.qualified_view_name.contains('VIOLATION_QUERY')))
.map((v) => ({
...v,
view_definition: get_ddl(v.qualified_view_name),
Expand Down

0 comments on commit af2293e

Please sign in to comment.