Skip to content

Commit

Permalink
fix: Drop materialize for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed May 2, 2024
1 parent 444d8d6 commit 287c91c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@
)
""".format(table_name=EVENTS_DATA_TABLE(), cluster=settings.CLICKHOUSE_CLUSTER)

EVENTS_TABLE_INSERTED_AT_PROJECTION_MATERIALIZE_SQL = """
ALTER TABLE {table_name} ON CLUSTER {cluster}
MATERIALIZE PROJECTION `inserted_at_batch_exports_projection`
IN PARTITION '202404'
""".format(table_name=EVENTS_DATA_TABLE(), cluster=settings.CLICKHOUSE_CLUSTER)

operations = [
run_sql_with_exceptions(EVENTS_TABLE_INSERTED_AT_PROJECTION_SQL),
run_sql_with_exceptions(EVENTS_TABLE_INSERTED_AT_PROJECTION_MATERIALIZE_SQL),
]

0 comments on commit 287c91c

Please sign in to comment.