Implementing a relational join as a MapReduce query