superset icon indicating copy to clipboard operation
superset copied to clipboard

Consolidate "Run Query" and "Run Async" in SQL Lab to "Run Query"

Open jefffeng opened this issue 9 years ago • 5 comments

This is a feature to help simplify the UX for users. Users should not have to choose whether to run a query in the standard mode or run a query asynchronously.

Could we run the query in both modes and automatically fail over to running the query running asynchronously if the standard query fails? Open to other ideas as well...

jefffeng avatar Dec 13 '16 04:12 jefffeng

i was thinking that if running async is an available option, just run async, if not, run sync. we should just show 1 button that reads run query

ascott avatar Dec 14 '16 01:12 ascott

Makes sense @ascott. I spoke to @mistercrunch and I am onboard with your suggested approach

jefffeng avatar Dec 16 '16 07:12 jefffeng

going to tackle this today.

ascott avatar Dec 16 '16 19:12 ascott

https://github.com/airbnb/superset/pull/1858

ascott avatar Jan 14 '17 01:01 ascott

@ascott, the one button that is showed does not run the query asynchronously though the tooltip shows "Run Query Asynchronously". I am using superset 0.17, since there are issues with 0.17.5 mentioned in https://github.com/airbnb/superset/issues/2643

santhavathi avatar Apr 29 '17 03:04 santhavathi