You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/05/02 20:03:47 UTC
(superset) 01/02: fix(sql_parse): Add Apache Spark to SQLGlot dialect mapping (#28322)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 1533f7735da04b9f305dc56fb5b55a3d358e7a44
Author: John Bodley <45...@users.noreply.github.com>
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,