mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
fix(sqla): replace custom dttm type with literal_column (#19917)
This commit is contained in:
@@ -32,12 +32,12 @@ class TestTrinoDbEngineSpec(TestDbEngineSpec):
|
||||
|
||||
self.assertEqual(
|
||||
TrinoEngineSpec.convert_dttm("DATE", dttm),
|
||||
"from_iso8601_date('2019-01-02')",
|
||||
"DATE '2019-01-02'",
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
TrinoEngineSpec.convert_dttm("TIMESTAMP", dttm),
|
||||
"from_iso8601_timestamp('2019-01-02T03:04:05.678900')",
|
||||
"TIMESTAMP '2019-01-02T03:04:05.678900'",
|
||||
)
|
||||
|
||||
def test_adjust_database_uri(self):
|
||||
|
||||
Reference in New Issue
Block a user