You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ke...@apache.org on 2026/06/19 17:44:09 UTC

(iceberg) branch main updated: Docs: Clarify geography type serialization (#16799)

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

kevinjqliu 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 41c8ee43b4 Docs: Clarify geography type serialization (#16799)
41c8ee43b4 is described below

commit 41c8ee43b46017843b304241d250737fd10837af
Author: Kevin Liu <ke...@users.noreply.github.com>
AuthorDate: Fri Jun 19 13:44:02 2026 -0400

    Docs: Clarify geography type serialization (#16799)
---
 format/spec.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/format/spec.md b/format/spec.md
index b88f2af1ed..be28a6c5f0 100644
--- a/format/spec.md
+++ b/format/spec.md
@@ -1685,7 +1685,7 @@ Types are serialized according to this table:
 |**`map`**|`JSON object: {`<br />&nbsp;&nbsp;`"type": "map",`<br />&nbsp;&nbsp;`"key-id": <key id int>,`<br />&nbsp;&nbsp;`"key": <type JSON>,`<br />&nbsp;&nbsp;`"value-id": <val id int>,`<br />&nbsp;&nbsp;`"value-required": <bool>`<br />&nbsp;&nbsp;`"value": <type JSON>`<br />`}`|`{`<br />&nbsp;&nbsp;`"type": "map",`<br />&nbsp;&nbsp;`"key-id": 4,`<br />&nbsp;&nbsp;`"key": "string",`<br />&nbsp;&nbsp;`"value-id": 5,`<br />&nbsp;&nbsp;`"value-required": false,`<br />&nbsp;&nbsp;`"value": [...]
 | **`variant`**| `JSON string: "variant"`|`"variant"`|
 | **`geometry(C)`** |`JSON string: "geometry(<C>)"`|`"geometry(srid:4326)"`|
-| **`geography(C, A)`** |`JSON string: "geography(<C>,<E>)"`|`"geography(srid:4326,spherical)"`|
+| **`geography(C, A)`** |`JSON string: "geography(<C>, <A>)"`|`"geography(srid:4326, spherical)"`|
 
 Note that default values are serialized using the JSON single-value serialization in [Appendix D](#appendix-d-single-value-serialization).