Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
artkostm authored Nov 8, 2018
0 parents commit fdc54f4
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
### Tables:

### To create the tables above run:

```hive -f ....hql```

Console output:

```shell
```

![Created tables](./img/created_tables.png "Created tables")

### To calculate Top 3 most popular countries where booking is successful (booking = 1):

```hive -f ....hql```

![Top 3 most popular countries where booking is successful](./img/top3_countries_succ_booking.png "Top 3 most popular countries where booking is successful")

### To calculate the longest period of stay of couples with children:

```hive -f ....hql```

![The longest period of stay of couples with children](./img/created_tables.png "The longest period of stay of couples with children")

### To calculate top 3 most popular hotels (treat hotel as composite key of continent, country and market) which were not booked:

> Most popular means most searches in dataset
> Not booked means column booked = 0
```hive -f ....hql```

![To calculate top 3 most popular hotels which were not booked](./img/created_tables.png "To calculate top 3 most popular hotels which were not booked")

0 comments on commit fdc54f4

Please sign in to comment.