We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8d7567 commit 6f6d220Copy full SHA for 6f6d220
sdk/python/feast/infra/offline_stores/contrib/postgres_offline_store/postgres.py
@@ -94,7 +94,7 @@ def pull_latest_from_table_or_query(
94
FROM (
95
SELECT {a_field_string},
96
ROW_NUMBER() OVER({partition_by_join_key_string} ORDER BY {timestamp_desc_string}) AS _feast_row
97
- FROM ({from_expression}) a
+ FROM {from_expression} a
98
WHERE a."{timestamp_field}" BETWEEN '{start_date}'::timestamptz AND '{end_date}'::timestamptz
99
) b
100
WHERE _feast_row = 1
0 commit comments