Skip to content

Make GQL the default Continuos Query Language #385

@agentofreality

Description

@agentofreality

Overview of feature request

Originally, Drasi only supported the openCypher language for authoring Continuous Queries.

Once we added GQL support, we added the ability for query authors to specify in the Continuos Query definition which query language they were using.

Initially, if no language is specified, we defaulted to using openCypher so that any existing Continuous Query definitions without the setting would continue to work.

Now we want to make GQL the default langauge for Continuous Queries when the language isnt specified.

Search for the places this default to openCypher is implemented and change it so that GQL is the default.

This will break existing examples in code and documentation as well as existing tutorials, so you will need to look in the drasi-docs repo and the drasi-learning repo to identify what is broken and create fixes for that content as well.

Acceptance criteria

Continuous Queries default to using the GQL language option if it is not specified by the query author.
Unit tests to confirm the default setting is working as expected and can be overidden based on config setting.
All existing unit, integration, and perf tests updated to use language setting.
Documentation updated to reflect the change in default behavior
Review the drasi-docs repo and identify where text and examples need to be changed to reflect the new default. All existing Continuos Query examples that use openCypher need to have the language setting explicitly set.
Review the drasi-learning repo and identify where text and examples need to be changed to reflect the new default. All existing Continuos Query examples that use openCypher need to have the language setting explicitly set.

Additional context

No response

Would you like to support us?

  • Yes, I would like to support you

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions