leerho commented on issue #10042:
URL: https://github.com/apache/druid/issues/10042#issuecomment-675664558
We only guarantee that sketches generated from an older code version can be
read by newer code versions; not the other way around.
You might check if the sketch that being wrapped (with a seedHash ==0) is an
empty sketch. Empty sketches no longer have a seedHash, because there is no
data to hash.
If so, one work-around, would be to pre-check any sketch prior to the wrap
operation. If the length of the sketch in bytes is less than 16 bytes (or the
equivalent Base65 chars), you can be sure it is an empty sketch and it can be
ignored.
The other option, would be to create a special process that reads the older
sketches into a new sketch and then write the new serialized bytes back out and
see if that helps. But you still really need to be using the newer code
version to do the reading.
----------------------------------------------------------------
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]