cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Merge documents into one big document

walkerline117
Contributor

Hi,

Currently when I use Oracle select/Oracle execute snaps to query data from Snaplogic, it will return multiple documents as output from those snaps(one row per doc).

Is there a way i can merge them together into one json array or one doc?

Thanks

16 REPLIES 16

One way of achieving faster response is to provide limit and offset to the callers using this Ultra API.

LIMIT and OFFSET can be easily implemented in database queries!

You can easily implement this and thereby dont expose the whole set of data when not needed.

No, in our case, we have to expose all data from one select * query.

Or you could try doing the group by in python since โ€œScriptโ€ snap does support ultra. I know this isnโ€™t ideal but at least this might satisfy your business requirements.

Yes, Script is the only way we can do this which can provide faster performance as well.
But we would avoid to use script or any snap development. That defeat the purpose of โ€˜Citizen integrationโ€™ as what Snaplogic advertised.

What is your expectation in terms of time and results?

200 docs in 1 sec or 3 secs or subseconds?

What config do you have? How many nodes/FMs?