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 /> `"type": "map",`<br /> `"key-id": <key id int>,`<br /> `"key": <type JSON>,`<br /> `"value-id": <val id int>,`<br /> `"value-required": <bool>`<br /> `"value": <type JSON>`<br />`}`|`{`<br /> `"type": "map",`<br /> `"key-id": 4,`<br /> `"key": "string",`<br /> `"value-id": 5,`<br /> `"value-required": false,`<br /> `"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).