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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to