rdblue commented on code in PR #16961:
URL: https://github.com/apache/iceberg/pull/16961#discussion_r4127999785


##########
format/index-spec.md:
##########
@@ -0,0 +1,731 @@
+---
+title: "Index Spec"
+---
+<!--
+ - 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.
+ -->
+# Iceberg Index Specification
+
+## Background and Motivation
+
+An index is most valuable when it is a property of the table rather than of 
the engine that built it. This
+specification defines a common format for index metadata and a common storage 
architecture for index data, so that any
+engine can build an index, maintain it, and use it to plan queries against the 
table.

Review Comment:
   I think this should state what an index is and what it is used for. I don't 
think that we necessarily need to justify shared indexes across engines, but 
this is fine for a secondary paragraph. The key information is (1) what is the 
object that is specified by this document? and (2) what are the critical 
attributes or features of that thing?
   
   Here are examples from other specs:
   > This is a specification for the Iceberg table format that is designed to 
manage a large, slow-changing collection of files in a distributed file system 
or key-value store as a table.
   
   > A view is a logical table that can be referenced by future queries. Views 
do not contain any data. Instead, the query stored by the view is executed 
every time the view is referenced by another query.
   
   > A SQL user-defined function (UDF or UDTF) is a callable routine that 
accepts input parameters and executes a function body.
   
   For this one, I think we should say something like:
   > An index is a secondary store of data from a table that is structured to 
accelerate specific access patterns.



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