[HUDI-1078]Fix IllegalArgumentException in Delete data demo of Quick-Start Guide (#1808)
This commit is contained in:
@@ -179,7 +179,7 @@ public class QuickstartUtils {
|
|||||||
*/
|
*/
|
||||||
public List<String> generateDeletes(List<Row> rows) {
|
public List<String> generateDeletes(List<Row> rows) {
|
||||||
return rows.stream().map(row ->
|
return rows.stream().map(row ->
|
||||||
convertToString(row.getAs("uuid"), row.getAs("partitionPath"))).filter(os -> os.isPresent()).map(os -> os.get())
|
convertToString(row.getAs("uuid"), row.getAs("partitionpath"))).filter(os -> os.isPresent()).map(os -> os.get())
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user