apache / apache/parquet-java

Not able to store int or boolean from Pig to Parquet

Open
#1,965 0 comments 0 reactions 0 assignees View on GitHub
Component: Parquet Component: Pig Priority: Trivial Type: bug
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

I have a simple Pig schema that contains long and boolean properties. When trying to store the records using `parquet.pig.ParquetStorer();` I get the following error:
```
java.io.IOException: parquet.io.ParquetEncodingException: can not write value at 9 in tuple (...) from type 'likeCount: long' to type 'optional int64 likeCount'
```

**Reporter**: [Jonathan Morales](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jonathanmv@outlook.com)

**Note**: *This issue was originally created as [PARQUET-586](https://issues.apache.org/jira/browse/PARQUET-586). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.