How to import data in db
This commit is contained in:
parent
9c96234a1f
commit
a9c9d27c8d
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
```bash
|
||||||
aws s3 cp s3://dbtlearn/listings.csv listings.csv
|
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
|
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
|
# Introduction and Environment Setup
|
||||||
|
|
||||||
## Snowflake user creation
|
## Snowflake user creation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue