nck-2 / test-rep

0 stars 0 forks source link

count distinct by multiple attributes #1337

Open githubmanticore opened 1 year ago

githubmanticore commented 1 year ago

it might be better to allow set multiple attributes at count(distinct ... ) expression and hash attribute values to get single distinct value, ie count(distinct att1, att2) for values

attr1=15,attr2=10 
attr1=10,attr2=15 

gives 2.

We already has implementation at CSphGrouperMulti that hashes multiple group by values to get single grouby() might worth to provide similar for count(distinct...)

This is owox feature request.

githubmanticore commented 1 year ago

➤ Gloria Vinogradova commented:

I'm going to close the issue because customer's contract is expired. Could you please let me know it would be useful for development instead

githubmanticore commented 1 year ago

➤ Sergey Nikolaev commented:

Let's keep it open just as a general feature request. If someone needed it it might be useful for others too, it's just not a priority for us now, but my become so in future.