1
0

[MINOR] Add omissive param desc on method doc and cleanup redundant code (#1437)

This commit is contained in:
Zhiyuan Zhao
2020-03-22 21:39:33 +08:00
committed by GitHub
parent 8b00791ef4
commit 06652aa935
2 changed files with 4 additions and 16 deletions

View File

@@ -417,17 +417,4 @@ public abstract class AbstractHoodieWriteClient<T extends HoodieRecordPayload> e
}
}
/**
* Refers to different operation types.
*/
enum OperationType {
INSERT,
INSERT_PREPPED,
UPSERT,
UPSERT_PREPPED,
DELETE,
BULK_INSERT,
BULK_INSERT_PREPPED,
BOOTSTRAP
}
}

View File

@@ -342,9 +342,10 @@ public class DeltaSync implements Serializable {
/**
* Perform Hoodie Write. Run Cleaner, schedule compaction and syncs to hive if needed.
*
* @param records Input Records
* @param checkpointStr Checkpoint String
* @param metrics Metrics
* @param records Input Records
* @param checkpointStr Checkpoint String
* @param metrics Metrics
* @param overallTimerContext Timer Context
* @return Option Compaction instant if one is scheduled
*/
private Option<String> writeToSink(JavaRDD<HoodieRecord> records, String checkpointStr,