Closed lychnin closed 1 month ago
MiniOB supports inserting, deleting b+tree index.
Sorry,what I mean is if miniob has not finished the feature "change_index" just like create_index_executor.cpp which could call b+tree's inserting,deleting function.
here is BplusTreeIndex::insert_entry
in bplus_tree_index.cpp
create_index_executor is just for creating index. What do you mean about 'changing' index? The type? The meta?
Sorry,I make a mistake.I've just learned changing index is droping the index and creating a new index which has the same name as the origin index.
You're right. You can't even drop an index right now in MiniOB.
I have read the code in ./src/observer/storage.Now I want to explore which mode uses the feature about bplus index.But I just found the creat_index_executor.cpp/h and create_index_stmt.cpp/h using the API.
So my question is if the miniob have not finished the feature about updateing,deleting and changing index.