Skip to content

Formally define OHDSI-SQL #290

@ablack3

Description

@ablack3

SqlRender performs substitution on strings of text but does not guarantee that its output will actually run on the desired dbms. This is because it does not check that it's input is valid OHDSI-SQL.

What if we thought of OHDSI-SQL as a sql dialect and formally defined it's structure so that we could

  • Check that inputs are valid and can be translated
  • Know that we have covered all translation cases when adding a new backend
  • Potentially provide editor support for code completion and syntax checking using LSP

The definition would look something like
image

reference: https://duckdb.org/docs/sql/statements/select

Metadata

Metadata

Assignees

No one assigned

    Labels

    exploratoryChanges that require some research first

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions