[HUDI-4039] Make sure all builtin KeyGenerators properly implement Spark specific APIs (#5523)
This set of changes makes sure that all builtin KeyGenerators properly implement Spark-specific APIs in a performant way (minimizing key-generators overhead)
This commit is contained in:
@@ -83,7 +83,7 @@ public class DeltaGenerator implements Serializable {
|
||||
this.jsc = jsc;
|
||||
this.sparkSession = sparkSession;
|
||||
this.schemaStr = schemaStr;
|
||||
this.recordRowKeyFieldNames = keyGenerator.getRecordKeyFields();
|
||||
this.recordRowKeyFieldNames = keyGenerator.getRecordKeyFieldNames();
|
||||
this.partitionPathFieldNames = keyGenerator.getPartitionPathFields();
|
||||
}
|
||||
|
||||
|
||||
@@ -235,9 +235,8 @@ public abstract class ITTestBase {
|
||||
}
|
||||
int exitCode = dockerClient.inspectExecCmd(createCmdResponse.getId()).exec().getExitCode();
|
||||
LOG.info("Exit code for command : " + exitCode);
|
||||
if (exitCode != 0) {
|
||||
LOG.error("\n\n ###### Stdout #######\n" + callback.getStdout().toString());
|
||||
}
|
||||
|
||||
LOG.error("\n\n ###### Stdout #######\n" + callback.getStdout().toString());
|
||||
LOG.error("\n\n ###### Stderr #######\n" + callback.getStderr().toString());
|
||||
|
||||
if (checkIfSucceed) {
|
||||
|
||||
Reference in New Issue
Block a user