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

Add esql.async_query, esql.async_query_get, esql.async_query_delete #3398

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

Copy link
Contributor

github-actions bot commented Jan 1, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
esql.async_query_get Missing test Missing test
esql.async_query Missing test Missing test
esql.query 278/278 Missing test

You can validate these APIs yourself by using the make validate target.

@lcawl lcawl marked this pull request as ready for review January 1, 2025 01:44
Copy link
Contributor

github-actions bot commented Jan 2, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
esql.async_query_get Missing test Missing test
esql.async_query Missing test Missing test
esql.query 278/278 Missing test

You can validate these APIs yourself by using the make validate target.

@lcawl lcawl changed the title Add esql.async_query and esql.async_query_get Add esql.async_query, esql.async_query_get, esql.async_query_delete Jan 2, 2025
Copy link
Contributor

github-actions bot commented Jan 2, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
esql.async_query_delete Missing test Missing test
esql.async_query_get Missing test Missing test
esql.async_query Missing test Missing test
esql.query 278/278 Missing test

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin self-assigned this Jan 7, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
esql.async_query_delete Missing test Missing test
esql.async_query_get Missing test Missing test
esql.async_query Missing test Missing test
esql.query 278/278 Missing test

You can validate these APIs yourself by using the make validate target.

1 similar comment
Copy link
Contributor

github-actions bot commented Jan 8, 2025

Following you can find the validation results for the APIs you have changed.

API Status Request Response
esql.async_query_delete Missing test Missing test
esql.async_query_get Missing test Missing test
esql.async_query Missing test Missing test
esql.query 278/278 Missing test

You can validate these APIs yourself by using the make validate target.

* To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.
* @doc_id esql-query-params
*/
params?: Array<FieldValue>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@l-trotta @swallez @Anaethelion Did we decide how to proceed with this field yet or was there any action from the ESQL server team?

For explanation: This definition is incorrect as ESQL accepts both, positional and named parameters. Currently, the API is a bit weird in the matter that it requires an array of single key dictionaries for the named parameters. This makes it hard to disambiguate which is why we proposed to soft-deprecate that syntax and have all named arguments in a single dictionary that replaces the array.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pquentin pquentin removed their assignment Jan 13, 2025
Copy link
Contributor

Following you can find the validation results for the APIs you have changed.

API Status Request Response
esql.async_query_delete Missing test Missing test
esql.async_query_get Missing test Missing test
esql.async_query Missing test Missing test
esql.query 278/278 Missing test

You can validate these APIs yourself by using the make validate target.

@lcawl lcawl merged commit 82aed1f into main Jan 16, 2025
8 checks passed
@lcawl lcawl deleted the esql-docs branch January 16, 2025 09:34
github-actions bot pushed a commit that referenced this pull request Jan 16, 2025
Copy link
Contributor

The backport to 8.17 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.17 8.17
# Navigate to the new working tree
cd .worktrees/backport-8.17
# Create a new branch
git switch --create backport-3398-to-8.17
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 82aed1fdbdffc4243845d5f70e3223981b35140a
# Push it to GitHub
git push --set-upstream origin backport-3398-to-8.17
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.17

Then, create a pull request where the base branch is 8.17 and the compare/head branch is backport-3398-to-8.17.

lcawl added a commit that referenced this pull request Jan 16, 2025
lcawl added a commit that referenced this pull request Jan 16, 2025
@lcawl
Copy link
Contributor Author

lcawl commented Jan 16, 2025

💚 All backports created successfully

Status Branch Result
8.17

Questions ?

Please refer to the Backport tool documentation

lcawl added a commit that referenced this pull request Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants