nathanmarz/cascalog — pull request #61 by sorenmacbeth (2012-03-25 17:54:04+00:00)
Title: add reservoir sample parallelbuf operator

Here it is. Supports sorting options just like limit does.

e.g.

(<- [?sorted-sample] (src ?tuple) (:sort ?tuple) (c/sample [10000] ?tuple :> ?sorted-sample)