facebook / facebook/rocksdb

Missing C API for CanKeysWithDifferentByteContentsBeEqual()

Open
#6,319 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
32.1k
Forks
6.9k
Avg merge
32m
Merged PRs (30d)
1

Description

### Expected
Overriding CanKeysWithDifferentByteContentsBeEqual() fuction for custom comparator using C API

Which is needed for Hash Index

> Every comparator implementation should override this function and specify the behavior of the comparator. If a comparator can regard different keys equal, the function returns true, and as a result the hash index feature will not be enabled, and vice versa.

https://github.com/facebook/rocksdb/wiki/Data-Block-Hash-Index#things-that-need-attention

### Actual
Missing CanKeysWithDifferentByteContentsBeEqual() equivalent in C API

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.