rdblue commented on code in PR #13879:
URL: https://github.com/apache/iceberg/pull/13879#discussion_r2294433132
##########
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:
I agree that we need to keep working on the description here to make it
simpler and more clear. It is weird that the transformed term must replace the
column it transforms. I think there must be a simpler way to say this, but I
think right now we at least understand what we are trying to say more
succinctly.
--
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]