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 58b8687 commit ce70b50
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 305 deletions.
Loading

0 comments on commit ce70b50

Please sign in to comment.