How to pass on inputRoles & outputRoles in recipes.json?
Hy All - Im trying to write a plugin and it doesn't need input and output datasets defined.
Turns out Dataiku wants at least the OutputRole
So, I go ahead and leave that one in the json file:
//"inputRoles": [ // { // "name": "input_dataset", // "arity": "UNARY", // "required": false, // "acceptsDataset": true // } //], "outputRoles": [ { "name": "output_dataset", "arity": "UNARY", "required": false, "acceptsDataset": true } ],
But when I instantiate the plugin in a project, the window to select input and output datasets still pops up. And it also indicates they are required even though I set: "required": false
Thanks for any help to sort this out
CJ
Operating system used: Ubuntu
Best Answer
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,049 Neuron
Having recipes without outputs is not currently supported. If you want to understand the reasons behind it read this Product Idea and it's comments (and vote for it if you want it implemented):
My suggestion will be that you go ahead and create a dummy output dataset with either some statistics of what your recipe is doing or some logging data so you can have a valid output.
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,049 Neuron
PS: This is the second most voted Product Idea at the moment, the first one is Dark Mode:
https://community.dataiku.com/t5/Product-Ideas/idb-p/Product_Ideas/tab/most-kudoed