rockagen opened a new issue, #4562:
URL: https://github.com/apache/incubator-seatunnel/issues/4562

   都是国人,中文描述了,抱歉:
   
   请问,mongodb同步时的schema,如果有个字段是map类型的,schema怎么写?如下:
   
   ```json
   {
       "a": "abc",
       "b": 123,
       "c": {
           "c1": "abc",
           "c2": {
               "c21": "abc"
           }
       }
   }
   ```
   
   
   
   ```json
   {
       "a": "abc",
       "b": 123,
       "c": {
           "c2": {
               "c21": "abc",
               "c22": "def",
               "c23": {
                   "d31": "abc"
               }
           }
       }
   }
   ```
   
   seatunnel里的mongodb source 大概是这么写:
   
   ```config
   schema {
        fields {
         a=string
         b=int
         c=HOWTO
        }
   }
   ```
   这里的c请问填什么,这个我记得v2.1可以直接string,怎么到了2.3怎么就倒退了啊,怎么填都不行
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to