Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data Engineering Project Submission. #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

victorcezeh
Copy link
Owner

Pull Request: Comprehensive Project Setup with SQL Implementation.


Description:

This pull request combines the completed database setup, server configuration using Docker, and the implementation of SQL queries to address specific tasks within the Alt School project.

Changes:

  1. Database Schema Setup:

    • Created schema ALT_SCHOOL.
    • Established tables PRODUCTS, CUSTOMERS, ORDERS, LINE_ITEMS, and EVENTS with appropriate columns as per provided DDL statements.
  2. SQL Implementation for Data Population:

    • Utilized SQL COPY commands to populate tables with data sourced from respective CSV files.
  3. Server Configuration with Docker:

    • Incorporated Docker Compose for streamlined server setup.
    • Added instructions for spinning up the server using docker-compose up in the project root folder.
    • Included a Postgres service configuration within Docker Compose.
    • Provided credentials for connecting to the Postgres database via DBEAVER.
  4. SQL Implementation for Specific Tasks:

    • Implemented SQL queries to address Part 2A and Part 2B tasks within the project.
    • Queries include determining the most ordered item, identifying top spenders, finding the most common checkout location, identifying abandoned carts and counting relevant events, and calculating the average number of visits per customer.

Instructions for Review:

  1. Database Schema and SQL Implementation:

    • Review the created schema and ensure it aligns with project requirements.
    • Verify that SQL implementation accurately populates tables with data from CSV files.
    • Examine SQL queries for correctness and efficiency in addressing specific tasks.
  2. Server Configuration with Docker:

    • Test the Docker setup by running docker-compose up in the project root folder.
    • Check that the Postgres service starts successfully.
    • Use the provided credentials to connect to the database via DBEAVER and verify connectivity.

Note:

  • Docker must be installed on the reviewer's system to test the server setup.
  • After running docker-compose up, ensure the Postgres service is accessible and functional.
  • Detailed descriptions for each step and SQL implementation are provided to facilitate a thorough review.
  • Your feedback on the implemented changes is invaluable.

This pull request merges the completed database setup, Docker-based server configuration, and SQL implementation for specific tasks within the Alt School project. Your thorough review of the included details and SQL queries is highly appreciated.

Thank you.


@victorcezeh victorcezeh changed the title Alt_School Data Engineering Project Submission. Data Engineering Project Submission. Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant