Skip to content

Commit

Permalink
WIP (forgot to note before): fix failing tuple sketch test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalkin committed May 14, 2024
1 parent 5976720 commit 53cdaee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public Double evaluate(final BytesWritable serializedSketch, final double percen
}
final Sketch<DoubleSummary> sketch =
Sketches.heapifySketch(BytesWritableHelper.wrapAsMemory(serializedSketch), SUMMARY_DESERIALIZER);
if (sketch.isEmpty()) { return Double.NaN; }
final UpdateDoublesSketch qs = DoublesSketch.builder().setK(QUANTILES_SKETCH_K).build();
final TupleSketchIterator<DoubleSummary> it = sketch.iterator();
while (it.next()) {
Expand Down

0 comments on commit 53cdaee

Please sign in to comment.