[storm] Bug in count(distinct...) ?

Ian Booth ian.booth at canonical.com
Thu Nov 11 05:52:37 GMT 2010


Hi

I think I have found a bug in storm's Count() implementation. I can't
see anything obvious already reported as a bug and thought I'd check
here before raising a new bug.

Basically, doing this (warning, pseudo code):

store.execute(
    Select(columns=[Count((a,b,c), distinct=True)],
    tables=[A],
    where=xxxx)
)

results in sql like:

select count(distinct a,b,c) from A where xxx



More information about the storm mailing list