dbis-uibk / relax

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

Missing pages when displaying relations #126

Closed 0x03A9 closed 2 years ago

0x03A9 commented 3 years ago

It seems that in some cases RelaX doesn't display all tuples of a relation but instead stops displaying tuples after a certain number of pages.

A minimal example where one can see this problem in action can be found here.

The relation R in this example has 21 tuples, but when loading the data into RelaX and executing the query R only the first 20 of them are displayed on 2 pages with 10 tuples each:

Screenshot_2020-11-18 RelaX - relational algebra calculator

utybo commented 3 years ago

Hello, we encountered this, here's another example (Database Systems The Complete Book - Exercise 2.4.3):

Ships

image image

No Yamato ship here, however:

σ name = 'Yamato' Ships

image

Hello there!

Intuitively, I'd say this is a pagination problem 🤷

0x03A9 commented 3 years ago

@utybo You're right, it is a pagination problem. In fact I've already created a pull request to fix it.

r-prem commented 2 years ago

Fixed with 7277e17 Thanks @0x03A9