https://github.com/brndnmtthws/facebook-hive-udfs
Facebook's Hive UDFs
https://github.com/brndnmtthws/facebook-hive-udfs
hadoop hive udf udf-libraries
Last synced: 2 months ago
JSON representation
Facebook's Hive UDFs
- Host: GitHub
- URL: https://github.com/brndnmtthws/facebook-hive-udfs
- Owner: brndnmtthws
- License: apache-2.0
- Created: 2013-08-08T20:43:02.000Z (almost 12 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T00:30:01.000Z (11 months ago)
- Last Synced: 2024-10-11T20:43:12.487Z (8 months ago)
- Topics: hadoop, hive, udf, udf-libraries
- Language: Java
- Size: 130 KB
- Stars: 270
- Watchers: 23
- Forks: 150
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/brndnmtthws/facebook-hive-udfs/actions/workflows/build-and-test.yml)
facebook-hive-udfs
==================Facebook's Hive UDFs
# WHAT IT IS
A computer guy at Facebook dumped a bunch of UDFs/UDAFs here:
https://issues.apache.org/jira/browse/HIVE-1545
However, the code does not build and is missing many parts.
This is a partial copy of that code, except it builds and may (or may not) work. Use at your own risk. To build it:
```
mvn package
```This will produce a jar in `target/` which you can add to your Hive classpath.
Alternatively, you can use the published jar included with [this repo's packages](https://github.com/brndnmtthws/facebook-hive-udfs/packages).
You can add this repository as a maven source with:
```xml
...
github
facebook-hive-udfs
https://maven.pkg.github.com/brndnmtthws/facebook-hive-udfs
true
...```
And then include it in your `pom.xml`:
```xml
com.airbnb
facebook-udfs
1.1.5```
# HOW DO USE IT?
Like any other UDF, silly!
Here's a sample:
```
CREATE TEMPORARY FUNCTION md5 AS 'com.facebook.hive.udf.UDFMD5';
SELECT md5(password) from users limit 1;
```**cool!!**