-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport 2.x] Add pit for pagination query (#3076)
* Add pit for join queries (#2703) * Add search after for join * Enable search after by default * Add pit * nit * Fix tests * ignore joinWithGeoIntersectNL * Rerun CI with scroll * Remove unused code and retrigger CI with search_after true * Address comments * Remove unused code change * Update pit keep alive time with SQL_CURSOR_KEEP_ALIVE * Fix scroll condition * nit * Add pit before query execution * nit * Move pit from join request builder to executor * Remove unused methods * Add pit in parent class's run() * Add comment for fetching subsequent result in NestedLoopsElasticExecutor * Update comment * Add javadoc for pit handler * Add pit interface * Add pit handler unit test * Fix failed unit test CI * Fix spotless error * Rename pit class and add logs * Fix pit delete unit test --------- * Add pit for multi query (#2753) * Add search after for join * Enable search after by default * Add pit * nit * Fix tests * ignore joinWithGeoIntersectNL * Rerun CI with scroll * draft * Remove unused code and retrigger CI with search_after true * Address comments * Remove unused code change * Update pit keep alive time with SQL_CURSOR_KEEP_ALIVE * Fix scroll condition * nit * Add pit before query execution * Refactor get response with pit method * Update remaining scroll search calls * Fix integ test failures * nit * Move pit from join request builder to executor * Remove unused methods * Move pit from request to executor * Fix pit.delete call missed while merge * Move getResponseWithHits method to util class * add try catch for create delete pit in minus executor * move all common fields to ElasticHitsExecutor * add javadoc for ElasticHitsExecutor * Add missing javadoc * Forcing an empty commit as last commit is stuck processing updates --------- * Add pit to default cursor * Run CI without pit unit test * Rerun CI without pit unit test * FIx unit tests for PIT changes * Addressed comments --------- (cherry picked from commit 69853fe) Signed-off-by: Rupal Mahajan <[email protected]> Signed-off-by: Manasvini B S <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Rupal Mahajan <[email protected]>
- Loading branch information
1 parent
66f5ae8
commit 69bacd1
Showing
12 changed files
with
513 additions
and
110 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.