mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
More improvements to SQL Lab (#1104)
* Handling timeouts * Fixing timer on non-utc server * Allowing async with results * [bugfix] database is not selected * Making sure the session is up and running * Cleaning up query results and query objects * Picking a groupby and metric field on visualize flow * Showing local time in query history * Using pull-left pull-right instead of grid layout for table metdata Long column name were looking weird and icons were wrapping oddly * Linting * Eliminating east buttons under the sql editor * Sort database dropdown by name * Linting * Allowing non-SELECT statements to run * Adding a db config * Making sqla checkout check cross-db
This commit is contained in:
committed by
GitHub
parent
8081080709
commit
e8088d5c9a
@@ -226,7 +226,8 @@ class CeleryTestCase(CaravelTestCase):
|
||||
sql_where = "SELECT name FROM ab_role WHERE name='Admin'"
|
||||
result1 = self.run_sql(
|
||||
1, sql_where, async='true', tmp_table='tmp_async_1', cta='true')
|
||||
self.assertEqual(QueryStatus.PENDING, result1['query']['state'])
|
||||
assert result1['query']['state'] in (
|
||||
QueryStatus.PENDING, QueryStatus.RUNNING, QueryStatus.SUCCESS)
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user