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

[PPL] Vega support with PPL #6040

Closed
YANG-DB opened this issue Mar 5, 2024 · 2 comments
Closed

[PPL] Vega support with PPL #6040

YANG-DB opened this issue Mar 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@YANG-DB
Copy link
Member

YANG-DB commented Mar 5, 2024

Is your feature request related to a problem?
As a vega visualization user, I'd like to be able to query OpenSearch using PPL query language.

What solution would you like?
OpenSearch provide multiple query languages endpoint to fetch data. Vega visualization currently only supports DQL language
I'd like to be able to use vega visualization with the PPL language and allow the PPL capability for federating queries for other datasources into the visualization itself.

Suggested vega PPL query:

 "data": {
  "url" :{
      "%context%": "true",
      "%timefield%": "startTime",
      "index": "otel-v1-apm-span-*",
      "query": "source = %index% | stats sum(productsAmount) by span(transactionDate, 1d) as age_date | sort age_date"
    }
    "format":{
      "type": "json",
      "property":"hits.hits"
    }
  },

What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.

Do you have any additional context?
#5927

@YANG-DB YANG-DB added the enhancement New feature or request label Mar 5, 2024
@ashwin-pc
Copy link
Member

Since PPL isnt supported in a minimal distribution of OpenSearch, we need to make sure that this extension is more generic so that a plugin can bring in their own queries. We shouldnt take a dependency on something that isnt part of the core

@YANG-DB
Copy link
Member Author

YANG-DB commented Mar 21, 2024

PPL is moving inside the core API capabilities so this becomes redundant

@YANG-DB YANG-DB closed this as completed Mar 21, 2024
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

2 participants