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

View does not work for MySQL #71

Closed
since19861019 opened this issue May 26, 2021 · 3 comments
Closed

View does not work for MySQL #71

since19861019 opened this issue May 26, 2021 · 3 comments
Assignees
Labels
bug 🪲 Something isn't working

Comments

@since19861019
Copy link

Describe the bug
Views cannot be queried, showing no data.
For example, a simple view based on t, "select * from t" does not show any data in DATA tab, saying "unknown table t in information_schema" or showing busy cursor.

To Reproduce

  1. Create a simple table and input some rows.
  2. Create a simple view referencing the table above.
  3. Select DATA tab to display the data.
  4. Error is shown or the operation does not finish.

Expected behavior
A View works like a table.

Screenshots
None

Application (please complete the following information):

  • Version 0.1.9
  • Distribution: Snap Store

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 21.04

Additional context
This problem is OS irrelevant.

@Fabio286 Fabio286 added the bug 🪲 Something isn't working label May 26, 2021
@Fabio286 Fabio286 added this to To do in Antares SQL via automation May 26, 2021
@Fabio286
Copy link
Member

Thanks for your report 😀
Just fixed!

Antares SQL automation moved this from To do to Done May 26, 2021
@since19861019
Copy link
Author

View cannot be opend yet.
The following message appears when I try to show a simple view like "SELECT * from T".

TypeError: Cannot read property 'split' of undefined

@Fabio286 Fabio286 reopened this Jun 3, 2021
Antares SQL automation moved this from Done to To do Jun 3, 2021
@Fabio286
Copy link
Member

Fabio286 commented Jun 3, 2021

It seems that MySQL for some views (maybe directly derived from a table) returns a table-like structure object, this was breaking views data visualization.
Thanks for the report, i've fixed!

Antares SQL automation moved this from To do to Done Jun 3, 2021
@Fabio286 Fabio286 removed this from ✔ Done in Antares SQL Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants