Skip to content

Commit

Permalink
Remove parentheses in pull_latest_from_table_or_query
Browse files Browse the repository at this point in the history
Signed-off-by: Job Almekinders <[email protected]>
  • Loading branch information
job-almekinders committed Mar 21, 2024
1 parent d8d7567 commit dac5133
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def pull_latest_from_table_or_query(
FROM (
SELECT {a_field_string},
ROW_NUMBER() OVER({partition_by_join_key_string} ORDER BY {timestamp_desc_string}) AS _feast_row
FROM ({from_expression}) a
FROM {from_expression} a
WHERE a."{timestamp_field}" BETWEEN '{start_date}'::timestamptz AND '{end_date}'::timestamptz
) b
WHERE _feast_row = 1
Expand Down

0 comments on commit dac5133

Please sign in to comment.