You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Luke Cwik <lc...@google.com> on 2020/06/25 16:37:51 UTC

Re: Sorting JSON output by key

Have you taken a look at the sorter extension[1]?

1: https://beam.apache.org/documentation/sdks/java-extensions/#sorter

On Thu, Jun 25, 2020 at 6:18 AM OrielResearch Eila Arich-Landkof <
eila@orielresearch.org> wrote:

> Hi all,
>
> I have a pipeline that outputs json elements
> Next, I want to read the JSON elements in order by one of the keys.
>
> Any idea how to do it within the pipeline?
>
> Thanks,
> Eila
>
>
>
> —
> Eila
> www.orielesearch.com
> https://www.meetu <https://www.meetup.com/Deep-Learning-In-Production/>
> p.co <https://www.meetup.com/Deep-Learning-In-Production/>
> m/Deep-Learning-In-Production
> <https://www.meetup.com/Deep-Learning-In-Production/>
>
> Sent from my iPhone
>