dragonknightk opened a new pull request, #1538:
URL: https://github.com/apache/paimon-rust/pull/1538

   ### Purpose
   
   Linked issue: close #1463
   
   A custom reader that consumes a transported DataSplit needs to know whether 
the split requires catalog authorization before opening its files. 
has_query_auth_rules() only reports row filters or column masks, so an 
unrestricted response still looks like it needs no authorization.
   
   ### Brief change log
   
   Expose the existing DataSplit::query_auth_required accessor. The flag is 
already stored and survives serialization.
   
   ### Tests
   
   The new test transports splits through serde. After transport, 
query_auth_required() is true in all five cases. has_query_auth_rules() is 
false for an unrestricted response, an empty filter and mask, and a missing 
response, and true for a row filter and a column mask. An ordinary split has 
both false.
   
   ### API and Format
   
   This adds a public accessor for an existing field. The storage and 
serialization format is unchanged.
   
   ### Documentation
   
   The accessor is documented on DataSplit. No other documentation is added.
   
   ## AI Disclosure
   
   Human-led contribution. Grok Bot, working for dragonknightk, assisted with 
this change, including the code, tests, and description. All submitted content 
was reviewed by a human before submission.
   


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