I created a function to read a csv. That csv is update with no defined frequency, and I would like to updated it only if the last modified date of that csv has changed.
Hi Goyo! Thanks for the answering, it worked! I added โlast_modifiedโ as a parameter to the load function. I even deleted the hash function as u stated. This is extremely weird (and beautifully easy fortunately). Then all I need to rerun the function load_data is the parameter (last_modified) that states if it has tu be rerun, like this:
The data will be stored in the cache associated to the values of bucket and last_modified. So both values will be used to decide whether there is a cache hit or a cache miss, even if the function only needs one of them.