Skip to content

Fixed logic for isWildcard function - #1171

Merged
msrathore-db merged 3 commits into
databricks:mainfrom
msrathore-db:fix-iswildcard
Jan 7, 2026
Merged

msrathore-db merged 3 commits into
databricks:mainfrom
msrathore-db:fix-iswildcard

Conversation

@msrathore-db

Copy link
Copy Markdown
Collaborator

Description

Testing

Additional Notes to the Reviewer

@@ -32,7 +32,7 @@ public static boolean isNullOrWildcard(String s) {
* @return true if the input string is wildcard
*/
public static boolean isWildcard(String s) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

function name is one thing, but can you also check how this is used? Is it used for wildcard check or for pattern check?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I checked the references for this function and they should actually have the fixed logic. Verified it

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Although the tests are written in the way that this should be behaving so I'm not sure why they were written that way

@msrathore-db
msrathore-db merged commit 9ad5004 into databricks:main Jan 7, 2026
12 of 13 checks passed
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