concept coalesce() in category spark

This is an excerpt from Manning's book Spark in Action, Second Edition.
There are 24 functions in this category:
coalesce(),explode(),explode_outer(),flatten(),lit(),map(),map_concat(),map_filter(),map _from_arrays(),map_from_entries(),map_keys(),map_values(),map_zip_with(),monotonically_increasing_id(),posexplode(),posexplode_outer(),schema _of_json(),sequence(),struct(),transform(),transform_keys(),transform _values(),typedLit(), andzip_with().
Lab #100 uses
repartition(), but you may see in documentation and source code thecoalesce()method, which does the same thing. Other signatures for therepartition()method allow you to fine-tune the repartition operation, using column expressions, ranges, and more. More information is available at http://mng.bz/9wZa .