You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Jibing-Li (via GitHub)" <gi...@apache.org> on 2023/02/07 14:35:25 UTC

[GitHub] [doris] Jibing-Li commented on a diff in pull request #16486: [Fix](multi catalog)(planner) Fix external table statistic collection bug.

Jibing-Li commented on code in PR #16486:
URL: https://github.com/apache/doris/pull/16486#discussion_r1098744273


##########
fe/fe-core/src/main/java/org/apache/doris/catalog/external/HMSExternalTable.java:
##########
@@ -294,6 +294,7 @@ public Partition getPartition(List<String> partitionValues) {
 
     @Override
     public List<Column> initSchema() {
+        makeSureInitialized();

Review Comment:
   Without this initialization, FE will throw NPE when excuting `analyze table hms_catalog.db.table` immediately after FE started.
   



-- 
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-unsubscribe@doris.apache.org

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


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