Bikramjeet Vig has posted comments on this change. Change subject: IMPALA-3606: Fix for Java NPE when trying to add an existing partition ......................................................................
Patch Set 1: (7 comments) http://gerrit.cloudera.org:8080/#/c/3324/1//COMMIT_MSG Commit Message: Line 7: IMPALA-3606: Fix for Java npe when adding a partition which already exists > In general, try to keep lines in the commit messages less than 80 character Done PS1, Line 7: npe > NPE Done PS1, Line 9: npe > "A NPE" Done PS1, Line 9: whwn > "when" typo Done PS1, Line 10: If either of the conditions are true, a null entry is not added to the TCatalogUpdateResult object. > I think it may be better to say than in these cases the fix is to return an Done http://gerrit.cloudera.org:8080/#/c/3324/1/fe/src/main/java/com/cloudera/impala/service/CatalogOpExecutor.java File fe/src/main/java/com/cloudera/impala/service/CatalogOpExecutor.java: PS1, Line 368: If the partition already exists in Hive and "IfNotExists" is true, : // then null is returned > This comment does not seem to be accurate now. Can you please update it? Done PS1, Line 393: If the partition does not exist and : // "IfExists" is true, null is returned. > Same comment as above. Done -- To view, visit http://gerrit.cloudera.org:8080/3324 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ic829e8580c14ed88adf7a0d1571381526b18a206 Gerrit-PatchSet: 1 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Dimitris Tsirogiannis <[email protected]> Gerrit-HasComments: Yes
