TheR1sing3un commented on code in PR #7952:
URL: https://github.com/apache/paimon/pull/7952#discussion_r3309372607
##########
paimon-python/pypaimon/read/split_read.py:
##########
@@ -650,6 +652,17 @@ def _build_merge_function(self):
value_arity=self.value_arity,
nullables=[f.type.nullable for f in self.value_fields],
)
+ if engine == MergeEngine.AGGREGATE:
+ field_aggregators = build_field_aggregators(
+ self.value_fields,
+ self.trimmed_primary_key,
+ self.table.options,
+ )
+ return AggregateMergeFunction(
+ key_arity=len(self.trimmed_primary_key),
+ value_arity=self.value_arity,
+ field_aggregators=field_aggregators,
+ )
Review Comment:
done
--
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]