Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ratio calcation of read API to avoid NPE with useReadAPI(false)
If a query takes longer than 10+ seconds, the returned job will not have results / totalRows thus totalRows will be null, However, if useReadAPI is false the moved line would throw a null pointer exception trying to unbox the (nullable -- and actually null) Long for division.
- Loading branch information