hzjhjjyy commented on PR #3299:
URL: https://github.com/apache/paimon/pull/3299#issuecomment-2109153404

   Hi @JingsongLi .
   My own understanding of this PR:
   1. For Paimon, this pr is indeed no optimization regarding the calculation 
method for partial update. The optimization focuses only on reducing the fields 
retrieved and transmitted when rewriting sql for updates to selects on the 
flink side. Of course, this has some optimization for large tables since 
updates typically don't involve many fields simultaneously.
   2. Currently, updates are only provided for deduplication and 
partial-update. Considering the similarity between partial update and 
aggregation in agg functions, support for aggregation has been added. In my 
description above, I specifically mentioned last_value just because of its 
uniqueness, hence the separate mention of its special treatment in this pr. 
Last_non_null_value can be implemented without special treatment.
   Overall, this pr aims to support the feature of using partial columns in 
updates in flink. I wonder if my explanation clarifies and captures your intent?


-- 
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...@paimon.apache.org

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

Reply via email to