Sync Teradata dataset to another Teradata dataset with python

Mario_Burbano
Mario_Burbano Registered Posts: 12 ✭✭✭✭✭
edited July 16 in Using Dataiku

Dear all,

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

https://answers.dataiku.com/2791/create-sync-recipe-with-python-code

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)

AssertionError:

Any help would be appreciated

Tagged:
Setup Info
    Tags
      Help me…