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

Validate a Query against an index mapping #1316

Open
YANG-DB opened this issue Feb 2, 2023 · 1 comment
Open

Validate a Query against an index mapping #1316

YANG-DB opened this issue Feb 2, 2023 · 1 comment
Labels
Milestone

Comments

@YANG-DB
Copy link
Member

YANG-DB commented Feb 2, 2023

Is your feature request related to a problem?
In recent adding of the Observability schema based indices and dashboards, we need the ability to validate that a given SQL / PPL query running against an index - that wasn’t created yet but has a mapping template, conforms to the index mapping that describes the structure.

What solution would you like?
Adding the API for validating the correctness of a query with an index mapping / mapping template
For that matter if an index template has a supporting json_schema corresponding for that mapping - that can be used as well...

What alternatives have you considered?
N/A

Do you have any additional context?

@YANG-DB YANG-DB added this to the 2.6 milestone Feb 2, 2023
@dai-chen
Copy link
Collaborator

dai-chen commented Feb 6, 2023

Currently there is no index mapping template concept in SQL engine. So the index has to exist and then explain API can serve as this purpose. Need to figure out if and how we want to support this.

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

No branches or pull requests

2 participants