← Problems10. Repartition before a wide writeMediumSpark
00:00 / 20:00

Repartition before a wide write

Medium·Acceptance

A job writes 2 TB with four output partitions. Rewrite the write so downstream date filters prune files.

Topics

partitioning

Similar problems

Community-reported interview topic. Not an official company question and no affiliation is implied.

solution.py
Loading editor…
Draft not saved yet · Spaces 4 · UTF-8 · ⌘↵ run, ⌘⇧↵ submit
Nothing run yet

Run against the public tests, or submit to score against all of them.