Apache Spark : Spark Union adds up the partition of input RDDs
Some days back when I was doing union of 2 pair rdds, I found the strange behavior for the number of partitions.
The output RDD got different number of partition than input Rdd. For ex: suppose…