4paradigm / 4paradigm/OpenMLDB
Feat: some functions in disktable need to be implemented
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
These functions are already implemented in memtable and tested in table_test. They should be implemented in disktable. After implementing them, tests in table_test need to be updated.
``` cpp
bool DiskTable::DeleteIndex(const std::string& idx_name)
uint64_t DiskTable::GetRecordIdxCnt()
bool DiskTable::GetRecordIdxCnt(uint32_t idx, uint64_t** stat, uint32_t* size)
uint64_t DiskTable::GetRecordPkCnt()
uint64_t DiskTable::GetRecordIdxByteSize() {
uint64_t DiskTable::Release()
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
The issue points to functions in disktable that need implementation, referencing existing implementations in memtable and tests in table_test. Start by examining the memtable implementations to understand the expected behavior, then locate the disktable source files. Update the tests in table_test to verify the new implementations. The work involves C++ database internals and requires navigating the codebase to understand the table abstraction.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- databases
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100