RandomFractals / vscode-data-preview

Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.vscode-data-preview
Apache License 2.0
550 stars 59 forks source link

Incorrect type inferencing for parquet files #314

Open Conor-Yates-Koch opened 1 year ago

Conor-Yates-Koch commented 1 year ago

I have a parquet file with four columns, all of which are string type. However, some of the values for one of the columns (particularly in the first rows) contain strings with only numeric characters.

The extension infers the type of this column to be numeric, causing two issues:

RandomFractals commented 1 year ago

that might be the case as data preview uses older version of Perspective viewer and old parquet data loading library I could find that worked at the time.

See this update for more info: https://github.com/RandomFractals/vscode-data-preview/issues/316#issuecomment-1277766785