Skip to content

Commit

Permalink
fix: Remove parentheses in pull_latest_from_table_or_query (#4026)
Browse files Browse the repository at this point in the history
Remove parentheses in pull_latest_from_table_or_query

Signed-off-by: Job Almekinders <job.almekinders@teampicnic.com>
  • Loading branch information
job-almekinders authored Mar 21, 2024
1 parent d8d7567 commit dc4671e
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 dc4671e

Please sign in to comment.