Closed medifle closed 4 years ago
We are using (R % S) := (pi r'(R)) - pi r'( ( (pi r'(R)) x (S) ) - (R) )
to calculate the Devision.
When using this formula, I was able to find an issue within the subtraction.
Fixed row equality check for subtraction with 3b587f161e7bd6bf604a19a7240128adc9cb676f
Test case:
gist ID: 0c3296418a9053b5132034885511e4d9
Relational Algebra
The expected result should be:
but the actual result is empty
Not sure if my understanding is correct
The interesting thing is, it works for another working example:
The expected and actual result is