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

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

commit eb56ac027d33bbb7b16fc2a24cda0f8b493733d9
Author: John Bodley <[email protected]>
AuthorDate: Thu May 2 09:53:20 2024 -0700

    fix(sql_parse): Add Apache Spark to SQLGlot dialect mapping (#28322)
    
    (cherry picked from commit d36bccdc8c20256efaa6d4646cf197955729ecfe)
---
 superset/sql_parse.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/superset/sql_parse.py b/superset/sql_parse.py
index d05b3c870b..6eab11de3d 100644
--- a/superset/sql_parse.py
+++ b/superset/sql_parse.py
@@ -133,6 +133,7 @@ SQLGLOT_DIALECTS = {
     "shillelagh": Dialects.SQLITE,
     "snowflake": Dialects.SNOWFLAKE,
     # "solr": ???
+    "spark": Dialects.SPARK,
     "sqlite": Dialects.SQLITE,
     "starrocks": Dialects.STARROCKS,
     "superset": Dialects.SQLITE,

Reply via email to