This is an automated email from the ASF dual-hosted git repository.

etudenhoefner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new 8ec65abdc5 Spec: Fix rendering of unified partition struct (#10896)
8ec65abdc5 is described below

commit 8ec65abdc5916ed19fffc6af6b58a2ee92d71c28
Author: Piotr Findeisen <[email protected]>
AuthorDate: Wed Aug 7 13:05:44 2024 +0200

    Spec: Fix rendering of unified partition struct (#10896)
    
    The angle brackets were without any escapes so docs renderer treated
    them as HTML. The resulting text on the website looked like an
    unfinished sentence:
    
        The unified partition type looks like Struct.
    
    Putting the angle brackets in backticks prevent them from being
    interpreted as HTML. Surrounding names like spec#0, field#1 are also put
    inside backticks for consistence.
---
 format/spec.md | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/format/spec.md b/format/spec.md
index c3321fa699..c322f8174f 100644
--- a/format/spec.md
+++ b/format/spec.md
@@ -770,13 +770,13 @@ The unified partition type is a struct containing all 
fields that have ever been
 and sorted by the field ids in ascending order.  
 In other words, the struct fields represent a union of all known partition 
fields sorted in ascending order by the field ids.
 For example,
-1) spec#0 has two fields {field#1, field#2}
-and then the table has evolved into spec#1 which has three fields {field#1, 
field#2, field#3}.
-The unified partition type looks like Struct<field#1, field#2, field#3>.
+1) `spec#0` has two fields `{field#1, field#2}`
+and then the table has evolved into `spec#1` which has three fields `{field#1, 
field#2, field#3}`.
+The unified partition type looks like `Struct<field#1, field#2, field#3>`.
 
-2) spec#0 has two fields {field#1, field#2}
-and then the table has evolved into spec#1 which has just one field {field#2}.
-The unified partition type looks like Struct<field#1, field#2>.
+2) `spec#0` has two fields `{field#1, field#2}`
+and then the table has evolved into `spec#1` which has just one field 
`{field#2}`.
+The unified partition type looks like `Struct<field#1, field#2>`.
 
 #### Commit Conflict Resolution and Retry
 

Reply via email to