-
Notifications
You must be signed in to change notification settings - Fork 174
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
Client side version #87
Comments
I think for compression it does depend on some other modules that are not available in the browser, though for uncompressed data it might work. Have you tried it? |
I've never tried. |
brotli has an issue with encoding on browsers (foliojs/brotli.js#20) and suggests to import only
I'm still getting the following error from brotli.
|
I also got an error - same as aviillouz - when running Jest test, but I don't get that when I run same file on production... |
I ran into the same error. This package isn't intended to run in the browser, Jest by default tests in a browser environment. Set the
https://jestjs.io/docs/en/configuration#testenvironment-string |
I have been using a derived package, |
Thanks @dobesv! Link for everyone: https://github.com/kbajalc/parquets. |
Hmm after trying it myself kbajalc/parquets does not work in the browser either. Maybe I'm doing it wrong but it fails while importing thrift. |
Make sure you're using thrift |
A problem is that thrift includes a lot of nodejs-only libraries:
So it doesn't help me out trying to run parquets in the browser :/ |
Maybe these webpack settings will help:
|
Maybe relevant to people in this thread: I have a basic but functional WebAssembly Parquet reader/writer here: https://github.com/kylebarron/parquet-wasm, compiled from Rust. |
There also seems to be a fork with browser support (and Typescript types) at https://github.com/LibertyDSNP/parquetjs - which is also available on NPM. |
@dobesv Would you mind sharing an example implementation? I am struggling to make it work in the browser. |
Hi All,
Is it possible to build parquetjs as client side (browser) js library?
The text was updated successfully, but these errors were encountered: