mirror of
https://github.com/apache/superset.git
synced 2026-05-10 02:15:50 +00:00
fix(presto): use correct timespec for presto (#20333)
(cherry picked from commit 41bbf62e58)
This commit is contained in:
committed by
Michael S. Molina
parent
128722085c
commit
2f07a88c32
@@ -30,17 +30,17 @@ from flask.ctx import AppContext
|
||||
(
|
||||
"TIMESTAMP",
|
||||
datetime(2022, 1, 1, 1, 23, 45, 600000),
|
||||
"TIMESTAMP '2022-01-01 01:23:45.600000'",
|
||||
"TIMESTAMP '2022-01-01 01:23:45.600'",
|
||||
),
|
||||
(
|
||||
"TIMESTAMP WITH TIME ZONE",
|
||||
datetime(2022, 1, 1, 1, 23, 45, 600000),
|
||||
"TIMESTAMP '2022-01-01 01:23:45.600000'",
|
||||
"TIMESTAMP '2022-01-01 01:23:45.600'",
|
||||
),
|
||||
(
|
||||
"TIMESTAMP WITH TIME ZONE",
|
||||
datetime(2022, 1, 1, 1, 23, 45, 600000, tzinfo=pytz.UTC),
|
||||
"TIMESTAMP '2022-01-01 01:23:45.600000+00:00'",
|
||||
"TIMESTAMP '2022-01-01 01:23:45.600+00:00'",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user