Example of use of Apache Spark