From e079b69726c3e6449c6b0a441a8235f51e5ea0ea Mon Sep 17 00:00:00 2001 From: academy-codex Date: Sun, 6 Mar 2022 20:36:38 +0530 Subject: [PATCH] Document ROW type field name example in MongoDB --- docs/src/main/sphinx/connector/mongodb.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/main/sphinx/connector/mongodb.rst b/docs/src/main/sphinx/connector/mongodb.rst index 565bd9794cb8..79ab1dfe7792 100644 --- a/docs/src/main/sphinx/connector/mongodb.rst +++ b/docs/src/main/sphinx/connector/mongodb.rst @@ -251,6 +251,10 @@ A schema collection consists of a MongoDB document for a table. } } +The connector quotes the fields for a row type when auto-generating the schema. +However, if the schema is being fixed manually in the collection then +the fields need to be explicitly quoted. ``row("UpperCase" varchar)`` + =============== ========= ============== ============================= Field Required Type Description =============== ========= ============== =============================