Skip to content

Commit

Permalink
fix: Fix single property materialization command (#20798)
Browse files Browse the repository at this point in the history
* fix: Fix single property materialization command

* default to 0
  • Loading branch information
timgl authored Mar 28, 2024
1 parent c3483ac commit 68181ad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ee/management/commands/materialize_columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ def handle(self, *args, **options):
options["property_table"],
options["table_column"],
options["property"],
0,
)
],
backfill_period_days=options["backfill_period"],
Expand Down
2 changes: 1 addition & 1 deletion ee/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"MATERIALIZE_COLUMNS_ANALYSIS_PERIOD_HOURS", 7 * 24, type_cast=int
)
# How big of a timeframe to backfill when materializing event properties. 0 for no backfilling
MATERIALIZE_COLUMNS_BACKFILL_PERIOD_DAYS = get_from_env("MATERIALIZE_COLUMNS_BACKFILL_PERIOD_DAYS", 90, type_cast=int)
MATERIALIZE_COLUMNS_BACKFILL_PERIOD_DAYS = get_from_env("MATERIALIZE_COLUMNS_BACKFILL_PERIOD_DAYS", 0, type_cast=int)
# Maximum number of columns to materialize at once. Avoids running into resource bottlenecks (storage + ingest + backfilling).
MATERIALIZE_COLUMNS_MAX_AT_ONCE = get_from_env("MATERIALIZE_COLUMNS_MAX_AT_ONCE", 100, type_cast=int)

Expand Down

0 comments on commit 68181ad

Please sign in to comment.