Enhancements to metadata for support of joins