Skip to content

Commit

Permalink
Fix SQL syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-thom committed Nov 13, 2024
1 parent 2260b95 commit f70ccfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chronify/time_series_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _check_expected_timestamps_by_time_array(self) -> None:
def _run_timestamp_checks_on_tmp_table(self, table_name: str) -> None:
id_cols = ",".join(self._schema.time_array_id_columns)
filters = [f"{x} IS NOT NULL" for x in self._schema.time_config.list_time_columns()]
where_clause = "AND ".join(filters)
where_clause = " AND ".join(filters)
query = f"""
CREATE TEMP TABLE {table_name} AS
SELECT
Expand Down

0 comments on commit f70ccfb

Please sign in to comment.