hive icon indicating copy to clipboard operation
hive copied to clipboard

HIVE-28526 may produce null pointer when struct type value is null

Open terrytlu opened this issue 1 year ago • 1 comments

What changes were proposed in this pull request?

null pointer check

Why are the changes needed?

it is a bug.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

sql test, add ql/src/test/queries/clientpositive/struct_null_select.q create table test_struct ( f1 string, demo_struct struct<f1:string,f2:string,f3:string>, datestr string ); insert into test_struct(f1, datestr) select 'test_f1','datestr_1';

terrytlu avatar Sep 18 '24 11:09 terrytlu

I failed reproduce the problem with your test on TestMiniLlapLocalCliDriver, and it seems that this issue is fixed by HIVE-27690. Could you check and share your test environment?

ngsg avatar Nov 05 '24 03:11 ngsg

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reach out on the [email protected] list if the patch is in need of reviews.

github-actions[bot] avatar Jan 05 '25 00:01 github-actions[bot]