Which of the following is a 'wide transformation' in Spark?
Answer
groupByKey
Explanation
A 'wide transformation' (or shuffle transformation) requires data to be shuffled across different partitions or nodes, such as 'groupByKey', 'reduceByKey', 'sortByKey', and 'join'. 'map', 'filter', and 'union' are 'narrow transformations' as they don't require data shuffling.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
Which data type in Hive is used to store whole numbers without decimal points?
View question →
Which command is used to list the tables available in a specific database using Sqoop?
View question →
What is the purpose of 'dynamic partitioning' in Hive?
View question →
What is the purpose of a 'selector' in Flume?
View question →
Which of the following is a common tool for scheduling and managing complex data pipelines in Hadoop?
View question →
What is the key-value pair structure for the input to the 'map' function in a typical MapReduce word count example?
View question →