{"id":15056767,"url":"https://github.com/abdallahqoutbali/data-modeling-with-apache-cassandra","last_synced_at":"2026-02-09T16:05:04.328Z","repository":{"id":179939185,"uuid":"601688118","full_name":"AbdallahQoutbAli/Data-Modeling-with-Apache-Cassandra","owner":"AbdallahQoutbAli","description":"Data Modeling with Apache Cassandra ","archived":false,"fork":false,"pushed_at":"2023-03-13T07:48:41.000Z","size":871,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T06:04:38.033Z","etag":null,"topics":["apache-cassandra","aws","data-engineering","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AbdallahQoutbAli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-14T15:52:58.000Z","updated_at":"2023-02-14T16:38:17.000Z","dependencies_parsed_at":"2024-05-05T05:31:32.552Z","dependency_job_id":null,"html_url":"https://github.com/AbdallahQoutbAli/Data-Modeling-with-Apache-Cassandra","commit_stats":null,"previous_names":["abdallahqoutbali/data-modeling-with-apache-cassandra"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AbdallahQoutbAli/Data-Modeling-with-Apache-Cassandra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdallahQoutbAli%2FData-Modeling-with-Apache-Cassandra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdallahQoutbAli%2FData-Modeling-with-Apache-Cassandra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdallahQoutbAli%2FData-Modeling-with-Apache-Cassandra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdallahQoutbAli%2FData-Modeling-with-Apache-Cassandra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbdallahQoutbAli","download_url":"https://codeload.github.com/AbdallahQoutbAli/Data-Modeling-with-Apache-Cassandra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbdallahQoutbAli%2FData-Modeling-with-Apache-Cassandra/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268297336,"owners_count":24228123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-cassandra","aws","data-engineering","python"],"created_at":"2024-09-24T21:56:16.035Z","updated_at":"2026-02-09T16:05:04.293Z","avatar_url":"https://github.com/AbdallahQoutbAli.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":" # Data-Engineer-Nanodegree-Projects-Udacity\nProjects done in the [Data Engineer Nanodegree by Udacity.com](https://www.udacity.com/course/data-engineer-nanodegree--nd027)\n\n## Course 1: Data Modeling\n\n### Introduction to Data Modeling\n- Understand the purpose of data modeling\n- Identify the strengths and weaknesses of different types of databases and data storage techniques\n- Create a table in Postgres and Apache Cassandra\n\n### Relational Data Models\n- Understand when to use a relational database\n- Understand the difference between OLAP and OLTP databases\n- Create normalized data tables\n- Implement denormalized schemas (e.g. STAR, Snowflake)\n\n### NoSQL Data Models\n- Understand when to use NoSQL databases and how they differ from relational databases\n- Select the appropriate primary key and clustering columns for a given use case\n- Create a NoSQL database in Apache Cassandra\n\n\n\n# Project  \n#### The image below is a screenshot of what the denormalized data should appear like in the event_datafile_new.csv \n\n![image](https://user-images.githubusercontent.com/47276503/218794760-3c216787-ee1d-4277-97a0-bb713591ad43.png)\n\n\u003cp\u003e \nThe Business Asked to made the Below Query Give me the artist, song title and song's length in the music app history \u003cbr\u003e that was heard during sessionId = 338, and itemInSession = \n\u003cbr\u003e\n\u003ch2\u003e First Create Table Table song_info And Choose only the Columns Asked To load  \u003c/h2\u003e\n\u003cbr\u003e\n\n![image](https://user-images.githubusercontent.com/47276503/219933894-0d5e8a93-083e-4320-93c1-ab1b5f458944.png)\n\n\n\n\n\n\n\u003cbr\u003e\nNote :\nFor the Above Query , the session_id and Column item_session was used as a partition key because the queries will filter by them \nand used as clustering columns to help make up a unique key.\n\u003cp\u003e \n\n\n \u003ch2\u003e The Below Query Load Data Inside Table Song_info  \u003c/h2\u003e\n\n![image](https://user-images.githubusercontent.com/47276503/218798640-3c3de9c2-7cd2-4390-8cf4-676fdb1160b2.png)\n\n\n\n \u003ch2\u003e SELECT to verify that the data have been inserted into each table \u003c/h2\u003e\n\n![image](https://user-images.githubusercontent.com/47276503/218798817-a8c3f13a-5ffb-4934-9d36-d0186748ba5a.png)\n\n\n![image](https://user-images.githubusercontent.com/47276503/224638536-06653681-04e9-4e99-842c-5a3dedb54ab8.png)\n\nThanks !\n\nEmail : Abdallah.Qoutb@gmail.com\n\u003cbr\u003e Data Engineer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdallahqoutbali%2Fdata-modeling-with-apache-cassandra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdallahqoutbali%2Fdata-modeling-with-apache-cassandra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdallahqoutbali%2Fdata-modeling-with-apache-cassandra/lists"}