Anurag-S1ngh opened a new pull request, #4600:
URL: https://github.com/apache/iceberg-python/pull/4600

   Part of #3967
   
   # Rationale for this change
   
   The `loadTable` response can carry `read-restrictions` with required column 
projections or a required row filter. A client that cannot apply them must not 
return unrestricted data. PyIceberg does not support these actions yet, so it 
now refuses to load a table when either restriction is present. A missing or 
empty restrictions object still loads normally.
   
   This is the first slice of #3967. Applying the restrictions can follow once 
the action set is implemented.
   
   ## Are these changes tested?
   
   Added tests for required column projections, a required row filter, and an 
empty restrictions object. `tests/catalog/test_rest.py -k load_table` passes, 
and ruff plus mypy pass.
   
   ## Are there any user-facing changes?
   
   Yes. A REST catalog that returns read restrictions now raises 
`NotImplementedError` at load time instead of ignoring them.
   


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