[POC][client] Support log scanner for multiple tables#3140
[POC][client] Support log scanner for multiple tables#3140loserwang1024 wants to merge 4 commits intoapache:mainfrom
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? |
…eturn real schema rather than target schema
this approach introduces two critical issues:
|
Purpose
Linked issue: close #3139
Brief change log
Tests
API and Format
Documentation