(PDB-5519) Convert distinct modifier to v2 format
(PDB-5519) Convert distinct modifier to v2 format

hsql v1 allowed for `:modifiers` to specify the distinct query, v2
requires that you use `:select-distinct` instead.

puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb