plusplusjiajia commented on code in PR #758:
URL: https://github.com/apache/paimon-rust/pull/758#discussion_r3906381530


##########
crates/paimon/src/table/mod.rs:
##########
@@ -315,6 +321,97 @@ impl Table {
         }
     }
 
+    /// Whether the server says this table is `query-auth.enabled` right now: 
the
+    /// handle's schema is a snapshot, and a cached `false` would skip the 
check.
+    pub(crate) async fn server_query_auth_enabled(&self) -> Result<bool> {

Review Comment:
   @JingsongLi   Good catch — real hole. Fixed and widened past the searches: 
fourteen sites now ask the server via Table::ensure_read_authorized_live, and 
delegated searches ask once rather than once per route.



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