What is difference between sort recipe and prepare recipe sort

Solved!
NilamberPanda
Level 2
What is difference between sort recipe and prepare recipe sort

What is the difference between sort recipe and the sort in prepare recipe?

0 Kudos
1 Solution
fchataigner2
Dataiker

the Prepare recipe won't sort the dataset when you run the recipe (ie when you build its output), so there is no gain to expect

View solution in original post

5 Replies
fchataigner2
Dataiker

Hi,

if by "sort in prepare recipe" you mean the sorting of the columns you can activate by clicking on the column headers, it's not a dataset-wide sort but a display-only thing, only applied to the sample used for designing the Prepare recipe's steps.

0 Kudos
NilamberPanda
Level 2
Author

Ok, so if I want to optimize my flow, can I remove a Sort recipe and Add it as a step in Prepare recipe. Will that work?

0 Kudos
fchataigner2
Dataiker

Hi,

there is no "sort step" in a Prepare recipe. The sorting you get from the column headers is for display only, and not limited to the Prepare recipe design screens.

What do you need the sorting for?

NilamberPanda
Level 2
Author

In my flow I have a sort recipe and then I have a prepare recipe. So I was wondering if I can do the sort in prepare recipe as well and remove the sort recipe step to save memory or space. Does that make sense ?

0 Kudos
fchataigner2
Dataiker

the Prepare recipe won't sort the dataset when you run the recipe (ie when you build its output), so there is no gain to expect