Skip to content

Commit 6f6d220

Browse files
Remove parentheses in pull_latest_from_table_or_query
Signed-off-by: Job Almekinders <55230856+job-almekinders@users.noreply.github.com>
1 parent d8d7567 commit 6f6d220

File tree

1 file changed

+1
-1
lines changed
  • sdk/python/feast/infra/offline_stores/contrib/postgres_offline_store

1 file changed

+1
-1
lines changed

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

+1-1
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)