Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Detect and report queries with incompatible features #1088

Open
Yury-Fridlyand opened this issue Nov 18, 2022 · 0 comments
Open

[FEATURE] Detect and report queries with incompatible features #1088

Yury-Fridlyand opened this issue Nov 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Yury-Fridlyand
Copy link
Collaborator

Is your feature request related to a problem?

A user can run a query which uses OpenSearch functions on another storage.

What solution would you like?

Plugin should be able to detect incompatible features in a query and gracefully avoid them or report a human friendly error.

  1. Detect OpenSearch functions (e.g. relevance search) in non-OpenSearch query (e.g. Prometheus).
  2. Avoid using push down function implementations and use in-memory implementations. For example: LIKE function, aggregations like min/max.

What alternatives have you considered?

Move relevance search functions to OpenSearch datasource/catalog, so it will be easier to recognize [in]compatibility.

Do you have any additional context?

This feature should protect from running PromQL queries on OpenSearch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant