QuakeWang opened a new pull request, #8324:
URL: https://github.com/apache/paimon/pull/8324
### Purpose
Hybrid full-text routes accepted `options` from Spark SQL, Java, and Python
APIs, but the execution path never consumed them. `HybridSearchRoute` stored
the map, while `FullTextSearchBuilder` and `FullTextSearch` have 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 for `named_struct` type consistency, updates the docs, and
adds regression tests.
### Tests
- `mvn -pl paimon-common -am -DfailIfNoTests=false
-Dtest=FullTextQueryTest test`
- `mvn -pl paimon-spark/paimon-spark-common -am -DfailIfNoTests=false
-DwildcardSuites=org.apache.paimon.spark.catalyst.plans.logical.VectorSearchQueryTest
-Dtest=none test`
- `python -m unittest
pypaimon.tests.vector_search_filter_test.HybridSearchBuilderTest`
- `python dev/check_license_header.py`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]