agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
876 stars 47 forks source link

Natural Join should act like Cross Join on relations that don't share attributes #361

Closed Valdsonjr closed 11 months ago

Valdsonjr commented 11 months ago

The article for 'join' states that the result of a natural join between two relations R and S that don't have any attributes in common is supposed to be a cross join, but an empty relation is returned instead.

Expected behavior: example in the RelaX - relational algebra calculator image

Actual behavior: image

agentm commented 11 months ago

Oh, good find! I'll fix this right away.