Hi John,

I would like to report a bug on behalf of my colleague, Divya Chandrasekar.  
She noticed duplicate keys in the results for aggregate (group by) queries over 
multiple partitions, and found that adding the following recursive call to 
ibis::colStrings::sort resolved the issue.  Please review the suggested fix.  
Divya can provide more information if needed at the cc’d address.


https://github.com/gingi/fastbit/blob/master/src/colValues.cpp#L3344


                    for (ibis::colList::iterator ii=head; ii!=tail; ++ii)
                        (*ii)->swap(i2, i1);
                    ++ i1;
                }
            }
            if (i1+1 < j)
                sort(i1, j, bdl, head, tail);
        }
    } // end quick sort
#if _DEBUG+0 > 2 || DEBUG+0 > 1
    if (ibis::gVerbose > 5) {
        ibis::util::logger lg;


_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to