mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
feat: welcome presto to the suite of tested databases (#10498)
* Add presto to the CI Sample test data Datetime conversion Sample test data Fix tests * TODO to switch to timestamps * Address feedback * Update requirements * Add TODOs Co-authored-by: bogdan kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
@@ -197,6 +197,11 @@ class TestDbEngineSpecs(TestDbEngineSpec):
|
||||
example_db = get_example_database()
|
||||
sqla_table = example_db.get_table("energy_usage")
|
||||
dialect = example_db.get_dialect()
|
||||
|
||||
# TODO: fix column type conversion for presto.
|
||||
if example_db.backend == "presto":
|
||||
return
|
||||
|
||||
col_names = [
|
||||
example_db.db_engine_spec.column_datatype_to_string(c.type, dialect)
|
||||
for c in sqla_table.columns
|
||||
|
||||
Reference in New Issue
Block a user