Skip to content

Commit

Permalink
Merge pull request #241 from censoredplanet/recluster
Browse files Browse the repository at this point in the history
bump up domain clustering
  • Loading branch information
ohnorobo committed Jun 6, 2023
2 parents 01a5105 + 9b1584e commit 57c1c0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion table/queries/derived_satellite_scans.sql
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ CREATE OR REPLACE TABLE `PROJECT_NAME.DERIVED_DATASET.reduced_satellite_scans_v1
PARTITION BY date
# Column `country_name` is always used for filtering and must come first.
# `network`, `subnetwork`, and `domain` are useful for filtering and grouping.
CLUSTER BY country_name, network, subnetwork, domain
CLUSTER BY country_name, domain, network, subnetwork
OPTIONS (
friendly_name="Reduced Satellite Scans",
description="Filtered and pre-aggregated table of Satellite scans to use with the Censored Planed Dashboard"
Expand Down
2 changes: 1 addition & 1 deletion table/queries/merged_reduced_scans.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CREATE OR REPLACE TABLE `PROJECT_NAME.DERIVED_DATASET.merged_reduced_scans_v2`
PARTITION BY date
# Columns `source` and `country_name` are always used for filtering and must come first.
# `network` and `domain` are useful for filtering and grouping.
CLUSTER BY source, country_name, network, domain
CLUSTER BY source, country_name, domain, network
OPTIONS (
friendly_name="Reduced Scans",
description="Filtered and pre-aggregated table of scans to use with the Censored Planed Dashboard"
Expand Down

0 comments on commit 57c1c0b

Please sign in to comment.