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_r284656594
 
 

 ##########
 File path: jena-arq/Grammar/sparql_11.jj
 ##########
 @@ -1318,6 +1318,8 @@ Expr Aggregate() : { Aggregator agg = null ; String sep 
= null ;
     { agg = AggregatorFactory.createMax(distinct, expr) ; }
   | 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:
   Shouldn’t be included in the standard SPARQL 1.1 grammar, if properly 
#ifdef’d in `master.jj` this will be resolved when you regenerate the grammars

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to