issue #23245: bugfix join logic in xt.data
Merge pull request #1365 from shackbarth/23245

issue #23245: bugfix join logic in xt.data