Skip to content

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

Closed as not planned

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.

Activity

  1. added
    enhancement
    on Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions