Hi Miguel Maybe the doc[1] about how to specifying the keys can help.
[1] https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/api_concepts.html#specifying-keys Best, Congxian Miguel Farrajota <miguel.farraj...@feedzai.com> 于2019年10月8日周二 上午12:09写道: > Hi, > > I'm looking to do some result aggregations on a event stream using several > fields (for example, country and city) but I'm having a hard time finding > any information about how to do this programmatically in the official > documentation. I've found a couple of examples using SQL, but I'm looking > to do this using something .aggregate() or .process() > > Can anyone shed some light on this? > > Thanks > > - Miguel Farrajota > > *The content of this email is confidential and intended for the recipient > specified in message only. It is strictly prohibited to share any part of > this message with any third party, without a written consent of the sender. > If you received this message by mistake, please reply to this message and > follow with its deletion, so that we can ensure such a mistake does not > occur in the future.*