sasha-alias / sqltabs

Rich SQL client for Postgresql, MySQL, MS SQL, Amazon Redshift, Google Firebase (Firestore)
https://www.sqltabs.com
GNU General Public License v3.0
803 stars 57 forks source link

Not showing chart on mac os #57

Closed tommagic closed 7 years ago

tommagic commented 8 years ago

Hello,

I have install sqltabs from the site and try to create a simple chart with the following code -

/**
## title
**/
--- chart pie
select
    x,
    y
from datebase.table
where some condition

The markdown works good however I don't get a chart but a table. I have tried it with several chart types and I get the same thing for everything. x is of date type or string (I tried several conversions) and y is integer.

jirutka commented 8 years ago

I have the same problem, also on OS X.

egor-bayandin commented 8 years ago

Confirm, the same problem - OS X

sasha-alias commented 8 years ago

I think it depends on the shortcut you use for execution. Try to run via "Execute All Blocks" shortcut. "Run Script" doesn't try to interpret the resultset but just displays it as is.

tommagic commented 8 years ago

Thanks for the clarification. That solved the issue for me.

jirutka commented 8 years ago

I’ve just tried to execute block instead of script and SQL Tabs frozen. I’m on P2D2 now, so I’ll try to find you and discuss it personally. :)

sasha-alias commented 8 years ago

Unfortunately I had to leave P2D2. Just send here a query to reproduce. There were a couple of fixes around rendering and frozen app recently. They are waiting for release. May be you hit one of them.