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>
This commit is contained in:
thinhnd2104
2022-05-16 13:50:20 +07:00
committed by GitHub
parent 1c3c3ae2ea
commit 85315460cb
2 changed files with 2 additions and 2 deletions

View File

@@ -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'"
)