Huaisi Xu has submitted this change and it was merged.

Change subject: CDH-38160: Prevent destructing uninitialized avro schema 
pointers
......................................................................


CDH-38160: Prevent destructing uninitialized avro schema pointers

Avro library can only handle null schema pointer but not null pointer schema 
members.

This issue was fixed in 55x and later version.

Change-Id: I02ae0ba586887e4bb713b993edd208f9421dd1a8
Reviewed-on: http://gerrit.cloudera.org:8080/2582
Reviewed-by: Juan Yu <[email protected]>
Tested-by: Huaisi Xu <[email protected]>
---
M be/src/exec/hdfs-avro-scanner.cc
M testdata/avro_schema_resolution/create_table.sql
M 
testdata/workloads/functional-query/queries/QueryTest/avro-schema-resolution.test
3 files changed, 37 insertions(+), 6 deletions(-)

Approvals:
  Huaisi Xu: Verified
  Juan Yu: Looks good to me, approved



-- 
To view, visit http://gerrit.cloudera.org:8080/2582
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I02ae0ba586887e4bb713b993edd208f9421dd1a8
Gerrit-PatchSet: 6
Gerrit-Project: Impala
Gerrit-Branch: cdh5-2.2.0_5.4.x
Gerrit-Owner: Huaisi Xu <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Huaisi Xu <[email protected]>
Gerrit-Reviewer: Juan Yu <[email protected]>

Reply via email to