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

Remove duplicate :bigint entry and return nil for NULL Hive values #26

Conversation

4ndypanda
Copy link

We must merge #22 in order to see the benefit of this change.

If the results from Hive are in their correct Ruby types, then the current code will call conversion_method ? value.send(conversion_method) : value to determine what value is returned to the result set. However, if value is nil, then calling the conversion_method on nil will create default values such as 0 and empty string.

@robertino
Copy link
Member

See commits:
42e1fb5
5858f8d

@robertino robertino closed this Oct 16, 2015
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 this pull request may close these issues.

2 participants