will print 13599 99999.0. We would like 99999 in our case.
Also add more message in the log. Now it looks like
Data quantity is greater than the row limit and will be downloaded in multiple pages.
Downloading time for the first page: 8 seconds
Estimated approx. 6 pages in total.
Estimated approx. 40 seconds to complete for the rest of the pages.
The calculation is based on the response time of downloading the first page. This log makes it clear that the estimated 40 seconds is calculated by 8 seconds/page * (6 - 1) page.
The estimated pages will still be inaccurate if the specified time span includes date range that has no data. This is unavoidable because it cannot be known in advance until the request is made. I found that when running the code below in QA. There are no data after 2019-11-27 for this device in QA.
Data quantity is greater than the row limit and will be downloaded in multiple pages.
Downloading time for the first page: 8 seconds
Estimated approx. 7 pages in total.
Estimated approx. 48 seconds to complete for the rest of the pages.
Using seconds is clearly a bug. Running
will print
13599 99999.0
. We would like99999
in our case.Also add more message in the log. Now it looks like
The calculation is based on the response time of downloading the first page. This log makes it clear that the estimated 40 seconds is calculated by 8 seconds/page * (6 - 1) page. The estimated pages will still be inaccurate if the specified time span includes date range that has no data. This is unavoidable because it cannot be known in advance until the request is made. I found that when running the code below in QA. There are no data after 2019-11-27 for this device in QA.