How elgoogko/projet_big_data_cytech_26 works
This repository is a Big Data course project whose implemented workflow downloads recent NYC yellow-taxi Parquet files and uploads them to RustFS through Spark. Separately, SQL scripts define and seed a PostgreSQL snowflake warehouse. The Scala excerpt shows the ingestion orchestration and its internal helpers; README statements support the warehouse setup, but not a runtime connection from ingestion to PostgreSQL. Other exercise directories are placeholders in the supplied tree. Evidence for the warehouse links comes from the README; unsampled internals are not inferred.
Main entry points: Main.scala CLI entry point · creation.sql Warehouse schema · insertion.sql Reference data seed · config.yaml YAML configuration
Components 17
Data ingestion
- CLI entry point
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - RustFS availability check
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Spark session
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Recent-month search
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Remote file check
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Local Parquet download
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Bucket preparation
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Object upload
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala
Configuration
- Credential loading
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - YAML configuration
config.yaml
Data warehouse
- Warehouse schema
spark_data_integration_exercice3/creation.sql - Reference data seed
spark_data_integration_exercice3/insertion.sql
Other components
- Project operator
- NYC TLC data
- RustFS object storage
- Local raw files
data/raw - PostgreSQL warehouse
Connections 18
- Project operator → CLI entry point: runs
README.md - CLI entry point → Credential loading: loads credentials
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - CLI entry point → YAML configuration: loads settings
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - CLI entry point → RustFS availability check: checks service
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - CLI entry point → Spark session: creates session
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - CLI entry point → Recent-month search: runs fetch
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Recent-month search → Remote file check: checks availability
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Recent-month search → Local Parquet download: downloads files
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - NYC TLC data → Remote file check: serves file checks
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - NYC TLC data → Local Parquet download: serves Parquet
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Local Parquet download → Local raw files: writes files
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Recent-month search → Bucket preparation: ensures bucket
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Recent-month search → Object upload: uploads files
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Object upload → RustFS object storage: copies objects
spark_data_integration/src/main/scala/fr/cytech/integration/Main.scala - Project operator → Warehouse schema: applies schema
README.md - Project operator → Reference data seed: loads reference rows
README.md - Warehouse schema → PostgreSQL warehouse: creates tables
README.md - Reference data seed → PostgreSQL warehouse: inserts reference data
README.md