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

   > 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 
(otherwise, full-field updates wouldn't be supported). 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?
   
   Yes, I got your point, but my point is just "Is our modification worth it", 
we can wait for these requirements to emerge.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to