Skip to content

Commit

Permalink
[refactor](sink) move where clase on mv to row distribution
Browse files Browse the repository at this point in the history
For better performance and elasticity, we move memtable from loadchannel to
sink, VTabletSinkV2 is introduced, then there are VTabletWriter and
VTabletSinkV2 distributing rows to tablets. where clauses on mvs are
executed in VTabletWriter, while VTabletSinkV2 needs it too. So common code
is moved to row distribution.

Actually, we can layer code by rows' data flow, then the code is much more
understood and maintainable.

ScanNode -> Sink/Writer (RowDistribution -> IndexChannel / DeltaWriter)
  • Loading branch information
dataroaring committed Nov 7, 2023
1 parent 50da596 commit fc91a67
Show file tree
Hide file tree
Showing 6 changed files with 281 additions and 306 deletions.
Loading

0 comments on commit fc91a67

Please sign in to comment.