Limit column to be defined only once for the text index#83303
Merged
Limit column to be defined only once for the text index#83303
Conversation
Contributor
|
Workflow [PR], commit [b92a4e5] Summary: ❌
|
Ergus
approved these changes
Jul 4, 2025
Member
|
I also wanted the same the other way around. So, ensure that a column only has one index. Because right now it is not deterministic which index will be used |
rschu1ze
approved these changes
Jul 6, 2025
Member
|
Stateless tests (amd_tsan, s3 storage, 3/3)
Stateless tests (amd_coverage,2/6)
Stress test (amd_debug) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #82385
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Recently, fuzzer found an issue for the searchAny and searchAll functions (see #82385).
This exception occurs whenever
searchAnyorsearchAllfunctions get different text index parameters for the same column.This scenario is only possible when there are two different text indices for the same column. This PR limits a column to be defined only once for the text index, but wrapper around the column (e.g.
lower(column)) is still allowed.Also, re-enable searchAny and searchAll functions.