| 825 | } |
| 826 | |
| 827 | Status MergeFrom(KernelContext*, KernelState&& src) override { |
| 828 | const auto& other = checked_cast<const ThisType&>(src); |
| 829 | this->state += other.state; |
| 830 | this->count += other.count; |
| 831 | return Status::OK(); |
| 832 | } |
| 833 | |
| 834 | Status Finalize(KernelContext*, Datum* out) override { |
| 835 | const auto& struct_type = checked_cast<const StructType&>(*out_type); |