CheneyYin opened a new issue, #6124:
URL: https://github.com/apache/seatunnel/issues/6124

   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   At present, if we want to declare generic type of row type for one field in 
config, we will use define row type in JSON style. The configuration file does 
not look uniform in style.
   
   ```shell
   # JSON Nest Row Type
   
   schema = {
         fields {
           c_map = "map<string, {\"c_int\":\"int\",\"c_string\":\"string\"}>"
           c_row = {
             c_int = int
             c_string = string
           }
         }
       }
   ```
   
   I tend to the following style. JSON-style generic declarations of row type 
are verbose and cannot maintain the same style as the configuration file.
   ```shell
   # Hocon Nest Row Type
   
   schema = {
         fields {
           c_map = "map<string, {c_int=int \n c_string=string}>"
            c_row = {
             c_int = int
             c_string = string
           }
         }
       }
   ```
    
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to