morningman commented on code in PR #14160:
URL: https://github.com/apache/doris/pull/14160#discussion_r1019825217
##########
fe/fe-core/src/main/java/org/apache/doris/datasource/PooledHiveMetaStoreClient.java:
##########
@@ -108,6 +105,14 @@ public List<FieldSchema> getSchema(String dbName, String
tblName) {
}
}
+ public List<ColumnStatisticsObj> getTableColumnStatistics(String dbName,
String tblName, List<String> columns) {
+ try (CachedClient client = getClient()) {
+ return client.client.getTableColumnStatistics(dbName, tblName,
columns);
Review Comment:
Maybe we need a cache for this statistics.
After #14134 merged
--
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]