perspective icon indicating copy to clipboard operation
perspective copied to clipboard

Panic when trying to load different datasets with similarities between schemas

Open garneck opened this issue 4 years ago • 1 comments

When I try loading tables with different schemas that have some similarities between them (1 or more shared column names), perspective throws an unwrap error, panics and stops responding

Steps to Reproduce:

Run provided sandbox: https://codesandbox.io/s/recursing-proskuriakova-f7rwv Load dataset 1 Try loading dataset 2 There should be a panic error in console as described above Loading further datasets will not work

garneck avatar Sep 29 '21 08:09 garneck

Confirmed to still be an issue after 1.0.0 release

garneck avatar Oct 12 '21 08:10 garneck

Bit-rotted, closing.

Calling .reset() will fix the (real) issue that the viewer config no longer matches the table, in that case. Replacing the table an preserving the config may (or may not) work - its not the intended use case, use Table.replace() for this.

texodus avatar Nov 23 '23 23:11 texodus