Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
remove unnecessary line break in sql query
Browse files Browse the repository at this point in the history
  • Loading branch information
signekb committed Jan 30, 2023
1 parent cb9c9e0 commit 57f8107
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/psycop_feature_generation/loaders/raw/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ def load_from_codes(

sql = (
f"SELECT dw_ek_borger, {source_timestamp_col_name}, {code_col_name} "
+ f"FROM [fct].{fct} "
+ f"WHERE {source_timestamp_col_name} IS NOT NULL AND ({match_col_sql_str})"
+ f"FROM [fct].{fct} WHERE {source_timestamp_col_name} IS NOT NULL AND ({match_col_sql_str})"
)

df = sql_load(sql, database="USR_PS_FORSK", chunksize=None, n_rows=n_rows)
Expand Down

0 comments on commit 57f8107

Please sign in to comment.