Skip to content

karthkk/udfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# udfs

User defined functions for hive.
1. Day of Week from date string. Eg day_of_week("2011-05-06") will be friday
2. Hour of day from timestamp. Eg hour_from_ts(12312312311231) 

## Usage

create jar and copy the jar file + clojure file into hive. 
Add jar to hive ext jars, 
create functions in hive as: 
create temporary function hour_from_ts as 'runa.udfs.HourOfDay';
create temporary function day_of_week as 'runa.udfs.DayOfWeek'; 


## License

Distributed under the Eclipse Public License, the same as Clojure.

About

User Defined Functions for Hive used in Runa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published