The recipe in Talend Data Preparation, just like any cooking recipe, is the list of preparation steps applied to your data.
After completing four actions on your preparation, you might have noticed that every step was listed on the left side of the screen. This is the recipe of your preparation. Every function that has been applied on your data goes in the recipe.
For the sake of this example, you are going to manipulate the different items that make up your preparation.
To edit your preparation, proceed as follows:
- To disable the recipe, and hide all the changes you have made so far, click the
green switch above the recipe.
You can now see your data in its original state. Disabling and enabling the recipe can be useful if you want to make a before and after comparison of your data.
- Click one more time to make the preparation active again.
- To disable only a specific recipe line, the third one for example, click the
green round button to the right of it.
Because each preparation step is based on the previous one, disabling one recipe line also disables the following ones.
This operation allows you to look at the state of your data before you applied the function. In this case, you can see that the whitespaces in the FIRST_NAME and LAST_NAME columns can be found again. You can also hover your mouse over the green button for preview.
- Click the green button next to the fourth recipe line to make the effects of the last two functions active again.
- To delete a recipe line, the last one for example, hover over the line and
click the trash can icon on the left.
Unlike the disable button you used earlier, the trash can icon completely removes a line from the recipe.
- Click the undo button on the top right part of the screen.
Your preparation is now back at the state it was at the beginning of this procedure. Remember that every modification can be undone. You have now learned how editing the recipe can impact the preparation.