mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
fix(OpenSearch): OpenSearch dialect for sqlglot (#39538)
This commit is contained in:
@@ -45,7 +45,7 @@ from sqlglot.optimizer.scope import (
|
||||
)
|
||||
|
||||
from superset.exceptions import QueryClauseValidationException, SupersetParseError
|
||||
from superset.sql.dialects import DB2, Dremio, Firebolt, Pinot
|
||||
from superset.sql.dialects import DB2, Dremio, Firebolt, OpenSearch, Pinot
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from superset.models.core import Database
|
||||
@@ -93,7 +93,7 @@ SQLGLOT_DIALECTS = {
|
||||
"netezza": Dialects.POSTGRES,
|
||||
"oceanbase": Dialects.MYSQL,
|
||||
# "ocient": ???
|
||||
# "odelasticsearch": ???
|
||||
"odelasticsearch": OpenSearch,
|
||||
"oracle": Dialects.ORACLE,
|
||||
"parseable": Dialects.POSTGRES,
|
||||
"pinot": Pinot,
|
||||
|
||||
Reference in New Issue
Block a user