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?
0 -
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
0 -
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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive