litiliu commented on code in PR #6960:
URL: https://github.com/apache/seatunnel/pull/6960#discussion_r1634068927
##########
docs/en/transform-v2/filter.md:
##########
@@ -43,6 +48,21 @@ transform {
}
```
+Or we can delete the field named `age` by adding a `Filter` Transform with the
mode field set to `DELETE` like below:
+
+```
+transform {
+ Filter {
+ source_table_name = "fake"
+ result_table_name = "fake1"
+ fields = [age]
+ mode = "DELETE"
+ }
Review Comment:
If we rename the original field named `fields` to `include_fields`, this PR
will cause Seatunnel to lose backward compatibility. All users will be required
to update the already existing config files; otherwise, the original config
file won't work properly. I guess it's not acceptable? @hailin0
--
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]