Make ETL generated dataset to be updated by API?
I have a dataset created by ETL. Then I want to append more data to it by API. It appears that I cannot create a stream from the dataset. According to my reading on Internet, I cannot update an ETL generated dataset by API. Is it true? If yes, what will be my solutions? I thought a few:
1. Create another new dataset by API, and then create ETL to copy the data from the first one to this one. But it looks like in ETL you can only create a dataflow from existing datasets to new datasets.
2. Export from ETL dataset to CSV and then import them into API created dataset. It sounds feasible. But the dataset is huge. It may take hours or even days to do it. Will DOMO can do it internally so that it will be faster?
Appreciate it if someone can share the answer if knows
Comments
-
I would try to get your first option working. You would need to first create your new dataset via the API. Once you have run the API and created the dataset, you should then be able to use that dataset in your ETL.
When you say updated by API, are you wanting to append rows? Join new columns? Replace rows?
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
I cannot find how to make the first option work in my DOMO account. I'm doing the option 2 right now. Luckily I was able to export all data into a file. Even though it is a large file, the download was successful. Now I'm splitting the file into smaller pieces and uploading them.
To your another question, my update operation only append rows. not change columns or something.
0 -
If you are just appending rows, can't you just use a POST call?
function uploadFile(name, description="", isPublic=true, file){
const formData = new FormData();
formData.append('file', file);
const url = `/domo/data-files/v1?name=
${name}&description=${description}&public=${isPublic}`;
const options = { contentType: 'multipart' };
return domo.post(url, formData, options);
}https://developer.domo.com/docs/dev-studio-references/files-api
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
What is "domo" in "domo.post" in your code?
I'm using Java Stream API to append rows. I cannot create a stream on a dataset created by ETL. What I read on Internet is that I can only create a stream on datasets create by Dataset API.
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 292 Workbench
- 4 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 95 SQL DataFlows
- 602 Datasets
- 2.1K Magic ETL
- 3.7K Visualize
- 2.4K Charting
- 695 Beast Mode
- 43 App Studio
- 39 Variables
- 658 Automate
- 170 Apps
- 441 APIs & Domo Developer
- 42 Workflows
- 5 DomoAI
- 32 Predict
- 12 Jupyter Workspaces
- 20 R & Python Tiles
- 386 Distribute
- 111 Domo Everywhere
- 269 Scheduled Reports
- 6 Software Integrations
- 113 Manage
- 110 Governance & Security
- 8 Domo University
- 30 Product Releases
- Community Forums
- 39 Getting Started
- 29 Community Member Introductions
- 98 Community Announcements
- Domo Community Gallery
- 4.8K Archive