mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user