Skip to content

Conversation

@LantaoJin
Copy link
Member

@LantaoJin LantaoJin commented Nov 12, 2025

Description

The dedup pushdown was disabled previously, because of the plan of join with max option can be optimized to collapse search. But the collapse search didn't support search_after which cause the join return an incorrect result.

This PR re-enable the dedup pushdown by distinguishing the plan of dedup command and join with max option command.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • New PPL command checklist all confirmed.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff or -s.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Lantao Jin <[email protected]>
@LantaoJin LantaoJin added the enhancement New feature or request label Nov 12, 2025
Signed-off-by: Lantao Jin <[email protected]>
@penghuo
Copy link
Collaborator

penghuo commented Nov 12, 2025

dedup optimization depend on opensearch-project/OpenSearch#19261. this improvement can not been backport to 2.19-dev?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 2.19-dev enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants