xushiyan commented on a change in pull request #1440: [HUDI-731] Add
ChainedTransformer
URL: https://github.com/apache/incubator-hudi/pull/1440#discussion_r399821332
##########
File path:
hudi-utilities/src/main/java/org/apache/hudi/utilities/deltastreamer/HoodieDeltaStreamer.java
##########
@@ -195,11 +195,12 @@ public Operation convert(String value) throws
ParameterException {
public String schemaProviderClassName = null;
@Parameter(names = {"--transformer-class"},
- description = "subclass of
org.apache.hudi.utilities.transform.Transformer"
+ description = "A subclass or a list of subclasses of
org.apache.hudi.utilities.transform.Transformer"
+ ". Allows transforming raw source Dataset to a target Dataset
(conforming to target schema) before "
+ "writing. Default : Not set. E:g -
org.apache.hudi.utilities.transform.SqlQueryBasedTransformer (which "
- + "allows a SQL query templated to be passed as a transformation
function)")
- public String transformerClassName = null;
+ + "allows a SQL query templated to be passed as a transformation
function). "
+ + "Pass a comma-separated list of subclass names to chain the
transformations.")
+ public String transformerClassNames = null;
Review comment:
let me check that.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services