Skip to content

Commit

Permalink
[GLUTEN-1632][CH]Daily Update Clickhouse Version (20240120) (#4461)
Browse files Browse the repository at this point in the history
* [GLUTEN-1632][CH]Daily Update Clickhouse Version (20240120)

* fix build due to ClickHouse/ClickHouse#58902

---------

Co-authored-by: kyligence-git <[email protected]>
Co-authored-by: Chang Chen <[email protected]>
  • Loading branch information
3 people authored Jan 20, 2024
1 parent 72508c7 commit 3730305
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cpp-ch/clickhouse.version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CH_ORG=Kyligence
CH_BRANCH=rebase_ch/20240118
CH_COMMIT=f2870c3735c
CH_BRANCH=rebase_ch/20240120
CH_COMMIT=1eae7f5e984
4 changes: 2 additions & 2 deletions cpp-ch/local-engine/Common/FileCacheConcurrentMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,15 @@ class FileCacheConcurrentMap
if (it->second < accept_cache_time)
{
// will delete cache file immediately
file_cache->removePathIfExists(path);
file_cache->removePathIfExists(path, DB::FileCache::getCommonUser().user_id);
// update cache time
map[key] = accept_cache_time;
}
}
else
{
// will delete cache file immediately
file_cache->removePathIfExists(path);
file_cache->removePathIfExists(path, DB::FileCache::getCommonUser().user_id);
// set cache time
map.emplace(key, accept_cache_time);
}
Expand Down

0 comments on commit 3730305

Please sign in to comment.