[ES|QL] Fetch the query columns utils#181969
Merged
stratoula merged 6 commits intoelastic:mainfrom May 1, 2024
Merged
Conversation
Contributor
Author
|
/ci |
Contributor
|
Pinging @elastic/kibana-esql (Team:ESQL) |
stratoula
commented
Apr 30, 2024
| search.search( | ||
| { | ||
| params: { | ||
| query: `${esqlQuery} | limit 0`, |
Contributor
Author
Contributor
Author
|
/ci |
dej611
approved these changes
Apr 30, 2024
Contributor
dej611
left a comment
There was a problem hiding this comment.
With the latest fix is works ok. Tested locally 👍
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
History
To update your PR or re-run it, just comment with: |
stratoula
added a commit
to stratoula/kibana
that referenced
this pull request
May 1, 2024
This reverts commit 4262afe.
sorenlouv
added a commit
to klacabane/kibana
that referenced
this pull request
May 1, 2024
This reverts commit 4262afe.
stratoula
added a commit
that referenced
this pull request
May 1, 2024
stratoula
added a commit
that referenced
this pull request
May 6, 2024
## Summary Revives this #181969 To do so, I had to create a new package `search-types` and move the types I need there. The Discovery team can take it from here. Note: It also does a cleanup on the types I move, some of them were declared twice. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new utility for the users who want to retrieve the columns from a query without expressions but using the search strategy.
This is the first utility to add for fetching ES|QL data without expressions. This is only for columns but we can extend for fetching the entire table instead. The latter will be part of #179641 (comment)