When trying to edit the relationship with a custom SQL the pop-up window does not show up, instead, there is the error message
"Unable to complete the action. Internal error - An unexpected error occurred and the operation could not be completed. Error: 6EA18A9E"
This issue occurs only when adding the second table in the canvas. Running this query as 1st table will retrieve table content without error.