How to import data in db

This commit is contained in:
Pablo Martin 2023-10-27 10:15:06 +02:00
parent 9c96234a1f
commit a9c9d27c8d

View file

@ -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