Skip to content

Commit 5e45228

Browse files
authored
fix: Add dummy alias to pull_all_from_table_or_query (#2956)
* Add dummy alias to pull_all_from_table_or_query Signed-off-by: Ivan Krizanic <[email protected]> * Fix lint error Signed-off-by: Ivan Krizanic <[email protected]>
1 parent 23c09c8 commit 5e45228

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def pull_all_from_table_or_query(
214214

215215
query = f"""
216216
SELECT {field_string}
217-
FROM {from_expression}
217+
FROM {from_expression} AS paftoq_alias
218218
WHERE "{timestamp_field}" BETWEEN '{start_date}'::timestamptz AND '{end_date}'::timestamptz
219219
"""
220220

0 commit comments

Comments
 (0)