wgtmac commented on code in PR #41187:
URL: https://github.com/apache/arrow/pull/41187#discussion_r1580506607


##########
docs/source/cpp/parquet.rst:
##########
@@ -542,6 +542,19 @@ As an example, when serializing an Arrow LargeList to 
Parquet:
   :func:`ArrowWriterProperties::store_schema` was enabled when writing the 
file;
   otherwise, it is decoded as an Arrow List.
 
+Field Id
+----------
+
+The Parquet format supports an optional integer "field id" which can be 
assigned
+to a field. This is used in the `iceberg specification 
<https://github.com/apache/iceberg/blob/main/format/spec.md#column-projection>` 
__
+
+On writer side, If ``PARQUET:field_id`` is present as a metadata key on a 
field, and the corresponding
+value is a nonnegative integer, then it will be used as the "field id" in the 
parquet

Review Comment:
   ```suggestion
   value is a non-negative integer, then it will be used as the "field id" in 
the parquet
   ```



##########
docs/source/cpp/parquet.rst:
##########
@@ -542,6 +542,19 @@ As an example, when serializing an Arrow LargeList to 
Parquet:
   :func:`ArrowWriterProperties::store_schema` was enabled when writing the 
file;
   otherwise, it is decoded as an Arrow List.
 
+Field Id
+----------
+
+The Parquet format supports an optional integer "field id" which can be 
assigned
+to a field. This is used in the `iceberg specification 
<https://github.com/apache/iceberg/blob/main/format/spec.md#column-projection>` 
__
+
+On writer side, If ``PARQUET:field_id`` is present as a metadata key on a 
field, and the corresponding

Review Comment:
   nit: this line seems to be too long.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to