How do we enrich an incoming real-time event stream by joining against a static dimension table of users?
Joining a streaming DataFrame against a static DataFrame to perform real-time entity enrichment without state buffering.
Real-time user profiling, geo-IP lookup enrichment, and fraud scoring streams.
dim_users = spark.read.parquet("lakehouse/dim_users")
enriched_stream = streaming_events.join(dim_users, "user_id", "left")Practice typing production-grade PySpark code for Stream-Static Joins for Real-Time Enrichment.