snazy commented on code in PR #3256:
URL: https://github.com/apache/polaris/pull/3256#discussion_r2637181589


##########
storage/files/README.md:
##########
@@ -0,0 +1,70 @@
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+# Polaris object store operations
+
+API and implementations to perform long-running operations against object 
stores, mostly to purge files.
+
+Functionalities to scan an object store and to purge files are separated. 
Filter mechanisms are used to
+select the files to be deleted (purged).
+
+There are implementations to identify the files referenced by a particular 
Iceberg table or view metadata, including
+statistics files, manifest lists of all snapshots, the manifest files and the 
data/delete files.
+
+The file operations perform no effort to identify duplicates during the 
identification of files referenced by
+a table or view metadata.
+This means that, for example, a data file referenced in multiple manifest 
files will be returned twice.
+
+Purge operations are performed in one or multiple bulk delete operations.
+The implementation takes care of not including the same file more than once 
within a single bulk delete operation.
+
+One alternative implementation purges all files within the base location of a 
table or view metadata.

Review Comment:
   yes



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

Reply via email to