I\'m looking for a workaround or hive date functions that gives day of the week ,
Sunday - 1 Monday - 2 Tuesday - 3 Wednesday - 4 Thursday - 5 Friday - 6 Sat
select pmod(datediff(your_date,'1900-01-07'),7) + 1 as WeekDay from your_table