hal9
hal9 copied to clipboard
Support to deserialize dates
We deserialize cached data as follows:
const arqueroDeserialize = async (e) => {
const aq = await arqueroRoot();
return aq.table(JSON.parse(e.replace(/undefined/g, 'null')).data);
}
We need a mechanism to roundtrip the data type of each column. Otherwise, pipelines with dates, save as strings, and are read back as strings once the pipeline is rerun from cache.