weizhengte commented on code in PR #12766:
URL: https://github.com/apache/doris/pull/12766#discussion_r976039342
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowColumnStatsStmt.java:
##########
@@ -43,22 +43,35 @@ public class ShowColumnStatsStmt extends ShowStmt {
.add(ColumnStats.MAX_VALUE.getValue())
.build();
- private TableName tableName;
+ private final TableName tableName;
+ private final PartitionNames partitionNames;
- public ShowColumnStatsStmt(TableName tableName) {
+ public ShowColumnStatsStmt(TableName tableName, PartitionNames
partitionNames) {
this.tableName = tableName;
+ this.partitionNames = partitionNames;
}
public TableName getTableName() {
return tableName;
}
+ public List<String> getPartitionNames() {
+ if (partitionNames == null) {
+ return Lists.newArrayList();
Review Comment:
ok
--
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]