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

   ## What is the purpose of the change?
   
   `DataEvolutionVectorScan` reads search-mode settings directly from table 
options, so query-level overrides supplied by the query builder are ignored. 
This prevents callers from overriding vector or scalar index search behavior 
for an individual query.
   
   ## Brief change log
   
   - Build effective options by applying table options first and query options 
second.
   - Use the effective options for both vector-index and scalar-index search 
modes.
   - Add regression coverage proving that a query-level scalar full-search 
override restores fallback rows when the table default is fast mode.
   
   ## Verifying this change
   
   ```bash
   mvn -pl paimon-core -am -DskipITs -Dfast \
     
-Dtest=VectorSearchBuilderTest#testFastScalarModePartialPreFilterOnlyUsesIndexedRows
 \
     -Dsurefire.failIfNoSpecifiedTests=false test
   ```
   
   Result: the focused regression test passed. Spotless and Checkstyle also 
passed.
   


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