4paradigm / 4paradigm/OpenMLDB
Feat: some functions in disktable need to be implemented
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
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()
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100