You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/12/15 08:56:22 UTC
[GitHub] [hive] szlta commented on a change in pull request #1775: HIVE-24530: Potential NPE in FileSinkOperator.closeRecordwriters method
szlta commented on a change in pull request #1775:
URL: https://github.com/apache/hive/pull/1775#discussion_r543159074
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java
##########
@@ -1204,8 +1205,10 @@ private void closeWriters(boolean abort) throws HiveException {
private void closeRecordwriters(boolean abort) {
for (RecordWriter writer : rowOutWriters) {
Review comment:
So now there is a null check for the RecordWriter instances in this list, but shouldn't we also check for the list itself (rowOutWriters) being null here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org