aasha commented on a change in pull request #2365:
URL: https://github.com/apache/hive/pull/2365#discussion_r651731735



##########
File path: 
hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java
##########
@@ -905,25 +909,32 @@ public void 
onUpdatePartitionColumnStat(UpdatePartitionColumnStatEvent updatePar
   }
 
   @Override
-  public void 
onUpdatePartitionColumnStatDirectSql(UpdatePartitionColumnStatEvent 
updatePartColStatEvent,
-                                                   Connection dbConn, 
SQLGenerator sqlGenerator)
+  public void 
onUpdatePartitionColumnStatInBatch(UpdatePartitionColumnStatEventBatch 
updatePartColStatEventBatch,

Review comment:
       updatePartitionColStatsForOneBatch calls the direct sql method but also 
does the following MetaStoreListenerNotifier.notifyEvent(listeners,
                   EventMessage.EventType.UPDATE_PARTITION_COLUMN_STAT,
                   new UpdatePartitionColumnStatEvent(colStats, partVals, 
parameters,
                           tbl, writeId, this));
   for each event.




-- 
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:
[email protected]



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

Reply via email to