rvesse commented on a change in pull request #568: Add Aggregate Median to 
SPARQL ARQ syntax
URL: https://github.com/apache/jena/pull/568#discussion_r284656165
 
 

 ##########
 File path: jena-arq/Grammar/master.jj
 ##########
 @@ -2045,6 +2045,9 @@ Expr Aggregate() : { Aggregator agg = null ; String sep 
= null ;
   | t = <AVG> <LPAREN> ( <DISTINCT> { distinct = true ; } )? expr = 
Expression() <RPAREN>
     { agg = AggregatorFactory.createAvg(distinct, expr) ; }
 
+  | t = <MEDIAN> <LPAREN> ( <DISTINCT> { distinct = true ; } )? expr = 
Expression() <RPAREN>
 
 Review comment:
   This should be fenced with an `#ifdef` so it is only incorporated into the 
ARQ syntax

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to