You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2023/04/12 19:28:14 UTC

[superset] branch master updated: fix: presto CI failed test (#23666)

This is an automated email from the ASF dual-hosted git repository.

hugh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 976e33330f fix: presto CI failed test (#23666)
976e33330f is described below

commit 976e33330fa5e0ae4655a4011cee2eb642e12b1b
Author: Hugh A. Miles II <hu...@gmail.com>
AuthorDate: Wed Apr 12 15:27:53 2023 -0400

    fix: presto CI failed test (#23666)
---
 superset/models/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/models/helpers.py b/superset/models/helpers.py
index cc3b34ae62..ec2a0a41d9 100644
--- a/superset/models/helpers.py
+++ b/superset/models/helpers.py
@@ -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,