flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] walterddr commented on a change in pull request #6521: [FLINK-5315][table] Adding support for distinct operation for table API on DataStream
Date Fri, 31 Aug 2018 15:12:32 GMT
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message