a guest Nov 24th, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- 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.
RAW Paste Data