'Extract day of week using Hive Query (Hive version: 0.11)

As title, such well established methods as extract(dayofweek from date) and date_format(date, 'u') are not available.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source