1
0

[MINOR] Fix the wrong comment for HoodieJavaWriteClientExample (#2559)

This commit is contained in:
vinoyang
2021-02-10 02:33:34 +08:00
committed by GitHub
parent 7a98b1c878
commit a2f85d90de

View File

@@ -46,9 +46,9 @@ import java.util.stream.Collectors;
/**
* Simple examples of #{@link HoodieJavaWriteClient}.
*
* Usage: HoodieWriteClientExample <tablePath> <tableName>
* Usage: HoodieJavaWriteClientExample <tablePath> <tableName>
* <tablePath> and <tableName> describe root path of hudi and table name
* for example, `HoodieWriteClientExample file:///tmp/hoodie/sample-table hoodie_rt`
* for example, `HoodieJavaWriteClientExample file:///tmp/hoodie/sample-table hoodie_rt`
*/
public class HoodieJavaWriteClientExample {
@@ -58,7 +58,7 @@ public class HoodieJavaWriteClientExample {
public static void main(String[] args) throws Exception {
if (args.length < 2) {
System.err.println("Usage: HoodieWriteClientExample <tablePath> <tableName>");
System.err.println("Usage: HoodieJavaWriteClientExample <tablePath> <tableName>");
System.exit(1);
}
String tablePath = args[0];