Skip to content

Commit

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

* fix build due to ClickHouse/ClickHouse#57578

Pass a empty config_path to FileCacheFactory::getOrCreate, see https://github.com/ClickHouse/ClickHouse/blob/12ed9952c4009a52183a88b50292e781db7f1641/src/Disks/ObjectStorages/Cached/registerDiskCache.cpp#L67

---------

Co-authored-by: kyligence-git <[email protected]>
Co-authored-by: Chang Chen <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2023
1 parent 06a7a6a commit ae510e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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/20231206
CH_COMMIT=6bd969f2c79
CH_BRANCH=rebase_ch/20231216
CH_COMMIT=7d51b116eb2
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class S3FileReadBufferBuilder : public ReadBufferBuilder
fs::create_directories(cache_base_path);

file_cache_settings.base_path = cache_base_path;
file_cache = DB::FileCacheFactory::instance().getOrCreate("s3_local_cache", file_cache_settings);
file_cache = DB::FileCacheFactory::instance().getOrCreate("s3_local_cache", file_cache_settings, "");
file_cache->initialize();

new_settings.remote_fs_cache = file_cache;
Expand Down

0 comments on commit ae510e2

Please sign in to comment.