You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by OrielResearch Eila Arich-Landkof <ei...@orielresearch.org> on 2020/06/25 13:17:49 UTC

Sorting JSON output by key

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.meetup.com/Deep-Learning-In-Production 


Sent from my iPhone

Re: Sorting JSON output by key

Posted by Luke Cwik <lc...@google.com>.
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
>