Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Usage of Shell Recipe

Level 1
Usage of Shell Recipe

Hi Team,

I would like to know the advantages and limitations of shell recipe. As I didn't find the documentation much fruitful, can you please share some more insights/details about the recipe.

0 Kudos
1 Reply
Lets say you have file in DSS DATA_DIR folder. If you want to incorporate file output into your pipeline you can introduce shell recipe.
$ python
now = 2021-02-09 08:44:41.548331
date and time = 09/02/2021 08:44:41
In the test below I'm using echo to rename the column and add a custom row of text to the output. By using environment variables I can print current project and cd to DSS DATA_DIR folder to then run my file.
Screenshot 2021-02-09 at 08.54.15.pngScreenshot 2021-02-09 at 08.54.27.png