intial impl for zigzag merge join queries