• Stars
    star
    270
  • Rank 151,289 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Facebook's Hive UDFs

Build & test with Maven

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.

You can add this repository as a maven source with:

<project>
...
  <repositories>
    <repository>
      <id>github</id>
      <name>facebook-hive-udfs</name>
      <url>https://maven.pkg.github.com/brndnmtthws/facebook-hive-udfs</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
...
</project>

And then include it in your pom.xml:

<dependency>
  <groupId>com.airbnb</groupId>
  <artifactId>facebook-udfs</artifactId>
  <version>1.1.5</version>
</dependency>

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!!

More Repositories

1

conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
C++
7,128
star
2

thetagang

ThetaGang is an IBKR bot for collecting money
Python
1,930
star
3

cracking-the-coding-interview-rust

Cracking the Coding Interview problem solutions in Rust
Rust
394
star
4

optimal-buy-cbpro

Scheduled buying of BTC, ETH, and LTC from Coinbase Pro, optimally!
Python
334
star
5

dryoc

Don't Roll Your Own Crypto: pure-Rust, hard to misuse cryptography library
Rust
266
star
6

tweet-delete

Self-destructing Tweets so you too can be cool 😎
Python
94
star
7

code-like-a-pro-in-rust-book

Source code for Code Like a Pro in Rust
HTML
93
star
8

idiomatic-rust-book

Source code for Idiomatic Rust: Code like a Rustacean
Rust
78
star
9

rust-react-typescript-demo

Demo for Rust, React, Typescript, Docker, Terraform and Kubernetes
CSS
68
star
10

nginx-echo-headers

Have nginx return request headers to the client
Dockerfile
61
star
11

vault-dcos

Vault on DCOS
Shell
45
star
12

hodlermanifesto

The HODLer Manifesto
SCSS
38
star
13

labhub

GitHub bot for using GitLab CI in OSS projects
Rust
32
star
14

seed-otp

One-time pad tool for Bitcoin seed mnemonic cold storage
Python
21
star
15

metrics-cassandra

Dropwizard Metrics Cassandra reporter
Java
17
star
16

mother-of-dragons

🐲 DragonMint/Innosilicon miner management tool 🐉
Python
17
star
17

marathon-lb-autoscale

Autoscale your apps on Marathon
Ruby
14
star
18

kafka-on-marathon

Scripts for running Apache Kafka on Mesosphere's Marathon
HTML
14
star
19

citrine

Elixir library for running cron-based scheduled jobs on your Erlang cluster
Elixir
14
star
20

genserver

Elixir inspired async actor library for Rust
Rust
13
star
21

omploader

Enterprise quality file hosting web application.
Ruby
12
star
22

cgminer-rest

RESTful HTTP API wrapper for cgminer
Rust
9
star
23

hdfs

HA HDFS on Apache Mesos ~~~ aka 'Super Available' HDFS
Java
9
star
24

mlb-nginx-http2

Demo of marathon-lb with nginx and HTTP/2
Nginx
9
star
25

protect-yourself

A guide on how to protect your digital assets
HTML
9
star
26

dragon-rest

🐲 Python wrapper for DragonMint/Innosilicon REST API 🐉
Python
8
star
27

rust-action

All-in-one GitHub action for Rust projects
Rust
8
star
28

startup-ideas

Some startup ideas I'm considering
7
star
29

supertrees

Experimental Erlang/OTP-inspired supervision trees for Rust
Rust
6
star
30

resume

My Resume
TeX
6
star
31

brndn-io

It is my website
CSS
6
star
32

rust-action-cargo-binstall

GitHub action for installing Cargo packages
TypeScript
4
star
33

elasticsearch-router

An nginx based router for Elasticsearch on DCOS
Nginx
3
star
34

rust-action-rustup

GitHub action for installing rustup
TypeScript
3
star
35

grafana-dcos

Grafana on DCOS backed by Elasticsearch
3
star
36

cassandra-on-marathon

Scripts for running Apache Cassandra on Mesosphere's Marathon
Ruby
3
star
37

nginx-echo-sleep

Nginx
2
star
38

box-with-nonce

Rust
2
star
39

doge-streamer

Stream Doge
C++
2
star
40

nginx-redirect-to-https

Redirect all HTTP traffic to HTTPS (for use with Marathon & Marathon-lb)
Nginx
1
star
41

doge-stream-helper

Helper app for the Doge stream
HTML
1
star
42

dnstest

DNS client test tools
C
1
star
43

gitlab-gce-autoscaler

Simple GCE autoscaler for GitLab CI pipelines
Python
1
star
44

gwyh

Library for building gossip-based services in Rust
Rust
1
star