You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/07/13 03:59:13 UTC

[pulsar] branch master updated: [Doc] Schema-manage upload update example 1 (#16549)

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

penghui 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 46eb09e5412 [Doc] Schema-manage upload update example 1 (#16549)
46eb09e5412 is described below

commit 46eb09e54125e89a9cb13af680711325cc5388ee
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Tue Jul 12 20:59:06 2022 -0700

    [Doc] Schema-manage upload update example 1 (#16549)
---
 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 e6b5f898abd..2db0c885eff 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\":\"record\",\"name\":\"User\",\"namespace\":\"com.foo\",\"fields\":[{\"name\":\"file1\",\"type\":[\"null\",\"string\"],\"default\":null},{\"name\":\"file2\",\"type\":\"string\",\"default\":null},{\"name\":\"file3\",\"type\":[\"null\",\"string\"],\"default\":\"dfdf\"}]}",
+    "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\"}]}",
     "properties": {}
 }