This is an automated email from the ASF dual-hosted git repository.
liuyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new bb63136963f [Doc] schema-manage example 1 fix
bb63136963f is described below
commit bb63136963f7dd609c1531fb506262eb3cc99596
Author: Mike Fortman <[email protected]>
AuthorDate: Wed Jul 13 20:39:54 2022 -0500
[Doc] schema-manage example 1 fix
---
site2/docs/schema-manage.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site2/docs/schema-manage.md b/site2/docs/schema-manage.md
index 2db0c885eff..06173c6ebd2 100644
--- a/site2/docs/schema-manage.md
+++ b/site2/docs/schema-manage.md
@@ -210,7 +210,7 @@ Here are examples of the `schema-definition-file` for a
JSON schema.
{
"type": "JSON",
- "schema":
"{\"type\":\"JSON\",\"name\":\"User\",\"namespace\":\"com.foo\",\"fields\":[{\"name\":\"file1\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"file2\",\"type\":\"string\",\"default\":null},{\"name\":\"file3\",\"type\":[\"string\",\"null\"],\"default\":\"dfdf\"}]}",
+ "schema":
"{\"type\":\"record\",\"name\":\"User\",\"namespace\":\"com.foo\",\"fields\":[{\"name\":\"file1\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"file2\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"file3\",\"type\":[\"string\",\"null\"],\"default\":\"dfdf\"}]}",
"properties": {}
}