Allow to have non-distinct queries
Merge branch 'DDC-2548' into 2.3