feat(sqllab): syntax validation for sqlite-based DB engine specs (#38698)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Beto Dealmeida
2026-04-20 18:29:51 -04:00
committed by GitHub
parent e1bdb94efc
commit 11607dde04
7 changed files with 764 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
# under the License.
from typing import Optional
from . import base, postgres, presto_db
from . import base, postgres, presto_db, sqlite
from .base import SQLValidationAnnotation # noqa: F401
@@ -24,4 +24,5 @@ def get_validator_by_name(name: str) -> Optional[type[base.BaseSQLValidator]]:
return {
"PrestoDBSQLValidator": presto_db.PrestoDBSQLValidator,
"PostgreSQLValidator": postgres.PostgreSQLValidator,
"SQLiteSQLValidator": sqlite.SQLiteSQLValidator,
}.get(name)