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

Passing an array of nulls results in incorrect StdData object in Hive #35

Open
shardulm94 opened this issue Jan 24, 2020 · 1 comment
Open

Comments

@shardulm94
Copy link
Contributor

When dealing with StdData objects, we expect that StdData.get() will never be null, instead the StdData objects itself are null. But in case of arrays of strings in Hive, we do get StdString with a null value underneath.

I think a change needs to go in

if (hiveObjectInspector instanceof IntObjectInspector) {
where if hiveData is null then StdData should also be returned a null.

@wmoustafa
Copy link
Contributor

Seems to be addressed here.

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

No branches or pull requests

2 participants