Skip to content

feat(new-dialect): register OMNI - #717

Merged
christianeu-db merged 2 commits into
apache:mainfrom
jdavidson:feat/register-omni-dialect
Nov 12, 2026
Merged

christianeu-db merged 2 commits into
apache:mainfrom
jdavidson:feat/register-omni-dialect

Conversation

@jdavidson

Copy link
Copy Markdown
Contributor

Summary

Registers OMNI as a known dialect.

Omni passes a field's sql to the model's database connection, so most Omni
expressions are plain warehouse SQL. Some are not: they use Omni's own
${view.field} references, {{ }} templates, or functions such as
omni_dimensionalize. The Omni converter in
apache/ossie-converters
labels every imported expression ANSI_SQL today, including those. This token
gives the converter an accurate label for expressions only Omni can evaluate,
the same role SIGMA, THOUGHTSPOT and HOLISTICS_AQL play for their tools.

  • extensions/dialects.md: add OMNI to the Known dialects table.
  • python/src/ossie/models.py: add OMNI to OssieDialect, so the SDK and the
    registry list the same dialects.
  • validation/validate.py: add OMNI to NON_SQL_DIALECTS. The reference and
    template syntax does not parse as SQL, so these expressions are carried
    without being checked.

Related Issues

None. The OMNI vendor name was registered in #663. The converter change that
starts emitting this dialect will follow in apache/ossie-converters.

Checklist

Specification

N/A: no core-spec/ change; extensions/ is a registry outside the normative spec (#617).

Ontology

N/A

Converters

  • The matching Omni converter change in apache/ossie-converters is in progress and will follow once that repo moves to spec 0.3.0.dev0.

Validation

  • OMNI is registered in validation/validate.py as a non-SQL dialect
  • Covered by the existing tests that pin the dialect tables to the registry

Documentation

N/A

Examples

N/A: no new spec constructs.

Tests

  • All existing tests pass (python/tests: 278 passed; validation/tests: 620 passed, 1 skipped; generate-spec-types.py --check clean)

Compliance

  • No new files
  • No third-party dependencies added
  • No third-party source vendored

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@christianeu-db
christianeu-db merged commit 2692b1c into apache:main Nov 12, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants