How to append data from S3 Bucket into Domo
I am going to recieve one file daily into my S3 bucket, which I need to bring into Domo through the S3 Advanced Bucket connector. I have to keep historical data in Domo, which means that I have to append mydataset in Domo everyday with a new file that is coming into the S3 bucket daily.
I do not understand how to do this. I'm looking for an option that does not involve any scripting to append files. More specifically, I saw the 'Append' option in the Domo S3 Advanced connector. I'm curious about how Domo will know which file to append into the old data, if there are multiple files in the S3 bucket (old and new).
e.g If there is one file in S3 bucket which came yesterday called "Finances_13_July", and it was imported into Domo through the connector. Next day, a file called "Finances_14_July" comes in the S3 bucket. Will the append option in the Domo S3 Advanced connector realize which file was the old one (already imported into Domo) and which is the new file to be appended (given that both todays and yesterday's file are in the S3 bucket)?
Comments
-
Hi there!
I actually have multiple datasets that append from the advanced s3 connector. One of my datasets brings in a new file with daily totals each day. What I have found to work best is to have a consistent naming scheme for all files and add a timestamp to the name. For example, today domo brought in the file named "2019-09-20 DailyTotals" tomorrow it will bring in the dataset "2019-09-21 DailyTotals". I do this by selecting the "partial file name" option under the "How would you like to choose your file name" drop down. For the next drop down I select file contains a specific string. That way domo knows to bring in the most recent file with that name and add it to the existing dataset.
To get it to actually append, you'll have to choose the "append" method of updating in the scheduling section.
I hope that helps!
1 -
Thank you for the reply. I will try this out and see if it works.
0 -
Did this work out for you i am going to set up a S3 connection soon and was wondering if i could set up something similar…
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive