dbis-uibk / relax

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

Add project all columns (π *) to relational and multiset algebra #203

Open rlaiola opened 7 months ago

rlaiola commented 7 months ago

Reference issue

None.

What does this implement/fix?

This PR aims at providing a more flexible way to write queries based on the SQL standard and RDBMS implementations such as MySQL, PostgreSQL and MS SQL Server. In summary, it is possible to project all columns using the asterisk (*).

Note: To run the tests refer to http://dbis-uibk.github.io/relax/calc/local/uibk/local/0

Test 1: project all columns

π * (R)

or

pi * (R)
Screen Shot 2024-04-11 at 11 35 48 Screen Shot 2024-04-11 at 11 36 36 Screen Shot 2024-04-11 at 11 38 00

How to test this PR?

Test it live at https://rlaiola.github.io/relax/calc/local/uibk/local/0. For automated tests visit https://rlaiola.github.io/relax/test.html

References

rlaiola commented 1 month ago

PR https://github.com/dbis-uibk/relax/pull/215 must be merged before.