Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The size of `rows` is error, for example The size of `rows` is error, for example
List<String> allRecords = Arrays.asList(); String[][] rows = new String[allRecords.size() + 1][]; int i = 0; for (String record : allRecords) { String[] data = new String[1]; data[0] = record; rows[i++] = data; } HoodiePrintHelper.print(new String[]{"Partition Path"}, rows);
Result
Exception in thread "main" java.lang.NullPointerException
at com.jakewharton.fliptables.FlipTable.<init>(FlipTable.java:37)
at com.jakewharton.fliptables.FlipTable.of(FlipTable.java:20)
at org.apache.hudi.cli.HoodiePrintHelper.printTextTable(HoodiePrintHelper.java:110)
at org.apache.hudi.cli.HoodiePrintHelper.print(HoodiePrintHelper.java:43)
at org.apache.hudi.cli.commands.RepairsCommand.main(RepairsCommand.java:127)
Attachments
Attachments
Issue Links
- links to