QuestionQ264
VerifiedCost & Performance OptimisationEditorial revision: the scenario below explicitly states the assumptions used for this question.
An ingestion job uses Apache Spark 3.5.7's standard file-based reader to read 1 TiB of uncompressed, splittable, line-delimited JSON files and later writes Parquet. Assume spark.sql.files.maxPartitionNum is unset.
The engineer wants to set the file reader's documented maximum bytes packed into a single input partition to 512 MiB (536870912 bytes), without adding a repartitioning operation. Which configuration should the engineer use?
Community Discussion