You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by jo...@apache.org on 2024/05/02 16:25:20 UTC
(superset) branch john-bodley--apache-spark-sqlglot created (now 842acd97e4)
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a change to branch john-bodley--apache-spark-sqlglot
in repository https://gitbox.apache.org/repos/asf/superset.git
at 842acd97e4 fix(sql_parse): Add Apache Spark to SQLGlot dialect mapping
This branch includes the following new commits:
new 842acd97e4 fix(sql_parse): Add Apache Spark to SQLGlot dialect mapping
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: fix(sql_parse): Add Apache Spark to SQLGlot dialect mapping
Posted by jo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
johnbodley pushed a commit to branch john-bodley--apache-spark-sqlglot
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 842acd97e409e568b189084b0b45b27f2e8ad55b
Author: John Bodley <45...@users.noreply.github.com>
AuthorDate: Thu May 2 09:25:14 2024 -0700
fix(sql_parse): Add Apache Spark to SQLGlot dialect mapping
---
superset/sql_parse.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset/sql_parse.py b/superset/sql_parse.py
index e31d8b6402..034e2083ff 100644
--- a/superset/sql_parse.py
+++ b/superset/sql_parse.py
@@ -137,6 +137,7 @@ SQLGLOT_DIALECTS = {
"shillelagh": Dialects.SQLITE,
"snowflake": Dialects.SNOWFLAKE,
# "solr": ???
+ "spark": Dialects.SPARK,
"sqlite": Dialects.SQLITE,
"starrocks": Dialects.STARROCKS,
"superset": Dialects.SQLITE,