From a64e5d410e4b0255a3a509adff056867f544d05d Mon Sep 17 00:00:00 2001 From: Khor Shu Heng Date: Wed, 4 Oct 2023 20:45:39 +0800 Subject: [PATCH] fix: fix bigtable max age calculation --- .../caraml/serving/store/bigtable/BigTableOnlineRetriever.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caraml-store-serving/src/main/java/dev/caraml/serving/store/bigtable/BigTableOnlineRetriever.java b/caraml-store-serving/src/main/java/dev/caraml/serving/store/bigtable/BigTableOnlineRetriever.java index 3ac872d..c10009b 100644 --- a/caraml-store-serving/src/main/java/dev/caraml/serving/store/bigtable/BigTableOnlineRetriever.java +++ b/caraml-store-serving/src/main/java/dev/caraml/serving/store/bigtable/BigTableOnlineRetriever.java @@ -104,7 +104,7 @@ public List> convertRowToFeature( value, localFeatureReferences, reusedDecoder, - rowCell.getTimestamp()); + rowCell.getTimestamp() / 1000); } catch (IOException e) { throw new RuntimeException("Failed to decode features from BigTable"); }