Hisoka-X commented on code in PR #9712:
URL: https://github.com/apache/seatunnel/pull/9712#discussion_r2287346148
##########
docs/en/transform-v2/jsonpath.md:
##########
@@ -161,6 +161,26 @@ transform {
}
```
+The same result can be achieved with much simpler configuration using batch
field extraction:
+
+```hocon
+transform {
+ JsonPath {
+ plugin_input = "fake"
+ plugin_output = "fake1"
+ columns = [
+ {
+ "src_field" = "data"
+ "path" =
"$.data.c_string;$.data.c_boolean;$.data.c_integer;$.data.c_float;$.data.c_double;$.data.c_decimal;$.data.c_date;$.data.c_datetime;$.data.c_array;$.data.c_map_array"
Review Comment:
I'm thinking can we use array type value?
```
"path" = ["$.data.c_string", $.data.c_boolean]
```
--
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]