https://github.com/eonx-com/data-engineer-test
Data Engineer test
https://github.com/eonx-com/data-engineer-test
Last synced: 5 months ago
JSON representation
Data Engineer test
- Host: GitHub
- URL: https://github.com/eonx-com/data-engineer-test
- Owner: eonx-com
- Created: 2021-09-19T12:59:06.000Z (almost 5 years ago)
- Default Branch: release
- Last Pushed: 2021-09-19T13:02:41.000Z (almost 5 years ago)
- Last Synced: 2025-05-18T07:39:00.314Z (about 1 year ago)
- Homepage:
- Size: 354 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Data Engineer Test
This is the data set you will be working with, it has been prepared to be ingested in to AWS RedShift, but you many use which ever Database you feel comfortable with.
It is a simplified model of a small subset of the data that you will be working with at EonX.
There are two schemas representing two separate projects.
Key terms:
- rewards - the EonX rewards platform
- payment_gateway - the EonX payments platform
- provider - represents a client business
- ewallet - an electronic wallet which users can add or remove funds to (ie. paypal)
You are to use these tables to infer a model to produce the following reports.
The desired output is the SQL to create the models, and the SQL to generate the report data.
- total number of users registered on the platform.
- total number of users registered by provider.
- a cumulative timeline of users joined by provider.
- a month on month comparison of users joined per provider.
- current ewallet balance for every ewallet.
- current total ewallet balance for every rewards user.
- rewards users without an ewallet.
- an end of day ewallet balance for every rewards user from the dates 2020-09-01 - 2021-09-30 (every user and day must be included).
- for every ewallet the first transaction that caused the balance to be negative.