walterddr commented on a change in pull request #6521: [FLINK-5315][table] 
Adding support for distinct operation for table API on DataStream
URL: https://github.com/apache/flink/pull/6521#discussion_r214386228
 
 

 ##########
 File path: docs/dev/table/udfs.md
 ##########
 @@ -650,6 +650,36 @@ tEnv.sqlQuery("SELECT user, wAvg(points, level) AS 
avgPoints FROM userScores GRO
 </div>
 </div>
 
+User-defined aggregation function can be used with `distinct` modifiers. To 
calculate the aggregate results only for distinct values, simply add the 
distinct modifier towards the aggregation function.
 
 Review comment:
   Done. yes I agree. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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