dbis-uibk / relax

RelaX - a relational algebra calculator
http://dbis-uibk.github.io/relax/
MIT License
285 stars 98 forks source link

Right-join and full-outer join crash RelaX #133

Closed yle-kot closed 2 years ago

yle-kot commented 3 years ago

For the attached dataset, the following behaviour is observed.

The following commands will crash RelaX with an error 'unknown type defined': R1 ⟖ R2 R1 ⟗ R2

while these do not R2 ⟗ R1 R2 ⟖ R1 R1 ⟕ R2

Dataset:

group: HW4Set

R1 = {
ID:number, A:string, B:string
0, 'A0', 'B0'
1, 'A1', 'B1'
2, 'A2', 'B2'
}
R2 = {
ID:number, B:string, D:string, E:string
0, 'B0', 'D0', 'E0'
2, 'B99', 'D2', 'E2'
3, 'B3', 'D3', 'E3'
}

The dataset can be accessed here

r-prem commented 2 years ago

Fixed with f25be62. Table row width was being calculated incorrectly.