From e8b64802c61920976527869e6fa28e1dc7a21aa4 Mon Sep 17 00:00:00 2001 From: Ran Tao Date: Thu, 28 Sep 2023 00:31:00 +0800 Subject: [PATCH] [MINOR] Add example for MAP type in reference docs --- site/_docs/reference.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/_docs/reference.md b/site/_docs/reference.md index b2a2483f88d..5135d36fe60 100644 --- a/site/_docs/reference.md +++ b/site/_docs/reference.md @@ -1199,8 +1199,8 @@ Note: |:-------- |:---------------------------|:--------------- | ANY | The union of all types | | UNKNOWN | A value of an unknown type; used as a placeholder | -| ROW | Row with 1 or more columns | Example: Row(f0 int null, f1 varchar) -| MAP | Collection of keys mapped to values | +| ROW | Row with 1 or more columns | Example: row(f0 int null, f1 varchar) +| MAP | Collection of keys mapped to values | Example: (int, varchar) map | MULTISET | Unordered collection that may contain duplicates | Example: int multiset | ARRAY | Ordered, contiguous collection that may contain duplicates | Example: varchar(10) array | CURSOR | Cursor over the result of executing a query |