-
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
fruits.parquet generated by test/integration.js is unreadable by Hadoop parquet-tools 1.9.0 #29
Comments
I'm getting Error:TypeError: Cannot read property 'num_values' of null when trying to read 'fruits.parquet' using the read functionality of the module |
I can read it fine when using @drauschenbach tool above |
I get the num_values error when writing fields with null values. Not writing those fields when their value is null avoided the issue. |
You might want to check out this PR here #56 which has some fixes to RLE encoding and does verification of the generated files with parquet-mr. I think you should be able to install this branch simply by:
|
Also - if you want to avoid the headache of building and configuring parquet-tools you can simply add this to your parquet-tools() { docker run -w /home -v ${PWD}:/home nathanhowell/parquet-tools $@; } You have to be in the same directory as the parquet file you want to inspect (since current directory will be mounted to the docker as parquet-tools dump fruits.parquet |
Build
parquet-mr/parquet-tools
per these instructions.Then run its
cat
command to dump thefruits.parquet
file that is generated:Using parquetjs
v0.8.0
.The text was updated successfully, but these errors were encountered: