[Backport 2.x] Support for pagination in v2 engine of `SELECT * FROM <table>` queries by opensearch-trigger-bot[bot] · Pull Request #1684 · opensearch-project/sql · GitHub
Skip to content

[Backport 2.x] Support for pagination in v2 engine of SELECT * FROM <table> queries#1684

Merged
acarbonetto merged 2 commits into
2.xfrom
backport/backport-1666-to-2.x
May 30, 2023
Merged

[Backport 2.x] Support for pagination in v2 engine of SELECT * FROM <table> queries#1684
acarbonetto merged 2 commits into
2.xfrom
backport/backport-1666-to-2.x

Conversation

@opensearch-trigger-bot

Copy link
Copy Markdown
Contributor

Backport 57ce303 from #1666

#1666)

v2 SQL engine can now paginate simple queries. Pagination is initiated by setting fetch_size property in the request JSON.

Pagination is implemented using the OpenSearch Scroll API. Please see pagination-v2.md for implementation details.
---------

Signed-off-by: MaxKsyunz <maxk@bitquilltech.com>
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Signed-off-by: Max Ksyunz <maxk@bitquilltech.com>
Co-authored-by: Yury-Fridlyand <yury.fridlyand@improving.com>
Co-authored-by: GabeFernandez310 <Gabriel.Fernandez@improving.com>
Co-authored-by: Andrew Carbonetto <andrewc@bitquilltech.com>
(cherry picked from commit 57ce303)
@codecov

codecov Bot commented May 30, 2023

Copy link
Copy Markdown

Somehow the import is required in 2.x but not 3.0

Signed-off-by: MaxKsyunz <maxk@bitquilltech.com>
@acarbonetto acarbonetto merged commit 86ae687 into 2.x May 30, 2023
@acarbonetto acarbonetto deleted the backport/backport-1666-to-2.x branch May 30, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants