You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by wa...@apache.org on 2022/07/12 16:01:48 UTC

[pulsar] 01/01: Schema-manage upload update example 1

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

wave pushed a commit to branch dave2wave-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit dbdb6aa64f6cfee00a2e0e27d4dc6a73e6486025
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Tue Jul 12 09:01:40 2022 -0700

    Schema-manage upload update example 1
    
    fix #16548
---
 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..819788fc04a 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\":[\"string\",\"null\"],\"default\":null},{\"name\":\"file2\",\"type\":\"string\",\"default\":null},{\"name\":\"file3\",\"type\":[\"string\",\"null\"],\"default\":\"dfdf\"}]}",
     "properties": {}
 }