Skip to content

Commit dc4671e

Browse files
fix: Remove parentheses in pull_latest_from_table_or_query (#4026)
Remove parentheses in pull_latest_from_table_or_query Signed-off-by: Job Almekinders <[email protected]>
1 parent d8d7567 commit dc4671e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sdk/python/feast/infra/offline_stores/contrib/postgres_offline_store

‎sdk/python/feast/infra/offline_stores/contrib/postgres_offline_store/postgres.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def pull_latest_from_table_or_query(
9494
FROM (
9595
SELECT {a_field_string},
9696
ROW_NUMBER() OVER({partition_by_join_key_string} ORDER BY {timestamp_desc_string}) AS _feast_row
97-
FROM ({from_expression}) a
97+
FROM {from_expression} a
9898
WHERE a."{timestamp_field}" BETWEEN '{start_date}'::timestamptz AND '{end_date}'::timestamptz
9999
) b
100100
WHERE _feast_row = 1

0 commit comments

Comments
 (0)