4paradigm / 4paradigm/OpenMLDB

Feat: some functions in disktable need to be implemented

オープン
#1,238 コメント 2 件 リアクション 0 件 担当者 1 名 @Leowner が担当を希望しています GitHub で見る
enhancement
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

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()
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
databases
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。