How do we use Spark's unified Data Source API format() and load() methods?
read.format().load() is the standardized generic entry point supporting Parquet, ORC, Delta, Avro, and JDBC.
Building parameterized, format-agnostic ingestion pipelines across diverse lakehouse storage layers.
df = spark.read.format("parquet") \
.load("data/warehouse/dim_customers")Practice typing production-grade PySpark code for Generic Ingestion with read.format().