Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Apr 2, 2024
1 parent 9875417 commit 78b2bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public interface TableBulkLoader {
void finish() throws IOException;
}

static FullCacheLookupTable create(Context context, long lruCacheSize) throws IOException {
static FullCacheLookupTable create(Context context, long lruCacheSize) {
List<String> primaryKeys = context.table.primaryKeys();
if (primaryKeys.isEmpty()) {
return new NoPrimaryKeyLookupTable(context, lruCacheSize);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class SecondaryIndexLookupTable extends PrimaryKeyLookupTable {

private RocksDBSetState<InternalRow, InternalRow> indexState;

public SecondaryIndexLookupTable(Context context, long lruCacheSize) throws IOException {
public SecondaryIndexLookupTable(Context context, long lruCacheSize) {
super(context, lruCacheSize / 2, context.table.primaryKeys());
List<String> fieldNames = projectedType.getFieldNames();
int[] secKeyMapping = context.joinKey.stream().mapToInt(fieldNames::indexOf).toArray();
Expand Down

0 comments on commit 78b2bff

Please sign in to comment.