Skip to content

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

@Yury-Fridlyand

Description

@Yury-Fridlyand

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions