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

Orc format BYTE type should be deserialized as a long value #33

Closed
morazow opened this issue Jun 7, 2019 · 0 comments · Fixed by #38
Closed

Orc format BYTE type should be deserialized as a long value #33

morazow opened this issue Jun 7, 2019 · 0 comments · Fixed by #38

Comments

@morazow
Copy link
Contributor

morazow commented Jun 7, 2019

Problem

If the orc struct has a field with a type tinyint (tinyint columns in specification), that it is stored as Category.BYTE type.

Solution

For byte types, use LongDeserializer.

morazow added a commit that referenced this issue Jun 9, 2019
A `tinyint` type is stored as an orc `BYTE` type, that should be
interpreted as a integer value.  For reference, TinyInt columns section
in specification: https://orc.apache.org/specification/ORCv1/.

Fixes #33
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

Successfully merging a pull request may close this issue.

1 participant