feat: improve engine spec discoverability (#14204)

* feat: improve engine spec discoverability

* Address comments

* Fix tests
This commit is contained in:
Beto Dealmeida
2021-04-19 17:24:22 -07:00
committed by GitHub
parent c2d11ac53e
commit 13bf023100
5 changed files with 57 additions and 24 deletions

View File

@@ -22,7 +22,9 @@ import pytest
import pandas as pd
from sqlalchemy.sql import select
from tests.test_app import app
from superset.db_engine_specs.hive import HiveEngineSpec, upload_to_s3
with app.app_context():
from superset.db_engine_specs.hive import HiveEngineSpec, upload_to_s3
from superset.exceptions import SupersetException
from superset.sql_parse import Table, ParsedQuery