glitter icon indicating copy to clipboard operation
glitter copied to clipboard

How to add HAVING?

Open maelle opened this issue 3 years ago • 3 comments

https://www.w3.org/TR/sparql11-query/#having

  • A parameter of spq_group_by()?
  • A "mode" of spq_filter(), that only operates after a spq_group_by() has been applied?

maelle avatar Feb 24 '22 13:02 maelle

It'd be better if HAVING were a function (e.g. spq_filter()) for parsing reasons.

maelle avatar Feb 25 '22 13:02 maelle

@lvaudor does it sound correct to you if we add HAVING by having spq_filter() act differently if acting on a query that has had a spq_group_by?

maelle avatar Mar 10 '22 07:03 maelle

@lvaudor do you have any use case for this or should we drop it for now?

maelle avatar Oct 19 '23 12:10 maelle