This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 3f2f549b961 [fix](datasource) fix typo in ExternalSchemaCache (#41221)
3f2f549b961 is described below
commit 3f2f549b961e611107bb19a9c7889554396ca142
Author: Zijie Lu <[email protected]>
AuthorDate: Thu Sep 26 10:13:31 2024 +0800
[fix](datasource) fix typo in ExternalSchemaCache (#41221)
## Proposed changes
Fix typo in ExternalSchemaCache
Issue Number: close #xxx
<!--Describe your changes.-->
Signed-off-by: uid=luzijie01,ou=people,dc=hz,dc=netease,dc=com
<[email protected]>
---
.../main/java/org/apache/doris/datasource/ExternalSchemaCache.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalSchemaCache.java
b/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalSchemaCache.java
index ad1c1306e34..a0558766e81 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalSchemaCache.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalSchemaCache.java
@@ -51,13 +51,13 @@ public class ExternalSchemaCache {
}
private void init(ExecutorService executor) {
- CacheFactory schemaCacheeFactory = new CacheFactory(
+ CacheFactory schemaCacheFactory = new CacheFactory(
OptionalLong.of(86400L),
OptionalLong.of(Config.external_cache_expire_time_minutes_after_access * 60),
Config.max_external_schema_cache_num,
false,
null);
- schemaCache = schemaCacheeFactory.buildCache(key -> loadSchema(key),
null, executor);
+ schemaCache = schemaCacheFactory.buildCache(key -> loadSchema(key),
null, executor);
}
private void initMetrics() {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]