From a9c9d27c8ddbc5b36d27de1b85fc199905876ec1 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Fri, 27 Oct 2023 10:15:06 +0200 Subject: [PATCH] How to import data in db --- code_thingies/database/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code_thingies/database/README.md b/code_thingies/database/README.md index 823e65d..caa1af1 100644 --- a/code_thingies/database/README.md +++ b/code_thingies/database/README.md @@ -48,7 +48,7 @@ CREATE TABLE raw_hosts ( ``` -After, you will have to download some CSV files with the data to populate the database. The AWS CLI commands below will do that: +After, you will have to download some CSV files with the data to populate the database. The AWS CLI commands below will download them for you: ```bash aws s3 cp s3://dbtlearn/listings.csv listings.csv @@ -56,6 +56,8 @@ aws s3 cp s3://dbtlearn/reviews.csv reviews.csv aws s3 cp s3://dbtlearn/hosts.csv hosts.csv ``` +How to put the data into the databases is up to you. I've done it successfully using the import functionality of DBeaver. + # Introduction and Environment Setup ## Snowflake user creation