Skip to content

Commit c33091e

Browse files
authored
fix: include payload partitions in olap partitions to drop (#2472)
1 parent 99544bb commit c33091e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/repository/v1/sqlcv1/olap.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ WHERE
121121
WHEN @shouldPartitionEventsTables::BOOLEAN THEN TRUE
122122
-- this is a list of all of the tables which are hypertables in timescale, so we should not manually drop their
123123
-- partitions if @shouldPartitionEventsTables is false
124-
ELSE parent_table NOT IN ('v1_events_olap', 'v1_event_to_run_olap', 'v1_cel_evaluation_failures_olap', 'v1_incoming_webhook_validation_failures_olap', 'v1_payloads_olap')
124+
ELSE parent_table NOT IN ('v1_events_olap', 'v1_event_to_run_olap', 'v1_cel_evaluation_failures_olap', 'v1_incoming_webhook_validation_failures_olap')
125125
END
126126
;
127127

pkg/repository/v1/sqlcv1/olap.sql.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)