Which of the following describes a 'narrow transformation' in Spark?

Answer

Each input partition contributes to at most one output partition

Explanation

A 'narrow transformation' (e.g., map, filter) is one where each input partition contributes to at most one output partition. This allows for pipelining and avoids data shuffling, making them generally faster.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list