Yingyi Bu has posted comments on this change.

Change subject: ASTERIXDB-1255: Fix for potential issues related to object 
creation in Jaccard Similarity evaluation
......................................................................


Patch Set 2:

(1 comment)

Heri,

   After double checking, now I think the old code was fine (detailed thoughts 
are inlined).  Sorry for the confusion.  But I still didn't get whether or how 
the similarity function can handle heterogenous list. 
Best,
Yingyi

https://asterix-gerrit.ics.uci.edu/#/c/586/2/asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/common/SimilarityJaccardEvaluator.java
File 
asterix-runtime/src/main/java/org/apache/asterix/runtime/evaluators/common/SimilarityJaccardEvaluator.java:

Line 243:             return;
It looks this if-block makes sure the object creation only happen once.
I didn't get that part last time. Now I think the old code was fine, in terms 
of object creation.


-- 
To view, visit https://asterix-gerrit.ics.uci.edu/586
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I08c550d35d864df08792369d38ff81012e3976af
Gerrit-PatchSet: 2
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Heri Ramampiaro <[email protected]>
Gerrit-Reviewer: Chen Li <[email protected]>
Gerrit-Reviewer: Jenkins <[email protected]>
Gerrit-Reviewer: Yingyi Bu <[email protected]>
Gerrit-HasComments: Yes

Reply via email to