Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix distorted execution tree in complex queries and jpg download #216

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

rlaiola
Copy link
Contributor

@rlaiola rlaiola commented Oct 15, 2024

Reference issues

Complex queries can generate distorted execution trees, as shown in #197. There is also a bug in the download jpg menu (Download -> Result (JPG)), which only considers the execution tree from the very first tab (Relational Algebra). If another tab is active, the downloaded jpg file is empty.

What does this implement/fix?

This PR fixes the distortion problem and adds a modal zoom functionality to ease the tree visualization. It also fixes the download jpg problem so that the tree from the active tab is the one considered.

Distorted tree problem

The query used was the one presented at #197.

  • Before:
Screenshot 2024-10-15 at 18 39 27
  • After:
Screenshot 2024-10-15 at 18 38 47

JPG download problem

  • Before (SQL tab active):
Screenshot 2024-10-15 at 18 48 00

Downloaded file:

Screenshot 2024-10-15 at 18 49 07
  • After (SQL tab active):
Screenshot 2024-10-15 at 18 45 29

Downloaded file:

result

How to test this PR?

Test it live at https://rlaiola.github.io/relax/calc/local/uibk/local/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant