Igor Safonov
02/24/2023, 6:34 PMstream_slices method.
Is there a way to compute next slice depending on the state after the previous slice?
My problem.
Source HTTP GET api supports parameters: start_datetime, end_datetime , max_rows (the last one has the maximum value of 1_000_000).
I need to download 2023-02-20...2023-02-22.
The slices are [2023-02-20, 2023-02-21, 2023-02-22].
But if I have more than max_rows entries to fetch in one date (e.g. 1_200_000, then 200_000 entries get lost), because the cdk goes to the next slice that has been computed before, and there is no way to know how many rows in advance.Walker Philips
02/24/2023, 9:05 PMIgor Safonov
02/27/2023, 11:45 AM