You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "CheneyYin (via GitHub)" <gi...@apache.org> on 2024/01/03 12:33:41 UTC
[I] [Feature][API] Support declare nest row type with hocon style [seatunnel]
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-unsubscribe@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Feature][API] Support hocon style declare row type in generic type [seatunnel]
Posted by "CheneyYin (via GitHub)" <gi...@apache.org>.
CheneyYin closed issue #6124: [Feature][API] Support hocon style declare row type in generic type
URL: https://github.com/apache/seatunnel/issues/6124
--
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-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org