Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix bug when calculating the number of vertices (#1992)
The number of vertices calculation in the previous implementation relied on getting the max of the source and destination's max. Each worker computes the max of its partition however, workers having empty partition attempt to do the same causing an error. This seems to be caused by a recent change on how dask handle empty partitions with the `max()` function. This PR calculates the total number of vertices by summing each partition's number of vertices which is inspired from our code base. Authors: - Joseph Nke (https://github.com/jnke2016) Approvers: - Rick Ratzel (https://github.com/rlratzel) URL: #1992
- Loading branch information