singhpk234 commented on code in PR #13879:
URL: https://github.com/apache/iceberg/pull/13879#discussion_r2292138061


##########
open-api/rest-catalog-open-api.yaml:
##########
@@ -3260,25 +3260,25 @@ components:
           additionalProperties:
             type: string
 
-    FineGrainedDataProtectionRules:
+    ReadRestrictions:
       type: object
       description: >
-        Fine-grained data protection rules for a table as result of fine 
grained policy evaluation at the catalog end based on the clients access rights.
-        
-        The client SHOULD use these rules to enforce fine-grained data 
protection like column and row level access when reading data from the table.
+          Read Restrictions for a table including projection and row filter 
expressions.
+          The client MUST enforce these rules to read data from the table.
       properties:
-        projections:
+        required-projection:
           description: >
-            This field contains a list of columns or column transforms to be 
projected.
+            A list of projections that must be applied before query 
projections. If the term is a transform, it must replace the column referenced 
by the term.
+            Readers are not allowed to project columns that are not listed and 
must apply transforms.

Review Comment:
   yes its about both and specially `projection` term being overloaded as 
engine would also be projecting column `cc` but here we want the engine to do 
something like `mask(cc, 0, 12) as cc` if its not there simply don't project 
`cc` should i add this as an example. 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to