0 votes

Dear all,


I am trying to publish a dataset programmatically using python. I came across the following answer


to this type of problem, but after adapting it to my needs am unable to successfully sync the dataset. I get the following error:


AssertionErrorTraceback (most recent call last)
<ipython-input-87-c3c241bffb30> in <module>()
----> 1 recipe.with_existing_output(new_dataset).build()

/opt/application/bdfdku/dataiku-dss-5.1.5/python/dataikuapi/dss/recipe.pyc in with_existing_output(self, dataset_name, append)
    311                        (note: not available for all dataset types)
    312         """
--> 313         assert self.create_output_dataset is None
    314         self.create_output_dataset = False
    315         self._with_output(dataset_name, append)



Any help would be appreciated

I found a round-about way to do this by first creating the SQL table using python and then creating the dataset that will be associated to it. Not sure if there is a better way to do this

Please log in or register to answer this question.

1,296 questions
1,324 answers
11,862 users

┬ęDataiku 2012-2018 - Privacy Policy