support for joins against local values