flyrain commented on code in PR #13879:
URL: https://github.com/apache/iceberg/pull/13879#discussion_r2292073922
##########
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:
What does this really mean? Is it about?
1. Reader must apply transforms. This is already covered by the previous
line "If the term is a transform, it must replace ..."
2. Reader must not project columns not listed.
--
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]