From: Jeremy J C. <jj...@sy...> - 2016-02-29 22:26:21
|
bigdata-rdf/src/java/com/bigdata/rdf/sparql/ast/optimizers/ASTDistinctTermScanOptimizer.java line 381 (in master) reads: final long newCard = (long) (1.0 / arity); the comment above says: newCard = oldCard * 1.0 / arity(context, sp) I suspect the comment is correct and the code is wrong. (I have no idea what code this is: I had a case of an obviously incorrect estimate cardinality and was looking for an int/long bug, and found this instead) Jeremy |