What is difference between sort recipe and prepare recipe sort
What is the difference between sort recipe and the sort in prepare recipe?
Best Answer
-
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
Answers
-
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.
-
NilamberPanda Partner, Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Registered Posts: 9 Partner
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?
-
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 Partner, Dataiku DSS Core Designer, Dataiku DSS Core Concepts, Registered Posts: 9 Partner
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 ?