From a302930c4d886768c84422e5dade8b148841b749 Mon Sep 17 00:00:00 2001 From: Jamie Davidson Date: Wed, 11 Nov 2026 15:17:25 -0800 Subject: [PATCH 1/2] feat(new-dialect): register OMNI Omni model SQL is the connection's warehouse SQL plus Omni's own ${view.field} references, {{ }} templates, and functions such as omni_dimensionalize. The Omni converter in apache/ossie-converters will tag expressions that only Omni can evaluate with this dialect, rather than labeling them ANSI_SQL. Registered as a non-SQL dialect: the reference and template syntax does not parse as SQL, so the validator carries these expressions without checking them. Co-Authored-By: Claude Fable 5.2 --- extensions/dialects.md | 1 + python/src/ossie/models.py | 1 + validation/validate.py | 1 + 3 files changed, 3 insertions(+) diff --git a/extensions/dialects.md b/extensions/dialects.md index bbede5636..525e3927b 100644 --- a/extensions/dialects.md +++ b/extensions/dialects.md @@ -45,3 +45,4 @@ only dialect the specification defines; all others are opaque to Ossie. | `POSTGRES` | PostgreSQL | | `REDSHIFT` | Amazon Redshift SQL | | `PYICEBERG` | PyIceberg predicate strings for boolean fields; see [`dialects/pyiceberg.md`](dialects/pyiceberg.md) | +| `OMNI` | Omni model SQL: the connection's warehouse SQL with Omni `${view.field}` references, `{{ }}` templates, and Omni functions | diff --git a/python/src/ossie/models.py b/python/src/ossie/models.py index 1ec3e66d4..86968963d 100644 --- a/python/src/ossie/models.py +++ b/python/src/ossie/models.py @@ -148,6 +148,7 @@ class OssieDialect(str, Enum): POSTGRES = "POSTGRES" REDSHIFT = "REDSHIFT" PYICEBERG = "PYICEBERG" + OMNI = "OMNI" class OssieDataType(str, Enum): diff --git a/validation/validate.py b/validation/validate.py index 330e7155c..4089eab17 100644 --- a/validation/validate.py +++ b/validation/validate.py @@ -148,6 +148,7 @@ "HOLISTICS_AQL", "SPARQL", "PYICEBERG", + "OMNI", } # Every dialect this validator knows, for close-match suggestions on a typo. From 56c683b23a5f7cfa6446990637004f025903f71e Mon Sep 17 00:00:00 2001 From: Jamie Davidson Date: Wed, 11 Nov 2026 15:40:00 -0800 Subject: [PATCH 2/2] docs(extensions): shorten the OMNI dialect description Co-Authored-By: Claude Fable 5.2 --- extensions/dialects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/dialects.md b/extensions/dialects.md index 525e3927b..adc1d2ef2 100644 --- a/extensions/dialects.md +++ b/extensions/dialects.md @@ -45,4 +45,4 @@ only dialect the specification defines; all others are opaque to Ossie. | `POSTGRES` | PostgreSQL | | `REDSHIFT` | Amazon Redshift SQL | | `PYICEBERG` | PyIceberg predicate strings for boolean fields; see [`dialects/pyiceberg.md`](dialects/pyiceberg.md) | -| `OMNI` | Omni model SQL: the connection's warehouse SQL with Omni `${view.field}` references, `{{ }}` templates, and Omni functions | +| `OMNI` | Omni SQL |