Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hello,
i try to create a sparsql recipe with the coderecipe createor. i saw in the library that only
Hi @selchheb,
You can use the type spark_sql_query for spark sql recipes!
For example:
from dataikuapi.dss.recipe import DSSRecipeCreator
recipe_creator = DSSRecipeCreator("spark_sql_query", "test_recipe_creation", client.get_default_project())
recipe_creator.with_input("Orders")
recipe_creator.with_output("output_dataset_that_exists")
As a hint if you run into this again, you can always use project.get_recipe() on an existing recipe (i.e. an existing Spark SQL recipe) and then get the recipe settings, which shows the type for the recipe.
Thanks,
Sarina
Hi @selchheb,
You can use the type spark_sql_query for spark sql recipes!
For example:
from dataikuapi.dss.recipe import DSSRecipeCreator
recipe_creator = DSSRecipeCreator("spark_sql_query", "test_recipe_creation", client.get_default_project())
recipe_creator.with_input("Orders")
recipe_creator.with_output("output_dataset_that_exists")
As a hint if you run into this again, you can always use project.get_recipe() on an existing recipe (i.e. an existing Spark SQL recipe) and then get the recipe settings, which shows the type for the recipe.
Thanks,
Sarina