}
// There are some partitions with no state (or we didn't fetch any state).
// Update the stats with empty list to reflect that in the state/initialize structures.
if (!haveFullStats) {
List<ColStatistics> emptyStats = Lists.<ColStatistics>newArrayList();
stats.addToColumnStats(emptyStats);
stats.updateColumnStatsState(deriveStatType(emptyStats, neededColumns));
}
}
return stats;
}