[fix](stats) analyze specific column only if indicate column in analyze stmt (#25660)
This commit is contained in:
@ -485,7 +485,9 @@ public class AnalysisManager extends Daemon implements Writable {
|
||||
}
|
||||
|
||||
if (analysisType == AnalysisType.FUNDAMENTALS) {
|
||||
return table.findReAnalyzeNeededPartitions();
|
||||
Map<String, Set<String>> result = table.findReAnalyzeNeededPartitions();
|
||||
result.keySet().retainAll(columnNames);
|
||||
return result;
|
||||
}
|
||||
|
||||
return columnToPartitions;
|
||||
|
||||
Reference in New Issue
Block a user