venkateshwaracholan opened a new pull request, #16615:
URL: https://github.com/apache/iceberg/pull/16615

   ## Summary
   
   Adds the top-level `warehouse/` directory to `.gitignore`.
   
   Iceberg local Spark/catalog experiments can create a `warehouse/` directory 
in the repository root containing generated table data and metadata files, such 
as Parquet data files, Avro manifest files, metadata JSON files, CRC files, and 
`version-hint.text`.
   
   ## Why
   
   These files are local runtime artifacts and should not be committed. Because 
`warehouse/` was not ignored, a broad `git add .` could accidentally stage 
generated table files, leading to noisy commits or RAT/license check failures.
   
   The repo already ignores related local runtime directories such as 
`spark-warehouse/` and `metastore_db/`. This adds the generic local warehouse 
path alongside those ignores.
   
   ## Testing
   
   Manually verified that a generated file under `warehouse/` is ignored by Git 
after this change:
   
   ```bash
   git check-ignore -v warehouse/repro/example.metadata.json


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