saihemanth-cloudera commented on code in PR #6058:
URL: https://github.com/apache/hive/pull/6058#discussion_r2350280277


##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONReloadMessage.java:
##########
@@ -133,6 +138,11 @@ public Partition apply(@Nullable Object input) {
             });
     }
 
+    @Override
+    public Partition getPtnObj() throws Exception {

Review Comment:
   I have added necessary gaurdrails on Impala side to avoid this null pointer 
exception. i.e., if getPtnObj() returns null then we should check 
getPartitionObjs() method.



##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONReloadMessage.java:
##########
@@ -133,6 +138,11 @@ public Partition apply(@Nullable Object input) {
             });
     }
 
+    @Override
+    public Partition getPtnObj() throws Exception {

Review Comment:
   I have added necessary guardrails on the Impala side to avoid this null 
pointer exception. i.e., if getPtnObj() returns null then we should check 
getPartitionObjs() method.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to