slick-pg icon indicating copy to clipboard operation
slick-pg copied to clipboard

Use of Aggregation Functions in slick-pg

Open adithya-badidey opened this issue 10 years ago • 8 comments

Is it possible to use aggregation functions supported in Postgres 9.x+

List of function are at: http://www.postgresql.org/docs/current/static/functions-aggregate.html#FUNCTIONS-AGGREGATE-TABLE

Im particularly interested in "string_agg"

Cheers!

adithya-badidey avatar Apr 23 '14 10:04 adithya-badidey

ok, I'll add aggregation functions support asap.

tminglei avatar Apr 24 '14 13:04 tminglei

Hi @adithya-bm I have completed most of the development, but encountering an issue SI-8556, and I'm waiting for the help.

BTW, it depends on some changes I made on slick, so it can't be released until related slick changes were merged and released. I have sent out a pull request and you can watch its progress on issue.

tminglei avatar May 03 '14 05:05 tminglei

Hi @adithya-bm some updates for pg aggregate support: The changes of slick #796 didn't suit to the authors' expected, so I turned to implement a @cvogt suggested solution. But currently pending on slick #818.

Will keep you updated. Thanks!

tminglei avatar May 27 '14 03:05 tminglei

Hi, I was wondering if you had the change to look into aggregation method since the release of Slick 3? Hopefully, https://issues.scala-lang.org/browse/SI-8556 is not an issue anymore... (?)

j-martin avatar Jan 16 '16 20:01 j-martin

@j-martin I'm busy on other working now. I'll continue on it when I had time.

tminglei avatar Jan 17 '16 05:01 tminglei

What's the status of this?

nafg avatar Aug 13 '19 05:08 nafg

It was already implemented in slick-pg.

tminglei avatar Aug 14 '19 00:08 tminglei

@tminglei that's what I thought but why is this issue still open?

Although, it doesn't work for any use case that I needed it for.

nafg avatar Aug 14 '19 02:08 nafg