Skip to content

Commit

Permalink
fix: presto CI failed test (#23666)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh authored Apr 12, 2023
1 parent 75021a1 commit 976e333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/models/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def dttm_sql_literal(self, dttm: sa.DateTime, col_type: Optional[str]) -> str:
if sql:
return sql

return f'{dttm.strftime("%Y-%m-%d %H:%M:%S.%f")}'
return f"""'{dttm.strftime("%Y-%m-%d %H:%M:%S.%f")}'"""

def get_time_filter( # pylint: disable=too-many-arguments
self,
Expand Down

0 comments on commit 976e333

Please sign in to comment.