#!/bin/bash

echo "Start: " $(date +%s)

(time /home/ubuntu/software/spark-1.5.0-bin-hadoop2.6/bin/beeline -u jdbc:hive2://10.0.1.13:10000/tpcds_text_db_1_50 -n `whoami` -p ignored -f sample-queries-tpcds/query12.sql) 2> output/tpcds_query12_spark.out

echo "End: " $(date +%s)
