We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3843a02 commit 88e183eCopy full SHA for 88e183e
1 file changed
sdk/python/feast/infra/online_stores/dynamodb.py
@@ -223,7 +223,6 @@ def online_read(
223
224
result: List[Tuple[Optional[datetime], Optional[Dict[str, ValueProto]]]] = []
225
entity_ids = [compute_entity_id(entity_key) for entity_key in entity_keys]
226
-
227
batch_size = self._batch_size
228
sort_response = online_config.sort_response
229
entity_ids_iter = iter(entity_ids)
@@ -256,7 +255,8 @@ def online_read(
256
255
res[feature_name] = val
257
result.append((datetime.fromisoformat(tbl_res["event_ts"]), res))
258
else:
259
- result.append((None, None))
+ batch_size_nones = ((None, None),) * len(batch)
+ result.extend(batch_size_nones)
260
return result
261
262
def _get_dynamodb_client(self, region: str):
0 commit comments