Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](multicatalog) fix metacache is null issue when show_dbs (apache…
…#38619) Brought by: apache#38244 how to reproduce: create a hms catalog named hive with property use_meta_cache = false, after that restart fe, and run sql `switch hive; show databases;`, will get error: ```sql ERROR 1105 (HY000): NullPointerException, msg: java.lang.NullPointerException: Cannot invoke "org.apache.doris.datasource.metacache.MetaCache.listNames()" because "this.metaCache" is null ``` reason, property use_meta_cache of newly created hms catalog after pr apache#38244 was force convert to true, but field `useMetaCache` of class ExternalCatalog is not converted at the same time.
- Loading branch information