rokadepiyush49-rgb commented on issue #3973:
URL: 
https://github.com/apache/iceberg-python/issues/3973#issuecomment-7112446463

   I looked at both paths ghoshp83 confirmed. `purge_table` passes manifest 
`file_path` entries straight to `delete_data_files`, and `LocationProvider` 
uses `write.data.path` / `write.metadata.path` as given:
   
   ```mermaid
   flowchart TD
     P[purge_table] --> M[file paths from manifests]
     M --> C{inside table location?}
     C -- yes --> D[delete]
     C -- no, today --> D
     C -. no, proposed .-> S[skip and log]
   ```
   
   Before writing anything: is this in scope per `SECURITY-THREAT-MODEL.md`, or 
should it go through security@ instead? @ghoshp83, are you planning a fix? If 
not, I'd like to work on a scheme-aware containment check with an opt-out for 
tables that legitimately write elsewhere.
   


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