for distributed join