Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid encoding: PLAIN_DICTIONARY #310

Open
EugeniuZ opened this issue Sep 6, 2022 · 2 comments
Open

invalid encoding: PLAIN_DICTIONARY #310

EugeniuZ opened this issue Sep 6, 2022 · 2 comments

Comments

@EugeniuZ
Copy link

EugeniuZ commented Sep 6, 2022

Hi,

The extension fails to load the attached parquet file (zipped as github doesn't accept .parquet files).
I am able to read the plain file with pandas.

The error in "Runtime Status" is "invalid encoding: PLAIN_DICTIONARY".

Vscode version: 1.70.2 (running on Ubuntu 22.04)
Extension version: v2.3.0
FJUL.zip

Regards,
Eugeniu

@RandomFractals
Copy link
Owner

@EugeniuZ Data preview uses this TypeScript library for reading parquet data files:

https://github.com/kbajalc/parquets

At the time when Data Preview was created, it was one of the few libraries available to read parquet files without dependency on Python tools and toolchain.

Quite possible that library doesn't support plain dictionary encoding, as you have it in your parquet files.

New parquet-wasm library looks promising, and in order to resolve this issue, and enable loading of compressed parquet files too, I would need to switch parquet data provider to use better parquet TS/JS library.

@RandomFractals
Copy link
Owner

more info at: #316 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants