Skip to content

Commit

Permalink
[StatsFetch] Allow for missing values on drift
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianfr committed Feb 8, 2024
1 parent ac5095b commit f89862d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion online/src/main/scala/ai/chronon/online/Fetcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ class Fetcher(val kvStore: KVStore,
.sortBy(_.millis)
.sliding(2)
.collect {
case Seq(prev, curr) =>
case Seq(prev, curr) if prev.values.isSuccess && curr.values.isSuccess =>
val commonKeys = prev.values.get.keySet.intersect(curr.values.get.keySet.filter(_.endsWith("percentile")))
commonKeys
.map { key =>
Expand Down

0 comments on commit f89862d

Please sign in to comment.