on 11-19-2018 6:32 AM
Hi Experts,
From the screenshot, 1 and 3 the input queues with dynamic number of context inside. 2 is the sorted version of 1. Now we need 4 which should be sorted version of 3 based on 2. Something like sortby key.
When done with sortby key after removing context its gives random sort but not the desired.
Our requirement is without the context disturbances the values inside each context should be sorted based on already sorted context.
Tried HASHMAP, but as we have duplicates its not fulfilled.
Please suggest.
Regards,
Farooq
Hi Evgeniy,
Thanks for the response. Now the problem is there is a one context with totally suppressed in the queue containing 3 contexts.
Cant able to remove that null context with any UDF or mapdefault or formatbyexample.
Please have the look at the image and suggest.
Thanks,
Farooq.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Faroog!
Not sure if I completely understand your requirement, but it seems that if you use SortByKey on 3 using 1 as a source - you should get correct result.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.