You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Vitor-Avila (via GitHub)" <gi...@apache.org> on 2025/05/30 13:38:19 UTC
Re: [PR] feat(sqllab): use sqlglot instead of sqlparse [superset]
Vitor-Avila commented on code in PR #33542:
URL: https://github.com/apache/superset/pull/33542#discussion_r2115948547
##########
superset/sql/parse.py:
##########
@@ -1128,6 +1149,15 @@ def set_limit_value(
self._parsed = "".join(val for _, val in tokens)
+ def parse_predicate(self, predicate: str) -> str:
+ """
+ Parse a predicate string into an AST.
+
+ :param predicate: The predicate to parse.
+ :return: The parsed predicate.
+ """
+ return predicate
Review Comment:
I was gonna ask the same thing here, but seeing you resolved this I imagine it's not relevant for kusto
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org