Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions oonipipeline/src/oonipipeline/analysis/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ def run(self, df: pd.DataFrame, col: str, count_col: str):
row["s_neg"] = self.s_neg
row["current_mean"] = self.current_mean
row["h"] = self.h
row["block_type"] = col
changepoints.append(row)
self._reset()

Expand Down
3 changes: 2 additions & 1 deletion oonipipeline/src/oonipipeline/db/create_tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ def make_create_queries():
`s_pos` Nullable(float),
`s_neg` Nullable(float),
`current_mean` Nullable(float),
`h` Nullable(float)
`h` Nullable(float),
`block_type` String
)
ENGINE = ReplacingMergeTree
ORDER BY (probe_asn, probe_cc, ts, domain);
Expand Down