HDPCD - Applying simple transformations


Originally published at: http://www.itversity.com/topic/hdpcd-applying-simple-transformations-scala/

Introduction As part of this topic we will see how to perform necessary transformations before joining the data. Filter for completed orders Extract the key from orders and order_items (using map) Get order_date along with order_id from orders Get order_item_subtotal along with order_id from order_items Get revenue per order from order_items Filter for completed orders…