refactor: rename Update operation fields#4832
refactor: rename Update operation fields#4832yanghua wants to merge 17 commits intolance-format:mainfrom
Conversation
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
7313dae to
988c5e2
Compare
|
I think a problem is that the train has already been released, it is hard to now change the name. What about we just add more documentation in the transaction protobuf definition and rust struct so people can better understand what those fields mean? I am working on fully refreshing the table spec, so once we update the proto the expectation is that it will be displayed in the spec doc in the future automatically. |
What does the It seems
WDYT? |
yeah sorry I mean a release train
I could see the point for |
My original thought is that if |
6b171aa to
8d9641e
Compare
|
@jackye1995 I did a trade-off: keep the old name in pb to keep compatibility, just renamed the other fields to make them follow the real semantics and better readability. WDYT? |
When I work on #4589, I found the field
fields_modifiedinUpdateoperation is hard to understand, there are four places we need to set it when updating:In some places, it is not based on the naming to set the modified fields. For example, here and here.
Actually, it is used to prune the index's frag bitmap based on some fields.
IMO, we could rename them(another one is
fields_for_preserving_frag_bitmap) for a better name based on their purpose.