MySQL query structure for merge update feature
Options
We are trying to implement the merge update mode in domo (aka upsert), but I cannot find any documentation regarding how to implement it. Especially with regard to the query structure required to make it work. I understand that we need to identify merge key in our datasets and use them in a WHERE statement, but it still does not work. What am I doing wrong? Thanks!
0
Comments
-
Hi,
Is anyone able to help out with this request?
Thanks,0 -
Hi,
My version of a poor man's upsert is to create an output dataset on the first run of a dataflow. After the first run, I add the output back into the dataflow as an input then do an inner join to update the existing records.
I then add a UNION ALL and a left outer on the new records to add them in.
1
This discussion has been closed.
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 278 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 89 SQL DataFlows
- 561 Datasets
- 2K Magic ETL
- 3.4K Visualize
- 2.3K Charting
- 581 Beast Mode
- 13 App Studio
- 28 Variables
- 584 Automate
- 142 Apps
- 415 APIs & Domo Developer
- 26 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 357 Distribute
- 96 Domo Everywhere
- 259 Scheduled Reports
- 2 Software Integrations
- 93 Manage
- 90 Governance & Security
- 9 Product Release Questions
- Community Forums
- 37 Getting Started
- 28 Community Member Introductions
- 89 Community Announcements
- 4.8K Archive