QuakeWang opened a new pull request, #8281:
URL: https://github.com/apache/paimon/pull/8281

   ### Purpose
   
   Spark `full_text_search` TVF only accepted the original four arguments and 
always built the default OR query, while the underlying full-text predicate and 
hybrid full-text route already supported `query_operator`.
   
   This PR adds an optional `query_operator` argument to Spark 
`full_text_search`, keeps `or` as the default for backward compatibility, and 
reuses `FullTextSearch` for `or` / `and` validation and normalization.
   
   ### Tests
   
   - `mvn -pl paimon-spark/paimon-spark-common -am -DfailIfNoTests=false 
-DwildcardSuites=org.apache.paimon.spark.catalyst.plans.logical.VectorSearchQueryTest
 -Dtest=none test`
   - `mvn -Pspark3 -pl paimon-spark/paimon-spark-ut -am -DfailIfNoTests=false 
-DwildcardSuites=org.apache.paimon.spark.sql.FullTextSearchTest -Dtest=none 
test`


-- 
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]

Reply via email to