Raghuramchadalawada commented on code in PR #20336:
URL: https://github.com/apache/hudi/pull/20336#discussion_r4290356149
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/transform/ErrorTableAwareChainedTransformer.java:
##########
@@ -51,12 +57,25 @@ public ErrorTableAwareChainedTransformer(List<Transformer>
transformers) {
public Dataset<Row> apply(JavaSparkContext jsc, SparkSession sparkSession,
Dataset<Row> rowDataset,
TypedProperties properties) {
Dataset<Row> dataset = rowDataset;
+ // Until the source supplies the column or a transformer keeps it, it is
known to be all null.
Review Comment:
Done in 894aedd: the flag is now set in one place with no `continue`, and
the dropped-column check moved to `validateNoErrorRecordsDropped`. No behaviour
change; tests unchanged and passing.
--
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]