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

   ## Problem
   
   Java refuses vector and full-text search whenever the table carries query 
authorization (`TableQueryAuthResult.rejectSearchUnderQueryAuth`): the index 
ranks raw values, which a column mask invalidates.
   
   Python planned the search instead. `PrimaryKeyVectorScan` and 
`PrimaryKeyFullTextScan` then unwrapped the `QueryAuthSplit` the scan had 
produced and kept the bare data split, so neither the mask nor the row filter 
reached the result.
   
   ## Change
   
   Port the refusal to the vector, batch-vector, full-text and hybrid builders. 
It sits in the methods that build a scan or a read rather than in the builder 
constructors, matching Java: a deserialized builder skips a constructor check.
   
   The guard is gated on `isinstance(table, FileStoreTable)` like Java's 
`instanceof` check, so tables that cannot carry authorization are unaffected.
   


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