-
Notifications
You must be signed in to change notification settings - Fork 6.2k
planner: rewrite FTS predicates to LIKE for evaluation of non-TiCI query plan #65626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
a5a6400
planner: rewrite FTS predicates to LIKE if no FTS index
terry1purcell 4ded0d5
build errors
terry1purcell 5051049
build errors2
terry1purcell a11e436
testcase1
terry1purcell 3379ed5
testcase2
terry1purcell ba0f3d7
review1
terry1purcell 82416d8
review2
terry1purcell f7b1fa5
review3
terry1purcell c63c6bb
review4
terry1purcell 0c74944
review5
terry1purcell dbdbce1
review6
terry1purcell dc10c79
review7
terry1purcell 48373d1
review8
terry1purcell 2121e81
review9
terry1purcell 0b4ba84
review10
terry1purcell 69b1497
Merge branch 'pingcap:master' into fts
terry1purcell 04b00aa
Merge branch 'master' into fts
terry1purcell ab11dda
refactor
terry1purcell c9e0409
Merge branch 'master' into fts
terry1purcell 8ba9a8a
expression: revert fts_match_word arity/impl changes not needed for L…
terry1purcell 19e9dc3
planner, expression: fix four review findings in MATCH...AGAINST LIKE…
terry1purcell 569f3aa
rebase after months of change
terry1purcell 19aba2c
planner: handle optional+excluded boolean FTS terms in LIKE fallback
terry1purcell eb1d412
planner: fix four correctness issues in MATCH...AGAINST LIKE fallback
terry1purcell 4200060
planner/util: update null-reject builtin registry snapshot for match_…
terry1purcell a566282
expression: regenerate builtin thread-safety files for builtinFtsMysq…
terry1purcell afcf285
tests: add match_against to SHOW BUILTINS expected output
terry1purcell d5cfdcb
planner, expression: fix review findings in MATCH...AGAINST LIKE fall…
terry1purcell 4080f42
planner, expression: address review findings in MATCH...AGAINST LIKE …
terry1purcell c22f54c
planner: restrict MATCH...AGAINST LIKE rewrite to predicate contexts
terry1purcell b7733c7
planner: use ILIKE for case-insensitive MATCH...AGAINST LIKE fallback
terry1purcell e603043
planner: fix gofmt comment formatting in fulltext_to_like.go
terry1purcell 1ddbcca
planner: add fts-native alternative round for TiFlash FTS cost compet…
terry1purcell dc2cccb
review updates
terry1purcell 98e97fd
Merge branch 'pingcap:master' into fts
terry1purcell 32b7c04
planner, expression: address review feedback on MATCH...AGAINST LIKE …
terry1purcell bac401f
bazel update
terry1purcell 4aa6f93
*: stop tracking Claude Code runtime state
terry1purcell 49db4da
planner: fix NULL search handling in MATCH...AGAINST LIKE fallback
terry1purcell 3647abe
expression: gate FTSMysqlMatchAgainst Flash pushdown on default modifier
terry1purcell 8803614
cardinality: route constant FTS substitutes to the constants bucket
terry1purcell b0b04c4
expression: emit Constant(NULL) for AGAINST(NULL) in selectivity subs…
terry1purcell aba6e18
planner: move column-type check above NULL fast-path in LIKE fallback
terry1purcell 57f98c4
cardinality: refresh stale Constant(0) comment after Constant(NULL) c…
terry1purcell a18872c
expression: add defensive bounds check before indexing FTS validator …
terry1purcell ed3e7a3
planner: restore FTS cost competition between native and ILIKE plans
terry1purcell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.