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 f2729e1
Show file tree
Hide file tree
Showing 6 changed files with 339 additions and 312 deletions.
Loading

0 comments on commit f2729e1

Please sign in to comment.