Top-k pipe-join