mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
fix: Athena timestamp literal format (#19970)
* Fix Athena timestamp literal format
related: [#19969]
* Update test_athena.py
Update test
* Update athena.py
* Resolving CI/CD
* lint
Co-authored-by: Thinh Nguyen Duc <thinhnd.it@tripi.vn>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit 85315460cb)
This commit is contained in:
committed by
Michael S. Molina
parent
4e44f4cc11
commit
bda9044bfd
@@ -39,7 +39,7 @@ def test_convert_dttm(app_context: AppContext, dttm: datetime) -> None:
|
||||
|
||||
assert (
|
||||
AthenaEngineSpec.convert_dttm("TIMESTAMP", dttm)
|
||||
== "TIMESTAMP '2019-01-02T03:04:05.678900'"
|
||||
== "TIMESTAMP '2019-01-02 03:04:05.678'"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user