Internal Jenkins has submitted this change and it was merged. Change subject: IMPALA-4019: initialize member variables in HdfsTableSink ......................................................................
IMPALA-4019: initialize member variables in HdfsTableSink This fixes a bug that could potentially lead to the IMPALA-4019 crash. default_partition_ should be initialized to NULL so that we can check if the HdfsTableSink was correctly initialized with a default partition in Open(). After this change the query will fail with an error status instead of potentially crashing if table_desc_->partition_descriptors() is missing the default partition. Change-Id: If62def81f7d06b42ffbd0dc2dcb0e777421a1edf Reviewed-on: http://gerrit.cloudera.org:8080/4171 Reviewed-by: Alex Behm <[email protected]> Reviewed-by: Dan Hecht <[email protected]> Tested-by: Internal Jenkins --- M be/src/exec/hdfs-table-sink.cc 1 file changed, 3 insertions(+), 0 deletions(-) Approvals: Internal Jenkins: Verified Alex Behm: Looks good to me, but someone else must approve Dan Hecht: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/4171 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: If62def81f7d06b42ffbd0dc2dcb0e777421a1edf Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Alex Behm <[email protected]> Gerrit-Reviewer: Dan Hecht <[email protected]> Gerrit-Reviewer: Internal Jenkins Gerrit-Reviewer: Tim Armstrong <[email protected]>
