pennylane-hq / activerecord-adapter-redshift

Other
6 stars 26 forks source link

Fix columns_for_distinct #6

Closed aossowski closed 10 months ago

aossowski commented 1 year ago

Replace columns_for_distinct implementation with the one that comes with Rails Postgres adapter.

See https://github.com/rails/rails/commit/2d48268d81644b3b1a558fbdd81941d56dd3d239#diff-0989923401a81fa4208ffc75f8e8622d20353373f9ba38c373d7ff15485b20b4L586 for reference

Fixes https://github.com/rails/rails/issues/28364