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 ed0feb8 commit cba3380
Show file tree
Hide file tree
Showing 6 changed files with 350 additions and 323 deletions.
Loading

0 comments on commit cba3380

Please sign in to comment.