Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: target build optimization for merge into (databendlabs#14066)
* init blockinfo hashtable * add some comments * add more comments for hash_table interface * add merge_into_join_type info and block_info index * add block info hashtable basic implementation * fix typos * add RowPrefix for native_deserialize and parquet_deserialize * fix lint * add gather_partial_modified and reduce_false_matched * refactor: remove block info hashtable and build blockinfo index outside, add check multirows conflict * fix blockinfo index * gather partial modified blocks and fix lint * remove rowid when use target table as build side * support target_build_optimization for merge into pipeline in standalone mode * add more tests, and enhance explain merge into, add fix add merge status when target table build optimization is triggered * add probe done output logic and add more tests * add one chunk ut test for block_info_index * fix test result * add more commnnts for merge into strategies, and fix rowid read * fix test * fix split * fix block_info_index init, matched offsets update and add target_table_schema for partial unmodified blocks to append directly, add probe attach for target_build_optimization, fix merge intp explain update order * fix all matched delete for target build optimization * fix test * add info log * add logs * add debug logs * add debug logs * fix lint * forbiden native engine for target build optimization * add logs * add more log * add debug log * fix multi chunks start offset and add skip chunk ut test * support recieve duplicated block for matched_mutator * move logic code * fix flaky matched and fix offset for pointer (chunk_offsets shouldn't minus one) * add merge_state * refactor codes * add more commnets * refactor codes, split merge into optimziation codes into other files * remove a.txt * fix check * chore: modify function name * rename variables with merge_into prefix * rename function * move merge_into_try_build_block_info_index to front
- Loading branch information