Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aitozi committed Nov 4, 2024
1 parent d0a3116 commit 1e55c5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public MemoryFileStoreWrite(
options.writeMaxWritersToSpill(),
options.legacyPartitionName());
this.options = options;
this.cacheManager = new CacheManager(options.lookupCacheMaxMemory());
this.cacheManager =
new CacheManager(
options.lookupDataCacheMaxMemory(), options.lookupIndexCacheMaxMemory());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ public LocalTableQuery(FileStoreTable table) {
this.lookupStoreFactory =
LookupStoreFactory.create(
options,
new CacheManager(options.lookupCacheMaxMemory()),
new CacheManager(
options.lookupDataCacheMaxMemory(),
options.lookupIndexCacheMaxMemory()),
new RowCompactedSerializer(keyType).createSliceComparator());

if (options.needLookup()) {
Expand Down

0 comments on commit 1e55c5b

Please sign in to comment.