chore(backend): Spelling (#19677)

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
Josh Soref
2023-02-17 12:48:24 -05:00
committed by GitHub
parent 4b03d2553c
commit dec6ac49f6
40 changed files with 74 additions and 74 deletions

View File

@@ -49,6 +49,6 @@ class KylinEngineSpec(BaseEngineSpec): # pylint: disable=abstract-method
if isinstance(sqla_type, types.Date):
return f"CAST('{dttm.date().isoformat()}' AS DATE)"
if isinstance(sqla_type, types.TIMESTAMP):
datetime_fomatted = dttm.isoformat(sep=" ", timespec="seconds")
return f"""CAST('{datetime_fomatted}' AS TIMESTAMP)"""
datetime_formatted = dttm.isoformat(sep=" ", timespec="seconds")
return f"""CAST('{datetime_formatted}' AS TIMESTAMP)"""
return None