You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have something close to this. Is the idea around instead of being limited to just a String we could give a list of Strings etc? How would you like use the output? Should the sketchmap be used to return the heavy hitters back into a Seq[(String, (Int,Long))] and remove those that don't make the top N?
@richwhitjr yeah, that's what I was thinking.
Right now, for my use case, I will like to get a List[Int] representing the indices in the topN for each of the attributes in the input sequence, filtering out those that are not in the topN
Could be useful to have a transformer that allows to apply a global heavy hitters to seq like attribute.
Something like
NNHeavyHitters extends Transformer[Seq[A], SketchMap[String, Long], Map[String, (Int, Long)]]
The text was updated successfully, but these errors were encountered: