TPCH queries 3 and 5 working with Hive on Spark