You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by be...@apache.org on 2026/05/08 15:19:41 UTC
(superset) branch vertica-dialect created (now f4fa6374e28)
This is an automated email from the ASF dual-hosted git repository.
betodealmeida pushed a change to branch vertica-dialect
in repository https://gitbox.apache.org/repos/asf/superset.git
at f4fa6374e28 feat(sqlglot): Vertica dialect
This branch includes the following new commits:
new f4fa6374e28 feat(sqlglot): Vertica dialect
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: feat(sqlglot): Vertica dialect
Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
betodealmeida pushed a commit to branch vertica-dialect
in repository https://gitbox.apache.org/repos/asf/superset.git
commit f4fa6374e28477dfa836f78a49db3ad1e2bcbb3b
Author: Beto Dealmeida <ro...@dealmeida.net>
AuthorDate: Fri May 8 11:18:17 2026 -0400
feat(sqlglot): Vertica dialect
---
superset/sql/dialects/__init__.py | 11 ++++++++++-
superset/sql/parse.py | 4 ++--
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/superset/sql/dialects/__init__.py b/superset/sql/dialects/__init__.py
index 0334efb5f11..f7b82538115 100644
--- a/superset/sql/dialects/__init__.py
+++ b/superset/sql/dialects/__init__.py
@@ -20,5 +20,14 @@ from .dremio import Dremio
from .firebolt import Firebolt, FireboltOld
from .opensearch import OpenSearch
from .pinot import Pinot
+from .vertica import Vertica
-__all__ = ["DB2", "Dremio", "Firebolt", "FireboltOld", "OpenSearch", "Pinot"]
+__all__ = [
+ "DB2",
+ "Dremio",
+ "Firebolt",
+ "FireboltOld",
+ "OpenSearch",
+ "Pinot",
+ "Vertica",
+]
diff --git a/superset/sql/parse.py b/superset/sql/parse.py
index bb3ef5e1c4b..aab3a61c50e 100644
--- a/superset/sql/parse.py
+++ b/superset/sql/parse.py
@@ -45,7 +45,7 @@ from sqlglot.optimizer.scope import (
)
from superset.exceptions import QueryClauseValidationException, SupersetParseError
-from superset.sql.dialects import DB2, Dremio, Firebolt, OpenSearch, Pinot
+from superset.sql.dialects import DB2, Dremio, Firebolt, OpenSearch, Pinot, Vertica
if TYPE_CHECKING:
from superset.models.core import Database
@@ -113,7 +113,7 @@ SQLGLOT_DIALECTS = {
# "taosws": ???
"teradatasql": Dialects.TERADATA,
"trino": Dialects.TRINO,
- "vertica": Dialects.POSTGRES,
+ "vertica": Vertica,
"yql": Dialects.CLICKHOUSE,
}