Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - FUNCTION HIVE to DAYS OF WEEK


+
Eduardo Parra Valdes | BE... 2014-02-10, 16:33
Copy link to this message
-
Re: FUNCTION HIVE to DAYS OF WEEK
Stephen Sprague 2014-02-10, 21:39
oddly enough i don't see one here:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions

however, you're not the only one finding something like this useful. cf.
https://issues.apache.org/jira/browse/HIVE-6046

in the meantime it appears as though you'll have to write your own UDF or
perhaps setup a streaming job via transform() function.

Cheers,
Stephen.

PS. The transform() function is _really_ easy to use so don't be scared
off.  cf.
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Transform
(the last example is the simplest.)
On Mon, Feb 10, 2014 at 8:33 AM, Eduardo Parra Valdes | BEEVA <
[EMAIL PROTECTED]> wrote:
 
+
John Meagher 2014-02-10, 21:43
+
Eduardo Parra Valdes | BE... 2014-02-11, 10:48
+
John Meagher 2014-02-11, 14:31