mirror of
https://github.com/apache/superset.git
synced 2026-04-16 06:34:52 +00:00
fix: Use singlestoredb dialect for sqlglot (#36096)
This commit is contained in:
@@ -33,6 +33,7 @@ from sqlglot.dialects.dialect import (
|
||||
Dialect,
|
||||
Dialects,
|
||||
)
|
||||
from sqlglot.dialects.singlestore import SingleStore
|
||||
from sqlglot.errors import ParseError
|
||||
from sqlglot.optimizer.pushdown_predicates import (
|
||||
pushdown_predicates,
|
||||
@@ -101,7 +102,7 @@ SQLGLOT_DIALECTS = {
|
||||
"redshift": Dialects.REDSHIFT,
|
||||
"risingwave": Dialects.RISINGWAVE,
|
||||
"shillelagh": Dialects.SQLITE,
|
||||
"singlestore": Dialects.MYSQL,
|
||||
"singlestoredb": SingleStore,
|
||||
"snowflake": Dialects.SNOWFLAKE,
|
||||
# "solr": ???
|
||||
"spark": Dialects.SPARK,
|
||||
|
||||
Reference in New Issue
Block a user