Forum Discussion
Try moving that group by N to a child pipeline and see how it works for Ultra.
Most of the snaps (group by, group By N, aggregate snaps) work in child pipelines in Ultra mode as long as you return one document to the top level parent pipeline.
Thats a workaround we have tried, but API performance is not as good as what we expected.
From Snaplogic professional, it seems doing parent-child pipeline will add some overhead even with Ultra task.
- nganapathiraju9 years agoFormer Employee
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.
- walkerline1179 years agoContributor
No, in our case, we have to expose all data from one select * query.
- aleung9 years agoContributor III
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.