Skip to content

Conversation

@neil-xie
Copy link
Member

@neil-xie neil-xie commented Sep 16, 2025

What changed?
It is not supported when there are multiple wildcard queries joined, it should be one query with should condition.

Why?
`select * from dummy where WorkflowID like 'wid' OR Attr.CustomizedKeywordField like 'test'

=>

{"query":{"bool":{"must":[{"match_phrase":{"DomainID":{"query":"bfd5c907-f899-4baf-a7b2-2ab85e623ebd"}}},{"bool":{"should":[{"wildcard":{"WorkflowID":{"value":"wid*"}}},{"wildcard":{"Attr.CustomizedKeywordField":{"value":"test*"}}}]}}]}},"from":0,"size":1}`

How did you test it?
Unit test

Potential risks

Release notes

Documentation Changes

Copy link
Member

@adhityamamallan adhityamamallan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we could have a case-insensitive match by default, that would be very useful

Signed-off-by: Neil Xie <neil.xie@uber.com>
Signed-off-by: Neil Xie <neil.xie@uber.com>
@neil-xie neil-xie merged commit 6691c9c into cadence-workflow:master Sep 18, 2025
51 of 52 checks passed
@neil-xie neil-xie deleted the CDNC-15260 branch September 18, 2025 19:18
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