chufucun commented on pull request #185:
URL: https://github.com/apache/datasketches-cpp/pull/185#issuecomment-776426730
Sorry about the delay in responding here. I've been busy with other things.
The serialized union is actually the result of `theta_union.get_result()`.
```c++
StringVal SerializeDsThetaUnion(
FunctionContext* ctx, const datasketches::theta_union& ds_union) {
std::stringstream serialized_input;
datasketches::compact_theta_sketch sketch = ds_union.get_result();
return SerializeDsThetaSketch(ctx, sketch);
}
```
The problem was resolved using the existing interface and the performance
met the requirements.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]