mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
fix(presto): default unknown types to string type (#10753)
* fix(presto): default unknown types to string type * lint
This commit is contained in:
@@ -511,3 +511,6 @@ class TestPrestoDbEngineSpec(TestDbEngineSpec):
|
||||
|
||||
sqla_type = PrestoEngineSpec.get_sqla_column_type("integer")
|
||||
assert isinstance(sqla_type, types.Integer)
|
||||
|
||||
sqla_type = PrestoEngineSpec.get_sqla_column_type(None)
|
||||
assert sqla_type is None
|
||||
|
||||
Reference in New Issue
Block a user