You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by GitBox <gi...@apache.org> on 2019/08/22 21:30:14 UTC

[GitHub] [incubator-datasketches-java] a2l007 opened a new issue #269: Backward compatibility for empty sketches generated from older versions

a2l007 opened a new issue #269: Backward compatibility for empty sketches generated from older versions
URL: https://github.com/apache/incubator-datasketches-java/issues/269
 
 
   The latest version of sketches doesn't seem to be backward compatible for empty sketches generated using older versions. For example in an union operation, using an empty sketch such as `AQMDAAAazJM=` generated using the older versions would throw the error:
   ```
   java.lang.AssertionError: reqOffset: 8, reqLength: 8, (reqOff + reqLen): 16, allocSize: 8
   
       at com.yahoo.memory.UnsafeUtil.assertBounds(UnsafeUtil.java:167)
       at com.yahoo.memory.BaseState.assertValidAndBoundsForRead(BaseState.java:330)
       at com.yahoo.memory.BaseWritableMemoryImpl.getNativeOrderedLong(BaseWritableMemoryImpl.java:284)
       at com.yahoo.memory.WritableMemoryImpl.getLong(WritableMemoryImpl.java:133)
       at com.yahoo.sketches.theta.UnionImpl.update(UnionImpl.java:278)
   ```
   
   @AlexanderSaydakov @leerho This is the same problem that I had discussed with you and I'm logging this issue for tracking purposes.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org