Thanks to jcamachorodriguez for uncovering this issue as part of
HIVE-13269. StatsSetupConst.areColumnStatsUptoDate() is used to check whether stats are up-to-date. In case of PerfCliDriver, ‘false’ (thus, not up-to-date) is returned and the following debug message in the logs:
Looks like the issue started happening after
HIVE-12261 went in.
The fix would be to replace
where key, value are the column names.