HIVE-28526 may produce null pointer when struct type value is null
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';
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
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?
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.