mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
[sqllab] improve Hive support (#3187)
* [sqllab] improve Hive support * Fix "Transport not open" bug * Getting progress bar to show * Bump pyhive to 0.4.0 * Getting [Track Job] button to show * Fix testzz
This commit is contained in:
committed by
GitHub
parent
25c599d040
commit
b888802e05
@@ -189,12 +189,9 @@ class SqlLabTests(SupersetTestCase):
|
||||
from_time = 'from={}'.format(int(first_query_time))
|
||||
to_time = 'to={}'.format(int(second_query_time))
|
||||
params = [from_time, to_time]
|
||||
resp = self.get_resp('/superset/search_queries?'+'&'.join(params))
|
||||
resp = self.get_resp('/superset/search_queries?' + '&'.join(params))
|
||||
data = json.loads(resp)
|
||||
self.assertEquals(2, len(data))
|
||||
for k in data:
|
||||
self.assertLess(int(first_query_time), k['startDttm'])
|
||||
self.assertLess(k['startDttm'], int(second_query_time))
|
||||
|
||||
def test_alias_duplicate(self):
|
||||
self.run_sql(
|
||||
|
||||
Reference in New Issue
Block a user