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

SQL: Introduce an async querying mode for SQL (backport of #73991) #74643

Merged
merged 1 commit into from
Jun 28, 2021

Conversation

bpintea
Copy link
Contributor

@bpintea bpintea commented Jun 28, 2021

This adds an async query mode to SQL.
It (re)uses the same request and response async-specific EQL object
parameters.

Also similar to EQL, the running search task can have its state
monitored and canceled and its results stored and deleted, with
intermediary responses not supported (the entire result is available
once search finished).

The async implementation is extended to work with the SQL-specific
text formats (txt, csv, tsv) as well, besides xcontent.

Closes #71041.

(cherry picked from commit 42cc419)

This adds an async query mode to SQL.
It (re)uses the same request and response async-specific EQL object
parameters.

Also similar to EQL, the running search task can have its state
monitored and canceled and its results stored and deleted, with
intermediary responses not supported (the entire result is available
once search finished).

The async implementation is extended to work with the SQL-specific
text formats (txt, csv, tsv) as well, besides xcontent.

Closes elastic#71041.

(cherry picked from commit 42cc419)
@bpintea bpintea marked this pull request as ready for review June 28, 2021 17:59
@bpintea bpintea merged commit e3f06a6 into elastic:7.x Jun 28, 2021
@bpintea bpintea deleted the port/7.x_73991 branch June 28, 2021 18:00
@bpintea bpintea added the :Analytics/SQL SQL querying label Jun 28, 2021
@elasticmachine elasticmachine added the Team:QL (Deprecated) Meta label for query languages team label Jun 28, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/SQL SQL querying backport >feature Team:QL (Deprecated) Meta label for query languages team v7.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants