I am wondering if I pass in a list of requests (xhr) that return rows of data into a dataframe (1 row per request), does future_map_df guarantee the same order in the final dataframe rows as the list passed in as argument 1?
Thanks for your answer. If I understand correctly this demonstrates you see same output order for n number of runs. This can happen with a SQL query where there is no guaranteed order for results unless you specify Order By as implementation is set based. I guess I am wondering if the same thing is possible here (not that it is set based but rather, you can appear to have order preserved until it isn't) ? Assuming I have understood you correctly, is there any definitive proof please? I have just read here that " The default is for the processing strategy to be ‘sequential’ which results in library(furrr) working identically to library(purrr)" - though, I guess, that does not mean return order is same.
my example also demonstrates that this must be the case, that ordering is happening on final collation, because collation can only happen when every chunk is processed. And then either the quickest chunks are at the beginning and the later ones at the end,[i.e. it would be easy to see that it became disordered), or an order is applied to make them match with how they were requested, which is the case.
I suppose I would rely on it, and if I found there was a bug, I would file that as an issue.