You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "plusplusjiajia (via GitHub)" <gi...@apache.org> on 2026/09/20 17:37:50 UTC

[PR] [python] Reject vector and full-text search on a query-auth table [paimon]

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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [python] Reject vector and full-text search on a query-auth table [paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #10027:
URL: https://github.com/apache/paimon/pull/10027


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [python] Reject vector and full-text search on a query-auth table [paimon]

Posted by "plusplusjiajia (via GitHub)" <gi...@apache.org>.
plusplusjiajia closed pull request #10027: [python] Reject vector and full-text search on a query-auth table
URL: https://github.com/apache/paimon/pull/10027


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org