[core][spark][python] Reject full-text hybrid route options#8324
Merged
Conversation
Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
Contributor
|
+1 |
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.
Purpose
Hybrid full-text routes accepted
optionsfrom Spark SQL, Java, and Python APIs, but the execution path never consumed them.HybridSearchRoutestored the map, whileFullTextSearchBuilderandFullTextSearchhave no options channel, so non-empty full-text route options were silently ignored.This PR rejects non-empty full-text route options fail-fast, keeps empty Spark
map()valid fornamed_structtype consistency, updates the docs, and adds regression tests.Tests
mvn -pl paimon-common -am -DfailIfNoTests=false -Dtest=FullTextQueryTest testmvn -pl paimon-spark/paimon-spark-common -am -DfailIfNoTests=false -DwildcardSuites=org.apache.paimon.spark.catalyst.plans.logical.VectorSearchQueryTest -Dtest=none testpython -m unittest pypaimon.tests.vector_search_filter_test.HybridSearchBuilderTestpython dev/check_license_header.py