diff --git a/superset/utils/date_parser.py b/superset/utils/date_parser.py index aee2c83a0d7c3..2ae92758eefac 100644 --- a/superset/utils/date_parser.py +++ b/superset/utils/date_parser.py @@ -32,6 +32,7 @@ Group, Optional as ppOptional, ParseException, + ParserElement, ParseResults, pyparsing_common, quotedString, @@ -40,6 +41,8 @@ from .core import memoized +ParserElement.enablePackrat() + logger = logging.getLogger(__name__)