Skip to content

Grouping key field type can only be overwritten when the ExprCoreTypes are different - #4850

Merged
yuancu merged 1 commit into
opensearch-project:mainfrom
LantaoJin:pr/issues/4845
Nov 24, 2025
Merged

yuancu merged 1 commit into
opensearch-project:mainfrom
LantaoJin:pr/issues/4845

Conversation

@LantaoJin

@LantaoJin LantaoJin commented Nov 24, 2025 •

Copy link
Copy Markdown
Member

Description

This bug introduced by #4500 by overwriting a new OpenSearchDateType which the custom formats are missing.
How to fix:
We only overwrite the group field' type when their ExprCoreTypes are different.

Related Issues

Resolves #4845

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.

@yuancu
yuancu merged commit 1c27a6d into opensearch-project:main Nov 24, 2025
opensearch-trigger-bot Bot pushed a commit that referenced this pull request Nov 24, 2025
… are different (#4850)

Signed-off-by: Lantao Jin <[email protected]>
(cherry picked from commit 1c27a6d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@LantaoJin
LantaoJin deleted the pr/issues/4845 branch November 24, 2025 09:14
LantaoJin pushed a commit that referenced this pull request Nov 24, 2025
… are different (#4850) (#4852)

(cherry picked from commit 1c27a6d)

Signed-off-by: Lantao Jin <[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>
asifabashar pushed a commit to asifabashar/sql that referenced this pull request Dec 10, 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.

[BUG] Test failure with q41.ppl when match exists

3 participants