Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Move ratio calculation for whether to use read API to avoid NPE …
…with setUseReadAPI(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