mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +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>
This commit is contained in:
@@ -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