deniskuzZ commented on code in PR #4440:
URL: https://github.com/apache/hive/pull/4440#discussion_r1243283468
##########
ql/src/java/org/apache/hadoop/hive/ql/stats/ColStatsProcessor.java:
##########
@@ -218,10 +220,13 @@ public int persistColumnStats(Hive db, Table tbl) throws
HiveException, MetaExce
}
start = System. currentTimeMillis();
+ boolean success = false;
if (tbl != null && tbl.isNonNative() &&
tbl.getStorageHandler().canSetColStatistics(tbl)) {
- tbl.getStorageHandler().setColStatistics(tbl, colStats);
+ success = tbl.getStorageHandler().setColStatistics(tbl, colStats);
}
- db.setPartitionColumnStatistics(request);
+ success |= db.setPartitionColumnStatistics(request);
Review Comment:
can we please add a comment linking to HIVE-27421
--
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]