JingsongLi opened a new pull request, #594:
URL: https://github.com/apache/flink-table-store/pull/594

   ### Introduce `LookupMergeFunction`
   When Lookup Changelog producer is enabled, each merge will query the old 
merged record, so the latest high level record should be the final merged value.
   
   ### Introduce `ForceUpLevel0Compaction`
   Because changelog is generated when level 0 is merged to a higher level, we 
need a compaction policy to ensure that changelog is generated each time.
   
   ### Introduce `LookupChangelogMergeFunctionWrapper`
   Changelog records are generated in the process of the level-0 file 
participating in the compaction, if during the compaction processing:
   - Without level-0 records, no changelog.
   - With level-0 record, with level-x (x > 0) record, level-x record should be 
BEFORE, level-0 should be AFTER.
   - With level-0 record, without level-x record, need to lookup the history 
value of the upper level as BEFORE.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to