You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datasketches.apache.org by "leerho (via GitHub)" <gi...@apache.org> on 2026/09/02 20:29:48 UTC
[I] Cross-Language Test Errors [datasketches-go]
leerho opened a new issue, #172:
URL: https://github.com/apache/datasketches-go/issues/172
Install DS-Java and run `mvn clean test -Pcheck_go_files` You will discover two exceptions thrown and a number of CL files not found.
Once these exceptions are corrected and any of the missing .sk files are provided, no changes in DS-Java are required. Just run the test again.
## First the exceptions (with truncated stack traces):
1. [ERROR] org.apache.datasketches.tuple.arrayofdoubles.AodSketchCrossLanguageTest.checkGo -- Time elapsed: 0.007 s <<< FAILURE!
java.lang.AssertionError: expected [1.0] but found [0.0]
at org.testng.Assert.fail(Assert.java:111)
at org.testng.Assert.failNotEquals(Assert.java:1590)
at org.testng.Assert.assertEquals(Assert.java:728)
at org.testng.Assert.assertEquals(Assert.java:775)
at org.apache.datasketches.tuple.arrayofdoubles.AodSketchCrossLanguageTest.deserializeThreeValues(AodSketchCrossLanguageTest.java:134)
at org.apache.datasketches.tuple.arrayofdoubles.AodSketchCrossLanguageTest.checkGo(AodSketchCrossLanguageTest.java:98)
2. [ERROR] org.apache.datasketches.sampling.VarOptCrossLanguageTest.checkGo -- Time elapsed: 0.002 s <<< FAILURE!
org.apache.datasketches.common.SketchesArgumentException: Possible Corruption: This Family VAROPT_UNION does not match the ID of the given Family: VAROPT
at org.apache.datasketches.common.Family.checkFamilyID(Family.java:213)
at org.apache.datasketches.sampling.VarOptItemsUnion.heapify(VarOptItemsUnion.java:152)
at org.apache.datasketches.sampling.VarOptCrossLanguageTest.deserializeUnionDoubleSampling(VarOptCrossLanguageTest.java:189)
at org.apache.datasketches.sampling.VarOptCrossLanguageTest.checkGo(VarOptCrossLanguageTest.java:129)
## The missing '.sk' files
### The one which just a misspelling
* aos_multi_key_n*_go.sk (C++ and Java spell it without the "_": aos_multikey_n*_)
### The other groups are understandable
These features haven't been developed yet. If and when they are, these warnings will disappear.
* tdigest_float_buf_n*_go.sk (C++ generates)
* tdigest_float_n*_go.sk (C++ generates)
* aos_unicode_go.sk C++, Java generate)
* reservoir_longs_*_go.sk (Java generates, you may never need to ?)
* quantiles_double_n*_go.sk (C++, Java generate)
* quantiles_string_n*_go.sk (C++, Java generate)
--
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: dev-unsubscribe@datasketches.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org
Re: [I] Cross-Language Test Errors [datasketches-go]
Posted by "leerho (via GitHub)" <gi...@apache.org>.
leerho closed issue #172: Cross-Language Test Errors
URL: https://github.com/apache/datasketches-go/issues/172
--
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: dev-unsubscribe@datasketches.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org
Re: [I] Cross-Language Test Errors [datasketches-go]
Posted by "proost (via GitHub)" <gi...@apache.org>.
proost commented on issue #172:
URL: https://github.com/apache/datasketches-go/issues/172#issuecomment-5548343460
currently, tdigest float sketches and quantiles sketches are not implemented in go.
tdigest double sketch exist, but go can't do template meta programming like c++ does.
--
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: dev-unsubscribe@datasketches.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org
Re: [I] Cross-Language Test Errors [datasketches-go]
Posted by "proost (via GitHub)" <gi...@apache.org>.
proost commented on issue #172:
URL: https://github.com/apache/datasketches-go/issues/172#issuecomment-5527155607
Thank you for reporting! I will fix all
--
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: dev-unsubscribe@datasketches.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org
Re: [I] Cross-Language Test Errors [datasketches-go]
Posted by "leerho (via GitHub)" <gi...@apache.org>.
leerho commented on issue #172:
URL: https://github.com/apache/datasketches-go/issues/172#issuecomment-5561636021
**Confirmed** by running 'mvn clean test -Pcheck_go_files:
- No exceptions thrown.
- 'aos_multi_key_n*go.sk' fixed spelling error
- 'aos_unicode_go.sk' now generated by Go and read successfully
The other "missing" files are optional sketch implementation issues and not errors.
Thank you!
--
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: dev-unsubscribe@datasketches.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@datasketches.apache.org
For additional commands, e-mail: dev-help@datasketches.apache.org