You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Punit Naik <na...@gmail.com> on 2016/08/10 21:06:21 UTC

Get minimum or maximum value from a Dataset

Hi

I have a dataset like this:

val x : Dataset[Long]…

I wanted to get the minimum or the maximum Long value. How do I do it?

Re: Get minimum or maximum value from a Dataset

Posted by Ufuk Celebi <uc...@apache.org>.
https://ci.apache.org/projects/flink/flink-docs-master/apis/batch/dataset_transformations.html

On Wed, Aug 10, 2016 at 11:06 PM, Punit Naik <na...@gmail.com> wrote:
> Hi
>
> I have a dataset like this:
>
> val x : Dataset[Long]…
>
> I wanted to get the minimum or the maximum Long value. How do I do it?