fix: presto CI failed test (#23666)

This commit is contained in:
Hugh A. Miles II 2023-04-12 15:27:53 -04:00 committed by GitHub
parent 75021a1eac
commit 976e33330f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1314,7 +1314,7 @@ class ExploreMixin: # pylint: disable=too-many-public-methods
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,