GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Redis online store fails to maintain event-time ordering in batch writes · Issue #5163 · feast-dev/feast Closed Labels DescriptionExpected BehaviorWhen writing a batch of events to Redis online store, the store should maintain event-time ordering guarantees regardless of the order of events within the batch. The value associated with the latest timestamp should be preserved, even if it appears earlier in the batch. Current BehaviorThe Redis online store processes events in batch order rather than timestamp order. When writing a batch containing events in reverse chronological order (e.g., [t3, t2, t1]), it incorrectly skips later events because it compares timestamps sequentially, causing the wrong values to be stored. Steps to reproducet1 = datetime.now(timezone.utc) t2 = t1 + timedelta(seconds=5) t3 = t2 + timedelta(seconds=5) # Create batch with reverse chronological order test_data = pd.DataFrame({ "customer_id": [1] * 3, "total_purchases": [30, 20, 10], "avg_order_value": [300.0, 200.0, 100.0], "event_timestamp": [t3, t2, t1] # Latest timestamp first }) # Push batch to online store feature_store.push_features(feature_group_name, test_data, mode="online") # Retrieve feature - will return value 10 instead of expected 30 result = feature_store.get_online_features(...) Specifications
Possible SolutionIn online_write_batch, before processing the batch: Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |