From 16aa6149dcd59b592483835c302fd1e27d802a2e Mon Sep 17 00:00:00 2001 From: Job Almekinders Date: Wed, 26 Jun 2024 16:00:46 +0200 Subject: [PATCH] Format SQL query --- sdk/python/feast/infra/online_stores/contrib/postgres.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/feast/infra/online_stores/contrib/postgres.py b/sdk/python/feast/infra/online_stores/contrib/postgres.py index 048bcf9ade..a9c4f3ee05 100644 --- a/sdk/python/feast/infra/online_stores/contrib/postgres.py +++ b/sdk/python/feast/infra/online_stores/contrib/postgres.py @@ -205,7 +205,7 @@ def _construct_query_and_params( query = sql.SQL( """ SELECT entity_key, feature_name, value, event_ts - FROM {} WHERE entity_key = ANY(%s) and feature_name = ANY(%s); + FROM {} WHERE entity_key = ANY(%s) AND feature_name = ANY(%s); """ ).format( sql.Identifier(_table_id(config.project, table)),