This file has been truncated. show original
val orders = sc.textFile("/public/retail_db/orders")
// Previewing data
// Use collect with care.
// As it creates single threaded list from distributed RDD,
// using collect on larger datasets can cause out of memory issues.