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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to