Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
herefree committed Dec 16, 2024
1 parent 8e83455 commit d33d19e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import static org.apache.paimon.fileindex.FileIndexResult.REMAIN;
import static org.apache.paimon.fileindex.FileIndexResult.SKIP;

/** implementation of dynamic bloom filter file index. */
public class DynamicBloomFilterFileIndex implements FileIndexer {

public static final int VERSION_1 = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import org.apache.paimon.options.Options;
import org.apache.paimon.types.DataType;

/** Factory to create {@link DynamicBloomFilterFileIndexFactory}. */
public class DynamicBloomFilterFileIndexFactory implements FileIndexerFactory {

public static final String DYNAMIC_BLOOM_FILTER = "dynamic-bloom-filter";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public void testAddFindByRandomLong() {

@Test
public void testCompareFppWithBloomFilter() {
// When the amount of data written to the filter exceeds the number of items,
// When the amount of data written to the filter exceeds the number of item,
// the dynamic bloom filter has a smaller error rate than the bloom filter.

DynamicBloomFilterFileIndex dynamicFilter =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import java.util.Set;
import java.util.stream.Collectors;

/** ITCase for FileIndex. */
public class FlinkFileIndexTest extends CatalogITCaseBase {

@Test
Expand Down

0 comments on commit d33d19e

Please sign in to comment.