[FIP-43][client] Support log scanner and writer for multiple tables#3140
[FIP-43][client] Support log scanner and writer for multiple tables#3140loserwang1024 wants to merge 2 commits into
Conversation
|
Thanks @loserwang1024. Supporting multi-table reads is a valuable enhancement. Currently, we can already read from multiple tables by creating separate I understand that the primary goal of this PR is to consolidate I/O within the LogFetcher, and maintaining individual LogScanners per table is not a problem. This optimization mirrors our approach on the writer side, where writes for multiple tables are merged into a unified sender instance to aggregate I/O. We can apply a similar strategy here by enabling multi-table support in the LogFetcher and sharing it at the Connection level. This approach allows us to keep the user-facing API unchanged, leveraging the existing hierarchy of Connection -> Table -> LogScanner without introducing a new multi-table scanner abstraction. It also ensures consistency between reader and writer operations for both single-table and multi-table scenarios. What do you think? |
this approach introduces two critical issues:
|
1f53a61 to
7195db5
Compare
7195db5 to
1b5e674
Compare
1b5e674 to
c16e78b
Compare
e795ca9 to
72fee2f
Compare
72fee2f to
e259210
Compare
de2749f to
f4eeba7
Compare
f4eeba7 to
6b140fb
Compare
Purpose
Linked issue: close #3139
Brief change log
Tests
API and Format
Documentation