These are chat archives for getredash/redash
Rethinking how data is queried, shared and visualized. A web application that allows to easily query an existing database, share the dataset and visualize it in different ways. Oh and you can also create dashboards.
For my use case - I would really like to run async for the web server - but sync from the client (for simplicity) - so "making Redash server async" would be ideal way to go. I imagine this change to be non-trivial.
The other option of moving the polling logic to the client should ALSO be possible as this would satisfy different use cases, this would need reports to be able to be run and saved from the api/query, which is currently not possible(?). report results are only saved when the user hits save on the edit screen. to enable this we would need to add some way for a url to specify that a report should be saved. e.g.
Which would run the report and save the result, which could then be picked up (when complete) by
@solutionrooms actually making Redash server async might not be that complicated (just apply gevent's monkey patching), but will require some testing to make sure everything indeed works as expected.
As for saving results: resulting are always saved regardless of if there is a query for them. What's needed is logic to handle parameters in the server.
You can temporary use the refresh api as a temporary workaround, which supports parameters.
in response to "resulting are always saved regardless of if there is a query for them"
I have tried latest 10 and 11 versions, if I :
then press "save" on the screen
I get the 17 result - not the 18
PS I was trying to set up an example of this on demo.redash.io but queries are not running on that at the moment(?)
the demo server is working again so
followed by pressing "save"
is this the expected behaviour?