hal9 icon indicating copy to clipboard operation
hal9 copied to clipboard

Support to deserialize dates

Open javierluraschi opened this issue 3 years ago • 0 comments

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.

javierluraschi avatar Feb 27 '22 23:02 javierluraschi