repo_name
stringclasses
8 values
repo_url
stringclasses
8 values
repo_description
stringclasses
6 values
repo_stars
int64
6
15.8k
repo_forks
int64
192
3.6k
repo_last_updated
stringclasses
8 values
repo_created_at
stringclasses
8 values
repo_size
int64
34
2.13k
repo_license
stringclasses
4 values
language
stringclasses
3 values
text
stringlengths
0
6.32M
avg_line_length
float64
0
28.5k
max_line_length
int64
0
945k
alphnanum_fraction
float64
0
0.91
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## # Generic dockerfile for dbt image building. # See README for operational details ## # Top level build args ARG build_for=linux/amd64 ## # base image (abstract) ## FROM --platform=$build_for python:3.9.9-slim-bullseye as base # N.B. The refs updated automagically every release via bumpversion # N.B. dbt-postg...
25.507463
141
0.68178
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
Import-Module posh-git Import-Module PSFzf -ArgumentList 'Ctrl+t', 'Ctrl+r' Import-Module z Import-Module Terminal-Icons Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete $env:POSH_GIT_ENABLED=$true oh-my-posh init pwsh --config $env:POSH_THEME | Invoke-Expression # NOTE: You can override the above env var fr...
29.285714
99
0.77305
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Course Project ### Objective The goal of this project is to apply everything we have learned in this course to build an end-to-end data pipeline. ### Problem statement Develop a dashboard with two tiles by: * Selecting a dataset of interest (see [Datasets](#datasets)) * Creating a pipeline for processing this d...
45.641379
377
0.748743
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Activate oh-my-posh prompt: oh-my-posh init fish --config $POSH_THEME | source # NOTE: You can override the above env vars from the devcontainer.json "args" under the "build" key.
44.75
100
0.741758
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.177.0/containers/go { "name": "oh-my-posh", "build": { "dockerfile": "Dockerfile", "args": { // Update the VARIANT arg to pick a version of Go: 1, 1...
31
114
0.657494
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
kafka-python==1.4.6 confluent_kafka requests avro faust fastavro
8.428571
19
0.815385
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
.gradle bin !src/main/resources/rides.csv build/classes build/generated build/libs build/reports build/resources build/test-results build/tmp
11
29
0.825175
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Thank you! Thanks for signining up for the course. The process of adding you to the mailing list is not automated yet, but you will hear from us closer to the course start. To make sure you don't miss any announcements - Register in [DataTalks.Club's Slack](https://datatalks.club/slack.html) and join the [`#...
48.888889
186
0.788183
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
![](images/architecture/arch_1.jpg)
11.666667
35
0.702703
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Asking questions If you have any questions, ask them in the [`#course-data-engineering`](https://app.slack.com/client/T01ATQK62F8/C01FABYF2RG) channel in [DataTalks.Club](https://datatalks.club) slack. To keep our discussion in Slack more organized, we ask you to follow these suggestions: * First, review How to ...
79
295
0.761834
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Getting your certificate Congratulations on finishing the course! Here's how you can get your certificate. First, get your certificate id using the `compute_certificate_id` function: ```python from hashlib import sha1 def compute_hash(email): return sha1(email.encode('utf-8')).hexdigest() def compute_certi...
31.431373
150
0.745917
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Course Project The goal of this project is to apply everything we learned in this course and build an end-to-end data pipeline. You will have two attempts to submit your project. If you don't have time to submit your project by the end of attempt #1 (you started the course late, you have vacation plans, life/wor...
20.855263
86
0.727711
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Week 6 Homework In this homework, there will be two sections, the first session focus on theoretical questions related to Kafka and streaming concepts and the second session asks to create a small streaming application using preferred programming language (Python or Java). ### Question 1: **Please select the ...
28.918182
120
0.766261
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Custom COMPOSE_PROJECT_NAME=dtc-de GOOGLE_APPLICATION_CREDENTIALS=/.google/credentials/google_credentials.json AIRFLOW_CONN_GOOGLE_CLOUD_DEFAULT=google-cloud-platform://?extra__google_cloud_platform__key_path=/.google/credentials/google_credentials.json # AIRFLOW_UID= GCP_PROJECT_ID= GCP_GCS_BUCKET= # Postgres POSTG...
33.642857
142
0.803922
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Setup (Official) ### Pre-Reqs 1. For the sake of standardization across this workshop's config, rename your gcp-service-accounts-credentials file to `google_credentials.json` & store it in your `$HOME` directory ``` bash cd ~ && mkdir -p ~/.google/credentials/ mv <path/to/your/service-accou...
36.208696
161
0.69799
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Setup (No-frills) ### Pre-Reqs 1. For the sake of standardization across this workshop's config, rename your gcp-service-accounts-credentials file to `google_credentials.json` & store it in your `$HOME` directory ``` bash cd ~ && mkdir -p ~/.google/credentials/ mv <path/to/your/service-acco...
41.8
162
0.703922
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
version: '3' services: postgres: image: postgres:13 env_file: - .env volumes: - postgres-db-volume:/var/lib/postgresql/data healthcheck: test: ["CMD", "pg_isready", "-U", "airflow"] interval: 5s retries: 5 restart: a...
25.052632
79
0.484501
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
version: '3' services: dbt-bq-dtc: build: context: . target: dbt-bigquery image: dbt/bigquery volumes: - .:/usr/app - ~/.dbt/:/root/.dbt/ - ~/.google/credentials/google_credentials.json:/.google/credentials/google_credentials.json network_mode: host
23.833333
98
0.616162
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
37.793427
149
0.640402
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Airflow concepts ### Airflow architecture ![](arch-diag-airflow.png) Ref: https://airflow.apache.org/docs/apache-airflow/stable/concepts/overview.html * **Web server**: GUI to inspect, trigger and debug the behaviour of DAGs and tasks. Available at http://localhost:8080. * **Scheduler**: Responsible for schedu...
41.918033
179
0.740925
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDR��lp�vsRGB���gAMA�� �a pHYs���o�d?zIDATx^��{�fuA?�j:%�Ӱ45؝1+��� �3`�kQ)j4M�`�uR ����T@�5��dW��⸐��-t������Y��Z���}x>_���m��}���<��̙���y�����}>��|Ά}�5@1z* �@Et�����":TD@���P*"�@Et�����":TD@���P*"�@E6��o...
809.105263
4,002
0.262491
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDR����XiCCPICC ProfileX��yTT_��3���Hw�tw�� ��Ш��H���X��`R" �("%%�� �����K�����Z�w�:��f�}v��O�;p$��‚��DPl�ty�]\y�S �H@���cmm�����eq�� �MY���-t^��@�0�� � ��Pɞa�0*0�?:"l�����M컍�7��6��ⱷՃq8"�L�����Fy��r�G�6�/��uƚ�~d/8$`����M� c����/�e�ɾ�/[��D�����w...
338.597701
1,805
0.252036
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
dataset_url=${dataset_url} dataset_file=${dataset_file} path_to_local_file=${path_to_local_file} path_to_creds=${path_to_creds} curl -sS "$dataset_url" > $path_to_local_file/$dataset_file gcloud auth activate-service-account --key-file=$path_to_creds gsutil -m cp $path_to_local_file/$dataset_file gs://$BUCKET
33.777778
62
0.733974
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
#!/usr/bin/env bash export GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS} export AIRFLOW_CONN_GOOGLE_CLOUD_DEFAULT=${AIRFLOW_CONN_GOOGLE_CLOUD_DEFAULT} airflow db upgrade airflow users create -r Admin -u admin -p admin -e admin@example.com -f admin -l airflow # "$_AIRFLOW_WWW_USER_USERNAME" -p "$_AI...
32.181818
88
0.774725
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDR��`�XiCCPICC ProfileX��yTT_��3���Hw�tw�� ��Ш��H���X��`R" �("%%�� �����K�����Z�w�:��f�}v��O�;p$��‚��DPl�ty�]\y�S �H@���cmm�����eq�� �MY���-t^��@�0�� � ��Pɞa�0*0�?:"l�����M컍�7��6��ⱷՃq8"�L�����Fy��r�G�6�/��uƚ�~d/8$`����M� c����/�e�ɾ�/[��D�����w...
326.426184
2,137
0.24953
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDR���XiCCPICC ProfileX��yTT_��3���Hw�tw�� ��Ш��H���X��`R" �("%%�� �����K�����Z�w�:��f�}v��O�;p$��‚��DPl�ty�]\y�S �H@���cmm�����eq�� �MY���-t^��@�0�� � ��Pɞa�0*0�?:"l�����M컍�7��6��ⱷՃq8"�L�����Fy��r�G�6�/��uƚ�~d/8$`����M� c����/�e�ɾ�/[��D�����w...
301.652893
1,803
0.268269
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Leaderboard This is the top [100 leaderboard](https://docs.google.com/spreadsheets/d/e/2PACX-1vTbL00GcdQp0bJt9wf1ROltMq7s3qyxl-NYF7Pvk79Jfxgwfn9dNWmPD_yJHTDq_Wzvps8EIr6cOKWm/pubhtml) of participants of Data Engineering Zoomcamp 2023 edition! <table> <tr> <th>Name</th> <th>Project</th> <th>Social</th> <th>...
60.887324
421
0.725958
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Required connection configs for Kafka producer, consumer, and admin bootstrap.servers=<CONFLUENT CLOUD KAFKA BROKER>:9092 security.protocol=SASL_SSL sasl.mechanisms=PLAIN sasl.username=<CONFLUENT CLOUD API USER NAME> sasl.password=<CONFLUENT CLOUD API PASSWORD> # Best practice for higher availability in librdkafka c...
39.555556
74
0.824176
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Submit Python code to SparkMaster if [ $# -lt 1 ] then echo "Usage: $0 <pyspark-job.py> [ executor-memory ]" echo "(specify memory in string format such as \"512M\" or \"2G\")" exit 1 fi PYTHON_JOB=$1 if [ -z $2 ] then EXEC_MEM="1G" else EXEC_MEM=$2 fi spark-submit --master spark://localhost:7077 --num-executo...
28.1
168
0.643718
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Workshop: Maximizing Confidence in Your Data Model Changes with dbt and PipeRider To learn how to use PipeRider together with dbt for detecting changes in model and data, sign up for a workshop - Video: https://www.youtube.com/watch?v=O-tyUOQccSs - Repository: https://github.com/InfuseAI/taxi_rides_ny_duckdb ##...
25.573529
128
0.747508
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
[Medium article](https://medium.com/@NYCTLC/what-makes-a-city-street-smart-23496d92f60d) [Trip record user guide](https://www1.nyc.gov/assets/tlc/downloads/pdf/trip_record_user_guide.pdf) The data set is divided into 4 parts: - Yellow cabs - Green cabs - For Hire Vehicles - High volume for hire vehicles Below I a...
37.051724
98
0.37534
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDR�J��*� =iCCPICC ProfileH��WXS��[��@h����@J-��l�$@(1��]Tp�"6tUD�J�#v�� *ʺX�+oR@�}�{������s�?gΝ[���(U OX � ��'���IOH@ hW7_Č�І��wס7�+�R���W���� ����y�����������0A�Iq�WKq����Dz n@I��g�z ��Bn&�P��Q�P�C쓗7�q���G�T����N��4Ӈ59��a,��̔��\�������r%C1...
309.833663
2,160
0.251449
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDRd�X�7G jiCCPICC ProfileH��WXS��[�����zDz�B� U��@B�!!��ˢ�kQ�誈�kdQ{Y�uQDEY ���&$����}��?g���d��;h�r%�lT �q�46,�9>9�Iz �hP-�<�� � ��.�oBo(�\������x !N��x97�o�I�yv�iy���&�Z�P�= ����>�l��P�r�� 4�C;3��y4>C�,��h��؟'��!V�>"'g��Bl �%�|�W�w��O��r3����...
368.605178
3,054
0.241346
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
<svg width="5854" height="1996" viewBox="0 0 5854 1996" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M4436.93 976.545H4795.03V1279.35H4688.13L4681.9 1190.29C4628.45 1248.18 4543.83 1287.36 4423.57 1287.36C4215.13 1287.36 4087.74 1184.05 4087.74 997.029C4087.74 810.005...
96
948
0.75835
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
�PNG  IHDR��H� IDATx��y�%E���NU��4K7�� �,*��^�#3:�� A7�q�;�ÕGP�AQ�e�Q��(\PT���id��n���ǛogTV�Y�,U���Uyr���x���J�^�~�pͥ0o!�kDD�� 0����D���ˁ����2`�������?�2�m���Fe6���A�i�c������V��D�~S`1�L���G��݁��'$�=�l,  �d.~\ �O~����Äjz���\�B.s����0�"��bT2� $O�] <x"�?�$`o`WD ...
256.425
1,594
0.275155
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Terraform Overview [Video](https://www.youtube.com/watch?v=18jIzE41fJ4&list=PL3MmuxUbc_hJed7dXYoJw8DoCuVHhGEQb&index=2) ### Concepts #### Introduction 1. What is [Terraform](https://www.terraform.io)? * open-source tool by [HashiCorp](https://www.hashicorp.com), used for provisioning infrastructure resources ...
39.676923
134
0.755202
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## GCP Overview [Video](https://www.youtube.com/watch?v=18jIzE41fJ4&list=PL3MmuxUbc_hJed7dXYoJw8DoCuVHhGEQb&index=2) ### Project infrastructure modules in GCP: * Google Cloud Storage (GCS): Data Lake * BigQuery: Data Warehouse (Concepts explained in Week 2 - Data Ingestion) ### Initial Setup For this course, we'l...
41.367347
122
0.733494
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
1.0.2
1.666667
5
0.428571
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
terraform { required_version = ">= 1.0" backend "local" {} # Can change from "local" to "gcs" (for google) or "s3" (for aws), if you would like to preserve your tf-state online required_providers { google = { source = "hashicorp/google" } } } provider "google" { project = var.project region...
25.3
139
0.671994
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
locals { data_lake_bucket = "dtc_data_lake" } variable "project" { description = "Your GCP Project ID" } variable "region" { description = "Region for GCP resources. Choose as per your location: https://cloud.google.com/about/locations" default = "europe-west6" type = string } variable "storage_class" { ...
22.36
113
0.704974
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Windows Here we'll show you how to install Spark 3.3.2 for Windows. We tested it on Windows 10 and 11 Home edition, but it should work for other versions distros as well In this tutorial, we'll use [MINGW](https://www.mingw-w64.org/)/[Gitbash](https://gitforwindows.org/) for command line If you use WSL, follow th...
24.351563
299
0.720407
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "8d7e4358", "metadata": {}, "outputs": [], "source": [ "import pandas as pd" ] }, { "cell_type": "markdown", "id": "c5b2042e", "metadata": {}, "source": [ "```bash\n", "pip install sqlalchemy psycopg2-bin...
29.539474
91
0.324447
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 2, "id": "8d7e4358", "metadata": {}, "outputs": [], "source": [ "import pandas as pd" ] }, { "cell_type": "code", "execution_count": 3, "id": "05dd7e0e", "metadata": {}, "outputs": [ { "data": { "text/pl...
37.586057
1,452
0.556917
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
-- Query public available table SELECT station_id, name FROM bigquery-public-data.new_york_citibike.citibike_stations LIMIT 100; -- Creating external table referring to gcs path CREATE OR REPLACE EXTERNAL TABLE `taxi-rides-ny.nytaxi.external_yellow_tripdata` OPTIONS ( format = 'CSV', uris = ['gs://nyc-tl-data...
33.365079
123
0.775416
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
CREATE OR REPLACE EXTERNAL TABLE `taxi-rides-ny.nytaxi.fhv_tripdata` OPTIONS ( format = 'CSV', uris = ['gs://nyc-tl-data/trip data/fhv_tripdata_2019-*.csv'] ); SELECT count(*) FROM `taxi-rides-ny.nytaxi.fhv_tripdata`; SELECT COUNT(DISTINCT(dispatching_base_num)) FROM `taxi-rides-ny.nytaxi.fhv_tripdata`; CREAT...
32.83871
86
0.740458
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
-- SELECT THE COLUMNS INTERESTED FOR YOU SELECT passenger_count, trip_distance, PULocationID, DOLocationID, payment_type, fare_amount, tolls_amount, tip_amount FROM `taxi-rides-ny.nytaxi.yellow_tripdata_partitoned` WHERE fare_amount != 0; -- CREATE A ML TABLE WITH APPROPRIATE TYPE CREATE OR REPLACE TABLE `taxi-rides-n...
21.21875
118
0.752345
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Model deployment [Tutorial](https://cloud.google.com/bigquery-ml/docs/export-model-tutorial) ### Steps - gcloud auth login - bq --project_id taxi-rides-ny extract -m nytaxi.tip_model gs://taxi_ml_model/tip_model - mkdir /tmp/model - gsutil cp -r gs://taxi_ml_model/tip_model /tmp/model - mkdir -p serving_dir/tip_mode...
59.285714
232
0.717675
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
Table of Contents ================= - [How to setup dbt cloud with bigquery](#how-to-setup-dbt-cloud-with-bigquery) * [Create a BigQuery service account](#create-a-bigquery-service-account) * [Create a dbt cloud project](#create-a-dbt-cloud-project) * [Add GitHub repository](#add-github-repository) * [Review yo...
61.252747
300
0.758121
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
0
0
0
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
version: 2 seeds: - name: taxi_zone_lookup description: > Taxi Zones roughly based on NYC Department of City Planning's Neighborhood Tabulation Areas (NTAs) and are meant to approximate neighborhoods, so you can see which neighborhood a passenger was picked up in, and which neighborhood they w...
41.3
98
0.71564
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
"locationid","borough","zone","service_zone" 1,"EWR","Newark Airport","EWR" 2,"Queens","Jamaica Bay","Boro Zone" 3,"Bronx","Allerton/Pelham Gardens","Boro Zone" 4,"Manhattan","Alphabet City","Yellow Zone" 5,"Staten Island","Arden Heights","Boro Zone" 6,"Staten Island","Arrochar/Fort Wadsworth","Boro Zone" 7,"Que...
45.153558
78
0.70995
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Name your project! Project names should contain only lowercase characters # and underscores. A good package name should reflect your organization's # name or the intended use of these models name: 'taxi_rides_ny' version: '1.0.0' config-version: 2 # This setting configures which "profile" dbt uses for this project....
30.1
83
0.694337
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{# This macro returns the description of the payment_type #} {% macro get_payment_type_description(payment_type) -%} case {{ payment_type }} when 1 then 'Credit card' when 2 then 'Cash' when 3 then 'No charge' when 4 then 'Dispute' when 5 then 'Unknown' when 6...
20.166667
59
0.560526
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
version: 2 macros: - name: get_payment_type_description description: > This macro receives a payment_type and returns the corresponding description. arguments: - name: payment_type type: int description: > payment_type value. Must be one of the accepted values...
28.916667
83
0.662011
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{{ config(materialized='table') }} select locationid, borough, zone, replace(service_zone,'Boro','Green') as service_zone from {{ ref('taxi_zone_lookup') }}
18.888889
56
0.623596
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{{ config(materialized='table') }} with trips_data as ( select * from {{ ref('fact_trips') }} ) select -- Reveneue grouping pickup_zone as revenue_zone, date_trunc('month', pickup_datetime) as revenue_month, --Note: For BQ use instead: date_trunc(pickup_datetime, month) as revenue_month, ...
32.59375
85
0.70298
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{{ config(materialized='table') }} with green_data as ( select *, 'Green' as service_type from {{ ref('stg_green_tripdata') }} ), yellow_data as ( select *, 'Yellow' as service_type from {{ ref('stg_yellow_tripdata') }} ), trips_unioned as ( select * from green_data union...
26.931034
61
0.688079
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
version: 2 sources: - name: staging #For bigquery: #database: taxi-rides-ny-339813 # For postgres: database: production schema: trips_data_all # loaded_at_field: record_loaded_at tables: - name: green_tripdata - name: yellow_tripdata # freshnes...
42.970588
111
0.565726
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{{ config(materialized='view') }} with tripdata as ( select *, row_number() over(partition by vendorid, lpep_pickup_datetime) as rn from {{ source('staging','green_tripdata') }} where vendorid is not null ) select -- identifiers {{ dbt_utils.surrogate_key(['vendorid', 'lpep_pickup_datetime']) }} as...
32.16
84
0.694629
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{{ config(materialized='view') }} with tripdata as ( select *, row_number() over(partition by vendorid, tpep_pickup_datetime) as rn from {{ source('staging','yellow_tripdata') }} where vendorid is not null ) select -- identifiers {{ dbt_utils.surrogate_key(['vendorid', 'tpep_pickup_datetime']) }} a...
31.705882
84
0.692262
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
packages: - package: dbt-labs/dbt_utils version: 0.8.0
14.5
31
0.655738
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "72505747", "metadata": {}, "outputs": [], "source": [ "import pyspark" ] }, { "cell_type": "code", "execution_count": 3, "id": "bd55afbe", "metadata": {}, "outputs": [ { "data": { "text/plain":...
28.264925
217
0.465953
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "07de9dc3", "metadata": {}, "outputs": [], "source": [ "import pyspark\n", "from pyspark.sql import SparkSession" ] }, { "cell_type": "code", "execution_count": 2, "id": "ca5bbb06", "metadata": {}, "output...
31.459075
335
0.488844
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "8c1d0c08", "metadata": {}, "outputs": [], "source": [ "import pyspark\n", "from pyspark.sql import SparkSession" ] }, { "cell_type": "code", "execution_count": 2, "id": "96a248f5", "metadata": {}, "output...
36.994259
2,275
0.50408
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "3307b886", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "WARNING: An illegal reflective access operation has occurred\n", "WARNING: Illegal reflective access by org.ap...
23.677871
217
0.479964
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "4341e0e6", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "WARNING: An illegal reflective access operation has occurred\n", "WARNING: Illegal reflective access by org.ap...
23.507937
217
0.495271
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "d66f42fd", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "WARNING: An illegal reflective access operation has occurred\n", "WARNING: Illegal reflective access by org.ap...
22.338809
217
0.454553
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "3307b886", "metadata": {}, "outputs": [], "source": [ "import pyspark\n", "from pyspark.sql import SparkSession\n", "from pyspark.conf import SparkConf\n", "from pyspark.context import SparkContext" ] }, { "c...
27.180645
217
0.546599
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Running Spark in the Cloud ### Connecting to Google Cloud Storage Uploading data to GCS: ```bash gsutil -m cp -r pq/ gs://dtc_data_lake_de-zoomcamp-nytaxi/pq ``` Download the jar for connecting to GCS to any location (e.g. the `lib` folder): ```bash gsutil cp gs://hadoop-lib/gcs/gcs-connector-hadoop3-2.2.5.jar...
23.97479
127
0.679569
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
set -e TAXI_TYPE=$1 # "yellow" YEAR=$2 # 2020 URL_PREFIX="https://github.com/DataTalksClub/nyc-tlc-data/releases/download" for MONTH in {1..12}; do FMONTH=`printf "%02d" ${MONTH}` URL="${URL_PREFIX}/${TAXI_TYPE}/${TAXI_TYPE}_tripdata_${YEAR}-${FMONTH}.csv.gz" LOCAL_PREFIX="data/raw/${TAXI_TYPE}/${YEAR}/${FM...
22.695652
81
0.639706
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "code", "execution_count": 5, "id": "00bc6543", "metadata": {}, "outputs": [], "source": [ "import pyspark\n", "from pyspark.sql import SparkSession\n", "from pyspark.sql import types" ] }, { "cell_type": "code", "execution_count": 2, "id": "c...
23.208272
217
0.392787
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <property> <name>fs.AbstractFileSystem.gs.impl</name> <value>com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS</value> </property> <property> <name>fs.gs.impl</name> <value>com.google.cl...
30.52381
75
0.700454
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
spark-master yarn spark.hadoop.google.cloud.auth.service.account.enable true spark.hadoop.google.cloud.auth.service.account.json.keyfile /home/alexey
39.5
73
0.782609
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
FROM library/openjdk:11
23
23
0.869565
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Spark on YARN For the Spark and Docker module, we need YARN, which comes together with Hadoop. So we need to install Hadoop In this document, we'll assume you use Linux. For Windows, use WSL. It should work (supposedly) on MacOS as well. We'll need to run it in a pseudo-distributed mode. ### Configuring ssh ...
23.75
163
0.706092
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Linux Here we'll show you how to install Spark 3.3.2 for Linux. We tested it on Ubuntu 20.04 (also WSL), but it should work for other Linux distros as well ### Installing Java Download OpenJDK 11 or Oracle JDK 11 (It's important that the version is 11 - spark requires 8 or 11) We'll use [OpenJDK](https://jdk.j...
15.739583
101
0.676837
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## MacOS Here we'll show you how to install Spark 3.2.1 for MacOS. We tested it on MacOS Monterey 12.0.1, but it should work for other MacOS versions as well ### Installing Java Ensure Brew and Java installed in your system: ```bash xcode-select –install /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com...
23.208955
325
0.724861
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## PySpark This document assumes you already have python. To run PySpark, we first need to add it to `PYTHONPATH`: ```bash export PYTHONPATH="${SPARK_HOME}/python/:$PYTHONPATH" export PYTHONPATH="${SPARK_HOME}/python/lib/py4j-0.10.9-src.zip:$PYTHONPATH" ``` Make sure that the version under `${SPARK_HOME}/python/li...
23.218182
101
0.703982
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
plugins { id 'java' id "com.github.davidmc24.gradle.plugin.avro" version "1.5.0" } group 'org.example' version '1.0-SNAPSHOT' repositories { mavenCentral() maven { url "https://packages.confluent.io/maven" } } dependencies { implementation 'org.apache.kafka:kafka-clients:3.3.1' i...
27.486486
81
0.716999
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
PK A META-INF/PK Am�>=@?META-INF/MANIFEST.MF�M��LK-.� K-*��ϳR0�3����-�I�M�+I, �d��Z)�%��*�%��r�rPK Aorg/PK A org/gradle/PK Aorg/gradle/wrapper/PK APr��� -*org/gradl...
151.955145
840
0.324777
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists
32.833333
79
0.856436
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
#!/bin/sh # # Copyright © 2015-2021 the original authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
32.883817
143
0.60992
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
@rem @rem Copyright 2015 the original author or authors. @rem @rem Licensed under the Apache License, Version 2.0 (the "License"); @rem you may not use this file except in compliance with the License. @rem You may obtain a copy of the License at @rem @rem https://www.apache.org/licenses/LICENSE-2.0 @rem @...
29.858696
162
0.680761
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
pluginManagement { repositories { gradlePluginPortal() mavenCentral() } } rootProject.name = 'kafka_examples'
18.142857
35
0.646617
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "type": "record", "name":"RideRecord", "namespace": "schemaregistry", "fields":[ {"name":"vendor_id","type":"string"}, {"name":"passenger_count","type":"int"}, {"name":"trip_distance","type":"double"} ] }
25.9
49
0.470149
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "type": "record", "name":"RideRecordCompatible", "namespace": "schemaregistry", "fields":[ {"name":"vendorId","type":"string"}, {"name":"passenger_count","type":"int"}, {"name":"trip_distance","type":"double"}, {"name":"pu_location_id", "type": [ "null", "lo...
31.272727
79
0.49435
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "type": "record", "name":"RideRecordNoneCompatible", "namespace": "schemaregistry", "fields":[ {"name":"vendorId","type":"int"}, {"name":"passenger_count","type":"int"}, {"name":"trip_distance","type":"double"} ] }
26.5
49
0.5
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
VendorID,tpep_pickup_datetime,tpep_dropoff_datetime,passenger_count,trip_distance,RatecodeID,store_and_fwd_flag,PULocationID,DOLocationID,payment_type,fare_amount,extra,mta_tax,tip_amount,tolls_amount,improvement_surcharge,total_amount,congestion_surcharge 1,2020-07-01 00:25:32,2020-07-01 00:33:39,1,1.50,1,N,238,75,2,8...
90.846442
256
0.625112
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## KSQL DB Examples ### Create streams ```sql CREATE STREAM ride_streams ( VendorId varchar, trip_distance double, payment_type varchar ) WITH (KAFKA_TOPIC='rides', VALUE_FORMAT='JSON'); ``` ### Query stream ```sql select * from RIDE_STREAMS EMIT CHANGES; ``` ### Query stream count ```sql SELEC...
20.744681
107
0.704212
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
version: "3.6" volumes: shared-workspace: name: "hadoop-distributed-file-system" driver: local networks: default: name: kafka-spark-network external: true services: jupyterlab: image: jupyterlab container_name: jupyterlab ports: - 8888:8888 volumes: - shared-workspace:...
19.924528
42
0.629964
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# -- Software Stack Version SPARK_VERSION="3.3.1" HADOOP_VERSION="3" JUPYTERLAB_VERSION="3.6.1" # -- Building the Images docker build \ -f cluster-base.Dockerfile \ -t cluster-base . docker build \ --build-arg spark_version="${SPARK_VERSION}" \ --build-arg hadoop_version="${HADOOP_VERSION}" \ -f spark-bas...
19.59375
58
0.676292
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
# Reference from offical Apache Spark repository Dockerfile for Kubernetes # https://github.com/apache/spark/blob/master/resource-managers/kubernetes/docker/src/main/dockerfiles/spark/Dockerfile ARG java_image_tag=17-jre FROM eclipse-temurin:${java_image_tag} # -- Layer: OS + Python ARG shared_workspace=/opt/workspac...
27.619048
119
0.715
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
FROM cluster-base # -- Layer: JupyterLab ARG spark_version=3.3.1 ARG jupyterlab_version=3.6.1 RUN apt-get update -y && \ apt-get install -y python3-pip && \ pip3 install wget pyspark==${spark_version} jupyterlab==${jupyterlab_version} # -- Runtime EXPOSE 8888 WORKDIR ${SHARED_WORKSPACE} CMD jupyter lab --i...
21.941176
87
0.699229
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
FROM cluster-base # -- Layer: Apache Spark ARG spark_version=3.3.1 ARG hadoop_version=3 RUN apt-get update -y && \ apt-get install -y curl && \ curl https://archive.apache.org/dist/spark/spark-${spark_version}/spark-${spark_version}-bin-hadoop${hadoop_version}.tgz -o spark.tgz && \ tar -xf spark.tgz && \...
29.130435
142
0.693642
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
FROM spark-base # -- Runtime ARG spark_master_web_ui=8080 EXPOSE ${spark_master_web_ui} ${SPARK_MASTER_PORT} CMD bin/spark-class org.apache.spark.deploy.master.Master >> logs/spark-master.out
23.375
82
0.752577
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
FROM spark-base # -- Runtime ARG spark_worker_web_ui=8081 EXPOSE ${spark_worker_web_ui} CMD bin/spark-class org.apache.spark.deploy.worker.Worker spark://${SPARK_MASTER_HOST}:${SPARK_MASTER_PORT} >> logs/spark-worker.out
24
132
0.741071
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "namespace": "com.datatalksclub.taxi", "type": "record", "name": "RideRecordKey", "fields": [ { "name": "vendor_id", "type": "int" } ] }
14.363636
40
0.482143
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "namespace": "com.datatalksclub.taxi", "type": "record", "name": "RideRecord", "fields": [ { "name": "vendor_id", "type": "int" }, { "name": "passenger_count", "type": "int" }, { "name": "trip_distance", "type": "float" }, { "name": "paymen...
14.777778
40
0.409412
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
{ "cells": [ { "cell_type": "markdown", "id": "c4419168-c0e6-4a65-b56e-8454c42060ac", "metadata": { "jp-MarkdownHeadingCollapsed": true, "tags": [] }, "source": [ "### 0. Spark Setup" ] }, { "cell_type": "code", "execution_count": null, "id": "32bd7cdd-8504-4a54-a461-244bf7...
38.394856
395
0.544261
data-engineering-zoomcamp
https://github.com/DataTalksClub/data-engineering-zoomcamp
Free Data Engineering course!
15,757
3,602
2023-12-05 01:08:47+00:00
2021-10-21 09:32:50+00:00
1,561
null
Misc
## Datasets Here are some datasets that you could use for the project: * [Kaggle](https://www.kaggle.com/datasets) * [AWS datasets](https://registry.opendata.aws/) * [UK government open data](https://data.gov.uk/) * [Github archive](https://www.gharchive.org) * [Awesome public datasets](https://github.com/awesomedat...
59.1
142
0.76859