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

Create index for JSON fields #5080

Open
killme2008 opened this issue Dec 2, 2024 · 1 comment
Open

Create index for JSON fields #5080

killme2008 opened this issue Dec 2, 2024 · 1 comment
Labels
C-enhancement Category Enhancements

Comments

@killme2008
Copy link
Contributor

killme2008 commented Dec 2, 2024

What type of enhancement is this?

Performance, User experience

What does the enhancement do?

We should support creating an index for context.trace_id and context.span_id in the context column from OpenTelemetry Traces(https://opentelemetry.io/docs/concepts/signals/traces/):

"context": {
    "trace_id": "5b8aa5a2d2c872e8321cf37308d69df2",
    "span_id": "051581bf3cb55c13"
  }

Additionally, enabling the query where context.trace_id = '5b8aa5a2d2c872e8321cf37308d69df2' would allow the index to optimize query performance.

Implementation challenges

No response

@killme2008 killme2008 added the C-enhancement Category Enhancements label Dec 2, 2024
@evenyag evenyag changed the title Create inverted index for JSON fields Create index for JSON fields Dec 2, 2024
@CookiePieWw
Copy link
Collaborator

Seems duplicated to #4849? We can close one of them.

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

No branches or pull requests

2 participants